Questions tagged [networking]

Managing and using network connectivity on a unix system

Filter by
Sorted by
Tagged with
1 vote
1 answer
26 views

How do you make a non-root user use openconnect?

Openconnect website does have a chapter called "Running as a non-root user". However, if you read it more closely, you will see that it does not answer the question of how to run openconnect ...
user avatar
  • 199
0 votes
0 answers
10 views

Linux network forcing named service use different gateway

I have Centos 5.4 linux server running bind 9.3.6. One week ago it began not resolving dns , long story short for some reason it is not resolving when it is on the net via cellular gateway, however ...
user avatar
  • 1
1 vote
1 answer
35 views

How to set a VPN connection in nmcli?

I want to use nmcli to connect to a VPN that I typically use Cisco Annyconnect for. I've installed networkmanager-openconnect package (in Arch) and now I want to use it through nmcli. However, nmcli ...
user avatar
  • 199
0 votes
0 answers
24 views

Ethernet interfaces keep changing priority, preventing connections

My workplace has a server running Ubuntu 20.04 and it has both a LAN and WAN connection, each connected with a separate ethernet cable. We are having a problem where the machine will randomly lose its ...
user avatar
  • 101
0 votes
0 answers
6 views

Run script to enable proxy on connecting to VPN via cisco anyconnect

I have a handy little script that toggles system-wide proxy on all programs that I use, but I only need to use it once I connect/disconnect to/from company VPN via Cisco Anyconnect. Is it possible to ...
user avatar
  • 21
1 vote
1 answer
35 views

Is there a tool to count the latency of UDP datagrams in Linux?

Now I want to test the network performance between two Linux systems. The test scenario is as follows: one terminal sends UDP datagrams to the other terminal continuously at fixed intervals (the ...
user avatar
  • 11
0 votes
1 answer
20 views

Connecting To a WiFi with dynamic IP and Ethernet Cable with Static IP in Arch Linux and Maintaining Internet

So let me preface this question by stating that I am not so well versed in the linux ways hence simple explanations are appreciated. On to the question at hand. Question I am currently running an ...
user avatar
  • 1
0 votes
0 answers
24 views

How do I connect to a Wi-Fi network from a Kali Linux live USB?

I am on a MacBook Pro and my primary operating system is macOS. When I am on macOS, I am fully able to browse the internet and connect to Wi-Fi networks, but when running a Kali Linux live USB, I am ...
user avatar
-1 votes
0 answers
16 views

Good Linux Networking Books/Courses/Videos Resources [closed]

I have a pretty good understanding of networking fundamentals (TCP/UDP/HTTP/Cidr/Subnet/DNS/etc) and I would like to pick peoples brains on good linux networking resources (books/courses/videos/etc). ...
user avatar
0 votes
0 answers
13 views

Forward Traffic to virtual box (Genymotion)

I am running an Android virtual machine (Samsung Galaxy S10 & android 10.0 API29) using Genymotion. I have a VPN running there (OpenVPN protocol). Now I am running all this over my Debian based ...
user avatar
2 votes
0 answers
17 views

How can I configure a static IP with Netplan?

My understanding is that Netplan is the future for replacing network manager. So my question is how it looks a netplan configuration file for IP static. thanks
user avatar
1 vote
0 answers
8 views

network bridge not detecting particular device, how to troubleshoot?

I'm on 18.04 ubuntu, I have a bridge br0 setup(static 169.254.0.10) that is working with some network devices(169.254.0.40, 169.254.0.50). I have a 3rd device(169.254.0.60) that I want to connect to ...
user avatar
  • 161
0 votes
1 answer
16 views

copy network configuration from one linux machine to another

I have a remote machine that runs Amazon Linux, with super user permissions to it. Its signed on to a certain network with maybe a certain network configuration, that allows it to directly access ...
user avatar
0 votes
0 answers
15 views

How can I keep both access point and connection to wifi working simultaneously?

I am working on a device running Yocto Linux. A systemd service is set to create an access point at boot: systemd unit: [Unit] Description=Creates access point. After=network.target [Service] ...
user avatar
  • 117
0 votes
0 answers
7 views

Create bridged connection for VMs without losing host IP/Connectivity [duplicate]

I'm migrating my VM host from VMware to KVM. In VMware, a network bridge is available out of the box. In Linux, it is not. I created a bridge, but when I bound my physical interface to it I lost ...
user avatar
0 votes
0 answers
22 views

Unable to reach gateway after successful arp

I'm working on a Rocky Linux 8.5 host. I created an 802.3ad bonded interface with a dual port NIC using nmcli. However, I'm unable to ping the gateway. Looking at the traffic with tcpdump, I can see ...
user avatar
  • 63
0 votes
1 answer
18 views

Virtualbox NAT network not showing in Linux

I am currently Running a Bare Metal Kali with Virtualbox installed on it to the run Kioptrix Level 1. I created a NAT network in preferences with the default recommendations. This did resolve an ...
user avatar
0 votes
1 answer
21 views

macos monterey: PF load anchor syntax error

I am trying to make a NAT interface to connect tap0 to the internet for QEMU. So far I've made a bridge and connected tap0 to it: sudo ifconfig bridge1 create sudo ifconfig bridge1 addm tap0 sudo ...
user avatar
0 votes
0 answers
25 views

Networking.service active failed

I am using Kali Linux. My NetworkManager is enabled. But randomly my NetworkManager or networking.service goes down. Most of the time it's networking.service and my wifi is gone. And Then I'm unable ...
user avatar
0 votes
0 answers
16 views

Why are packets being dropped (kfree_skb)?

I am currently sending ~9mpps, each packet is 72bytes large, and is a UDP DNS request. The packets are being sent to a Dell server I have using an intel i40e interface. The server is using all of its ...
user avatar
  • 285
0 votes
1 answer
31 views

tcpdump in Kali Linux VM does not capture scp between two devices

Situation: I'm learning how to develop tests for a hardened server my company is developing for a client. The test configuration will consist of the test target (the server we're developing) and an ...
user avatar
0 votes
0 answers
8 views

network services reachability troubleshooting

I have voyage linux on a system. It is running an apache server and an sshd. For some reason, i cannot connect to those services from another machine. There are no error logs that i have been able to ...
user avatar
  • 441
0 votes
0 answers
18 views

Using Raspberry Pi to emulate USB storage for files stored on NAS

Summary I am looking to bridge a NAS file share to a FAT32 "USB Gadget" that can save/load files transparently to the NAS as if the host device was writing them to the USB Storage. Apologies ...
user avatar
  • 1
0 votes
0 answers
13 views

Use virtual wlan iface in monitor mode with physical iface in managed mode

I want to run Open Wireless Link, but it requires my device to be in active monitor mode. I am wondering if it is possible to use a virtual interface created with mac80211_hwsim, connect that to my ...
user avatar
  • 101
0 votes
0 answers
32 views

How to fix NetworkManager being stuck on "PCI Ethernet connectiong"?

I have a Thinkpad E14 running a current Manjaro. While I can use Wifi just fine, I suddenly have a problem with my ethernet. When enabling ethernet, I see it being stuck on "PCI Ethernet ...
user avatar
  • 13.2k
1 vote
0 answers
48 views

Server timeout if 2 devices are used in the same network

I have 2 devices: a computer and a Android smartphone on the same network, if a do like 10 requests on my server with my Android phone, I have a timeout when I try to do the request with my computer ...
user avatar
  • 111
0 votes
0 answers
12 views

Insufficient protocol and script support in wifi popup

My apartment building has an open wifi service that occasionally requests the user to accept the terms of use. When accessing this network on Fedora 35, the requests is displayed in a minimal applet ...
user avatar
1 vote
1 answer
16 views

Default requirement for Linux-as-a-server system to have network operability under firewall

I'm new to Linux and more familiar with Windows I describe the situation with the latter so I can ask the proper question in given context. On Windows, if you run the local system firewall in strict ...
user avatar
  • 13
0 votes
2 answers
39 views

How to assign different public IP addresses for different Wireguard peers?

I want to use different public IP addresses for each peer in my Wireguard network. Is it possible? How to do it?
user avatar
0 votes
0 answers
31 views

Yet another Wireguard "handshake initiated but no internet or LAN access" request for troubleshooting assistance

I had this exact configuration working for over a year until out of the blue while I was traveling a few weeks ago my wireguard connection stopped working. When I got home I tried to troubleshoot but ...
user avatar
  • 21
0 votes
0 answers
15 views

Bondig two NIC slow upload

I have two NIC in pc/nas: eth0 (integrated motherboard): Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/...
user avatar
1 vote
1 answer
58 views

GRE IP to virtual machine (Proxmox) - Traceroute showing full route

88.198.49.xxx = Hetzner (will run virtual machines on this) 141.94.176.xxx = OVH (contains block below) 164.132.xxx.0/28 = IP block to use on Hetzner as virtual machines To get GRE set up I ran the ...
user avatar
  • 2,617
2 votes
0 answers
24 views

Mount NAS share works by hand but not from boot even after networking

The problem is on a Debian machine, I use a Ubuntu one, and the same share is loaded in a Raspberry. I put the entry for the mount in /etc/fstab but it works only with sudo mount -a and not on the ...
user avatar
  • 21
0 votes
0 answers
25 views

What can be the reason for "non-initialised socket" & "can't resolve host name" error for ookla speedtest-cli tool?

I installed the speed test-clip tool by Ookla that was working fine last evening, but since this morning, I have been trying and it isn't working. And I get the error as shown below? What can be the ...
user avatar
  • 103
1 vote
1 answer
37 views

check current active network manager

this morning my Ubuntu didn't connected automatically to my wifi network. In my network-manager conf for my network i saw that either the name of my wifi module or the line in the conf where it ...
user avatar
0 votes
0 answers
20 views

Strongswan creating client to server connection VPN

I'm having problems with my client-to-server config. I only edited this file /etc/ipsec.conf I can only edit this file on Client side, but not server side. On server I have an interface program where ...
user avatar
  • 1
0 votes
1 answer
61 views

New installed Kali linux is not connecting to internet [closed]

When I was installing Kali linux on my pc, I realized DHCP can't be configured so I skipped that part. After installation I used ifconfig and saw wlan0 was there but after opening a website I get this ...
user avatar
-5 votes
0 answers
28 views

Unable to hit google sites like gmail, overleaf in my current network

Under my current ISP I have issues in using gmail, overleaf. They show connecting... But when I use a vpn it works fine. I'm using kali linux. How can I fix this issue. What is the reason of this?
user avatar
0 votes
1 answer
41 views

No network after apt upgrade: "Error: Device for nexthop is not up", debian 11

After doing an apt upgrade recently, upon reboot I have no network. The kernel was updated, rebooting with the old kernel from grub menu gives the same result. iproute2 was also upgraded, I suspect ...
user avatar
1 vote
1 answer
26 views

OpenBSD netstart order

I have two interfaces on my VPS. One is a vio(4) interface as egress. My hostname.vio0 file is just inet autoconf up The second one is a wg(4) interface. My hostname.wg0 file contains a command at ...
user avatar
  • 59
0 votes
0 answers
21 views

creating a lot of virtual ethernet devices using ip link add fails

I am trying to create a more than 100 ethernet virtual devices for a simulation. I am working with a virtual machine (x86 using qemu) and using a python script to achieve my goal. When creating the ...
user avatar
0 votes
0 answers
24 views

How can we identify if a particular url is blocked or not

How can we identify if my firewall is blocking url or not using shell script, I tried curl -v https://www.google.com If it is open, i can see TLS handshake is completed but in the case of blocking ...
user avatar
  • 101
0 votes
0 answers
39 views

SonicWall NetExtender not working

I recently moved to another company. I had to format my computer, so I decided to test Debian 11. But now I'm facing some issues with VPN. I can't connect to any site that's only is available under ...
user avatar
  • 101
0 votes
1 answer
52 views

Understanding the gateway being 255.255.255.0

I know it looks similar to a lot of questions about OpenVPN and routing table, however, I believe it's different from the rest -- or at least I haven't found a duplicate yet. In my case after I ...
user avatar
0 votes
1 answer
29 views

how to disable tcp_resets_received from netdata

I'm receiving TCP reset emails from netdata, how would I disable the resets from happening on my linux GCP Instance? Linux: 20.04 Provider: GCP I've tried doing this but it doesnt seem to be working. ...
user avatar
0 votes
2 answers
36 views

What is the difference between 0.0.0.0:99 and [::]:99?

My ss -lt shows these lines LISTEN 0 4096 127.0.0.53%lo:domain 0.0.0.0:* ...
user avatar
1 vote
0 answers
52 views

How does libpcap read network packets, and why can it not operate in some VMs?

I'm interested to learn how libpcap reads network packets, as I am finding it is not possible when running on AWS Lambda From what I can understand, you need either or both of the CAP_NET_ADMIN and ...
user avatar
  • 111
0 votes
0 answers
28 views

Isolated network chain for multiple KVM guests to access the internet

I have more or less 3 VMs (with KVM) that must be "chained" by 2 isolated connections like that : (NAT/internet access) --> |VM vm_A| -- (isolated network in_1) --> |VM vm_B| -- (...
user avatar
  • 43
0 votes
1 answer
28 views

ifupdown change parameters dhclient

I have Ubuntu 20.04 where I gave all network functions to ifupdown. 1 of my interface got network parameters by dhclient: #/etc/network/interfaces allow-hotplug enp2s0 auto enp2s0 iface enp2s0 inet ...
user avatar
0 votes
0 answers
12 views

No TX / RX information on bond interface

I create a bond interface with two members, eth1 and eth2. Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) Bonding Mode: load balancing (round-robin) MII Status: up MII Polling Interval (ms):...
user avatar

1
2 3 4 5
143