Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [networking]

Managing and using network connectivity on a unix system

0
votes
0answers
16 views

ifupdown2: Run another ifup from post-up (nested ifup)

An interface (the master bridge) is initially brought up, and, in it's post-up chain, the childs should be brought up. As we use batman-adv, bridge-ports is not an option: iface dom0-bat inet manual ...
6
votes
1answer
6k views

Accounting for /proc/net/dev reported traffic

I noticed that according to /proc/net/dev I am constantly receiving around 6Kb/s on my wireless usb interface. But I can't account for anything even close to that with the individual connections that ...
1
vote
0answers
13 views

CentOS 7 KVM host with two bridges

I currently have a CentOS 7 host with a single NIC and would like to be able to use this NIC for two different types of bridges. The host (CentOS) machine currently is currently pulling DHCP from my ...
4
votes
1answer
990 views

Unable to connect to PAN bluetooth access point

I'm currently trying to implement a PAN connection over bluetooth between two boards. The first board is a Raspberry Pi Zero and the second a custom one based on Atmel Sama5d2. Boards are ...
28
votes
4answers
205k views

How to bring up a wi-fi interface from a command line?

I can't figure out how to properly bring up the wi-fi card on my laptop. When I turn it on and issue $ sudo iwconfig wlan0 txpower auto $ sudo iwlist wlan0 scan wlan0 Interface doesn't support ...
5
votes
1answer
4k views

How do I disable network interfaces from loading at boot without Network Manager?

The machine I'm using has 4 network interfaces, only one of which is currently being used (the other 3 are not plugged in at all). Currently when the machine is restarted it is delayed by a few ...
1
vote
0answers
17 views

Having problems with internet using a 2-router internet configuration [closed]

I use Manjaro, but recently I had a problem with my Wi-Fi board, so I solved my problem in a unorthodox way. I have a main WiFi router and a secondary one, both of them are WR740N. The secondary is ...
0
votes
1answer
47 views

In netstat tcp is listening for SSH, but tcp6 is not listening, In sshd_config, i have both ipv4 and ipv6 what will the problem?

While running the SSH demon, only ssh for tcp is listening, tcp6 is not getting listened, even though sshd_config file contains both Ipv4 and Ipv6. Due to this, ssh demon is not replying for ipv6 ssh....
0
votes
0answers
26 views

Ping succeeds on both URL and DNS, cURL fails

I recently moved back from college where I built my Arch PC, I have to use a wpa2 connection now, however, ever since I've connected to it I've been unable to use my web browser. If I ping Google.com ...
0
votes
1answer
30 views

Static route added with nmcli not showing up

root@Andromeda:~# nmcli con show "Wired connection 1" | grep -i routes ipv4.routes: -- then ... root@Andromeda:~# nmcli con modify "Wired connection 1" +ipv4.routes "188....
5
votes
3answers
180 views

How to restrict (open)VPN client connection to single system user?

I have a multi-user setup (Ubuntu) (simultaneously logged in users on different TTYs). When I connect to NordVPN from one account using nordvpn connect, all users are now connected to the internet ...
1
vote
0answers
27 views

Redirecting incoming tcp traffic back to the sender

I have created this program that runs inside a router. The program is essentially a speed test and for the upload part of the test, the program is utilising a lot CPU and generating a file inside the ...
1
vote
1answer
1k views

Unable to raise WLAN interface or start networking service

Sometimes (particularly lately) I encounter the issue detailed below. All the devices are accounted for, detected, and acknowledged by the system. I've been able to verify this using every method I ...
1
vote
1answer
21 views

Get current download speed as a number

nload is handy when it comes to live monitoring of bandwidth consumption. It displays an ongoing process window and you can look at it. While this is useful for humans, it isn't useful for scripts. I'...
0
votes
1answer
13 views

Does firewalld require system reboot for changes to become effective

On a vagrant Ubuntu 18.04.02 box root@ubuntu-bionic:~# ss -tulanp | grep -i 3306 root@ubuntu-bionic:~# docker run -d --rm -e "MYSQL_ROOT_PASSWORD=root" -p 3306:3306 -v mysql_volume:/var/lib/mysql --...
0
votes
0answers
35 views

Samba credentials changing when attempting to mount

I'm trying to mount Samba shares automatically using fstab. Right now my fstab entry for the network share is //bistack/matt /mnt/Network_Shares/Matt cifs user=matt,pass=*****,auto,nouser,exec,...
1
vote
2answers
3k views

CentOS 6.7: 'No address associated with name' as 'hostname --fqdn' output

I have CentOS 6.7 x64 (Final) Desktop standard installation, on a dedicated pc (not on a VM), Linux version 2.6.32-573.el6.x86_64 (gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) ). I've ...
0
votes
0answers
17 views

Netplan configuration not being applied on Ubuntu 18

I have just created this file for my linux machine on my private local network root@Andromeda:/etc/netplan# cat /etc/netplan/01-netcfg.yml network: version: 2 rendered: networkd ...
1
vote
1answer
44 views

How can I use my Canon Pixma network scanner?

I have successfully configured a Canon Pixma MX494 as a network printer from my laptop (PureOS/Debian) using CUPS. It appears under "Printers" and I can print a test page over the network. I can ...
0
votes
1answer
20 views

Sharing files between LXLE and Windows 10

I have a new Windows 10 (64-bit) desktop, that I'm trying to shift approximately 20GB of data to from a LXLE laptop. I have successfully connected them with a spare Cat-5 cable (success = positive ...
1
vote
0answers
16 views

Routing specific user/application through VPN only

I have a similar setup to a question raised here some time ago. Here I have a VPN (OpenVPN) running on my ClearOS server (acting as a gateway for my LAN's internet/security, with two network ...
0
votes
1answer
1k views

Set SMB2 protocol in Samba 3.6.6

I've decided to switch to the higher version of SMB in Samba (at least 2) - mostly because of the security reasons. I've tried to add to the smb.conf in the [global] section: client min protocol = ...
2
votes
3answers
712 views

is there a system-wide “extension” to /etc/services that does not get replaced on package updates?

I know how to use /etc/services but if I change it and the inetd package is later updated via apt-get to a new default one, my changes are gone (happened to me on a apt-get dist-upgrade from Debian ...
0
votes
0answers
51 views

Wireguard server with active OpenVPN client

I need to run a Wireguard server on a machine with an active OpenVPN client. Clients connected to the Wireguard server would be NATed to the OpenVPN client at 'tun0' and access the internet through ...
3
votes
1answer
284 views

Is there a way to sync all devices on a wifi network?

I have a desktop running Linux Mint, a laptop running PureOS, and an Android phone all connected to the same wifi network. I was wondering if there were some way to have like a "public" folder that ...
4
votes
2answers
4k views

Samba network discovery fails through file managers, but works with smbtree

In file managers (Caja, Nautilus, PCManFM, Dolphin), under Network there is an entry for Windows Network but double-clicking this brings up an empty window with 0 items. However, smbtree does list ...
0
votes
0answers
26 views

Getting wifi errors

I've been unable to get WiFi reliably working firstly on Ubuntu and now on Arch. It potentially seems like a hardware issue, but it was flawless on Windows - then I switched to Ubuntu and it would ...
0
votes
0answers
15 views

Interfaces not functional after update on DELL PE-R720

We have a Dell R720 server which is running on RHEL 6.5 and had a BIOS of 2013. We updated the BIOS to 2018 version and post that all 10G NIC's on the server stopped working. They are being detected ...
2
votes
1answer
65 views

DNS: a “short” query (UDP) does not return an address, but a “long” (ANY, TCP) query does

This is a companion to an AskUbuntu question I posted before I had learned enough to ask this question. (This is for Ubuntu 18.04) By watching the debug output from systemd-resolved, I can do ...
3
votes
1answer
4k views

nmcli connection activation failed

I was able to create a wifi hotspot on my debian 8 install using network tab under gnome settings. I was trying to do the same using nmcli but it always shows $nmcli con up id Hotspot Error: ...
35
votes
3answers
129k views

How to create a TCP listener?

Introduction: I have created a bash function that is able to check whether a port is available and increments it by 1 if false until a certain maximum port number. E.g., if port 500 is unavailable ...
2
votes
2answers
3k views

libvirt / kvm - how to get the ip address of virtual machines on a bridged network?

From the libvirt / KVM host, I want to get the IP address of running virtual machines that are connected to the network via a bridged adapter. Important: I know how to get the IP address when the ...
1
vote
1answer
3k views

Can't ping localhost

I have an issue with the localhost alias. It doesn't work. Basically, no program can resolve localhost to 127.0.0.1. The alias is in /etc/hosts: [root@gabriel-notebook gpoesia]# cat /etc/hosts # # /...
0
votes
0answers
34 views

Route traffic to particular interface for specific port

I would like to route the outbound traffic to a particular interface for ssh port. We have a routing table like this: default via gw_ip dev eth0 default via gw_ip dev eth1 metric 10001 10.x.y.z/23 ...
1
vote
1answer
69 views

How can I get the ipv4 address from `ip link` like I used to see with ifconfig?

When I run ip to get the ip address, I'm getting $ ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:...
1
vote
1answer
265 views

How does iptable work with linux bridge?

Setup: VM1 --- Bridge -- VM2 VM1 and 2 are on same subnet. Bridge has 2 interfaces added to brctl bridge. When I block VM2 ip using uptables -A FORWARD -s (VM1 ip) -j DENY it doesn't work. I ...
0
votes
0answers
55 views

Ping a network hosted in a server from hosts in different subnet

Setup and Environment Host A is Ubuntu VM (GNS3). All other Servers are RedHat. Network Path [Host A(x.x.y.b) --via-- Host B (x.x.y.a)] ----|---- [Host C (x.x.z.c) & Host D (x.x.z.d)] Host A ...
14
votes
2answers
3k views

Command to run a child process “offline” (no external network) on Linux

I have a program I would like to test in offline mode without taking down my actual network. This program would still need to connect to local sockets, including unix domain sockets and loopback. It ...
10
votes
8answers
77k views

Ubuntu | No WiFi Adapter found

I have installed Ubuntu 17.10 on my notebook. However, I cannot connect to wi-fi because there is a "No Wi-Fi Adapter Found" message. I don't have any idea what to do next. My notebook : Asus X555LN-...
3
votes
1answer
85 views

Completely separate network interfaces [duplicate]

I have some machines that have several network interfaces, and one or more IP addresses per interfaces. These IP addresses might or might not be in the same subnet. For example, the outcome of ip a ...
1
vote
1answer
2k views

KVM network packet loss to guest

I am running a server with Debian 8.3, uname output Linux x 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux I am using KVM to run a virtual machine with CentOS 7.2....
69
votes
10answers
36k views

Block network access of a process?

Is it possible to block the (outgoing) network access of a single process?
1
vote
0answers
19 views

Problem accessing most sites on wifi [closed]

I have a Dell Inspiron 7000 laptop (7572) with the "Qualcomm Atheros QCA6174" network adapter. This laptop currently has Pop!_OS (fresh install) and KDE Neon. With KDE I don't have any problem, but on ...
2
votes
1answer
72 views

Understanding how virt-install connects the Ethernet interface in host machine with the Ethernet interface in the quest?

I installed Debian virtual machine with virt-install in a way that guest got one Ethernet interface named vnet0: $ virsh domiflist git-server Interface Type Source Model MAC ---------...
-1
votes
1answer
4k views

no wifi adapter detected by Bodhi

Installed bodhi-4.5.0-64 onto a 2008 Macbook, 4.1 and am not seeing wireless options. Do I need to install something from apt first in order for Bodhi to pick up the built-in wifi adapter? The "...
-1
votes
1answer
197 views

Kali Linux (Kernel 4.19) MT7610u failed to load

I have installed Kali Linux alongside windows 10 on my system all is good except I get the following errors in dmesg every time I boot. mt76x0 1-1.3:1.0: firmware: failed to load mediatek/mt7610u....
0
votes
2answers
3k views

No Internet Connection

I installed Nitrux Os(Ubuntu Based) It's successfully connecting to Wifi or Wired connection but Internet ain't sending any traffic. Whenever I am trying to Open a website it is saying This site can'...
0
votes
1answer
880 views

netctl using wrong interface

After a recent Arch Linux update, my ethernet interface somehow got renamed from enp4s0 to enp5s0, as shown by ip link. After correcting this in my profile /etc/netctl/dhcp, and starting sudo netctl ...
2
votes
2answers
2k views

How to configure dnsmasq on Mint-18 with NetworkManager?

I am learning linux networking. I am very confused by the config file locations. What I read on the web doesn't match how my machine is set up. I am using Mint 18. I am using network-manager & ...
0
votes
1answer
943 views

How to connect to a host webserver when using virt-manager and qemu?

I have an archlinux machine setup a Windows 7 virtual machine using qemu. Network Source: NAT/ Device Model:virtio is the networking configuration for NATing. I am able to connect to the Internet just ...