Managing and using network connectivity on a Ubuntu system

learn more… | top users | synonyms (1)

1
vote
1answer
465 views

Wireless Disconnects Intermittently with Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] [8086:0085] (rev 34)

I am on Ubuntu 15.04 using xfce (xubuntu) and am having trouble with my wi-fi. The indicator continues to show that I am connected to the network but after some amount of time I will no longer have ...
1
vote
2answers
2k views

I messed up my /etc/hosts and /etc/resolv.conf files, now my network doesn't work. How can I reset it?

I tweaked my system by installing ftp server and a dns server. I think in the process I messed up resolv.conf and the hosts file. Now I want to restore it but am not able to do so. I am using ...
1
vote
1answer
648 views

14.04--Routine update killed network-manager, unable to connect to any networks [duplicate]

I am running 14.04 LTS on a Dell XPS 13 9343. Today I did a routine update through Software Updater and restarted when it prompted me. When I logged back in I had no internet connection and no icon ...
1
vote
2answers
10k views

How to increase JAVA Heap Size?

I need to increase the default java heap size to get OpenNMS Linkd service running smoothly, and fortunately I have 4/5 of my total installed memory free at any given time even when their is maximum ...
0
votes
1answer
602 views

Unable to connect to mixed b/g/n wifi network on Ubuntu

I cannot connect to mixed b/g/n wifi Network. I am using wl drivers. Connection to other wifi networks is working well, but to this network I cannot connect from Ubuntu (from my android phone ...
0
votes
1answer
103 views

Setting up bridged networking with KVM

I'm trying to install KVM. I've done the installation and I'm now following the second part of the guide to get bridged networking to work. However, I'm stuck at the part where I need to modify the /...
0
votes
1answer
443 views

How to rotate WiFi connections?

I have 2 WiFI connections available. Sometimes, the WiFi network disconnects, and when that happens, I'd like the system to automatically use the other connection. How can I do this in Ubuntu?
133
votes
6answers
240k 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] ...
43
votes
9answers
58k 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 ...
37
votes
3answers
26k views

connecting to archive.ubuntu.com takes too long

I have a Ubuntu 11.10 server that I just installed fresh. Now if I try to do anything with apt-get, it tries to connect to archive.ubuntu.com .. It stays at [Connecting to archive.ubuntu.com (2001:67c:...
40
votes
10answers
93k 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 ...
59
votes
7answers
226k views

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 internl ip address. it says inet addr: 127.0.0.1 . here is output of ifconfig -a: eth0 link ...
34
votes
6answers
122k views

How to see all computers connected to a network

I am in a LAN and there are 3 Ubuntu, 2 Kubuntu, 2 Windows XP and 2 Windows 7. What commands or tools are available to see what PCs are connected to the LAN that it shows the name of the PC and the IP....
22
votes
5answers
94k views

How to disable IPv6 on Ubuntu?

I disabled IPv6 on an Ubuntu box which has ssh and rsync running. But both of these are still listening on an IPv6 address. How should I fix this? root@box.com:~# sysctl net.ipv6.conf.all....
18
votes
5answers
18k 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?
27
votes
2answers
49k 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 ...
17
votes
3answers
108k 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. ...
13
votes
3answers
10k views

How to monitor, who is pinging me?

Is there a way to know who is pinging my PC on my network. Is it possible to monitor all ICMP packets , how can i do that ?
10
votes
3answers
13k views

Transmission daemon over OpenVPN

I have recently acquired a BeagleBone Black, onto which I've installed Ubuntu using this method. It has all worked so far. I want to use my BeagleBone as a torrent box, but I don't want to do it ...
24
votes
6answers
114k views

How do I find my network IP address, netmask, and gateway info?

I'm trying to make my IP address static as I hear it fixes slow browsing issues. When I click on connection information under the networking menu of the gray taskbar, it tells me about the IP address,...
15
votes
1answer
213k 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 ...
8
votes
3answers
69k views

“ping: unknown host google.com” but IP's works fine

I recently upgraded from Ubuntu 12.04 to Ubuntu 14.04. After restarting I have WiFi connected and/or LAN connection with no internet access. I'm using Toshiba Satellite C855D. Here are some of the ...
26
votes
2answers
58k views

How to use host names rather than ip addresses on home network?

I've a small home network up and running and managed to set up ssh. Can anyone tell me what I need to do to refer to one computer on the network from another by host name rather than IP address (which ...
21
votes
3answers
141k views

Command to get the hostname of remote server using IP address

I want to get the hostname of a remote server using the IP address using my Ubuntu. In Windows we can get using NBTSTAT but this doesn't work in Linux. Does anyone know how to do that?
17
votes
2answers
15k views

What does “.local” do?

I've got several Ubuntu machines on my network at home, but the DNS is provided by a windows server (2K). When I ssh to them from another , if I ssh to them as "machine" I can't connect, but if I ...
9
votes
2answers
10k views

Can't connect to PPTP VPN with ufw enabled on Ubuntu 14.04 with kernel 3.18

Suddenly VPN disconnected and can't reconnect no longer on kernel 3.18.1, so I try to install kernel 3.18.2 but my problem still exist. But I can connect to VPN with 3.14 kernel easily. The output of ...
24
votes
4answers
72k views

How to disable IPv6 permanently?

How can we disable IPv6 system wide via terminal commands? I've read editing /etc/modprobe.d/aliases and replacing: alias net-pf-10 ipv6 with: alias net-pf-10 off alias ipv6 off Is this safe ...
7
votes
3answers
3k views

2 internet connections on a single PC

If I have a wireless and a usb internet connection on my Ubuntu 12.04 as in: At the moment, Ubuntu seems to only make use of the Wired connection which is the usb connection. Is it possible to get ...
15
votes
6answers
8k views

No more AnyConnect compatible vpn transport in Ubuntu 16.04?

Following my previous experiences with setting up Cisco AnyConnect VPN connections on Ubuntu 14.04 I tried the same approach here by installing packages: sudo apt-get install -y network-manager-...
14
votes
3answers
8k 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 ...
12
votes
3answers
28k views

How do I setup an LXC guest so that it gets a dhcp address so I can access it on my network?

I setup LXC using: lxc-create -t ubuntu -n lxcguest1 But I can't access any services running on it from my LAN, it appears to be NATed. How do I set it up so that I can access it (it probably ...
11
votes
2answers
30k views

Cannot connect to WPA2/WPA Enterprise (PEAP and MSCHAP)

I cannot connect to my campus Wi-Fi connection through Ubuntu 13.04 but I can do the same through Windows. [ 1293.944518] wlan0: authenticate with 00:1a:1e:d5:f0:30 [ 1293.953216] wlan0: send auth to ...
9
votes
1answer
24k views

How to map network scanner

I have just bought a shiny new Canon MG6250 multifunction printer/scanner and connected it via LAN. Installing the printing side of things was a breeze, however, I cannot work out how to set up ...
8
votes
6answers
32k views

Very slow, intermittent WiFi speeds with 14.04 and Intel PRO/Wireless 5100 AGN [Shiloh]

I did a fresh install of Ubuntu 14.04 LTS on the harddisk of a Lenovo Y650 Ideapad laptop. The wireless adapter is an Intel PRO/Wireless 5100 AGN [Shiloh]. Initially I could not connect to any ...
6
votes
3answers
6k views

“The system network services are not compatible with this version” - ubuntu 14.04 [duplicate]

"The system network services are not compatible with this version" - ubuntu 14.04... I didn't even update anything thing.I have everything in network manager ....and I'm unable to connect to any ...
5
votes
1answer
121k views

Trying to configure eth0 and eth1 but Failed to bring up eth1

Trying to do below on Ubuntu 12.04. Trying to configure eth0 and eth1, eth0 works fine, but failed to bring eth1. Below is the settings /etc/network/interfaces: auto eth0 eth1 iface eth0 inet ...
3
votes
3answers
3k views

How should I set up a Linux file server for data sharing with Windows PCs and a PS3?

I have the following pieces of hardware I would like to network mostly for file sharing (media primarily): 1 gaming laptop, 1 i7 (2.3Tb storage) desktop, 1 P4 desktop (500g storage), and 1 250gig PS3. ...
10
votes
3answers
9k views

Where “.gvfs” has gone in 14.04

My question is "simple". Where can I find a local mount point for the Samba shares I'm connected to. In 12.04 it was located under *home/.gvfs*. Thanks in advance for your help. Here is my smb.conf ...
9
votes
3answers
9k views

How to dynamically enable and disable ipv6 on an interface

How to dynamically enable and disable IPv6 on an interface so that it gets link local address when enabled? I have tried: sysctl net.ipv6.conf.all.disable_ipv6=1 to disable IPv6 and sysctl net....
8
votes
2answers
4k views

MaaS minimum requirements with juju-jitsu?

I've browsed through so many different sites and found so much contradictory information. As I am getting tired of this and do belive this question affects many other users, so I would like to collect ...
7
votes
2answers
33k views

How to add a loopback interface?

I want to add two more loopback interfaces. I used the following command: ifconfig lo: 127.0.0.2 netmask 255.0.0.0 up and type in ifconfig, i can see the loopback address was added. But if i want ...
7
votes
2answers
56k views

Configuring Ubuntu vmware guest NAT

I have a Windows host that runs guest Ubuntu VM via vmplayer. That virtual machine will be cloned, distributed among several people (running Windows hosts) and used for conducting a programming ...
6
votes
4answers
11k views

How to connect to internet through command-line?

I normally connect to internet through my mobile phone's SIM card. Its a GSM network. To connect to internet in GUI manner I go to notification bar, click on network icon, and click on connections ...
5
votes
3answers
5k views

Use two networks at the same time?

I want to use Ubuntu 10.10 Server in a classroom, a computer lab whose bandwidth is provided by a local cable ISP. That's no problem, though the school network has an IP printer that I want to use. I ...
3
votes
2answers
8k views

How to setup a static ip in Ubuntu? Where i need network, broadcast, dns parameters to fill in from my ISP?

I have a public ip as below which is static (my isp provided) as below: IP Address: x.x.146.50 Subnet Mask: 255.255.255.240 Default Gateway: x.x.146.49 DNS1: x.x.1.196 DNS2: x.x.7.196 But ...
3
votes
5answers
737 views

Home network printer recommendations

I'm looking to buy a new printer to share between an Ubuntu 10.10 laptop and Windows Vista computer. I'm after something: fairly cheap (<=£100); with either wired or wireless networking; that ...
12
votes
1answer
5k views

Set specific interface for internet access

I have a machine with three network interfaces running Ubuntu 12.04 LTS, 64-bit, kernel 3.5.0-49. I am using all three interfaces. Two of them are connected to LANs (eth0 and eth1) and one is ...
10
votes
1answer
2k views

How can you broadcast a network share (ftp/sftp/webdav) so that it shows up in nautilus for other users

Is there a way to broadcast a network file sharing server that is using a protocol like ftp, sftp, webdav, so that it shows up in naulilus under network:// . I once connected to network where I ...
8
votes
4answers
3k views

Slow Wireless Reconnect After Suspend

I a Broadcom 4312 using the STA drivers, I reinstalled ubuntu because the b43 drivers were giving me a huge hassle along with some weird kernel issues. My wireless speed is fine, everything works ...
8
votes
4answers
11k views

How to show (just) the IP address of my router?

What command can I run to get just the IP address of my router? With this command I should have only IP of my router and not, for example, the whole routing table (as when I run route -n).