Just need to know
Moderator: Moderators
Just need to know
Hello all.
A few questions.
Can I have a guest WiFi (think the answer is Yes judging by latest comments)
Can I bind Mac to IP from GUI for WOL?
Can I port forward required ports from GUI for WOL?
Was using DD WRT for quite a while, but went to OPEN WRT as the upgrade web administration is a lot better, possibly?
Now seeing that Gargoyle is now using Chaos Charmer and hopefully the bits that I need from a GUI and not command line, I want to try it. So before I destroy my OPEN WRT setup, anyone got the answers please?
cheers
A few questions.
Can I have a guest WiFi (think the answer is Yes judging by latest comments)
Can I bind Mac to IP from GUI for WOL?
Can I port forward required ports from GUI for WOL?
Was using DD WRT for quite a while, but went to OPEN WRT as the upgrade web administration is a lot better, possibly?
Now seeing that Gargoyle is now using Chaos Charmer and hopefully the bits that I need from a GUI and not command line, I want to try it. So before I destroy my OPEN WRT setup, anyone got the answers please?
cheers
Re: Just need to know
Yes to all of the above Although if you want to send WOL requests to the broadcast mac (FF:FF:FF:FF:FF:FF) from the WAN port you will need to add a line of code to add the ip address you want to attach to the broadcast mac into the arp table for forwarding the WOL requests to, same as with openwrt/dd-wrt. I add one line of code to crontabs to do this for me.
Re: Just need to know
Any chance of sharing your code?Rog66 wrote:Yes to all of the above Although if you want to send WOL requests to the broadcast mac (FF:FF:FF:FF:FF:FF) from the WAN port you will need to add a line of code to add the ip address you want to attach to the broadcast mac into the arp table for forwarding the WOL requests to, same as with openwrt/dd-wrt. I add one line of code to crontabs to do this for me.
Re: Just need to know
Sure
Thinking about it I actually use 2 lines as follows
In the rc.local file in /etc add the line
where 192.168.x.y is the ip address you want to assign to the broadcast mac address i.e. any address you're not using or likely to use in your dhcp range (I use .254)
Then add
to the /etc/crontabs/root file
I used to just add the first line to the rc.local file but several versions ago there was a bug where the mac address ff:ff:ff:ff:ff:ff kept getting deleted in the arp table so it was listed as 00:00:00:00:00:00 and broadcast WOL packets from the WAN stopped working. To overcome this I used the above crontab line to change the mac address back every hour. Not sure if that bug ever got fixed and if this line can be taken out.
I also add the IP address to the dhcp fixed ip list in the GUI so it never gets assigned to another mac address by mistake.
Thinking about it I actually use 2 lines as follows
In the rc.local file in /etc add the line
Code: Select all
ip neigh add 192.168.x.y lladdr ff:ff:ff:ff:ff:ff nud permanent dev br-lan
Then add
Code: Select all
0 * * * * ip neigh change 192.168.x.y lladdr ff:ff:ff:ff:ff:ff nud permanent dev br-lan
I used to just add the first line to the rc.local file but several versions ago there was a bug where the mac address ff:ff:ff:ff:ff:ff kept getting deleted in the arp table so it was listed as 00:00:00:00:00:00 and broadcast WOL packets from the WAN stopped working. To overcome this I used the above crontab line to change the mac address back every hour. Not sure if that bug ever got fixed and if this line can be taken out.
I also add the IP address to the dhcp fixed ip list in the GUI so it never gets assigned to another mac address by mistake.
Re: Just need to know
Thanks. With DDwrt I had to cron the bindings as DD kept losing them on the version I was using.. Was hoping for a GUI version, like the original TPLink GUI.
example of a cron job to BIND IP to MAC and keep alive the BIND
nn:nn:nn:nn:nn:nn is the MAC
0 * * * * arp -s 192.168.1.73 nn:nn:nn:nn:nn:nn
0 * * * * arp -s 192.168.1.74 nn:nn:nn:nn:nn:nn
0 * * * * arp -s 192.168.1.75 nn:nn:nn:nn:nn:nn
example of a start up command to BIND IP to MAC
arp -s 192.168.1.73 nn:nn:nn:nn:nn:nn
arp -s 192.168.1.74 nn:nn:nn:nn:nn:nn
arp -s 192.168.1.75 nn:nn:nn:nn:nn:nn
I am not an expert, so any errors, please correct.
By the way, before I do any work, I use HTTrack Website capture software FREE! to keep a virtual copy of the router as a backup. I can browse the pages just as if I was looking at my router.
http://www.httrack.com
example of a cron job to BIND IP to MAC and keep alive the BIND
nn:nn:nn:nn:nn:nn is the MAC
0 * * * * arp -s 192.168.1.73 nn:nn:nn:nn:nn:nn
0 * * * * arp -s 192.168.1.74 nn:nn:nn:nn:nn:nn
0 * * * * arp -s 192.168.1.75 nn:nn:nn:nn:nn:nn
example of a start up command to BIND IP to MAC
arp -s 192.168.1.73 nn:nn:nn:nn:nn:nn
arp -s 192.168.1.74 nn:nn:nn:nn:nn:nn
arp -s 192.168.1.75 nn:nn:nn:nn:nn:nn
I am not an expert, so any errors, please correct.
By the way, before I do any work, I use HTTrack Website capture software FREE! to keep a virtual copy of the router as a backup. I can browse the pages just as if I was looking at my router.
http://www.httrack.com
Re: Just need to know
You shouldn't need to code the bindings for any machines in your dhcp list - the GUI works for that . The problem is that the dummy broadcast address wont bind just by putting it into the dhcp list (a machine never requests an ip address from the router for this mac address) so you have to use arp. I only ever lost the broadcast address binding in both dd-wrt or openwrt/gargoyle.
Re: Just need to know
Finally got the firmware loaded and setup. Disappointed to find no Gui for binding IP to MAC and nothing like DD WRT Command shell. But early days yet, and they might show up somewhere as a plug in?
Re: Just need to know
Connection -> DHCP
you didn't look very hard lol
you didn't look very hard lol
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Just need to know
http://192.168.1.1/dhcp.sh
That just shows STATIC IP's as issued by DHCP according to rule list.
NOT IP MAC Binding. There is a difference. Where is the MAC binding GUI otherwise its a command line job or edit scripts?
Perhaps I should enhance the request as, would hope for a GUI to add an ARP Mac IP binding for WOL purposes.
cheers
That just shows STATIC IP's as issued by DHCP according to rule list.
NOT IP MAC Binding. There is a difference. Where is the MAC binding GUI otherwise its a command line job or edit scripts?
Perhaps I should enhance the request as, would hope for a GUI to add an ARP Mac IP binding for WOL purposes.
cheers
Re: Just need to know
What is the difference?That just shows STATIC IP's as issued by DHCP according to rule list.
NOT IP MAC Binding