Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

3
votes
1answer
703 views

CentOS network connection breaks every 5 min

I installed CentOS 6.2 about a month ago and it worked fine. Two days ago I saw that the internet connection is broken, so I reconfigured it. I was able to use it but after a few minutes it broke ...
6
votes
1answer
4k views

NAT (Internet connection sharing) switching between multiple public interfaces

My Ubuntu 12.04 (precise) laptop has three network interfaces: eth0: wired interface sometimes connected to the Internet wlan0: wireless interface sometimes connected to the Internet vboxnet0: wired ...
5
votes
1answer
571 views

How can I setup a wifi access point to only allow users if they accept an EULA?

I need to setup an access point to only allow users through if they first accept an EULA. To make things slightly simpler, I'm looking into doing this with a unix machine that shares the connection ...
1
vote
1answer
1k views

How to share a tethered iPhone internet connection with VirtualBox guest?

I mostly connect to my Linux distros to the internet via a USB iPhone tethered connection (MyWi app). I have just installed an Windows XP guest OS via Virtualbox on Ubuntu 12.04. How do I connect ...
3
votes
1answer
633 views

Verbose DNS query to see DNS query order?

I typically determine the IP of a host by doing: $ host -t A example.com. Is there a more verbose version of this that tells me whats happening in the background, specifically the order of what is ...
1
vote
1answer
559 views

Using google DNS in netcfg

how can I set up my netcfg profiles to use the google DNS servers? I've tried IP = 'dhcp' DNS = '8.8.8.8' but that didn't cut it.
2
votes
2answers
2k views

TOR Transparent Proxy - How does to the TCP redirecting work

I used an iptables ruleset based on the sample ruleset from https://trac.torproject.org/projects/tor/wiki/doc/TransparentProxy, Section Linux, Local Redirection Through Tor, to set up Tor as a ...
1
vote
2answers
2k views

Configuring a VPN in my CentOS server

My server runs CentOS 6.2. It has two network cards (eth0 and eth1). In my server I have installed CoovaChilli access controller software, that manages the LAN under it. This management is done ...
2
votes
1answer
377 views

Constantly pinging a server

I am not sure if this is exactly the right place for this question, but there is no networking stack exchange. I want to ping a server a bunch of times (eg.10,000+) to gather information on the ...
2
votes
1answer
4k views

DNS Issues on RHEL 6

I'm experiencing some DNS issues on a new RHEL 6 virtual machine. Ping is working fine to an IP, but the machine is unable to resolve any names. I've tried adding Google's DNS servers (8.8.8.8 and ...
4
votes
1answer
6k views

“Destination Host Unreachable” when pinging wireless router

I'm a little new to all the intricacies of Linux workings, so please bear with me if this is a dumb question. I'm using Linux Mint 12 and I have an Asus PCE-N15 wireless card, which is running the ...
3
votes
2answers
5k views

Where does Debian store network connectivity history?

I would like to know if Debian has anywhere where it stores a history of network connectivity- IP addresses/server, DNS etc?
6
votes
1answer
333 views

Auto-switch to wifi

Need to connect to specific wifi point as soon as it is in range. If it is out of range, then system must stay connected LAN. In case, any wifi-point is in range, there must be auto-switch.
1
vote
1answer
2k views

Interpreting output from iostat

I'm facing really slow speed serving just static files from 300 to 900 MB on a 1 GBps dedicated line. This is the output from iostat but I don't know if this is ok or not. Linux ...
0
votes
1answer
57 views

Do IPTABLE rules apply to other devices on a network?

I have an embedded device that listens to a specific port to be programmed by vendor specific software. If I have a network that consists of a small linux computer and this industrial device would ...
1
vote
2answers
1k views

SSH into Ubuntu VM remotely

I don't have much Linux or networking experience, but I'm trying to SSH into an Ubuntu virtual machine from outside of my home network. The Ubuntu virtual machine (running inside VirtualBox) is ...
2
votes
3answers
696 views

VirtualBox networking host-only: Linux host XP Guest

I'm having trouble connecting XP ( Guest system on VBOX ) to Debian Testing (host). The version VirtualBox 4.1.12 Relevant parts of the output of commands. ifconfig on debian: eth0 inet ...
1
vote
0answers
460 views

Add blinking network-monitor icon to GNOME / XFCE

I'd like to see if I have incoming or outgoing network traffic via a little blinking network-monitor icon in my system tray, similar to the network system tray icon in Windows XP and Android. I would ...
4
votes
1answer
4k views

DHCP server: offer different subnet addresses for different interfaces

I'm running Ubuntu 10.04 on my home router which has multiple network interfaces. I have dhcpd configured to provide addresses from 192.168.1.0/24 subnet on certain interface. However, I'd like to ...
1
vote
1answer
960 views

Linux Mint 12 on HP Pavillion DV7 - Wireless is not working

I just installed Linux Mint 12 using mint4win just to test it out. I have a problem with my wireless connection. When I start Mint, it sees the network I wish to join, I select it, enter the correct ...
1
vote
1answer
1k views

How can I force a tap/tun interface into the running state?

I am trying to capture packets on a tun interface with libpcap. I am creating the interface with: openvpn --mktun --dev tun0 When the adapter is setup it appears as so when I run ifconfig: tun0 ...
3
votes
1answer
987 views

Linux workstations intermittently lose internet connections

About three months ago, a strange phenomenon started happening in our network. Firstly, let me describe the network layout (only the details which I think I'll be allowed to divulge): We have a ...
4
votes
2answers
1k views

Configuring network settings manually in Qubes OS

I'm trying to setup Qubes OS on my desktop but struggling to get the network/internet working. This is the configuration i want to setup - ip - 192.168.1.2 Subnet - 255.255.255.0 Gateway - ...
3
votes
2answers
710 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
3k 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
16k 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
28k 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
363 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
458 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
724 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. ...
5
votes
3answers
11k 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
14k 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 ...
17
votes
4answers
55k 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 ...
28
votes
10answers
56k 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
3k 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
376 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
166 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
294 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
275 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
1k 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 ...
14
votes
3answers
29k 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
441 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 ...