Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

New answers tagged

3 votes

Linux Computer with two NIC on the same subnet mask

For improved efficiency, the Linux network driver stack works on the Weak Host Model design principle, and that is known to cause problems when you connect two separate physical network interfaces to ...
user avatar
  • 67.1k
1 vote

Can’t obtain IP address with netctl

The minimum install of arch is just that, it's missing everything. I found this when I ran sudo netctl is-active ethernet-dhcp and got the status failed Facepalm moment: Install dhcpcd first! sudo ...
user avatar
  • 131
0 votes

No longer able to enable my network interface in Centos 8

Resume option did work for me , not sure if it is a bug. Lifesaver to avoid a rebuild , considering the amount of time lost with this.
user avatar
  • 1
0 votes

Public IP address of local network machines?

I am assuming that you have a standard home setup. You can get the IP addresses of your linuces with: ip addr This will give you a list of IP addresses that are assigned to the different interfaces ...
user avatar
  • 3,077
3 votes
Accepted

Public IP address of local network machines?

Neither machine has a public IP address. Your router has a public IP address, and you can choose to configure Port Forwarding on the router to send traffic for that public IP address and port on to a ...
user avatar
  • 89.2k
1 vote

How can I connect from Linux computer to a network created by "USB tethering" of an Android phone?

At least with my Sony Xperia 5 III and Debian 11, the phone appears as network interface usb0, using the rndis_host driver. The rndis_host driver module depends on other modules, named cdc_ether, ...
user avatar
  • 67.1k
0 votes

arp -a returns only one device on Kali Linux?

The cache is fresh on your device. explanation Live boot images are non persistent cached (non cache slinging cache-er) To avoid this problem in the future setup an usb image that has file ...
user avatar
1 vote

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

This is a very unspecific answer, but you can configure tools like 'sudo' to give specific users the ability to run specific commands or script with specifically changed permissions. So you could ...
user avatar
0 votes
Accepted

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

So I have, since posting the question, figured out the reason I wasn't able to use netctl to set up both connections, it was a routing problem. I used the instructions here to change the routing ...
user avatar
  • 1
1 vote

How to set a VPN connection in nmcli?

I can show you my configuration for a cisco anyconnect configuration on Debian 11. The .nmconnection file is stored in /etc/NetworkManager/system-connetictions. [connection] id=CONNECTION_NAME uuid=...
user avatar
  • 474
2 votes

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

The following programs are network monitoring tools able to measure throughput and other data, with support for UDP: iptraf iperf netperf/netserver
user avatar
  • 25.4k
-1 votes

Is it possible to add some 'PXE Network Boot' option to GRUB?

For recent versiones of iPXE efi chainloading is possible. In the ipxe.iso is an image (esp.imp) which contains the needed efi structure. You can copy the BOOTX64.EFI file to a different place in your ...
user avatar
0 votes

Join 2 subnets on Raspberry Pi

It looks like that the iPhone doesn't know where it can find the 192.168.1.* network. (also written as 192.168.1.0/24 where the 0specifies the whole network and the /24 the netmask) In you Wireguard ...
user avatar
1 vote

Show all onu in an OLT ZTE

Well, You can try "expect" my brother. I will give you a functional example: #!/usr/bin/expect -f spawn telnet A.B.C.D expect "sername:" send "user1\r" expect "assword:" ...
user avatar
2 votes

copy network configuration from one linux machine to another

No. that allows it to directly access certain URLs that I can only otherwise access through a VPN on other machines The most likely reason is that this machine's IP address (or at least the IP ...
user avatar
  • 4,225
0 votes

Renew IP with dhclient on different interfaces

Found a Solution.. One has to write explicit dhclient-conf.. Now, call it with: dhclient -cf /etc/dhcp/dhclient.conf -v vmbr1 --no-pid dhclient -cf /etc/dhcp/dhclient-vmbr3.conf -v vmbr3 --no-pid ...
user avatar
1 vote

understanding any network [i.e. infiniband] maximum file transfer speed

It is possible to get sustained, near link speed, read/write performance with NVMEoF, given careful configuration. Careful configuration includes things like: Do you have enough PCIe bandwidth to ...
user avatar
  • 111
0 votes
Accepted

Virtualbox NAT network not showing in Linux

With a NAT network this is exactly as it should be. If you want to be able to treat the VMs as grade 1 systems that are directly reachable, they need to be in a bridged network
user avatar
  • 89.2k
0 votes

macos monterey: PF load anchor syntax error

To whoever needs this in the future, I guess there are different versions of PF. https://calomel.org/pf_config.html helped me. The line that loaded for me was: nat on en0 from bridge1:network to any -&...
user avatar
0 votes

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

Normally, network adapter hardware discards frames not intended for the local host. In order to be able to capture all network traffic, a sniffer like tcpdump needs to be able to put the network ...
user avatar
  • 138
0 votes
Accepted

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

You blocked ping replies (or any connection reply). You are missing rules to implement a stateful firewall. For example since you're using Arch Linux this is documented in Simple stateful firewall. ...
user avatar
  • 24.8k
0 votes

Understanding the gateway being 255.255.255.0

As conjectured by @A.B, it is indeed due to a misconfiguration: I forgot to specify the topology as subnet, so it was defaulted to net30. As a result, in the log it showed this warning: "Fri Apr ...
user avatar
0 votes

check current active network manager

'apt list' only displays packages installed. It has nothing to do with your current active network connection. The subdirectory is actually called /etc/NetworkManager the configured connections are ...
user avatar
  • 702
0 votes

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

This is not the best way but you can create two Wireguard configs and change the interface value: [Interface] Address = 192.168.1.5/24 Address = 0000:0000:0000:0000:0001 ListenPort = 8965 So the ...
user avatar
1 vote

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

It is not possible to bind a WireGuard server configuration to a IP address, it is only possible to set a different port with the ListenPort option. This means a configuration will always listen on ...
user avatar

Top 50 recent answers are included