Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

6
votes
1answer
1k views

Jailbreaking HDTV

I have a Vizio internet TV, the predecessor to this one with basically the same specs, not 3D though. I wanted to try and gain root access to the tv. Using nmap I leaned that the only port open is ...
9
votes
4answers
23k views

How to find the IP address of a KVM Virtual Machine, that I can SSH into it?

I have follow this guide (Virtualization With KVM On Ubuntu 11.10) to setup my KVM (Virtual Machines Software) on my Ubuntu 11.10 Server. However, I didn't setup my VM's IP address when creating the ...
2
votes
1answer
1k views

Mount drive from redhat to a windows share with CIFS

I have been trying to mount a drive, but anything i do i get 'Access Denied', I tried: mount -t cifs //192.168.x.x/m -o username=user,password=mypass /mnt/mymount mount -t cifs //192.168.x.x/m -o ...
0
votes
0answers
1k views

Multiple network adapters with Virtualbox guests?

I'm running VBox under Mac OS with multiple Linux guests (Redhat). Everything works fine except I want to test dual NICs in one of my guests. I'm using host-only adapters and would like to simulate ...
1
vote
1answer
732 views

Wireless not showing a network in the scan results

I have a weird problem of connecting to a wireless network. I am connecting to a network named "C-202" with WPA-Personal. This network shows up in the scan results some time and won't show some time. ...
0
votes
0answers
143 views

Comparing the efficiency of Network Stack of two different Operating Systems

I want to compare the efficiency of Network Stacks of two different operating systems(Linux and Solaris) by measuring the amount of resources(context switches, systemcalls etc) that are consumed in ...
1
vote
0answers
568 views

AIX multihomed multicast

On my AIX machine if I run netstat -ia I get: Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll en0 1500 link#2 1e.18.1.1e.78.2 385229 0 1091655 0 0 ...
0
votes
2answers
7k views

CentOS 5.5 network problem

I have been made to install CentOS-5.5 on my desktop. The network is not working. These following are the outputs of various commands. #ifconfig lo link encap:local loopback inet addr 127.0.0.1 mask ...
2
votes
2answers
639 views

How to identify the program that uses most bandwidth?

How can I know which application is using the most network bandwidth? I saw some graph from KDE's network monitor, but don't know which process did that.
3
votes
3answers
427 views

how can I give a normal user write access to a network interface?

I have a program that reads and writes packets to/from network interfaces, and normally I would add myself in the sudoers file and run the program like this: sudo ./bridge But now I need multiple ...
1
vote
1answer
6k views

Can't use my USB wireless adapter D-link (DWA-131) to work Backtrack5 R1 VMware

I have a USB wireless adapter D-Link DWA-131. I also have backtrack 5R1 on Vmware. I installed the driver on the system, and here are some outputs: root@bt:~# lsusb Bus 002 Device 001: ID 1d6b:0001 ...
2
votes
2answers
1k views

How can I Forward a subDomain to a specific port?

My apologies if this has been asked before. I haven't found an adequate solution so... yeah. When a specific domain, "example.com" is accessed, I want it to act normally. In other words, it should go ...
2
votes
0answers
965 views

pfsense long ping to google

I have a pfsense box set up. What happens is I set a rule so I can't hit the admin interface 192.168.3.1 from the box. With the rule enabled --- www.l.google.com ping statistics --- 2 packets ...
13
votes
2answers
40k views

Bring down and delete bridge interface that's up

How do I remove a bridge that has an IP address that was brought up manually and isn't in /etc/network/interfaces? $ ifconfig br100 br100 Link ...
3
votes
1answer
687 views

What happens if you add a vlan-device to an interface that already is a vlan device?

When configuring an application that creates vlans by using vconfig add, I discovered that it was adding a vlan device to something that was already a vlan device. Effectively, what happened was: # ...
1
vote
1answer
657 views

routing between two private networks (NICs)

I have two private networks say: 10.0.1.0/8 and 192.168.0.0/24 I have two machines with two NICs per each machine. machine1 NIC1: 192.168.0.10 machine1 NIC2: 10.0.1.10 machine2 NIC1: 192.168.0.11 ...
8
votes
2answers
2k views

Is there a tool to display WiFi information in console?

Can I view detected WiFi networks details (like signal strength, encryption etc.) in command line? The more detailed - the better.
3
votes
2answers
2k views

ping -c1, wait for all responses from broadcast

I want to send one packet to the broadcast address, but wait for all responses. If I do ping -c 1 192.168.1.255, it sends just one packet, but it quits after getting the first response.
2
votes
1answer
114 views

Gentoo on VM setting IP Manually

I installed Gentoo on Virtualbox with the minimal image. This is the first time I am running gentoo. I need to do ifconfig eth0 192.168.0.10 route add default gw 192.168.0.1 everytime it boots on ...
6
votes
3answers
168 views

Did all of the Requests for Comments directly affect the design of Unix networks?

I want to know more about Linux must be one of my most enduring sentiments. But I often find that I learn the most, or perhaps just feel the most satisfied with what I have learned, when I simply ...
1
vote
1answer
349 views

Sharing Mobile Internet To Others

Currently I am using a mobile internet connection using an USB cable. How do I share this connection with my peer who only has a wireless card on his macbook? So far what I have tried: Internet ...
1
vote
1answer
843 views

Failed to get access to the Internet after disabling networkmanager on ArchLinux [closed]

How can I get access to the Internet after networkmanager is down? I disabled the networkmanager and uncommented the static IP settings I used to use and reboot, but I'm still unable to get access to ...
15
votes
1answer
1k views

“ss” command in iproute package; why query slab table for timewait sockets?

Forgive me if this isn't the best forum for this question, but it seems more relevant to the kernel than to the programming itself. I'm writing a script that queries the system for open ports so that ...
0
votes
0answers
161 views

Network Interfaces Don't Exist After Loading Modules

I installed SourceMage Linux on my laptop and the ethernet and wireless interfaces don't exist after loading the required modules (tg3 and ath9k). On other distros (Xubuntu, aptosid) the networking ...
12
votes
4answers
2k views

Why do we need a firewall if no programs are running on your ports?

When I try to telnet to a port on a server, and if there is no program listening on that port telnet dies with a "Unable to connect ... " error. I understand that. But, why do we need a firewall if ...
2
votes
2answers
1k views

Per Socket network Buffer queues utilization

Is there a way to get a per-socket send and receive Queues utilization on Solaris similar to the way that Linux' netstat displays it? Example on Linux: Proto Recv-Q Send-Q Local Address ...
5
votes
3answers
27k views

how to ping & use specific network card

i have 3 network cards , 1 Lan (wired) , 1 wireless network card & 1 is wireless usb how do i ping from specific network card ? & how do i use specific network card for specific ...
4
votes
6answers
916 views

Find my computer on a LAN network

Let's say that I have a computer plugged in to a local network using a dhcp connection, so it will get a different IP every time. Is there a way to find this computer (so the IP) from a different ...
5
votes
1answer
831 views

What is in the output of “getent ahosts”?

What are the fields printed by getent ahosts DOMAIN? The output for getent hosts is a simple combination of IP and hostname. The getent ahosts has an additional third field that is, in all my test, ...
1
vote
2answers
218 views

How can I use the same IP from the Internet and intranet?

I have an Ubuntu firewall box (Alma), at the office, with a web server on it. It looks like this: [Internet] <-> [DSL Router] <-> [Alma] | ...
3
votes
2answers
6k views

How do I resolve samba share to IP address or host name

I have a list of hosts in the network providing shares via SAMBA. How can I determine either IP address or the host name of one particular host, e.g. the one with the name “SASAK02”. The output of ...
-1
votes
1answer
1k views

How to transfer files over bluetooth?

How can I connect my mobile phone and Lubuntu 11.10 laptop over bluetooth so that I can transfer files between them?
2
votes
0answers
275 views

virtual network interface for ShrewSoft VPN Client

I use ShrewSoft VPN Client 2.1.7 under Arch Linux (i686) to connect to the company network using IPSec. It is configured by a .vpn file. How can I make it create a virtual network interface?
3
votes
2answers
769 views

Need help with routing

I have set up a Ubuntu server, that I want to use as a router for my local office. The problem is, that I want to make 2 VPN connections, to remote branches, and then I want to route all traffic to ...
9
votes
2answers
5k views

Merging two internet connections from two network interfaces in order to obtain double speed

I have two network interfaces (one wired & one wireless). I have two internet accounts too (each 256 kBps; one from a modem that I use as wired connection & the other from a wireless network). ...
2
votes
2answers
236 views

How to prevent user applications from knowing about network failure?

I have a very unreliable connection which disconnects quite frequently and becomes a massive problem when downloading, as the option to resume is not always available. The solution that comes to my ...
2
votes
1answer
1k views

Ubuntu machine with RNDIS tethered phone can not receive packets from internet

I tried to tether my old Windows Mobile 6 phone with my Ubuntu computer to use the phone's network. However, even though the kernel seems to recognize the phone and it is used as a network device I ...
7
votes
2answers
6k views

How to build a gateway from my Linux OS

I want to configure my Linux so that it will be used as a network router (gateway). Can anybody give me some hints on this? (links are welcome!)
2
votes
1answer
7k views

Static route in Centos 6

Here is my route -n output: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 ...
38
votes
7answers
57k views

What DNS servers am I using?

How can I check which DNS server am I using (in Linux)? I am using network manager and a wired connection to my university's LAN. (I am trying to find out why my domain doesn't get resolved)
7
votes
2answers
8k views

changing the names of network interfaces, debian wheezy

I'm trying to set a name for an interface, "ethLan" instead of eth0. Doing so also ensures that the if's name will remain consistent at every reboot and kernel. I did find some articles in the ...
4
votes
1answer
282 views

Inserting a nat solution into a network while it's not the gateway

I have tried this a few different ways. Currently trying with pf on freebsd 8.2 I am trying to insert a nat solution into an existing network that will redirect traffic from an outside ip address to ...
1
vote
4answers
22k views

WiFI access in BackTrack 5 R1

I recently started using a live USB version of BackTrack 5 R1 (A kubuntu-based distro), but I can't find any way to enable access to my home WiFi network. I can't find any comprehensive tutorials on ...
2
votes
5answers
5k views

script to scan ip range and return results in a certain format

This script scans IP's and returns a status of Up or Down. How can I alter it so it doesn't scan everything twice? As it sits it scans everything and returns the "Up" addresses only and then scans all ...
3
votes
3answers
5k views

Auto connect to a wireless network (Ångström Linux)

I am using Ångström Linux on BeagleBoard-xM. I have installed a RTL8188SU USB Wi-Fi adapter and configured it properly. But it doesn't connect automatically even though I have marked the interface as ...
23
votes
6answers
47k views

How to limit network bandwidth?

Problem: We are hosting an application on remote server. We need to test it with a limited network bandwidth (for users with bad Internet access). Question: Can I limit my internet bandwidth (in ...
2
votes
1answer
3k views

Testing if a port was forwarded correctly in Ubuntu

I have a Ubuntu box connected to a wifi router. This wifi router is connected to a d-link adsl modem/router. I am preparing this Ubuntu box to run a server that will use some special ports in UDP and ...
-1
votes
1answer
149 views

Linux 3.x: what wireless chipsets will support a bridged connection?

I have asked a similar question on the Ubuntu pages but this is likely a generic Linux issue: what variety of wireless cards/drivers will support being placed in a bridged connection? I have been ...
50
votes
2answers
7k views

How does SSH connection survive a network restart?

From a Linux SSH shell, type /etc/init.d/network restart to restart the network service. I expect my SSH connection to die since the network service goes down. But it doesn't. Very cool. But how does ...
2
votes
1answer
551 views

ICMP destination unreachable

I am working on an Arch Linux machine with an ethernet interface eth1. I have created the interface eth1:0 using ifconfig and given it a dummy hardware address (00:01:02:03:04:05). When I send a UDP ...