Gateway address doesn't save

Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware
Author Message
hazamin
DD-WRT Novice


Joined: 02 Apr 2010
Posts: 15

PostPosted: Fri Apr 02, 2010 16:33    Post subject: Gateway address doesn't save Reply with quote
Hi. I have D Link Dir 300, and uploaded the final release of dd-wrt - dd-wrt24.
1. Gateway address doesn't save when I'm trying to make PPTP connection. Therefore, cannot use internet Sad
2. Following the tutorial http://www.shadowandy.net/2007/10/flashing-dir-300-back-to-original-firmware.htm I telneted to my router, got dd-wrt prompt.. The ip_address, fis init, load commands don't work - "No such command".
Sponsor
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Fri Apr 02, 2010 18:06    Post subject: Reply with quote
Is your WAN gateway address outside of the WAN subnet?

http://svn.dd-wrt.com:8000/dd-wrt/ticket/1216

_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
hazamin
DD-WRT Novice


Joined: 02 Apr 2010
Posts: 15

PostPosted: Sat Apr 03, 2010 10:51    Post subject: Reply with quote
No, actually my WAN IP is 10.206.16.6 and WAN gateway is 10.206.16.1
Ok, any way, I'll try the solution u gave me
hazamin
DD-WRT Novice


Joined: 02 Apr 2010
Posts: 15

PostPosted: Sat Apr 03, 2010 19:35    Post subject: Reply with quote
The method didn't work for me. The gateway address still doesn't save.

What about my second question? Why my dd-wrt doesn't support ip_address, fis init, load commands? Or are they RedBoot commands, and not linux commands?
Thanks.
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Sat Apr 03, 2010 21:21    Post subject: Reply with quote
Although mainly directed at broadcom users, you didn't seem to notice my signature at all. You should try a current build for your router which you can find in the router database.

http://www.dd-wrt.com/site/support/router-database

hazamin wrote:
No, actually my WAN IP is 10.206.16.6 and WAN gateway is 10.206.16.1

Although these addresses are very close, there is still a possible /30 netmask which would put them in different subnets, so what is the netmask? Do other settings save successfully?

Yes those are redboot commands, read the "getting into redboot" section of the guide carefully.

_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
hazamin
DD-WRT Novice


Joined: 02 Apr 2010
Posts: 15

PostPosted: Mon Apr 05, 2010 17:52    Post subject: Reply with quote
The network mask is 255.255.255.0
All the other settings are saved succesfully
Replacing /32 by /30 netmask in commands didn't help.


Last edited by hazamin on Mon Apr 05, 2010 19:49; edited 1 time in total
hazamin
DD-WRT Novice


Joined: 02 Apr 2010
Posts: 15

PostPosted: Mon Apr 05, 2010 19:30    Post subject: Reply with quote
Thanks for answer.
Couldn't get redboot prompt. (Reset, hold 30 sec, putty).

About my current firmware (it's 13064):
The only build for DIr 300 REV B available is 13064...

Tried the BrainSlayer builds (13525):
ftp://dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/12-28-09-r13525/broadcom/
DIR300dd-wrt.bin didn't work.
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Mon Apr 05, 2010 21:37    Post subject: Reply with quote
Ah now it comes out... You have a rev B1 which is Ralink based but the revert guide you've been trying to use is for the rev A1 Atheros based model. Also, there is no DIR300dd-wrt.bin file in that link because those are broadcom builds. Here's a couple links to recent dir-300 B1 builds though I'm not familiar with Ralink problems so you should read the Ralink forum before choosing a build.

ftp://dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/12-28-09-r13525/dlink-dir300-revb/
ftp://dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/03-24-10-r14144/dlink-dir300-revb/


If the pptp connection is being established and it's just a lack of a default route afterwards then this should work in the firewall script.

ip route replace default via 10.206.16.1 dev $(nvram get wan_iface)

_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
hazamin
DD-WRT Novice


Joined: 02 Apr 2010
Posts: 15

PostPosted: Wed Apr 07, 2010 20:41    Post subject: Reply with quote
Thanks, sir. The search on Ralink firmware didn't get any results nor these two firmwares worked on my router.
When approximately I can expect a new firmware in the router database? (currently available is 13064)
hazamin
DD-WRT Novice


Joined: 02 Apr 2010
Posts: 15

PostPosted: Fri Apr 09, 2010 5:53    Post subject: Reply with quote
Ok. Last question.
Some tutorials advise first to make manipulations with redboot,i.e
Code:
RedBoot> load -r -b %{FREEMEMLO} shadowandy_board_config.bin
RedBoot> fwrite -f 0xbfff0000 -b 0×80036400 -l 0×10000 -e 0×80036400

and then upload firmware through emergency room, while others advise just upload firmware file (through emergency, or Administation->Firmware upgrapde).
What is the difference?
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Fri Apr 09, 2010 7:02    Post subject: Reply with quote
Different hardware has different procedures. Redboot is a boot loader but different hardware uses different boot loaders. I do not believe your Ralink based model uses it. It is common for Atheros hardware and the guides that mention it are likely written with the A1 revision in mind.
_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
hazamin
DD-WRT Novice


Joined: 02 Apr 2010
Posts: 15

PostPosted: Thu Apr 15, 2010 17:07    Post subject: Reply with quote
I got the latest build 14144. It seems it works fine. The gateway address is saved now... but the router automatically changes address to 172.16.0.x.
Why is that? I deleted all the script commands from Command lines.
hazamin
DD-WRT Novice


Joined: 02 Apr 2010
Posts: 15

PostPosted: Sun Apr 25, 2010 18:15    Post subject: Reply with quote
So? Is there any solution?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum