This tag covers anything related to home networking, errors using the official repositories, clouds and system administration. This tag also covers simple internet access issues.

learn more… | top users | synonyms (1)

85
votes
6answers
14k views

Best way to cache apt downloads on a LAN?

I have multiple Ubuntu machines at home and a pretty slow internet connection, and sometimes multiple machines need to be updated at once (especially during new Ubuntu releases.) Is there a way where ...
64
votes
0answers
87k views

How can I find my public IP using the terminal? [duplicate]

I am on DHCP, having dynamic IP. Finding your public IP when using a GUI and a browser is extremely easy. Simply go to Google.com and search for "What is my IP". Google will display it in the very ...
54
votes
10answers
58k views

How do I clear the DNS cache?

I just updated the DNS record (ns1, ns2, ns3.myhostingcompany.com) for a site I've got hosted, but I still get the domain registrar parking page. I'd like to see if the problem is Ubuntu's cached DNS ...
47
votes
7answers
92k views

How to restart the networking service?

I tried to use sudo service networking restart and sudo /etc/init.d/network restart but they both crash the window manager and I can no longer use my keyboard for input into X. when I use the ...
44
votes
7answers
51k views

How to display network traffic in terminal

how to display the actual network traffic (wireless) in a terminal? Additionally: Is it possible to add this info to the chart of top?
44
votes
5answers
14k views

How do I find out which process is eating up my bandwidth?

I think I'm being the victim of a bug here. Sometimes while I'm working (I still don't know why), my network traffic goes up to 200 KB/s and stays that way, even tough I'm not doing anything ...
43
votes
15answers
65k views

Command for determining my public IP?

If I check with google, I can see my public IP. Is there something on the Ubuntu command-line which will yield me the same answer?
38
votes
1answer
58k views

How do I setup an Icecast server for broadcasting audio in my network?

Broadcasting the output of the soundcard as an internet radio stream is a reliable way to stream audio in a network. This can nicely be used to e.g. transmit audio in a wireless LAN to another ...
36
votes
4answers
41k views

What is the equivalent of the “tracert” DOS command?

tracert is a command in MS-DOS command prompt to trace the route to an IP Address. Is there any command in the Gnome Terminal equivalent to this?
36
votes
2answers
20k views

How I can limit Download/Upload bandwidth?

How I can limit Download/Upload bandwidth for: Entire OS. One network interface. Single application.
32
votes
13answers
41k views

List all MAC addresses and their associated IPs in my local network(LAN)

How can I list all MAC addresses and their associated IPs of the machines connected to my local network(LAN)? Any suggestions?
29
votes
13answers
23k views

Nice network diagram editor?

Writing a commercial proposal, I want to create a nice graphic showing the clients the architecture I thought of for their IT network, with servers, network connections, firewall, load-balancing, etc. ...
28
votes
7answers
1k views

What precautions should I take when exposing my desktop directly to the internet?

I've always used my Ubuntu desktop behind the security of a router with NAT, but there have been a few times when I've had to plug it directly into an active cable modem. In general, what precautions ...
28
votes
6answers
40k views

“Waiting for network configuration” adding 3 to 5 minutes to boot time

I get the following pieces of information at the startup, takes about 3 to 5 minutes, while normally about 1 minute: Waiting network configuration Booting system without full network configuration ...
26
votes
7answers
28k views

chat over lan from linux to linux?

As I recall there was something like netsend on windows that allowed simple messages to be sent over the local network. I especially like this because one doesn't need to install extra client soft ...
26
votes
12answers
26k views

How can I capture network traffic of a single process?

I would like to examine the network traffic being handled by a single process, but simple network captures won't work since I am dealing with such a busy system (lots of other traffic happening at the ...
26
votes
2answers
3k views

How to run a script every time internet connects

I often mount a remote drive using sshfs. I would love to have this mount automatically. However, if I mount it in my .bashrc or startup scripts, the mount often fails because my wireless internet ...
26
votes
5answers
9k views

How can you monitor internet download usage?

Some broadband providers impose a monthly download limit, charging extra if you go over. It is also quite easy to exceed some of the lower limits just by installing/updating packages and 'normal' ...
24
votes
5answers
104k views

How do I fix a “Wireless is disabled by hardware switch” error?

I just updated to Ubuntu 12.04 from 11.10 but soon after updating I was disappointed to see that Wireless is disabled by hardware switch. I can not click the button 'Enable wireless' which is ...
24
votes
9answers
37k views

What is the correct way to restart udev?

I've changed the name of my eth1 interface to eth0. How to ask udev now to re-read the config? service udev restart and udevadm control --reload-rules don't help. So is there any valid way ...
23
votes
2answers
95k views

How do I install drivers for the Atheros AR8161 Ethernet controller?

I have installed Ubuntu 12.04-64 bit on my Lenovo IdeaPad laptop, and the wired Ethernet (LAN) connection doesn't work. Running the lspci -vv | grep Atheros command from the terminal shows me I have ...
23
votes
9answers
13k views

What's the best way to SSH to machines on the local network?

I have 2 computers, one that I use and one for the kids. I want to be able to ssh into their computer to control it (like to shut it down etc) but am curious the best way to do this. We both are in ...
23
votes
1answer
25k views

What is the loopback device and how do I use it?

What are loopback and localhost? Why do they exist, what are they used for, and how would I use them?
23
votes
2answers
7k views

Network disabled on some wake-ups on saucy laptop [closed]

Since I upgraded to Saucy Salamander 13.10, with every third suspend or so, the network is disabled and I'm unable to re-enable it. I've had to reboot to make it run again. The network menu will have ...
22
votes
3answers
31k views

How do I setup OpenVPN so I can securely use the internet from an unsecured hotspot?

Goal: I want to be able to securely use the internet via my home PC while my notebook is connected to an open hotspot/access point. I do know that I can use a SSH tunnel/SOCKS proxy, but I don't want ...
22
votes
3answers
11k views

What is the difference between Network Manager and 'ifconfig' 'ifup', etc?

Ubuntu seems to provide at least two network "toolsets" (for lack of a better term). I'm running into conflicts between these two. Network Manager Something which is more like the traditional ...
22
votes
5answers
33k views

How do I share a folder with another Linux machine on the same home network?

I'm trying to share a folder on one Ubuntu machine with another Ubuntu machine on the same home network. When I right click on the folder and choose Sharing Options, it tells me I need to install ...
22
votes
6answers
581 views

What would be the most practical way for a web developer to develop on Ubuntu but test on IE [duplicate]

I work as web developer and have Firefox and Chrome installed on my Ubuntu system. However, most of the nightmares for web developers are getting things to work on Internet Explorer, mostly IE7 and ...
21
votes
3answers
15k views

How do you test the network speed betwen two boxes?

I have gigabit network setup in my house and few Ubuntu based boxes. Out of complete curiosity I would like to check the speed between the two boxes. I am not having any problems with speed or ...
21
votes
6answers
18k views

How do I renew my DHCP lease?

Short of rebooting, how can I release and renew my DHCP lease? It would be useful to know a GUI and terminal method. I'd especially like to know if there is a means to do this without requiring admin ...
21
votes
3answers
8k views

bind software to different network interfaces

I have two different network interfaces, connected to 2 networks. One is an eth0 and the other one a wlan0. How can I tell a software to use only a specific interface? Basically I want Firefox to ...
20
votes
4answers
23k views

How to share a wired internet connection via Wifi?

Can someone please help me with a complete step by step guide to share my internet connection (which is through a USB modem by ZTE) with my iphone 3G?
20
votes
3answers
9k views

How do you configure desktop for a static IP address?

By default Ubuntu uses DHCP and Gnome NetworkManger to configure interfaces. This is not optimal in many cases. How to configure a desktop machine for a static IP address that applies to all users? ...
20
votes
3answers
44k views

How to set up Ubuntu as wireless accesspoint?

How can I set up my WiFi to be used as wireless access point on Ubuntu Server? I have a local Ubuntu Server, it has a wireless card in it (802.11a/b/g/n) and I really want to set it up as an 802.11n ...
19
votes
3answers
8k views

How can I see what ports are open on my machine?

I would like to see what ports are open on my machine, e.g. what ports my machine is listening on. E.g. port 80 if I have installed a web server, and so on. Is there any command for this?
19
votes
4answers
47k views

“waiting for network configuration” Problem

This problem happens sometimes when ubuntu starts up. You can't really boot to the interface sometimes. Splash Screen with the 5 dots and a message saying: waiting for network configuration ...
19
votes
2answers
15k views

Is there LAN topology mapping software available in Ubuntu?

I need to do a graphical map of all the layer-2 and layer-3 machines running in my LAN. I don't want a graphical tool like Dia or similar, but a kind of "graphical Nmap" which shows the real cabling ...
19
votes
3answers
135k views

How to setup static IP in Ubuntu Server 12.04?

sudo apt-get update sudo apt-get upgrade ifconfig sudo nano /etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.1.150 netmask 255.255.255.0 network 192.168.2.0 broadcast ...
18
votes
2answers
15k views

Send messages between 2 Ubuntu PCs (Net Send Style)

I am trying to find a way to send a message (like a popup message) from 1 PC to another. both are using Ubuntu. Already tried the smbclient way but this only works between a linux PC to a windows PC. ...
18
votes
5answers
11k views

Can't connect to WPA2 Enterprise PEAP

My university uses WPA2 Enterprise encryption for students to login their wireless. In NetworkManager I have keyed in everything that they needed Security : WPA & WPA2 Enterprise Authentication ...
18
votes
1answer
481 views

Howto configure MAAS to separate PXE traffic and IPMI traffic on different subnets?

I am trying to set up a part of our network as a linux cluster. Since its a little educational for me, I choose using MAAS with JuJu. However there are some questions that boggle my mind and I was ...
17
votes
4answers
24k views

resolv.conf doesn't get set on reboot when networking is configured for static ip

I'm experiencing what appears to be a name resolution issue in Ubuntu 12.04 Server edition when configuring my computer to use static ip. In /etc/network/interfaces: # The primary network interface ...
16
votes
1answer
10k views

Network service discovery disabled: What does this mean for me?

Every time at boot I get a message “Network service discovery disabled. Your current network has a .local domain, which is not recommended and incompatible with the Avahi network service discovery. ...
15
votes
5answers
24k views

How to know what program is listening on a given port?

I suspect a program is listening on port 8000 on my machine. When I run the following command, I get that error: > python -m SimpleHTTPServer # Lots of python error socket.error: [Errno 98] ...
15
votes
4answers
11k views

How to find unused IP Address on a network?

I just want to find out unused IP Address on a network. I think it is possible with nmap. Can any one say me the way pls? Note: I just need the free IP list alone.
15
votes
1answer
23k views

Where to set proxy ignore list?

I upgraded to ubuntu 11.10 from 11.04, shocked to see few things... My system is behind a proxy, so I did set a proxy setting. Being a web developer, I want to remove a lot of addresses that I type ...
15
votes
3answers
14k views

Can't connect to any wireless connection after updating

I have a dual boot (windows 7 and ubuntu 12.04) setup and, for (apparently) no reason, I can't connect to any wireless connection on my ubuntu box at all. (on Windows it works.) I think it stopped ...
15
votes
2answers
6k views

Switching a server to static IP from DHCP

I am running an Ubuntu 10.04 server installation and I recently had to switch it from DHCP to static ip. I edited /etc/network/interfaces file and switched iface eth0 inet dhcp to iface eth0 inet ...
15
votes
0answers
12k views

Command to know my external IP address? [duplicate]

How can I get my external IP address using the Command Line?
14
votes
6answers
11k views

Ubuntu One behind a proxy, how to make it work?

I am behind a web proxy server at work (no authentication) and I have set it up in Gnome (configuration applied system-wide). It works fine for accessing internet with a browser, but numerous ...