Questions tagged [networking]

Computer networking is the connection two or more computing devices for transmitting and sharing data. The devices use common communication protocols over a physical or wireless connection. Use this tag for questions about managing and using network connectivity on an Ubuntu system.

This tag covers general questions about network connectivity, such as:

  • Configuring network interfaces
  • Diagnosing network issues
  • Establishing a network connection

Questions about networking between Ubuntu and a non-Ubuntu system are on-topic unless the issue is clearly on the non-Ubuntu side.

Most questions should also have one or more tag to identify the aspect or protocol that the question is about:

Do not use the tag if your question is specifically about a networked application and not about network configuration. For example:

  • How do I configure my Linux firewall to let FTP through?
  • How can I upload only files that are more recent than the remote version over FTP?
23526 questions
862
votes
23 answers

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?
kfmfe04
  • 9,099
683
votes
27 answers

How to display network traffic in the 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 ?
567
votes
9 answers

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 this error: > python -m SimpleHTTPServer # Lots of python error socket.error: [Errno 98] Address already in use If I use another port ( 8000 is the…
yansal
  • 5,773
425
votes
43 answers

Installing Broadcom Wireless Drivers

I'm having serious problems installing the Broadcom drivers for Ubuntu. It worked perfectly on my previous version, but now, it is impossible. What are the steps to install Broadcom wireless drivers for a BCM43xx card? I'm a user with no advance…
363
votes
17 answers

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 records. Is there a way to clear Ubuntu's DNS…
Jono
  • 4,319
342
votes
18 answers

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 /etc/init.d/ method it complains saying that I should use…
waspinator
  • 4,972
340
votes
11 answers

How do I find my internal ip address?

I have Ubuntu server 12.04 installed, so I have no GUI. When I do the command ifconfig, I cannot find my internal IP address. It says: inet addr: 127.0.0.1 . Here is the output of ifconfig -a : eth0 link encap:Ethernet HWaddr 00:06:4f:4a:66:f0…
Cam Jones
  • 4,031
323
votes
6 answers

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 internet-related. This sometimes happens to me with the…
Malabarba
  • 10,736
276
votes
11 answers

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?
Jonas
  • 8,787
254
votes
8 answers

How do you test the network speed between two boxes?

I have a gigabit network set up in my house and a 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 anything, it really is just the geek in me that is…
Jacob Schoen
  • 5,385
212
votes
3 answers

How do I install dig?

How do I install dig (the DNS lookup tool)? I can't figure out what the package name is.
Eric Johnson
  • 6,745
203
votes
1 answer

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?
Eliah Kagan
  • 120,231
175
votes
10 answers

A start job is running for wait for network to be configured. Ubuntu server 17.10

i just installed ubuntu server on my laptop and everything works fine except for the fact that at boot if the laptop is not connected to ethernet or in range of my wi-fi i get this message "A start job is running for wait for network to be…
vlad27
  • 1,851
169
votes
4 answers

How can I display the list of available Wi-Fi networks?

My Ubuntu laptop's Wi-Fi works fine on various Wi-Fi networks. But the list of available networks accessed from the toolbar icon of nm-applet no longer appears. I just see the known networks. The list of hidden networks also doesn't show any new…
Joshua Fox
  • 3,051
168
votes
8 answers

How do I SSH to machine A via B in one command?

I want to access a computer, say machine A which is based in my university's network. However, this computer is only accessible via the internal network of the university, so I can not use SSH to this computer from home directly. Here's what I do…
nikosdi
  • 1,872
1
2 3
…
99 100