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.
2,557
questions
27
votes
5
answers
112k
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?
[email protected]:~# sysctl net.ipv6.conf.all....
27
votes
3
answers
162k
views
cannot find device eth0
I'm new to ubuntu and need to install the ubuntu xenial server (16.04) edition to install MongoDB into a VirtualBox.
After installation I tried to change from dhcp to a static ipv4 address. So I ...
25
votes
3
answers
47k
views
How to restart WiFi interface without rebooting (it drops connection)?
I boot into ubuntu and it connects to the Wifi network fine. After about 10-15min the DNS stop resolving any website and a couple of minutes later network-managers tells me that I'm disconnected and ...
24
votes
8
answers
170k
views
How to setup a static IP for network-manager in Virtual Box on Ubuntu Server
Hi there is anyone familiar with the non-gui version of ubuntus network Manager?
I'd like to set up a static IP with it in virtualbox without touching the file /etc/network/interfaces.
IP: 192.168....
23
votes
10
answers
27k
views
vnstat not updating
I installed vnstat on my Ubuntu 14.04 server to track my internet usage (I have a limited monthly transfer). The database never updates, however. I've tried uninstalling/reinstalling, but that doesn't ...
22
votes
2
answers
167k
views
Set static IP on Ubuntu Core
I'm new to Ubuntu Core. On first login I selected the option:
Will use DHCP for IPv4
Now I'd like to change my machine to use a static IP to be easier to log in remotely.
I ran sudo console-conf ...
22
votes
3
answers
52k
views
Not authorized to control networking
I have Ubuntu 13.04 Gnome with Mate.
If I click on the networking icon on the top tool bar and try to do something like add a never before used Wifi or simply click Hardwire Connection 1 when I have ...
21
votes
5
answers
89k
views
How can I find my DHCP server?
On my LAN there are multiple DHCP servers running, and all of them are on the same range.
Now I use a machine which has a dynamic IP address from a DHCP server. I have to know from which server it ...
21
votes
4
answers
21k
views
Unified Remote: Bluetooth: Could not connect to SDP
I installed Unified Remote today in hope that I can use it with my bluetooth adapter to control my PC using my phone. But as I installed Unified Remote and loaded up the web interface, I got this ...
21
votes
6
answers
111k
views
Is it possible to ssh between two different network?
How do you SSH between two different networks? Thanks in advance. Here is the scenario in question:
My home PC IP : 192.168.1.106
Home public IP: XXX.YYY.ZZZ.254
My office PC IP: 192.168.10.130
...
21
votes
3
answers
15k
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 ...
21
votes
5
answers
45k
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 ...
21
votes
2
answers
132k
views
how to change DNS server permanently on Ubuntu 20.04?
I know there are other posts here asking this, but those suggestions do not help, the configuration keeps changing and I simply cannot get my own changes to persist.
I have the Google 8.8.8.8 and 8.8....
20
votes
3
answers
42k
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 ...
19
votes
6
answers
37k
views
Imported OpenVPN (.ovpn) Profile not working anymore after update to Ubuntu 22.04
2 days ago I updated my Ubuntu Distro from 20.04 LTS to 22.04 LTS.
After the update, I've noticed that my private OpenVPN tunnel is not working anymore in the new update, in Ubuntu 20.04 was working ...
19
votes
4
answers
289k
views
How to configure eth0 manually?
How to manually configure eth0 in Ubuntu?
I don't have any DHCP server. Do I need IP address when I am just going to capture packets?
18
votes
1
answer
39k
views
How can I disable my internet connection from terminal?
The connect automatically option is allowed for my wired Wired connection 1. Disconnecting the connection works when I do it from the panel's Network > Disconnect menu. But when I do that with command:...
17
votes
4
answers
31k
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
...
17
votes
7
answers
51k
views
Network printer found but cannot print
I'm running Ubuntu 11.04 on my laptop and try to use a network printer.
Adding the printer to Ubuntu works without problems but when I try to print something the print job stays in the queue and ...
17
votes
4
answers
13k
views
Citrix receiver 13.10 on Ubuntu 18.04.1
I am trying to get Citrix receiver to work on my Ubuntu laptop. I've installed the Citrix receiver, however when I try to open the .ica file that my company provides when I login to my organisation's ...
16
votes
4
answers
74k
views
How to set domain search on Ubuntu 18.04
Since Ubuntu 18.04 , network GUI to setup network doesn't include any more the search domain field.
How can we set it again in a manner that resist to reboot?
16
votes
1
answer
21k
views
How to acquire a remote host fingerprint that is not in known_hosts?
ssh-keygen -l -F host will print out the key of a remote host, but only if the host exists in known_hosts.Is it possible to request a fingerprint from a host that isn't in the known_hosts file? (...
16
votes
1
answer
77k
views
How to reset ifconfig counters?
When i run ifconfig eth0 see following lines:
eth0 Link encap:Ethernet HWaddr 08:00:27:42:81:a7
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::...
16
votes
1
answer
26k
views
How to Change DNS of network from Terminal? [duplicate]
I know how to change the DNS of my network from GUI Network Manager:
Right click on the network manager icon in the panel and choose "Edit connections..."
Select your connection from the wired or ...
16
votes
1
answer
61k
views
How can I configure default route metric with dhcp and netplan?
My problem is quite similar to this question. My vagrant machine sets default route metric incorrectly.
The following is netplan configuration.
network:
version: 2
ethernets:
enp0s3:
...
16
votes
4
answers
39k
views
How to override the DHCP-provided nameserver?
I (think) that I've configured a static IP address in /etc/network/interfaces:
# The primary network interface
auto eth0
iface eth0 inet static
address 10.1.1.2
netmask 255.255.255.0
...
16
votes
3
answers
20k
views
After upgrade to 16.10 ethernet stopped working [duplicate]
Network Manager reports:
device not managed
Output of sudo lshw -C Network:
*-network DISABLED
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet ...
15
votes
1
answer
2k
views
The WiFi is disabled when I start with Windows and then go back to Ubuntu. A restart is required for WiFi to start
Steps to reproduce:
Start the PC and in the Grub i select to start with Windows
Work in Windows
Go back to Ubuntu
The WiFi does no start
I restart de PC and start with Ubuntu again, then the WiFi ...
15
votes
3
answers
240k
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 ...
15
votes
3
answers
52k
views
How do I share folders in Xubuntu?
How do I share folders in Xubuntu like in Ubuntu? I found no settings or options to share folders on my network, I do have Samba installed. I don't know what else to try. Is there a command that I can ...
15
votes
5
answers
12k
views
How to run a script when there is a change in your local IP?
Before marking as a duplicate: this is not about dynamic DNS or similar things.
I know how to run a script every time my networks goes up; it is a simple matter of adding a script in the directory /...
15
votes
3
answers
50k
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 needs ...
14
votes
5
answers
38k
views
renaming network interface in Ubuntu 16.04 with systemd fails
I'm using a headless Ubuntu 16.04 LTS Server with two physical network cards, which are named enp5s0f0 and enp5s0f1.
I would like to rename these interfaces, and followed this example. I therefore ...
14
votes
3
answers
8k
views
systemd-resolved, resolvconf.service, resolvconf and openresolv. Why, which and how?
I'm using a VPN client which adds two name servers to /etc/resolv.conf. All my connections are managed by Network-Manager.
I have to use this VPN client for my work VPN but after Ubuntu went to ...
14
votes
1
answer
26k
views
how to reset DNS settings to the defaults?
while I'm learning the DNS, I have installed too many apps such as BIND and DNSmasq and made some changes to /etc/resolve.conf
and now I would like to reset the DNS settings to defaults? I have ...
13
votes
1
answer
24k
views
Can't SSH to server with VPN connection
This is quite messed up, I know. Let me explain it all.
I have a dynamic DNS set on my router. I verified that, after port forwarding, I can connect to desired application (if I run something on port ...
13
votes
8
answers
22k
views
block outside dns, fix dns leak ubuntu 18.04
Using dns leak test while under my VPN I discovered that it was leaking. I've setup my VPN via NetworkManager and it works properly except for the leak.
First, i've tried to add block-outside-vpn to ...
13
votes
9
answers
163k
views
ssh connection refused
Hi I'm having a problem with my ssh, which is magically stopped working and I couldn't figure out why. The message it give is:
ssh: connect to host <host> port 22: Connection refused
I don't ...
13
votes
4
answers
258k
views
apt.conf "Acquire::http:Proxy "proxyserver:port" seems not to be used (Ubuntu 13.04 under Virtual Box on Win7)
This is for an installation of Ubuntu 13.04 Desktop in a VirtualBox VM.
I'm on a corprate network with an HTTP proxy at x.y.z.251:9090. I've configured the guest OS with the autoconfiguration script, ...
13
votes
2
answers
113k
views
How to setup and save vlans on ethernet
I am trying to setup vlans on my eth0 network card. The following are the steps that I've taken:
Install vlan with sudo apt-get install vlan
Edit /etc/network/interfaces in vi by adding:
auto eth0....
13
votes
2
answers
23k
views
VPN L2TP/IPSec client on Ubuntu 16.04 VPN service failed to start
On Ubuntu 16.04, I've already followed a couple of tutorials to rebuild network-manager, also installed via apt-get install network-manager-l2tp network-manager-l2tp-gnome.
It was working until ...
13
votes
4
answers
38k
views
What does "r8169: can't disable ASPM; OS doesn't have ASPM control" really mean?
I have this message in syslog and dmesg output:
r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
Is it a configuration problem or hardware issue?
13
votes
5
answers
52k
views
Hostnames cannot be resolved after upgrading to 22.04
After upgrading ubuntu from 21.10 to 22.04, my internet connection does not work anymore. I am connected to the WLAN and I can ping IP addresses (from the local network as well as from the internet) - ...
13
votes
1
answer
14k
views
How do I connect to L2TP over IPsec using Network Manager?
I am trying to connect to a L2TP over IPsec VPN I installed network-manager-l2tp and this repository : ppa:nm-l2tp/network-manager-l2tp and when I'm trying to add the connection from Network ...
13
votes
2
answers
22k
views
My network icon is always a question mark but I have acces to internet
My network icon is always a question mark in both wired and wireless connection
but everything network related works correctly.
12
votes
1
answer
23k
views
Trouble using ssh and Avahi
Solved: make sure that libnss-mdns is installed!
I'm having trouble using SSH'ing from my netbook to my desktop using a .local hostname. Every so often, I have to reset the router I use, which resets ...
12
votes
2
answers
17k
views
How do I allow local IPv6 subnets in ufw?
I recently got IPv6 connectivity at home and now I would like to allow connections to my home server via IPv6 from the LAN only. The trick is that the IPv6 address/prefix assigned to the server is ...
12
votes
1
answer
22k
views
Connecting to new Wifi network
I am using Ubuntu Core on the Intel Joule. I went through all of the setup and everything was fine. I connected to a wifi network and am able to SSH into the Joule. However, we just set up a new wifi ...
12
votes
3
answers
13k
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 ...
11
votes
4
answers
5k
views
How do I share files on my home network?
I would like to set up a home network with the various Ubuntu machines I have at my home. They are all running 10.04. It would have to be able to share files and maybe even chat. :)
Any information ...