Managing and using network connectivity on a Ubuntu system

learn more… | top users | synonyms (1)

15
votes
9answers
135k views

How to configure proxy authentication to work with Ubuntu Software Center?

I have tried put in apt config Acquire::http::proxy, and in Network>Network proxy with and without user:password@server:port and using environment variables http_proxy and https_proxy. Nothing seems ...
15
votes
2answers
5k views

How to configure preferred network for internet?

I am connected to a LAN network and wireless network. Both provide access to internet. Sometimes when the internet on LAN is not working, the browser simply throws an exception instead of switching ...
15
votes
6answers
14k views

Why is my Internet connection randomly dropping?

Ever since I have installed 12.04 (clean install not an upgrade), I have been having a drop in the Internet connection. The drop in the connection can be anything from 15 seconds to about 3 mins, and ...
15
votes
4answers
17k views

Wifi keeps disconnecting and extremely slow at low signal - Ubuntu 13.04

First off, I just want to say that I work as an IT engineer (Windows Desktop/Server etc) so I am willing to go right down to the ground when it comes to advance technical troubleshooting. ...
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
3answers
43k views

How do I add an additional IP address to /etc/network/interfaces?

I have an extra IP address available to my server, and so I need to assign it in the interfaces file. At the moment, I've got this: auto lo iface lo inet loopback auto eth0 iface eth0 inet static ...
14
votes
3answers
84k views

Using scp to copy files from remote to home machine

This is probably a simple error, but I can't work it out. My computer hostname is Felix (hostname -f returns Felix) I am trying to move a file from my university account to my home computer using scp. ...
14
votes
5answers
14k views

Network connection error after suspend Ubuntu 14.04 [duplicate]

I'm using ubuntu 14.04 and a DSL connection for internet. However, whenever I suspend and resume my session, I'm no longer able to connect to the internet. Could someone help me fix this?
14
votes
3answers
17k views

How can I (from CLI) assign multiple IP addresses to one interface?

On my server I want to assign several IP addresses to one NIC, but without using the deprecated ifconfig or the obsolete "alias" notation (like eth0:0) in /etc/network/interfaces because in IP ...
14
votes
6answers
12k 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 ...
14
votes
3answers
15k views

Configuring Firefox to use a proxy from the command line

I'm looking for a way to tell Firefox to use a proxy in Ubuntu Ludid (10.04.1 LTS). I'm installing Ubuntu semi-automatically on several identical machines. For this, I use a script that, amongst ...
14
votes
1answer
941 views

How to tell which processes are uploading and downloading data (and how much)? [duplicate]

I can see in my System Monitor that data is being uploaded and downloaded, I can see in Etherape which sites it's connecting to and which protocol is being used. However without looking at the actual ...
14
votes
3answers
58k views

KVM Bridged Network Not Working

I just installed KVM on my Ubuntu Server according to this guide : https://help.ubuntu.com/community/KVM/Installation Then prepared a bridged network as shown in here : ...
14
votes
7answers
31k views

Two ethernet ports on motherboard. How can I get double the bandwidth?

Direct Question: My evga classified motherboard has two ethernet ports. I want to use them simultaneously to improve the speed of a remote connection. (Yay for programming remotely). How do I do ...
14
votes
3answers
48k views

How to successfully restart a network without reboot? [duplicate]

When I am using Ubuntu, sometimes the network goes down and there is no option to bring back the wired network. There is always option for wireless, but no option for wired network. In such case I try ...
14
votes
2answers
13k views

persist port routing from 80 to 8080

I use amazon EC2 instance which works via ubuntu. By default according security restrictions I can't bin my application to port 80, so I just bind it port 8080 and then set routing redirect from port ...
14
votes
1answer
19k views

Should I set up my CUPS Printing to use IPP, LPD or URL?

When I got to add a network printer, I'm always confronted with the same dilemma: Do I set up the printer via IPP, LPD, or using it's IP address (AppSocket/Jetdirect?) and why? What are the ...
14
votes
1answer
4k views

How do I ignore a proxy if not available?

Following the instructions in Best way to cache apt downloads on a LAN?, I've set up a caching proxy in my local network. Since that machine is not always up, I'd like to be able to refresh the ...
14
votes
2answers
8k 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 ...
14
votes
2answers
5k views

How do I run Juju on a local server?

I'd like to use juju on my server at home to get to know juju and play with it. I have multiple computers and would like to access what's on the server from any of them. When I went through the ...
14
votes
2answers
35k views

How can I make VirtualBox guests share the host's VPN connection?

Question When I start my VPN on my ubuntu desktop computer which acts as a router, the attached subnet loses internet connectivity, but is still accessible (LAN). Ideally, I would like to know how to ...
14
votes
2answers
485 views

Identify “rogue” internet accessing Applications

At the moment I have an application/service/widget/plugin/cronjob whatever, accessing the internet on a regular basis. I could go into the details of my specific issue but I'd rather have an answer ...
14
votes
4answers
34k views

Network not starting up on boot

Basically my network won't start. Can't use wired connections. To make it a further brain-scratcher, when booting into recovery, and using the network console, the network comes up and works. Outside ...
14
votes
2answers
6k views

Where to add the Pre-Shared Key for the Server Authentication with Network Manager for L2TP/IPSEC?

Previously, I was trying to figure out how to install the L2TP/IPSEC manager code. I guess Ubuntu/Canonical switched away from OpenSwan to StrongSwan, but didn't really announce it. So that was ...
14
votes
3answers
2k views

How do I restrict user bandwidth usage?

I want to restrict each user to 300 gigabytes of internet usage per month. Are there any GUI or command-based tools to manager my users' bandwidth?
13
votes
7answers
22k views

Is there a program to see channels used by wifi networks (similar to Vistumbler) in Ubuntu?

I need to see the channels used by all wifi networks in range in order to improve my wifi connection by selecting the channel to be used by my modem (a procedure related to the 'freebox' modem). In ...
13
votes
6answers
24k views

How do I stop my ethernet network connection from dropping?

My ethernet-based network connection doesn't stay up consistently. I'm running a ping against the gateway and it will: Work for a minute Freeze, time out, or give multi-second response times Repeat ...
13
votes
3answers
31k views

Proxy exceptions in 12.04 LTS

How do I setup proxy exceptions under Ubuntu 12.04? Already tried the proposed solutions for earlier Ubuntu versions and none seem to work. There is no Network Proxy Preferences in 12.04 AFAIK. ...
13
votes
1answer
32k views

What are ICMP redirects and should they be blocked?

After enabling ufw and the Tiger security auditor, I see warnings saying: The system accepts ICMP redirection messages What are ICMP redirection messages? Should they be disabled for security ...
13
votes
3answers
7k views

How can I set up a Dynamic DNS fetching service on Ubuntu Server?

I've created accounts and hostnames within my http://no-ip.org/ account, which is by far the most commonly used service for my type of server. Can somebody walk me through the configuration process ...
13
votes
1answer
34k views

what does the dns-search option mean in /etc/network/interfaces

Can anybody explain to me about the dns-search directive in /etc/network/interfaces file: iface eth0 inet static address 192.168.3.3 netmask 255.255.255.0 gateway 192.168.3.1 ...
13
votes
1answer
5k views

Automatically disable wifi (wireless) when wired?

What's the best way to automatically disable my Wifi/wireless connection whenever I plug in a wired Ethernet cable? I'd like it to be re-enabled when I later unplug the wire. Also, I sometimes like ...
13
votes
5answers
10k views

Wake from hibernate on ssh request

Is there a feature (or aptitude package) in Ubuntu 10.04 that will wake my computer up from standby when it gets an ssh (or other webrequest). I've been trying to put my computer in hibernate/standby ...
13
votes
5answers
12k views

Internet slow on Ubuntu but not windows using a RTL8111

I have just installed a dual boot windows7 /ubuntu 11.10 and the internet is much slower than windows. I have read the post here and tried the solutions presented and none have worked. Here is what I ...
13
votes
4answers
422 views

How to know what other systems are trying to get into Ubuntu?

I am currently using Ubuntu Desktop 11.04 and enabled the firewall using GUFW. I have also disabled all the unnecessary services. I am connected to the internet and would like to know details of any ...
12
votes
11answers
65k views

Wireless is disabled by hardware switch on Dell Inspiron 1750

I have a problem where Ubuntu (12.04) says there is a wireless network card, but it is disabled by a hardware switch. How do I turn it on? I checked the BIOS, and the wireless card is enabled there. ...
12
votes
6answers
2k views

I accidentally deleted the network-manager and don't have access to internet anymore

I cannot connect to any wifi connection since I deleted the network-manager. Is there any way to get it from another computer and then install it on mine or is there a way I can get an internet ...
12
votes
5answers
22k views

How do I connect my desktop and my laptop using an ethernet cable to transfer files?

I have an ethernet cable (not a crossover cable) to connect my laptop and my desktop ubuntu machines. I want to transfer large amounts of data. Is it possible with such a cable? I believe that between ...
12
votes
12answers
6k views

Can't browse the internet nor ping a host, but dig works

I am not able to browse any websites. Please take a look at the following error: karthick@karthick:~$ ping www.google.com ping: unknown host www.google.com Update ...
12
votes
1answer
2k views

What are all these connections holding up my network?

I have a ubuntu box running 14.04 , Over the past couple days I have been having network issues on all my devices. This ubuntu box is wired directly into router. After some common trouble shooting ...
12
votes
2answers
6k views

How do i find out which program is using internet and how much? [duplicate]

Possible Duplicate: How do I find out which process is eating up my bandwidth? Sometimes there are unusual Internet activity in my Computer. Modem's lights are always blinking and When I ...
12
votes
3answers
29k views

How do I connect to a server with thunar in Xubuntu?

In Ubuntu running Gnome 2 you were able to select "Connect to Server" from the Places menu and you would get a graphical connection to whatever server you connected to. Example: How can you do ...
12
votes
1answer
167k views

Connect to WiFi network through Ubuntu terminal [duplicate]

I am using my WiFi network adapter on the laptop to connect to the internet on Ubuntu 10.04. I have tried the following steps and got the below messages on the Ubuntu terminal. Please let me know what ...
12
votes
1answer
43k views

How can I set my linux box as a router to forward ip packets?

I am doing a network experiment about ip packet forwarding, but I don't know why it does work. I have a linux machine with two network interfaces, eth0 and eth1 both with static IP address (eth0: ...
12
votes
1answer
253 views

I have partially uninstalled wireless driver iwl4965, wireless never worked, no option to install proprietary drivers

Still need some help or ideas even. After trying all suggestions from @Chil and @Dav see comments below (the @ sign signals them I've responded in some way to the question right? I still have the ...
12
votes
6answers
6k views

How to control an Ubuntu PC from another Ubuntu PC over Internet, using mobile broadband connections?

There are two Ubuntu PCs called A and B. A and B are connected to the Internet using two separated Internet connections. (In my case, two mobile broadband connections ppp0 x2 ) Each connection has a ...
12
votes
3answers
6k views

Is there a tool for validating /etc/network/interfaces files?

I always like to test new config files before deploying them--with tools like apachectl configtest and named-checkconf. It's rare that mistakes crop up, but catching them before deployment ...
12
votes
1answer
24k views

Networking with Multiple Nics

I have an Ubuntu 12.04 server with 4 Network adapters in it. I need to use each NIC for a separate function. Here is a description of my setup: etho = 10.234.0.2 netmask = 255.255.255.252 gw = ...
12
votes
4answers
32k views

Editing network interfaces without system rebooting

I'd like to make some changes to my networking configuration by editing my /etc/network/interfaces file. What's the cleanest way to make changes to this file and have them take effect, without having ...
12
votes
3answers
29k views

What does “ping: sendmsg: No buffer space available” mean?

I had an intermittent issue (which resolves itself spontaneously, after using a different connection for a while) that caused Internet requests to fail, with one particular wireless network. After ...