Go Back   Wireless and Wifi Forums > News > Newsgroups > alt.internet.wireless
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-13-2008, 10:12 AM
BigAl.NZ@gmail.com
Guest
 
Posts: n/a
Default always_on.sh script in DD-WRT not working

Hi folks,

I have a odd problem with always_on.sh script. But first some
background, my setup is this:

<internet>--<Half Bridge ADSL mdm>---<DD-WRT>--<PC's>

The problem is that when my modem disconnects, and subsequently
reconnects (which happens in the space of a few seconds) the script is
not detecting the new IP and therefore not running renew DHCP.

With my very basic skills, i have worked out that, for some reason
after the modem disconnects and reconnects, I can still ping the old
gateway address, yet I cant ping google (IP or name).

I looked closer at what the DD-WRT is getting from my modem in half
bridge:

WAN Config
IP Address : 118.92.137.122
Subnet mask : 255.255.255.255
Gateway : 118.92.137.122
DNS1 : 203.109.129.67
DNS2 : 203.109.129.68

Notice how the Ip Address and the gateway are the same? I am not sure
if they are the meant to be the same, but I think that is why the
always on script (which tests if the connection is up by pinging the
gateway) can still ping the gateway, even if the modem has since
disconnected and got a new IP.

Does anyone know if (a) I have screwed something up or (b) its
behaving this way by design?

The script:

http://www.dd-wrt.com/wiki/index.php...lways_on.sh.29

LAN Setup
MAC Address00:06:25:C4:81:EF
IP Address192.168.1.1
Subnet Mask255.255.255.0
Gateway0.0.0.0
Local DNS0.0.0.0


WAN Connection Type : Auto Config - DHCP

Router Name : DD-WRT
Host Name : Geek
Domain Name :

Router IP
Local Address : 192.168.1.1
Subnet: 255.255.255.0
Gateway: 0.0.0.0
Local DNS: 0.0.0.0

Network Address Server Settings (DHCP)
DHCp Type : DHCP Server
DHCP Server : Enable
Start IP Address : 192.168.1.100
Static DNS1: 203.109.129.67
Static DNS2: 203.109.129.68

If anyone who can help needs more info please just ask!!! :D

Thanks in advance,

-Al
PS: And yes I could just make the script ping one of the DNS servers,
but I would like to know why its not working the way its designed!?

:D :D :D

Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My Sony Vaio wireless connection stopped working ssparker8 Troubleshooting 5 02-04-2008 12:31 PM
Script to disconnect Linksys WRT54G wireless router on Windows Wilson alt.internet.wireless 61 01-17-2008 04:14 PM
HPSBUX02249 SSRT071442 rev.2 - HP-UX Running the Ignite-UX or the DynRootDisk (DRD) get_system_info Command, Local Unqualified Configuration Change Security Alert comp.security.misc 0 09-20-2007 02:33 PM
Re: wireless internet stops working at times Jeff Liebermann alt.internet.wireless 0 06-16-2007 06:25 AM
wmi script to display signal strength bjs555 alt.internet.wireless 1 10-24-2005 01:53 PM


All times are GMT. The time now is 07:37 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45