Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

4
votes
3answers
2k views

IPTables and transparent proxies

I have set up a local, transparent TCP proxy on localhost. I want to redirect ALL TCP traffic to this proxy, so it can handle it and nothing "leaks out," circumventing the proxy. I need to use ...
3
votes
1answer
2k views

debian wireless networking through terminal

I'm starting to use the wmii windows manager and I want certain pieces of information to display on a status bar. If I were to want to display the ESSID for the network, I would have to find it ...
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
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 ...
2
votes
0answers
1k views

Printing failure at a network printer in linux

I added a network printer to my network by the RedHat Enterprise workstation 6 linux GUI. It seemed that the printer setting did find the network printer. However, whenever I tried to print, the job ...
0
votes
1answer
3k views

IPtables string match

I'm trying to write iptables string match rule To block http://domain.com:8888 and https://domain.com:8888 when it matches the supplied string in the rule. And another rule to redirect the ports also ...
1
vote
0answers
325 views

openBSD static ip can't connect

I have set /etc/hostname.msk0 to inet 192.168.1.102 255.255.255.0 NONE and /etc/mygate to 192.168.1.1 but still can't ping the router (192.168.1.1) do I need to configure dns to ping ? ...
1
vote
1answer
443 views

Bring up alias interface on boot, when the main interface is down

In my CentOS 6.2 server, I have the following configuration for networking: The NetworkManager package wasn't installed on eth0 I have a DHCP configuration on eth0:1 alias interface I have a static ...
2
votes
0answers
254 views

Setup DSL Network Connection in KDE

I have recently migrated to KDE from unity (ubuntu 12.04). I have a PPPoE network where I live. Under unity, gnome, xfce I am able to set up a DSL connection and everything works fine. I tested a live ...
1
vote
2answers
339 views

Interface and alias up at the same time

I have on my eth0 NIC card the following IP alias (I'm running CentOS 6.2): eth0 - IP: 192.168.50.1 eth0:5 - IP: 10.0.0.1 Now, when I boot the server, both interfaces come up and respond, but if I ...
2
votes
1answer
801 views

Enabling bwn in FreeBSD

I am trying to load the bwn driver as a module as mentioned in the man page. However, when I attempted to edit /boot/defaults/loader.conf I could not write the changes to the file, this was attempted ...
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. ...
2
votes
1answer
747 views

Changing hostname without errors

I tried to change my hostname according to this guide for Debian based system: I edited /etc/hostname I ran /etc/init.d/hostname start Though there are errors. Always when I write a sudo command ...
17
votes
3answers
768 views

Limiting a specific shell's internet bandwidth usage

I want update my linux in one shell but by default wget or axel in updater use all the bandwidth. How can I limit the speed in this shell? I want other shells to have a fair share, and to limit ...
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 ...
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 ...
2
votes
1answer
105 views

Is there a way to redirect requests from foo.com to a VM on that server?

I saw a tutorial about redirecting client requests to a specific port to a VM inside the server using IPTables. Is there a way to redirect client requests for foo.com to a VM using only IPTables? or ...
4
votes
1answer
5k views

dhcp: Host name lookup failure

I changed configuration of /etc/sysconfig/network-scripts/ifcfg-eth1 and used ifdown and ifup to reset it. Then used ifconfig eth1 dhcp start it does not work and say:dhcp: Host name lookup failure. ...
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
567 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 ...
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
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 ...
2
votes
2answers
964 views

no network device found after Kernel update

So I managed to install Debian 5 on an eBox 3300MX (an embedded type computer). I added a custom kernel after getting a basic install done. That was to get the network card to work. After that, I ...
3
votes
1answer
629 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
557 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.
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 ...
3
votes
3answers
2k views

Arch Linux doesn't connect to a wireless network

I'm using Arch Linux on a Thinkpad machine. Everything was satisfactory but today I restarted my router and the machine doesn't connect. The router is fine (another machine and a cell phone connect to ...
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
376 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 ...
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 ...
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 ...
3
votes
1answer
983 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 ...
1
vote
0answers
458 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 ...
3
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
957 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
439 views

NetworkManager on Fedora 15 can't find frequently used wireless network

NetworkManager has refused to find the wireless network I always connect to. It sees other wireless networks except the one which I need. In recent past occasions, I've had to delete the wireless ...
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 ...
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 ...
4
votes
2answers
457 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 ...
2
votes
2answers
2k views

Checking the type of NAT

I have read that there are many types of NATs available like symmetric NAT, full-cone NAT, etc. If I am behind a NAT, is there any way to find out the type of NAT behind which I am currently working ...
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 ...
3
votes
3answers
417 views

Questions about nmap

I have several questions about nmap. First, nmap can detect servers via: link-layer network-layer transport-layer What are the differences (not in the layer, but in the way that nmap does it) and ...
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 ...
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 ...
3
votes
5answers
1k views

How can I test whether connection to the given host/port is established in Bash?

Currently I'm using netstat for this: if netstat -an | grep ESTABLISHED | grep $address:$port > /dev/null; then # command fi Is there a more elegant solution?
4
votes
3answers
2k views

How do I get a mapping of Pid to Port?

I have a process which I need to run on a specific port. I have started some other process on that port and I need to kill it. Unfortunately, I don't remember the name/pid of the other process so I ...
1
vote
0answers
292 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 ...
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 ...