![]() We should start somewhere so what about the details of this machine and the nic.Įvery setting which i saw in internet was very straight forward, why it's not working for me. I think you said something about nic, how can i check this, I have done the port forwarding in my router but i don't know if my system is preventing this port (port7).Īny idea how to check the port, I think i said a lot of things now. If try this command "ls -l /sys/class/net/eth0/device/driver/module" Link partner advertised auto-negotiation: Yes Link partner advertised pause frame use: Symmetric Receive-only Link partner advertised link modes: 10baseT/Half 10baseT/Full Supported link modes: 10baseT/Half 10baseT/FullĪdvertised link modes: 10baseT/Half 10baseT/Full If I check with ethtool eth0 it is showing thisSettings for eth0: In bios "on board LAN boot ROM is disabled" and under power management "wake-up by PCI card is enabled". If i change the setting that one didn't work as well, no internet connection at all.ĭetail about my computer, it's an "Medion Desktop / Tower MD8386 Titanium" # post-down /sbin/ethtool -s $IFACE wol g I think a bit more help, I have tried bit more from another site.Īs I enter these lines in interfaces, internet didn't work at all.įor these lines internet were disabled and I couldn't see "/etc/ethers" so I haven't done this now or it meant I need to create a folder name ethers. # touch /etc/ethers & for i in $(seq 0 1 12) do arp wn$i | grep | ether | awk '' > /etc/ethers. install the module, how should I find which module my network card is using. IPWTF=`ping -c 1 dynamic_dns_address_of_your_box.com | grep "bytes of"| awk '' | sed '1s/^.//' | sed '$s/.Hi I'm back, so i have a bit problem with some of the instructions.ġ. ![]() With using your box’s MAC address: #!/bin/bash For this case, i wrote a dirty script to wake my computer up from internet to solve IP address and send the package. It’s better to set up a dynamic dns if you’re using dynamic IP. Wakeonlan -i IP_ADDRESS -p 9 XX:XX:XX:XX:XX:XX Now you can send magic packets to your router’s IP from internet. First you should connect to your router (with ssh, telnet or something) and forward a special IP to special MAC address (in this case, your box’s MAC) E.g:Īnd now, forward your 9th UDP port to 192.168.1.254 from your router’s interface. What about outside of local network? Well, wakeonlan uses 9th UDP port by default. You just need to install “wakeonlan” package. ![]() Now you can switch off your box and wake it up from another LAN client with sending a magic packet to its MAC ( wakeonlan XX:XX:XX:XX:XX:XX). And don’t forget to check MAC address of the network card (e.g ifconfig | grep HWaddr ). It’s better to add this command to an init script (best choice looks like /etc/conf.d/local.start for openrc). You probably will see something like “ Wake-on : d” if it’s clever enough, you should change this to “ g” with this command: And check the ethernet card if its wol capable with a command like “ ethtool eth0”. I’ll give a shot to explain how it works for me.įirst you should install ethtool on which box you’re planning to wake up. If you want to wake your computer up from the outside of LAN, it’s mostly about your router. (From Wikipedia) Wake-on-LAN is an Ethernet computer networking standard that allows a computer to be turned on or woken up by a network message. ![]()
0 Comments
Leave a Reply. |