Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
2answers
3k views

Cannot access to localhost with 127.0.0.1

When I type 127.0.0.1 in address bar of browser, I get the following result: Not Found The requested URL / was not found on this server. Apache/2.2.22 (Fedora) Server at 127.0.0.1 Port 80 What ...
2
votes
3answers
1k views

Does “226 Transfer complete” guarantee the consistency between local and remote files when using ftp?

I have some automated scripts which perform FTP uploads among other things. I'm wondering what level of error checking I should conduct once these uploads have finished executing. Could anything go ...
2
votes
1answer
2k views

how to troubleshoot a network adapter on an AIX 4.3.3 machine

I'm trying to brush up my skills on AIX. I have an ancient RS/6000 43P-133 which I'm trying to resurrect before investing in anything more sophisticated. I used to do automation and scripting on AIX ...
2
votes
2answers
224 views

bash script with network request in pure lsb environment

From what I can understand of LSB documentation, neither wget or netcat are standard tools always available in an LSB environment. Is there some other way to make a http request without being ...
0
votes
0answers
966 views

Multiple subnets on multiple virtual interfaces with one physical interface

I have a Ubuntu pc with one interface -- eth0 -- which is connected to an unmanaged switch which is linked to two subnets: 192.168.0.0/24 and 192.168.1.0/24. I want to have two virtual interfaces with ...
8
votes
4answers
837 views

iptables on tor exit node

I want to run an open Tor router. My exit policy will be similar to ReducedExitPolicy. But I also want to make it hard for the tor network to abuse my resources. Cases I want to prevent clients ...
1
vote
0answers
429 views

Mumble doesn't bind to network address on boot, needs to be restarted (doesn't properly wait for network?)

I have a default, unchanged installation of the Mumble server on Debian Squeeze (package "mumble-server"). On a previous setup, starting the server (called murmurd) on boot using the default init ...
2
votes
2answers
2k views

Poor network performance from KVM virtual machine

I am running a 32-bit Linux virtual machine on KVM. The host machine is a 64-bit Linux machine connected to a LAN. Attempting to transfer files with scp from the KVM machine to a server on the LAN ...
1
vote
2answers
7k views

Configure a bridged Ethernet adapter in a VirtualBox guest running Scientific Linux

I installed Scientific Linux 6.2 x86 in VirtualBox on Windows 7 x64. The adapter is Adapter 1: Paravirtualized Network (Bridged adapter, Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller) ...
1
vote
2answers
427 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
3k 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
330 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
5k 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
895 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)) ...
16
votes
5answers
14k 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
42k 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
340 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
673 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
417 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
63 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
674 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
927 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
16k 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
588 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
136 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
523 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
3answers
6k 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
463 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
343 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
837 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 ...
6
votes
2answers
26k 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
607 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
576 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 ...
7
votes
2answers
1k 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
1k 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
110 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
167 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
326 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
778 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 ...
14
votes
1answer
936 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
147 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
17k 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
790 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 ...