New answers tagged networking
0
votes
How do I DD over the network to an external HD?
Setup a webserver on the directory
python3 -m http.server
or
npm install http-server
https.server
Then use this:
python3 dd-stream.py if=<url> of=<device>
https://github.com/TeaCult/...
0
votes
How can I make this IP table rule persistent?
-You just need define the new rules and then record the actual/actives rules or change the rules " editing files of rules!" using the follow commands
for Debian/Ubuntu distros
iptables-save ...
1
vote
How can I make this IP table rule persistent?
Install the iptables persistent firewall service. On Ubuntu, for example:
sudo apt install iptables-persistent -y
This service lets you save your rule sets and reload them when the machine reboots. ...
8
votes
How to securely connect to an SSH server that doesn't have a static IP address?
There are a few details missing from your question that make it hard to provide a single answer, so here are a few options.
Dynamic DNS (DDNS)
If you control the router on your network and can arrange ...
1
vote
What can interfere with the work of AnyIp
Assigning an IP address to an interface doesn't just route it internally within the OS – it also makes the OS respond to IPv4 ARP or IPv6 Neighbor Discovery queries externally, which is what allows ...
0
votes
How do I resolve a temporary failure in name resolution error?
I was able to install bzip2 through manual installation. This was only after inputting:
sudo chown root:root /etc/resolv.conf
sudo chmod 644 /etc/resolv.conf
And adding a public server to the ...
0
votes
Avahi not honoring its own /etc/avahi/hosts on the same machine
getent hosts doesn't use avahi-daemon directly. It uses nsswitch which can be configured to query nss-mdns which uses the cache populated by avahi-daemon.
I think the answer is /etc/mdns.allow. ...
0
votes
Specifying a network interface for a cifs (samba) drive
For future readers who find this through a search engine:
You can mount the shared directory with cifs filesystem provided by cifs-utils package:
$ sudo mount -t cifs //<ip-address>/<target-...
2
votes
virtio vs e1000 vs rtl8139: what's the difference?
I just wrote an e1000e driver on an exokernel under qemu. To get the best performance you need emulated hardware that uses memory mapping with as much as possible done without registers. when ...
5
votes
Accepted
Why does this sed command not work with "?" and "+"?
In a POSIX basic regular expression, which is what sed uses by default, the ? character matches a literal question mark, and + matches a plus sign. If you want to optionally match one 6 character, ...
1
vote
Accepted
Can't establish a direct TCP/IP connection over ethernet between STM32MP157 and a host
Your home router is acting as a DHCP server; it is automatically assigning IP addresses for any system connected to its network segment. Having more than one DHCP server in a single network segment ...
0
votes
Can't establish a direct TCP/IP connection over ethernet between STM32MP157 and a host
Your question has already been answered here.
In short, you need a DNS and DHCP server in your network to use the TCP/IP protocol. You can use dnsmasq on most Linux distros to let your host PC act as ...
0
votes
Fast way to copy a large file on a LAN
If you are able to use SSH to transfer files, have you ever heard of 'mscp' command ?
If not, I recommand to see my answer to this other post here :
https://serverfault.com/questions/816608/slow-...
2
votes
Accepted
Adjust Ephemeral Port Range in Yocto
This is all just entries in /etc/sysctl.d/. So, just drop a file like 50-set-ephemeral-ports.conf in there, containing net.ipv4.ip_local_port_range = 1234 5678 (or whatever your port range limits are)....
1
vote
Accepted
Implement UDP packets filtering in C
I see that systemd-resolved listens on port 53 and sends all the DNS requests to the real DNS resolvers.
systemd-resolvd is a "real" resolver (just as real as any other recursive resolver): ...
0
votes
Send a 'net send like' message from a Linux Host to ALL Linux and Windows computers on the network
Realizing that this is an old question and the original poster has likely moved on, I will still attempt to provide an answer mostly for people coming in from search engines (read: for myself when I ...
1
vote
Accepted
Configuring dnsmasq so I can use short host names
I think I have solved it - and it was probably caused by not having a set a "search domain".
I added the following two lines to my dnsmasq config file and things work considerably better:
...
1
vote
Accepted
Is there a way to tell whether an IP address on a system has been assigned via DHCP without using NetworkManager or ResolveCTL?
Sometimes you can tell resolv.conf was automatically generated by dhcp by looking for comments in the file, but this is not standardized in any way.
The most effective way of checking was to see if ...
1
vote
Accepted
USB to ethernet adapter not in lsusb (via thoundbolt port)
OK, figured it out. The thundlerbolt security level is set to user, and it is not authorized. After installing the package bolt, and run systemctl start bolt.service or reboot, ethernet port ...
1
vote
USB to ethernet adapter not in lsusb (via thoundbolt port)
I'm not sure if this is the case for your laptop, but for my MacBookPro I had to play with the "pcie_ports" parameter in the Kernel Command Line for the correct events and actual bus ...
3
votes
Accepted
What is the reason why creating a veth requires root?
Is there a documented reason why it was deemed "easier" to create a whole entire TCP/IP stack and/or complex abstraction layers rather than just allowing users to create their own pairs? Was ...
0
votes
how do I attach devices to connections using nmcli?
Make sure you don't have your interfaces listed in /etc/NetworkManager/conf.d/99-unmanaged-devices.conf. If they are there, nothing you do anywhere else will matter.
0
votes
PXE Boot: "Failed to load ldlinux.c32"
Having just debugged my failure that got this error I felt I needed to post it here:
When pxelinux.0 attempts to download ldlinux.c32, it sends the request to the listed "next-server". If ...
1
vote
Accepted
Restrict which networks a user is allowed to connect to
You can do this, first for the quest user name figure out their UID by using id command, assuming their username is "guest" you'd run:
id -u guest
Which for instance outputs 1100
Next ...
Top 50 recent answers are included
Related Tags
networking × 8007linux × 1921
debian × 745
network-interface × 693
wifi × 614
ubuntu × 599
iptables × 562
ip × 504
routing × 489
centos × 431
networkmanager × 358
ssh × 321
ethernet × 290
bridge × 265
dns × 262
vpn × 250
dhcp × 216
firewall × 202
tcp × 195
ping × 175
arch-linux × 172
virtualbox × 170
ipv6 × 160
rhel × 151
openvpn × 146