1
vote
0answers
35 views

How to populate /etc/network/interfaces automatically

I am trying to populate /etc/network/interfaces with a dhcp config for all interfaces at the first system boot (Debian 7.6 server). I modified the script in : /lib/udev/write_net_rules by adding: ...
4
votes
1answer
72 views

Is nameif deprecated? If so is there an equivalent replacement?

I read that the nameif is deprecated, although I still see it on my Ubuntu 14.04 system. If this command is deprecated, is the command cited for removal or will it still be available? This command ...
0
votes
1answer
600 views

Consistent network interface name ubuntu using pci slot

One can set consistent interface naming via mac address by modifying /etc/udev/rules.d/70-persistent-net.rules. Can you establish consistent interface naming by PCI slot number? (I tried but failed) ...
1
vote
1answer
48 views

DHCP Problems Virtualbox

I have some minor issues with Ubuntu server on a virtual machine and even though I have some assumptions as to what actually happens, I'd like to ask all of you about your opinion. Here's the deal: I ...
9
votes
2answers
1k views

How can I find available network interfaces?

This is in regard to linux, but if anyone knows of a general *nix method that would be good. I booted a system yesterday with an ethernet cable plugged in. "NetworkManager" is not installed, so once ...
1
vote
1answer
74 views

MAC Address changes after dirty shutdown

I'm having a strange issue which I originally thought was tied to the fact that I created an Ubuntu system from an image of another. However, after reinstalling Ubuntu from scratch I am getting the ...
3
votes
1answer
6k views

Cloned Linux system and /etc/udev/rules.d/70-persistent-net.rules

I set up an Ubuntu system and configured it properly, including defining eth0 in /etc/network/interfaces. I then imaged that system and cloned it on a new system. When I booted up the system the ...
6
votes
2answers
154 views

/dev/disk/ lists disks, why /dev/net/ doesn't list network interfaces? [duplicate]

I know that udev manages devices in /dev and I expected to find information about available network cards (hardware) or at least network interfaces (software) there. ifconfig output shows me eth0 and ...
2
votes
1answer
333 views

udev Unable to Rename Network Device: Device or Resource Busy

I'm trying to use udev rules in order to give my network interfaces static, consistent names. However, it seems like there is some race condition happening preventing these rules from consistently ...
2
votes
2answers
3k views

Network naming on Arch Linux

I've just installed Arch Linux on my old PC, to do the installation I used wifi-menu wlan0, now I've reboot but if I type: ifconfig wlan0 up I have as a result: wlan0: ERROR while getting ...
2
votes
0answers
292 views

Failed to execute shell script from “network” udev rule to change the MAC-address

I am trying to execute a shell script from udev rule, when a network interface is added, as follows: SUBSYSTEM=="net", ACTION=="add", KERNEL=="eth*", PROGRAM="/usr/local/bin/changemac.sh", ...
1
vote
1answer
1k views

Network Interface Names output from ifconfig

So this has been driving me nuts for a good couple of hours, so I thought I'd ask about it here (let me know if there's a better forum for this question). I have a CentOS Virtual Machine on ESXi. I ...
1
vote
1answer
185 views

Monitoring interface changes with udev, especially if a route is set

Is there a way to monitor interface up/downs, especially to check if a route is setup or removed, with udev?
7
votes
1answer
1k views

Suggestions needed for udev, udisks, autofs, notification setup for a complete automounting solution on Linux

Continuing on Automounting plugged devices in linux, which left things a bit basic. Running Gentoo, I'm automounting a combination of local and network devices on my laptop with autofs-5.0.4-r5. Doing ...