pathliner.blogg.se

Ubuntu wakeonlan
Ubuntu wakeonlan











ubuntu wakeonlan

via SSH - it's IP is irrelevant to WOL, which is based on MAC addresses - I just don't want it to be used to access internet resources. I don't mind if it can be reached on 192.168.0.254 on the LAN, i.e. I think by not specifying a gateway for eth1, I prevent it being used for outgoing requests. I have been trying to set this up with the /etc/network/interfaces file. The built-in ethernet card is set to have interface name eth1 and the PCI express card is eth0 in Ubuntu's udev persistent rules (so they stay the same upon reboot). Since I send the WOL Magic Packet to a specific MAC address, there is no danger of hitting the wrong NIC, but there is a danger of using the built-in NIC for general network access, overloading it and crashing the system.īoth NICs are wired to the same LAN with address space 192.168.0.0/24.

ubuntu wakeonlan

My plan is thus: use the built-in NIC solely for WOL, and use the PCI express card for all other network communication except WOL.

ubuntu wakeonlan

I have spent some time investigating these individual problems, to no avail. I can't do this with just one of the NICs because each has an issue - the built-in NIC will crash the system if it is placed under heavy load (typically downloading data), whilst the PCI express NIC will crash the system if it is used for WOL. I want to have my server connected to the internet via my NAT router and also have it able to wake from suspend using a Magic Packet (henceforth referred to as Wake-On-LAN, WOL). One is built into the motherboard and the other is a PCI express card. I have an Ubuntu server (11.10) with two NICs. This is similar to some other questions, but I have a specific need which is not covered in the other questions.













Ubuntu wakeonlan