PDA

Bekijk de volledige versie : auto connect doesn't work ?



m-h-l
03-11-2004, 11:12
Hi,

since a few days I have a time restricted ADSL flatrate
(from 18:00 till 8:00 and on weekends and holidays) :D

To avoid access to the internet outside this time frames
I want to switch OFF the ADSL modem (Siemens XpressLink)
and also the Asus WL-500g router which is connected to
the ADSL modem. This is no problem with a timer. :rolleyes:

But if I switch this stuff ON then the Router boots up faster
than the Modem and if the router wants to connect to the
internet via modem (PPPoE) ... the modem is not ready. :eek:
As a result the router doesn't make a connection by itself. :mad:

If I then try to surf in the internet the router will not
initiate an internet connection by itself ... I have to login
to the router and activate the connection by hand. :confused:

Ok, I could use 2 timers (first start modem, later start
router), but this is a bad solution, I think.

Is there a way to setup the router that it will initiate
an internet connection by itself as soon as he gets some
DNS request which he can not answer? :rolleyes:

My firmware version is 1.8.1.7 (original Asus).

Thx for your help

Markus

Styno
03-11-2004, 11:44
Just a crude idea: If you try a custom 1.8.x.x firmware from Oleg, you can put some sleeps (say 1 minute) in the pre-boot script. Effectively it will postpone the boot sequence with 1 minute, giving your modem time to boot up. That might prevent the Asus router to connect to the internet too early.

Oleg
03-11-2004, 12:53
ASUS firmware is trying to connect 10 times with a period between attempts of 30 seconds, so there is already 5 minutes. In the 1.8.1.7-3 (pre) I've changed 10 to infinity.

Also, stock firmware can provide connection on demand, but it's not available via web iface. You will need to modify nvram to turn on on-demand connection.

m-h-l
03-11-2004, 13:04
Thx for these answers but still 2 questions left ...

1. How to modify nvram to turn on on-demand connection

2. Is this done on the stock firmware or on the modified ?

Markus

P.S. I was looking for a description of the hidden 'Admin'
web interface and what for and how to use it.
Any hint for me where I can find information about this?
Thx


ASUS firmware is trying to connect 10 times with a period between attempts of 30 seconds, so there is already 5 minutes. In the 1.8.1.7-3 (pre) I've changed 10 to infinity.

Also, stock firmware can provide connection on demand, but it's not available via web iface. You will need to modify nvram to turn on on-demand connection.
:)

Oleg
03-11-2004, 13:55
Thx for these answers but still 2 questions left ...

1. How to modify nvram to turn on on-demand connection



nvram set wan0_pppoe_demand=1
nvram commit




2. Is this done on the stock firmware or on the modified ?

Both.


P.S. I was looking for a description of the hidden 'Admin'
web interface and what for and how to use it.
Any hint for me where I can find information about this?

Main_AdmStatus_Content.asp, type command and press Refresh (not just enter).

m-h-l
03-11-2004, 14:07
Thx Oleg, but still questions left (I'm sorry to annoy
you so much):

Is this hidden menu a Linux command line like in
a telnet session or in a bash or is it something Asus
specific. If last, where can I find a list of available
commands?

Thx



P.S. I was looking for a description of the hidden 'Admin'
web interface and what for and how to use it.
Any hint for me where I can find information about this?




Main_AdmStatus_Content.asp, type command and press Refresh (not just enter).

Oleg
03-11-2004, 15:12
Is this hidden menu a Linux command line like in
a telnet session or in a bash or is it something Asus
specific.
Linux. Passed directly to function, called system, which executes a shell command.

m-h-l
04-11-2004, 15:27
Hi Oleg,

I tried this commands but it seems they don't work:



nvram set wan0_pppoe_demand=1
nvram commit


- First I had a connection which I then stopped via the
WEB interface (Status & Logs).
- Then I was waiting some seconds
- Then I tried to open a webpage on my browser which
should force a DNS request.
- The request was not answered and the router always
stays disconnected.

(If the router has connected, everything works)

Any idea ?

Thx

Markus

Oleg
04-11-2004, 15:53
Have you rebooted your router after commiting?

In fact, it was not tested, so it could not work at all.

m-h-l
04-11-2004, 16:06
Yes, I rebooted it.



Have you rebooted your router after commiting?

In fact, it was not tested, so it could not work at all.

Oleg
04-11-2004, 19:04
The only option left to you is to wait 1.8.1.7-3 custom firmware, it will reconnect forever.

m-h-l
05-11-2004, 13:32
Thats an option ... lets wait :o

Is there somewhere a table which shows the 'evolution'
of the ASUS firmwares and which also shows the differences
between stock and costom firmware (dependend to version)
(=> feature table)?

Thx :D

Markus


The only option left to you is to wait 1.8.1.7-3 custom firmware, it will reconnect forever.

brubber
05-11-2004, 20:59
changelog:

http://wl500g.info/showthread.php?t=1070