Modify

Opened 9 years ago

Closed 6 years ago

Last modified 6 years ago

#680 closed enhancement (fixed)

add wol: wake on lan

Reported by: giuseppeg88@… Owned by: iurgi@…
Priority: low Milestone:
Component: fon-web Version: N/A
Severity: unknown
Cc: joliveirinha@…, marco.argenti@…, niermou@… Hardware: both

Description

would be nice to have this feature built into the menu of the Fonera

Attachments (3)

wol_fon2.0n.tgz (17.3 KB) - added by João Oliveirinha <joliveirinha@…> 9 years ago.
Wake on Lan @ Fon2.0n
luci-wol-source.tar.gz (29.2 KB) - added by João Oliveirinha <joliveirinha@…> 9 years ago.
WoL source for fon2.0n
wol.jpg (103.8 KB) - added by giuseppeg88 <giuseppeg88@…> 9 years ago.

Download all attachments as: .zip

Change History (16)

comment:1 Changed 9 years ago by matthijs

  • Component changed from unknown to fon-web
  • Hardware set to both
  • Milestone Firmware 2.3.6.0 deleted
  • Reporter changed from giuseppeg88 to giuseppeg88@…
  • Status changed from new to confirmed
  • Type changed from request to enhancement
  • Version set to N/A

I assume you mean to send WOL packets to arbitrary hosts (possibly from a preconfigured list) so you can start up hosts through the web interface accessed from the internet?

comment:2 Changed 9 years ago by giuseppeg88@…

Yes, it's this the idea! It is included in many routers, and it would be nice to have this feature in the Fonera ...

Changed 9 years ago by João Oliveirinha <joliveirinha@…>

Wake on Lan @ Fon2.0n

comment:3 Changed 9 years ago by João Oliveirinha <joliveirinha@…>

Hi,

I modified the previous wake on lan plugin so it would run on my fonera 2.0n. Maybe this will be useful for you.

I don't know if changing the binary to mips WoL will run on the other foneras but I think that it should not be a problem.

comment:4 Changed 9 years ago by matthijs

  • Cc joliveirinha@… added
  • Severity set to unknown

Cool, I hadn't realized there was already a plugin for this. It even has a luci interface :-)

If I understand this correctly, you've only modified an existing 2.0g plugin tarball by replacing the wol binary? Where did the original plugin come from? I'd like to have the sources, so we might be able to actually add this plugin.

comment:5 Changed 9 years ago by anonymous

Hi,

I have found it in you wiki. http://wiki.fon.com/wiki/Fon-ng:_Get_Involved It also required me to modify to make some minor changes in the code. Now, I think there are only to options:

1 - remove the binary from the package and install wol package from openwrt in futures releases of fon-ng. 2 - add the binary for the mips arch and modify the update script to check the deviceid when installing and uninstalling.

I have also uploaded the source. Bests

Changed 9 years ago by João Oliveirinha <joliveirinha@…>

WoL source for fon2.0n

comment:6 Changed 9 years ago by giuseppeg88 <giuseppeg88@…>

I tested the plugin "wol_fon2.0n.tgz" and it doesn't work in the my computers: I have done tests with 2 pc (of course with the Wake on LAN enabled), but none of these turns on in the lead.

PS: Can you add a field where you can enter a name to distinguish the computers? (as in the image)

Changed 9 years ago by giuseppeg88 <giuseppeg88@…>

comment:7 Changed 9 years ago by giuseppeg88@…

JazzyJ (a member of the forum) has slightly modified the Mr Jorge's Wake-On-Lan plugin. Now it works! http://forum.fon.com/forum/viewtopic.php?f=8&t=530

comment:8 Changed 8 years ago by micaelopes@…

Hello,

I have downloaded and installed the plugin and I cannot add any Mac adress and save it. I tried to write in format xx-xx-xx and xx:xx:xx and when I click on add nothing happens.

Can you help me?

comment:9 Changed 7 years ago by cali@…

Hello, i've tried to download this wol package but the links are all down.

comment:10 Changed 7 years ago by anonymous

comment:11 Changed 6 years ago by matthijs

  • Cc marco.argenti@… niermou@… added
  • Status changed from confirmed to testing-fix

#1225 is a duplicate.

I've been working on including this plugin in the official source tree. For technical reasons I ended up rewriting pretty much the entire plugin, but I'll have a version of this plugin ready for testing soon.

comment:12 Changed 6 years ago by matthijs

  • Resolution set to fixed
  • Status changed from testing-fix to closed

(In [2228]) luci-wol: Add luci application for Wake-on-LAN.

This application is inspired by the wol plugin that has been floating around the Fon community, but does not share any code with that plugin. This plugin uses a bit more of luci and cbi, whereas the other plugin did a lot of HTML generation and handling manually.

There is currently no icon for this application yet, so a dummy icon is added. The real icon will be designed and added later.

Closes: #680

comment:13 Changed 6 years ago by matthijs

An automatically built version of this plugin is now available for testing. See http://blog.fonosfera.org/new-official-plugin-wake-on-lan/ for details on how to get it working.

Add Comment

Modify Ticket

Action
as closed The owner will remain iurgi@….
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.