Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

3
votes
2answers
758 views

xfce4 netload plugin, monitor on all interfaces?

Is it possible to monitor all interfaces with xfce4's netload plugin? Currently I can only place one interface name on it.
3
votes
1answer
8k views

VirtualBox guest using Bridged networking unable to obtain DHCP address

I have a computer, called Loki, that works as a virtual machine host and DHCP server. The DHCP daemon is listening on port eth0. Part of /etc/dhcp.conf: subnet 192.168.13.0 netmask 255.255.255.0 { ...
1
vote
2answers
4k views

Netboot - How to set a static IP

I've modified a CentOS net install image to load my kickstart file over http. This works great when running on a network that has a DHCP server. Obviously, without DHCP this fails because the ...
8
votes
4answers
17k views

Reverse DNS lookups slowing down network operations on LAN

Environment My LAN setup is quite basic: A router connected to the ISP's modem and the internet My development pc directly connected to the router The router provides DHCP but does not run its ...
14
votes
3answers
31k views

VirtualBox: two network interfaces (NAT and host-only ones) in a Debian guest on Ubuntu

I created a Debian VM on VirtualBox with two interfaces: a NAT one (for accessing internet) and a host-only one. However, I do not know how to make both interfaces work at the same time. If I the ...
11
votes
3answers
2k views

How to open a port early in boot process to unlock LUKS via SSH

I have a fully encrypted server running Debian 7 and have set up dropbear and busybox to unlock the LUKS container via SSH (as described in this tutorial and in this U&L answer). Unfortunately, ...
1
vote
1answer
368 views

How to set default printer settings without driver

I am not at all an expert Linux user, but I do network and applications support for an office technology company. One of our clients is a pharmacy which prints prescription labels through software ...
4
votes
2answers
484 views

ls behaves differently under strace

I don't know how to debug this situation: 1) I try to execute: ls /home/user 2) ls blocks and does not print anything. I assume it is because /home/user contains /home/user/sshfs_files, which is ...
7
votes
2answers
3k views

linux multiple internet connections load balancing with fail handling

I have two ISP connections and need automatic load balancing between them. I also need to handle failed connections (not use one that does not work). First link is a PPTP connection (ppp0), second is ...
3
votes
1answer
750 views

Ubuntu automatically connects to a wireless network when its already connected by eth0 to the same network

I use Ubuntu 11.04, and I work at an institution which has wired and wireless connectivity. My computer is set to automatically connect to the wireless network if it is available. When I am plugged ...
7
votes
2answers
6k views

How to configure network profiles in Centos?

I'm trying to setup two network profiles in Centos. One for at home, one for at work. The home profile has a fixed IP address, fixed gateway and DNS server addresses. The work profile depends on DHCP. ...
7
votes
3answers
12k views

Find out network traffic per IP

We have one central server which functions as an internet gateway. This server is connected to the internet, and using iptables we forward traffic and share the internet connection among all computers ...
2
votes
1answer
4k views

Display all network interfaces on Solaris

On Linux, the command mii-tool displays the list of Ethernet interfaces and other information. What equivalent command existson Solaris? My goal is to view all LAN networks that my Solaris machine is ...
7
votes
3answers
15k views

What can I use to monitor and log incoming/outgoing traffic to/from remote hosts?

I run a web server (Debian Squeeze on a VPS), and the graphs provided by the hosting company show consistently that around twice as much traffic is incoming to the server compared to the outgoing ...
18
votes
4answers
63k views

Why the default eth0 interface is down by default on CentOS?

I am already a little bit familiar with Linux distros like Debian or Ubuntu (yeah, very similar) but I wanted to try Red Hat based - CentOS 6.2 . I have installed it on my Windows 7 host in virtualBox ...
29
votes
10answers
58k views

Streaming to an Apple TV (3) from Linux

Alright, here is the setup: One apple tv 3 in the living room, connected to the network (wired). One pc running Linux (Arch Linux x64, AMD), containing all music, movies and series (wired). Now I ...
2
votes
2answers
4k views

command OR script to detect vpn connection status

I'm using Ubuntu Network Manager VPN client to connect to a PPTP vpn server. I have an application that get some data from internet and must be runned from behind the VPN. I need to suspend ...
3
votes
1answer
384 views

Route incoming network requests for a given port to different applications

I have an application that listens for connections on a port, but I occasionally take it down for updates and the like. I'd like a way to configure the system such that if that program is running, ...
1
vote
0answers
2k views

G3 Usb Modem Huawei E1550 did not work after unplug (NetworkManager)

I have the following problem: When I boot with plugged in usb modem everything is fine. If I unplug modem and plug it back it can not be used any more. Some logs below. 1. Modem plugged on boot ...
1
vote
1answer
167 views

Compling KUTE traffic generator 1.4 on Fedora Core 5

I am trying to install KUTE traffic generator on Fedora Core 5 kernel version 2.6.15. When I try to complile I get this error message: [root@dhcppc128 kute-1.4]# make make modules make[1]: Entering ...
1
vote
0answers
309 views

Information about the 1630/master app

When I run $ sudo netstat -a --programs | grep LISTENING | grep 1630 I will get this output. Do you know what good are processes running under this app name? Why they I running on my system and if ...
1
vote
3answers
286 views

How can I identify processes that use network facilities, and can they be killed?

In the output of netstat -a | grep LISTEN there are usually a lot of processes. How (where) can I find out information about them, what is their purpose in the system and if I can kill them? Which ...
2
votes
3answers
2k views

Scan for Network attached devices

Is there a way to scan for computers on the network through the command line and get their IP, MAC and DNS names without knowing anything about them?
2
votes
1answer
2k views

D-Link Wireless N 150 USB Adapter on Ubuntu

Link DWA-123 wireless adapter, on my desktop running Ubuntu 9.10 the device is being recognized as in, when I hit lsusb i get this entry Bus 001 Device 010: ID 2001:3c17 D-Link Corp. [hex] How do i ...
16
votes
3answers
31k views

CentOS eth0 not starting

Why would my new CentOS Virtual Machine not start eth0 on startup? I have to start it manually every time. How can I fix this? Thanks.
3
votes
1answer
465 views

User associated with a socket

I use ss -p to see TCP sockets information. But process info are not printed for some sockets. Below: $ ss -p4 State Recv-Q Send-Q Local Address:Port Peer Address:Port ESTAB 0 0 ...
1
vote
2answers
2k views

Bringing up an interface does not add default gateway to the routing table in Ubuntu

I have this in my interfaces file: auto eth1 iface eth1 inet static address 20.135.251.218 netmask 255.255.255.252 up route add default gw 20.135.251.217 dev eth1 metric 1 ...
3
votes
1answer
1k views

arping equivalent for IPv6

What is an equivalent for IPv6 of arping -q -c 3 -A -I [device] [ip]? I know, there is not an arp in IPv6 and Neighbor solicitation used instead, but which linux user space tool can send such ...
2
votes
1answer
1k views

See server desktop in tightVNC

I installed tightvncserver on one Linux machine and xtightvncviewer on another Linux machine. I can connect from client computer to server computer without problems. There are two problems: The ...
1
vote
1answer
1k views

installed teamspeak 3 on freebsd using portinstall but can't connect [closed]

I installed teamspeak 3 on freebsd 7 using portinstall. When i do service teamspeak status i see teamspeak is running but somehow I cannot connect to the server. did I miss something? I followed ...
2
votes
2answers
2k views

Domain resolve problem with stock Debian

I have a simple install with Debian as a guest in Virtualbox. I installed the resolvconf package. The resolv.conf file is this: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by ...
4
votes
1answer
46k views

Adding two default gateways in Debian interfaces file

This is my interfaces file: auto eth0 iface eth0 inet static address 192.168.1.10 netmask 255.255.255.0 gateway 192.168.1.1 auto eth1 iface eth1 inet static address 192.168.2.10 ...
1
vote
1answer
429 views

How to limit all tcp traffic to the network interface the session was initiated on?

I have an embedded linux system with two network interfaces (lan0, wlan0) that are configured to the same subnet. A server on this system accepts tcp connections on both interfaces. How I can assure ...
3
votes
2answers
2k views

Debian: No internet connection on reboot

A server I develop on ran out of memory during an overnight job and had to be rebooted. Upon reboot, it no longer has an internet connection. I've exhausted my google-fu abilities trying to ...
4
votes
2answers
49k views

Host unreachable and I do not get why

I can not open a specific website. This is a website hosted by our company, and I know it is up. However, these are my symptoms: VARIABLES: host.com - the website I can not open x.x.x.x - the IP of ...
1
vote
2answers
4k 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
2k 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
3k 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
241 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
1k 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
929 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
1answer
532 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 ...
2
votes
2answers
9k 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
581 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
343 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
978 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)) ...