Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
2answers
533 views

Add in `whois` servers

Does anyone know how to configure the whois command to add in whois servers for the whois command? FYI: it's not whois, the one that's on OSX. Would have posted in Apple version but figured I'd get ...
0
votes
1answer
4k views

Centos 6.2 static IP: only getting IPV6 address and need IPV4

I installed a Centos 6.2 min install. I have edited /etc/sysconfig/network-scripts and I have ifcfg-eth0,eth1 I have tried to setup static IPs but I only get IPV6 address back on both adapters and ...
1
vote
0answers
338 views

Configuring multiple static IP addresses for a disk image

Using Ubuntu 10.04 I'm using Clonezilla to create and install a customized image. I'd like to be able to set up multiple static IP addresses. For example, I'd like the first interface to have the IP ...
3
votes
3answers
6k views

Trying to Open a Port using CentOS

(I'm new to this!) I'm running a virtual server running CentOS. I'm trying to run a server that listens on port 37760. The code I'm running executes successfully, so I run netstat -lptu To show a ...
5
votes
3answers
2k views

How can I get the netmask from an IP address?

How do I get a netmask from the IP address? Is there a command to get it?
2
votes
1answer
950 views

Routing private network to internet via 2 gateways

I have the current set up for an embedded environment: Embedded Target (192.168.0.200) -----> Virtual Machine (VMWare) (2 NIC's - 192.168.0.2 (Target Port) and 192.168.49.69 (NAT Port to host)) ...
19
votes
5answers
17k views

How can I limit the bandwidth used by a process?

I have a CentOS 5.7 server that will be backing up its files nightly. I am concerned that visitors to the various sites that the server hosts will experience degraded performance while the backup is ...
6
votes
2answers
50k views

Static IPv4 & IPv6 configuration on CentOS 6.2

I try to configure static IPv4 & IPv6 configuration on CentOS 6.2. The configuration below works perfectly : # ifconfig eth0 x.x.x.x/29 # route add defalt gw x.x.x.y # ip addr add dev eth0 ...
1
vote
0answers
357 views

Usb tethering with linux and htc desire s other than rndis_host

I want to share the connection of my htc desire s with linux and I'm doing it but if it is possibile I'd like to avoid using the rndis_host module. The tethering can be configured as "windows" or "mac ...
3
votes
1answer
697 views

Port Mirroring in Fedora? [closed]

I have set up an application that listens constantly to a port for network packets, and I would like to create another one that receives the same network packets ( for use as a test bed). Getting the ...
3
votes
4answers
513 views

Local area network without using the IP protocol in Linux

I've read a little about Internet protocols and deduced that on local area network, there is no need to use the IP protocol, though it's normally used. Is there a possibility to turn off the IP ...
1
vote
2answers
65 views

How to capture the adress an application contacts?

An application contacts an Internet host on each start of it. It seems to take just an instant. I don't know if HTTP, plain TCP or UDP or what is used but tend to suppose HTTP. What a tool can I use ...
2
votes
1answer
724 views

Fedora 15: em1 recently dissapeared and hostapd no longer serves internet to wirelessly connected devices

I have a laptop running hostapd, phpd, and mysql. This laptop uses an Ethernet connection to connect to the internet and acts as a wireless access point for my workplace's wifi devices. After ...
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 ...
8
votes
4answers
21k 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
671 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
142 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
559 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
591 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
390 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
5k 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
936 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 ...
11
votes
2answers
36k 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
677 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
625 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
338 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
834 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
151 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
24k 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
868 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
780 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
213 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
5k 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
268 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
756 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 ...
8
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
233 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 ...