You are not logged in.
Pages: 1
I don't want this, I do DHCP leases based on MAC, and it changes every time. How to prevent this? The device is Seagate Personal Cloud, armhf NAS device.
Offline
DHCP (Dynamic Host Configuration Protocol) is where your ISP assigns a new IP address every time you connect/reconnect online. A static IP is where you assign the IP address, and it remains the same across reboots and every time you connect/reconnect online. Your ISP may/may not have hoops to jump through for a static IP.
DHCP vs Static IP: Which One Is Better?
https://community.fs.com/article/dhcp-v … ences.html
Linux Static IP Address Configuration
https://www.cyberciti.biz/faq/linux-con … -tutorial/
Network Configuration - Manually
https://wiki.debian.org/NetworkConfigur … e_manually
Offline
Seagate Personal Cloud, armhf NAS device
Maybe this device has some internal setting that keeps it from changing the MAC.
Online
if the problem is changing MAC address every time, maybe you have installed something like macchanger on the machine.
Offline
I could solve this problem as follows:
Create the a new udev rule:
-- Add a new file /etc/udev/rules.d/75-static-mac
-- write
ACTION=="add", SUBSYSTEM=="net", ATTR{dev_id}=="0x0", RUN+="/usr/bin/iplink set dev %k address XX:XX:XX:XX:XX:XX"
into the new file.
-- Replace XX:XX:XX:XX:XX:XX with your current mac address
Regards
Berni
The good ol' days will not return, and the rocks might smelt and the sea may burn.
Offline
Pages: 1