Hello,
I just noticed that wake-on-lan updated it's way into my system... . Great idea. But.. why is wol only for static IP addresses ? The most important computer i want to wake up uses dhcp. I used to start up that computer with my router's wol function while it was using a dhcp address, so it probably isn't a technical issue.
Can anyone tell me why wol is implemented this way ??
Richard Herman
Wake-on-LAN
Re: Wake-on-LAN
Amahi does not track the leases dished out by the DHCP server, so once a lease disappears, there is no way to see it by the software. Waking up a device once it's online (once the software can see the lease) is too late
This would entail some changes. Please file a bug and we will look into it. It's useful functionality!
Go to http://bugs.amahi.org -
1) Login using the same username you use on amahi.org
2) Choose the project (platform)
3) Choose "New Issue"
This would entail some changes. Please file a bug and we will look into it. It's useful functionality!
Go to http://bugs.amahi.org -
1) Login using the same username you use on amahi.org
2) Choose the project (platform)
3) Choose "New Issue"
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
- NeverSimple
- Posts: 114
- Joined: Sat Aug 21, 2010 4:26 pm
- Location: The Netherlands
Re: Wake-on-LAN
Just done that. (Feature #638).Please file a bug and we will look into it. It's a useful functionality!"
Thanks for your answer.
Richard
- chaosdesign
- Posts: 33
- Joined: Sat Mar 27, 2010 1:17 am
- Location: Tauranga NZ
- Contact:
Re: Wake-on-LAN
Just a though
Since Amahi DHCP server dishes out the same IP/host/domain every time the pc starts (in my case every time a coconut), then there must be a record with a relation between the mac address and IP/Host name.
I will look into this to see if i can find anything.
Since Amahi DHCP server dishes out the same IP/host/domain every time the pc starts (in my case every time a coconut), then there must be a record with a relation between the mac address and IP/Host name.
I will look into this to see if i can find anything.
- chaosdesign
- Posts: 33
- Joined: Sat Mar 27, 2010 1:17 am
- Location: Tauranga NZ
- Contact:
Re: Wake-on-LAN
Bingo
I had a look through Webmin and under servers --> dhcp
I scrolled down to view leases,
there were no current leases active,
so i clicked on the show all active and Expired leases
and bingo
the path location to where the lease information is kept is
/var/lib/dhcpd/dhcpd.leases
I am sure the dev team can pull something out of this.
On that note the WOL function is best serverd by Mac address / hostname
hope this helps
I had a look through Webmin and under servers --> dhcp
I scrolled down to view leases,
there were no current leases active,
so i clicked on the show all active and Expired leases
and bingo
the path location to where the lease information is kept is
/var/lib/dhcpd/dhcpd.leases
I am sure the dev team can pull something out of this.
On that note the WOL function is best serverd by Mac address / hostname
hope this helps
Re: Wake-on-LAN
ok, pursuant to bug #638 ...
can you try this platform?
it ought to do this:
1. show more leases, including inactive/expired ones
2. let you wake the machines up
please follow up in the bug by clicking on update.
you can also watch the bug updates as they happen by clicking on "watch".
can you try this platform?
it ought to do this:
1. show more leases, including inactive/expired ones
2. let you wake the machines up
Code: Select all
rpm -Uvh http://alpha.amahi.org/tmp/hda-platform-5.5.1-20.noarch.rpm
you can also watch the bug updates as they happen by clicking on "watch".
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
- NeverSimple
- Posts: 114
- Joined: Sat Aug 21, 2010 4:26 pm
- Location: The Netherlands
Re: Wake-on-LAN
Well, maybe it ought to do that, but it my case it seems to do something else . If I try to access the 'networking' tab I get the message: "the application has found an error. You will be forwarded shortly"
can you try this platform?
it ought to do this:
1. show more leases, including inactive/expired ones
2. let you wake the machines up
I haven't done anything to try to solve this, not even rebooted the server. I could paste the complete output from the 'debug' page I'm forwarded to, but I don't know if that will be usefull. I'll try to leave the server in this state until I hear what will be the best way to solve this....
Richard
Re: Wake-on-LAN
yeah, submit a debug report please (after you get forwarded, it should redirected you to the debug tab).
also, in the bug report, can you possibly attach the two lease files:
also, in the bug report, can you possibly attach the two lease files:
Code: Select all
/var/lib/dhcpd/dhcpd.leases
/var/lib/dhcpd/dhcpd.leases~
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
- NeverSimple
- Posts: 114
- Joined: Sat Aug 21, 2010 4:26 pm
- Location: The Netherlands
Re: Wake-on-LAN
At least I tried... I clicked 'the submit for debug' button, entered a description and clicked 'submit for debug' again, expecting a page where I could attach something. Some message flashed across the screen and the report was gone.. It's 01:25 AM local time and the whisky tastes great! that probably doesn't help (it does, but on another level...)yeah, submit a debug report please (after you get forwarded, it should redirected you to the debug tab).
also, in the bug report, can you possibly attach the two lease files:
Code: Select all
/var/lib/dhcpd/dhcpd.leases /var/lib/dhcpd/dhcpd.leases~
Could you tell me where or how to attach those files ??
Richard
- NeverSimple
- Posts: 114
- Joined: Sat Aug 21, 2010 4:26 pm
- Location: The Netherlands
Re: Wake-on-LAN
[received a PM from 'cpg' as a response to the bug report with a request to try hda-platform-5.5.1-20]
Installed the update and the 'networking' tab is accessible again. I can see the wake-on-lan button for the dhcp clients. I will have to do some more testing to see if it works. I will update when I have more information.
Thanks for looking into a really useful addition to the WOL feature. Appreciate it!
Richard
Installed the update and the 'networking' tab is accessible again. I can see the wake-on-lan button for the dhcp clients. I will have to do some more testing to see if it works. I will update when I have more information.
Thanks for looking into a really useful addition to the WOL feature. Appreciate it!
Richard
Who is online
Users browsing this forum: No registered users and 36 guests