Page 1 of 1

Setting the gateway for the router?

Posted: Sat Jun 04, 2011 1:31 am
by mikers
Hi - having a bit of a problem.

I have a wag120n that I have a wrt54gl plugged into - I added the latter so that I can monitor and control the access/bandwidth that the rest of my family has. Problem is that the wrt54gl does not see the time servers... the wag120n is the gateway, which the wrt54gl does not know about.

Couldnt see any settings in the gui for gateway except if I use it as a bridge, so I set it with a route command at the unix level - that fixes it.... however, when the router gets turned off, the setting is lost.

How do I make it permanent?

michael

Re: Setting the gateway for the router?

Posted: Sat Jun 04, 2011 7:46 pm
by mikers
Just in case anyone is interested...

Setting a route using the gui does not work because of the use of 0.0.0.0.

A workaround is to edit the /etc/rc.local file and include the route to set up the gateway ip and restart the ntpclient:

route add default gw 10.1.1.1 br-lan
/etc/rc.d/S41ntpclient restart

my gateway is 10.1.1.1

Its not the "correct" thing to do, but it does the job for now.

Re: Setting the gateway for the router?

Posted: Sun Jun 05, 2011 1:55 pm
by pbix
What revision of Gargoyle are you using?

I think something related to this was addressed in v1.3.14.

Re: Setting the gateway for the router?

Posted: Sun Jun 05, 2011 3:56 pm
by mikers
Thanks, only installed it recently and did not think of a newer version... I will upgrade!