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
5 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
0answers
5 views

How to open/listen a port 5075 on centos when firewll/iptables is not running?

I want a command to make port 5075 to listen on centos 7 permanently for all connection. Firewall is not running on my machine
0
votes
0answers
42 views

iproute2 - ip addr json import

I can get a json export from my network configuration with following command: ip --json addr show result: [ { "ifindex": 1, "ifname": "lo", "flags": [ "LOOPBACK", "UP", ...
1
vote
0answers
16 views

Implementing NAT Hairpin/Loopback for tcp hole punching

I try to test a python hole punching packet based on this article: https://bford.info/pub/net/p2pnat/ The hole punching process worked in several network setups, only the final use case (3.5 Peers ...
0
votes
1answer
15 views

How can I list ONLY open ports in a range with nc [duplicate]

I see many examples for nc, even one in the man page, that says nc -zv 77.77.77.77 10-30 would report the open ports in the range 10-30. However, on my machine all the closed ports are also ...
0
votes
0answers
15 views

Local network rsync slower than internet download

I've tried rsyncing a 3gb movie from my arch box to my friend's ubuntu box, both on the same network (and router). It went really slow, between 50kb/s to 300kb/s and he decided to download it from the ...
0
votes
1answer
38 views

IP A can ping IP B, But IP B can't ping IP A on centos with two network interfaces

I am trying to get copied packets from machine A to machine B. When I ping machine B from machine A, I get a ping response. When I ping machine A from machine B, I don't get a response. Machine A has ...
1
vote
1answer
32 views

Will netplan.io be used in Debian Buster?

Netplan.io is a relatively new network interface configuration tool. It came to my attention because it has become the "default" way to configure interfaces on Ubuntu. What about Debian itself? Are ...
0
votes
0answers
14 views

Network gateway with OpenVPN and HAProxy on one server --> routing problems

I am setting up a gateway for my network that includes a reverse proxy (HAProxy) and a openvpn server on the same machine. I want to use the openvpn to connect to a vpn provider so that all the ...
0
votes
0answers
7 views

Mount EFS drive on EC2 instance

I am trying to mount a drive an efs drive on ec2 instance referring below link: https://docs.aws.amazon.com/efs/latest/ug/accessing-fs-nfs-permissions-per-user-subdirs.html#accessing-fs-nfs-...
0
votes
0answers
20 views

Sharing Internet Through a Network Interface

I am trying to share internet to another device using USB NCM functionality. I have successfully configured usb0 interface. However, I am not sure how to share internet. So far I have done: On the ...
0
votes
0answers
23 views

Changing filepath of outgoing request

I'm trying to look for a workaround with a problem with the latest FFXIV update. The launcher tries to access https://frontier.ffxiv.com/version_4_0_win/version_4_0_win/index.html when it should be ...
-1
votes
0answers
34 views

How to install Internet connection to Ubuntu server [on hold]

I have found difficult to install Linux on Asus GL553VW. I have managed to install basic Ubuntu server 19.04 64 bit to it. But it looks that I need to install Internet drivers next. Is it possible as ...
0
votes
0answers
18 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

Different Wi-Fi SSIDs, same network: cannot switch connections

I have a small network at my home, where the main Internet point stays at the living room, with two signals, a 2.4G and 5G, on the same network. Also, I have a Ethernet over Powerline link to my ...
2
votes
2answers
136 views

How to use bash to create a socket server and allow multiple clients in the same port?

I have 4 programs, will be increased in the future, these programs have to connect to the same ip:port to send and receive messages at the same time. Until now I have the socket opened, I also would ...
0
votes
1answer
25 views

Does netmask and option subnet-mask have to be equal on a dhcpd.conf definition?

Using linux servers on a dhcpd.conf file I can make a definition of ip ranges that the server will assign to host computers on the internal net: subnet 10.0.0.1 netmask 255.255.255.0 { range 10.0.0....
0
votes
0answers
7 views

Redirect packets destined for certain IP to a different IP on Openwrt router

I am sending http packets from a computer (running Alpine Linux) to the internet via an Openwrt router. I want to setup a rule on the Openwrt router such that all packets destined for say, 159.65.253....
2
votes
1answer
59 views

Realtek RTL8821 Ethernet card not detected by Kali Linux

When installing Kali Linux, an error message appears during the "Detect network hardware" step. The message says: "No Ethernet card was detected. if you know the name of the driver needed by your ...
1
vote
1answer
29 views

Unable To Load Regulatory Database

I am trying to bring up a 4.19 (4.19.16) kernel on my board using the Atmel AT91SAM9G45 SOC. I included the CRDA support in the kernel configuration, but the kernel reports that it is unable to load ...
-2
votes
0answers
19 views

How to block all outgoing connection, execpt of established one? [on hold]

I want to enable incoming HTTP connection to a server and the consequent established connection, but to block all other outgoing connections from the server. Any ideas how to do that?
0
votes
0answers
28 views

Setting up multiple network interfaces using /etc/network/interfaces

I'm trying to setup my 4 network interfaces to have a specific dns-nameservers and dns-search so I can be connected to my domain using any of them but it's not working properly as when I run systemctl ...
0
votes
0answers
11 views

direct lan wire to linux guest on 2 socket lan mainboard

My mainboard is Z170x-UD5 so my mainboard has: 2x Intel® GbE LAN chips (10/100/1000 Mbit) Question is: Can I setup one of my lan adapters to bypass the host OS(windows10) and supply internet directly ...
0
votes
0answers
23 views

Change default interface docker container

I'm struggling with this problem for two days. Assumptions: Docker network (and interface) named docknet type bridge subnet 172.18.0.0/16 Two interfaces eth0 (192.168.1.1) and eth1 (192.168.2.1) ...
-3
votes
1answer
38 views

Script program for checking IP connectivity [closed]

I need a program to check the IP connectivity. Like I will be having more than 100 different IP addresses. For each IP address, I need to check whether it has connectivity or not. My challenge is I ...
0
votes
0answers
21 views

Usage details of ahostsv4 in linux

There is a term called ahostsv4 in the Linux documentation of man getent. What is the usage of it?
-1
votes
0answers
16 views

LTE Modem not working in 1 out of 20 boots

I have an embedded device that runs Ubuntu 16.04 and has a LTE modem connected to it. The modem usually works normally on boot and shows up as usb2 device (when using ifconfig). It also gives my ...
1
vote
0answers
29 views

kernel TCP/IP implementation - about accept queue

I'm recently learning the TCP/IP implementation in linux kernel(version 4.4), and got really confused about the accept queue. I know there is a queue in struct inet_connection_sock which is called a ...
0
votes
1answer
31 views

How to get network connection again [on hold]

Recently, i erased "cable" item<-Network<-Setup on GNOME by mistake.. After the accident, i cannot connect internet... While cable connection is established with ease(automatically),web browser ...
1
vote
1answer
52 views

Why does Unix ask for password when I try to pull a file with permission 777 using scp?

Let us consider that I have a file /home/base/alpha.txt with permission 777 i.e. -rwxrwxrwx in user@host. Now, from system host1 as user1 i.e. user1@host1, I try to pull the file mentioned above using ...
1
vote
0answers
22 views

Contact a VPN server from outside the network [closed]

I've to set up a VPN access. First, I just installed OpenVPN on a server on my network. I've installed my VPN server on 192.168.10.14. The network is working well, but i have no way to communicate ...
1
vote
1answer
30 views

Wireless adapter is detected, but no options to create a wireless network

I have a wireless adapter (the Panda 300Mbps PAU05) plugged in to a USB port on my Linux Mint 19.1 Tessa desktop computer (my kernel version is 4.15.0-47-generic). Yesterday, I had it plugged in to ...
0
votes
0answers
48 views

CentOS 7 : ip addresses in ifconfig and in network-script are different

Given the CentOS server-like machine: $ uname -a Linux labsm 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux EDIT My initial problem was that local ...
0
votes
0answers
14 views

SLES12.2 and wicked - how to run script after an interface is up?

After an interface getting up by wicked, How can I run a script? I tried an: $ echo 'echo "testiing `date`" |logger' > /etc/sysconfig/network/if-up.d/bond0; chmod +x /etc/sysconfig/network/if-up....
1
vote
1answer
11 views

Adding / Removing addresses to connections via network manager cli (nmcli)

I am going through some official Linux Foundation exercises / documentation. In a lecture about adding / removing an ip address to an existing connection, the following example is cited: sudo nmcli ...
1
vote
0answers
19 views

Network Manager not controlling any connections

I have created a vagrant machine and ssh-ed into it. network-manager was not installed, therefore I proceeded with apt update && apt install -y network-manager However, there seem to be no ...
-1
votes
0answers
48 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
59 views

CentOS network interfaces are not coming up

We installed a fresh copy of CentOS on "HP Proliant DL380p Gen8" and the ethernet interfaces are having this Strange, fluctuating connectivity issue where the interfaces either work with no issues and ...
0
votes
0answers
17 views

ebtable rule to disable packet(other than BPDU) flood/forward on bridge device

The configuration has one bridge device and two ports attached to it. The requirement is to disable flooding or forwarding of any packet from bridge device to other associated ports. How to achieve ...
0
votes
0answers
16 views

Can't connect to Wi-Fi with KivyPie 1.0 on Raspberry Pi - No network detected

I'm attempting to connect my Raspberry Pi running KivyPie 1.0 (Linux kivypie 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux) to my Wi-Fi network, which is a 2.4GHz network powered ...
0
votes
1answer
24 views

whitelist IP Addresses centos 6.10

How to allow specific IP Addresses to a dport in iptables ? for example : i have 2 clients, first client's IP Address is 182.3.3.1 and the second ones is 202.4.5.6, and i have a port let's say 2222. ...
0
votes
0answers
47 views

How to determine gateway address in a shared connection?

Suppose you have two computers, A and B, both running Ubuntu 16.04. Then you connect them with an ethernet cable and share the connection from A to B, using network manager with the option "Shared ...
0
votes
0answers
26 views

Windows 10 guest under libvirt can't use network

I have a libvirt (libvirtd 3.0.0) install with several guest VMs all under kvm. I'm using bridged networking on the host to allow them full access to the networks. The host OS is Debian (stretch). ...
0
votes
1answer
24 views

Traffic from OpenVZ host to container gets redirected to gateway

An OpenVZ host (RHEL 6) is running Debian-based containers. The problem is that network traffic, instead of being routed to a relevant container (10.10.104.1) via venet0 interface, gets routed to the ...
1
vote
0answers
19 views

Fedora 29 VirtualBox will not use DNS from host VPN

I am running a Windows 10 machine for work (required) and so use VirtualBox to get a Fedora 29 machine so I can run code locally before pushing to production. Our github is behind a VPN and we use ...
-1
votes
1answer
36 views

linux network traffic accounting

I have a network with several Hosts N1, N2, N3, ... and they all communicate with each other. I'm in the N2 host CLI with linux. Can you know how much traffic was in bytes between a N2 Host and N3 in ...
0
votes
1answer
11 views

app.asar --nod ? What programme is it (in my netstat statistics?

What is app.asar --nod? jerzy@jerzy:~$ sudo netstat -tupln [sudo] password for jerzy: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program ...
0
votes
1answer
47 views

For veth pair, ping does not recognize interface name and tc qdisc netem does not work

I have Ubuntu 16.04 LTS with hwe kernel 4.13.0-39-generic. I configure the veth pair in the default network namespace as follows: $ sudo ip link add h1-eth0 type veth peer name h2-eth0 $ sudo ip ...
0
votes
1answer
26 views

From server cannot ping server itself by its hostname while can ping by its IP

I host an ubuntu server at a data center and worked well for years till last night the server can not ping itself by host name. No config has been changed. Here are what it can/can not do now. From ...
0
votes
1answer
21 views

Ping behavior of two netctl interfaces

I've got a device that is connected to one network via ethernet and a different network via wifi. I use netctl to manage the interfaces. When both netctl profiles are active, the configuration looks ...