Stack Exchange Network

Stack Exchange network consists of 174 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
8 views

connect LAN device to WLAN, using a raspberry pi

I have an oscilloscope that I want to access from my laptop. The scope only has a LAN connection, and my laptop is connected to my wifi. I can't connect the scope to my wifi router because I want the ...
0
votes
1answer
10 views

Can't mount Samba share - “No such device or address”

I have a WiFi modem (10.1.1.1) running a Samba 1.0 file server (SHARE) and a USB flash drive connected to it. I am trying to mount the share directory to my existing local directory /mnt/smb using ...
2
votes
0answers
14 views

Raspbian restart network without reboot

When I am using raspbian with 4g usb modem , sometimes the network goes down and there is no option to bring back the network unless i reboot raspbian. In such case I try service networking restart ...
0
votes
0answers
9 views

Redirect all traffic via SOCKS5

What is the correct way of routing all traffic on debian machine via SOCKS5? I have nake debian machine and i have socks5 server in the network. All i want is to make sure that all traffic on the ...
0
votes
1answer
12 views

Slowing down a server with traffic shaping

I would like to study the behaviour of an application streaming from a slow server. I'm trying to take advantage of tc-netem to introduce a network delay. Before setting up a more complicated ...
3
votes
0answers
19 views

how to prioritize udev-rules over the driver/kernel (network interfaces names)?

I have an ubuntu server 14.04 virtual machine with 2 network interfaces eth0 - for web management, SSH eth1 - for incoming span network analysis I've configured the machine with udev rules (to ...
0
votes
0answers
30 views

Using distant NIC as local

considering this case : SERVER A using one nic & multiple IP eth0:0 / eth0:1 / eth0:2 ... SERVER B using one nic & multiple IP eth1:0 / eth1:1 / eth1:2 ... how can i use directly inside my '...
1
vote
1answer
24 views

VMs attached to the same bridge cannot ping each other

I am now trying to host two VMs directly by qemu, without any tools like libvirt. I did setup the bridge/tap interfaces for each of them like ip link add br0 type bridge ip addr add 192.168.122.1/24 ...
0
votes
0answers
12 views

Information delay per-layer in tcp/ip stack

I'm searching for a tool that permits me to calculate the delays at each layer in the TCP/IP stack using linux.
1
vote
1answer
37 views

Update of /etc/resolve.conf needs restart of application

I am working with an embedded linux Target (ARM) and have the following problem: When /etc/resolv.conf is updated, while a process is running (e.g. C Program using gethostbyname()) the running process ...
1
vote
0answers
16 views

Does Microsoft WLinux has full support for network and devices? [migrated]

I have been testing Microsoft's Windows Subsystem for Linux (WSL) which is available on the Windows Store. Does WSL have full support for networking and devices? For instance, can I expect commands ...
0
votes
0answers
14 views

snmptrap - further confusion

I received really useful advice on this post: Here I fiddled with it some more and right now I've only got one box to work with. I opened two sessions, one of which I want to view the traffic dump, ...
-6
votes
0answers
29 views

Kalii Linux - Network Setup [duplicate]

I am delving into Kali Linux and following a course on Udemy at the moment. I am setting up my Lab and I have installed VM Ware Fusion for their free 30 day Trial. I attempted to use Virtual Machine ...
2
votes
1answer
24 views

Restrict local port access to a specific user

I'm trying to restrict access to a particular port for a particular user on my Debian. Let's say user's id is 1000 and port I would like to block is 5000. I tried using iptables with the following ...
0
votes
1answer
21 views

What is the difference between iptables -S and iptables -L

The help information doesn't seem to be very informative: --list -L [chain [rulenum]] List the rules in a chain or all chains --list-rules -S [chain [rulenum]] Print the rules in a ...
0
votes
1answer
29 views

Configuring Linux Mint as a Gateway

My trusty Slackware box died, and I had to replace it with an already built Linux Mint v18. I was hoping this would be a drop-in replacement, but routing has changed over the years with iproute2. I ...
0
votes
0answers
35 views

how to use Wget for download all pdf from a website?

I tried to download all the pdf from this website https://www.restituciondetierras.gov.co/sentencias-por-departamento` but I couldn't I use that: wget -r -e robots=off -A.pdf https://www....
-1
votes
0answers
42 views

Web unreachable [closed]

Question My problem is rather weird: I can ping www.google.com successfully, but any other site is unreachable for ping (and of course in the browser, too). I have to write this message with my phone,...
0
votes
1answer
19 views

snmptrap - underlying config?

I'm trying to get my Ubuntu LTS 16.04 server to send SNMPTraps to my HP OVO server. The reason for this is that there are legacy devices on the network that cannot send an SNMP warning upon failure, ...
0
votes
1answer
24 views

Monitor traffic by ip

I have machines with one interface eth0 with multiple different IP addresses attached to it (255) to be exact, interfaces look like this eth0:1, eth0:2 ...eth0:254. I want to monitor the traffic for ...
0
votes
0answers
11 views

Allow Guest Users to Edit Network, While Denying Access to Other Folders

I've deployed an in-house web service application onto an airgapped hypervisor hosting a RHEL server guest. The guest RHEL has undergone basic OS hardening. All interactions are web-based, so under ...
0
votes
0answers
18 views

Intermittent network issues on Linux Mint 19 Cinnamon (wired)

Often, when I initially try to click links to new websites or pull up a new browser tab and enter a URL I am confronted with an error message which states: DNS_PROBE_FINISHED_BAD_CONFIG and I can ...
-1
votes
1answer
32 views

Network capture using ethtool points to problem?

Issuing this: ethtool -S <network device> | egrep "err|fail" I get the following errors: tx_lost_interrupt: 225 rx_alloc_fail: 36297 What is, tx_lost_interrupt and rx_alloc_fail ? Do ...
1
vote
0answers
22 views

Understanding Network Statistics [closed]

I'm trying to understand how and what should one infer and know how is the network performing, are there any issues or any other details from the network metric values of eth0 and lo. I understand ...
1
vote
0answers
23 views

What happens to a TCP connection when the network is abruptly terminated

Say a user space application has a TCP connection with some non local endpoint. At some point, network gets abruptly broken (i.e. connection deleted in network manager, unplug the wifi dongle, cut the ...
0
votes
0answers
27 views

Does anyone know how to connect two Ubuntu 18 servers with a direct NIC to NIC connection? [closed]

I am trying to connect the second NIC in two servers directly using a crossover cable. I want to setup a direct 10G connection for DRBD.
0
votes
1answer
25 views

chkconfig modification dosen't takes effect

I use CentOS release 6.5 (Final) and I would like that wpa_supplicant service start after network service. When I go to /etc/rc5.d and I type ls command, I can see : K84wpa_supplicant -> ../init.d/...
0
votes
0answers
51 views

Port 139 and 445 open by default on fresh install of ubuntu 18.04 [closed]

I'm wondering if this is normal default behaviour on my ubuntu machine. When I do nmap quick scan, I get my host machine, my router, and also something running at 192.168.0.254 this is the output ...
0
votes
0answers
33 views

Setting the default gateway permanently with Debian:

I am using a BeagleBone board running Debian. To set the default gateway I have to manually type this every time I start it /sbin/route add default gw 192.168.7.1 In order to have this default ...
0
votes
1answer
30 views

How to determine what hardware is associated with what network interface

I have an inbuilt network card and a Wi-Fi dongle. I use wpa_supplicant, hostapd and the likes to operate them. The trouble is that sometimes the dongle is wlan0, and sometimes it is wlan1 (...
0
votes
1answer
30 views

How to check if port is open and unused?

I am currently at my uni and connected to uni's network. I set up a server on my PC but noone can connect from outside uni network because ports are blocked, however I have access to one of uni's ...
1
vote
1answer
56 views

Can't permanently assign additional IP addresses to USB ethernet adapter via /etc/network/interfaces. Why?

I want to assign multiple IP4 addresses to a USB->Ethernet adapter in an Ubuntu 18.04 LTS system. I have removed netplan, since I find the yaml-based configuration even more obscure than the ...
0
votes
1answer
17 views

Making DNS permanent in Docker's containers [closed]

I have container1, I have edited the /etc/resolv.conf and put nameserver 8.8.8.8 to ping google.com. It works fine. But I need to make this permanent, when I restart my docker's container using sudo ...
1
vote
0answers
28 views

How to diagnose a slow network on Fedora 28?

Experiencing very slow network throughput on my linux Fedora 28 box. Barely getting over 4 MB/s down (~39 Mbps) using speedtest-cli, I can sometimes get near 8 MB/s down using wget to download test ...
1
vote
1answer
40 views

Ping - big packet size problems

I have some problems with pinging hosts with big packet size. I'm doing some research on latency between one configuration and another. I have written bash/zsh script to make it simpler that pings 8....
1
vote
0answers
20 views

how can I clone a full lab with windows in network through the ubuntu terminal [closed]

I have a computer lab, and from time to time the computers are cloned (Windows), but I want to clone them from the Ubuntu terminal.
0
votes
0answers
18 views

Arch linux tries to initialize non-existent network interface after moving to new motherboard

I moved my linux drive to a different computer and was able to set up the new (appropriate) "eno1" network interface. But when I boot up, after connecting to that interface, it tries to connect to "...
0
votes
1answer
18 views

UFW deny specific port access over HTTPS?

We're running a dev server on some IP and have our API exposed on port 5000 and nginx listening on 80. However, the entire backend will crash when one makes an HTTPS request to port 5000. Thus, I ...
0
votes
0answers
7 views

ethtool config precedence on physical interface or bond?

If I have a physical interface that (for example) has large-receive-offload configured to 'off' and that interface is part of a mode4 bond group that has large-receive-offload set to 'on' which will ...
0
votes
0answers
41 views

Permanently disable all networking in Tails OS?

I would like to use Tails OS to create a pseudo air-gapped system. The system has WiFi hardware still, but it is "unusable" in Tails due to lack of firmware. I would like to further ensure it remains ...
2
votes
0answers
14 views

No such process (3) when not connected to a network (AF_ROUTE)

When I am connected to a network, I can send a struct rt_msghdr* to the kernel and receive a corresponding route. However, when I disconnect from the network and try to send the same route message ...
1
vote
0answers
25 views

iscsiadm: cannot make connection to <IP>: No route to host

when I try iscsiadm discovery: iscsiadm -m discovery -t sendtargets -p <IP> I get this error: iscsiadm: cannot make connection to <IP>: No route to host however, I can ping the IP fine....
0
votes
0answers
43 views

How to secure or disable rpcbind while being an NFS client?

I am having a publicly reachable Ubuntu 18.04 LTS server I installed nfs-common so that I can mount a remote NFS share for creating backups which is secure and not publicly available. nfs-common also ...
1
vote
0answers
14 views

Unix socket communication how to see the relationship of the nodes

In Linux, I could use ss or netstat -anp command to see TCP and Unix communication. In TCP communication, I could see localIP, Local port, Peer IP and Peer port. What's more, I could see PID and ...
0
votes
0answers
14 views

Openvswitch untagged with tagged vlan doesn't work

I have set up openvswitch with openstack but when i add untagged network it doesn't work # ovs-vsctl show 27676949-d259-46b8-95e7-0e29e586cb19 Manager "ptcp:6640:127.0.0.1" is_connected: ...
0
votes
1answer
18 views

qemu share network

I have a qemu machine that i connect to the network using a bride virtual network but since I am using a bridge interface the host can't connect to the internet and the lan. is there any way to have ...
19
votes
2answers
2k views

Sync a folder between 2 computers, with a filesystem watcher so that each time a file is modified, it is immediately replicated

I have: a Linux server that I connect via SSH on IP 203.0.113.0 port 1234 a home computer (behind a router), public IP 198.51.100.17, which is either Debian or Windows+Cygwin What's the easiest to ...
0
votes
0answers
17 views

Transparently redirect all incoming traffic from wifi hotspot to specific port?

I am using my laptop as a wifi hotspot to share my internet connection with other devices. My internet connection goes out through a socks proxy. In my laptop I configured redsocks to redirect all ...
0
votes
1answer
35 views

How to restore network access after accidental removal of network packages

I recently tried to upgrade my Debian system, and ended up removing some crucial networking packages. I no longer have a working network connection. I lost the Debian packages: cockpit-...
0
votes
1answer
37 views

Use /30 netmask in Debian with bridged adapter in VirtualBox

I have Debian 9.6 installed in VirtualBox with bridged adapter. My question is, how to config my interfaces to have /30 netmask? I tried a lot a different things but I can't connect my host to the VM ...