»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 07-28-2003, 08:26 AM   #1 (permalink)
Banned
 
Siliconjunkie's Avatar
 
Join Date: Feb 2003
Location: Houston, TX
Posts: 1,595
Siliconjunkie is on a distinguished road
Send a message via AIM to Siliconjunkie
Modify Linksys Firmware .bin file?

I know this should be possible, but cant find any reference to it anywhere, so I will turn it over to the great minds of TechIMO...

One of the most annoying aspects of Linksys routers is that you are tied to the 192.168.1.0/24 network.

I realize that this works perfectly fine for 99.9% of the users. Myself, I hate it. I prefer to use 10.0.x.x/24 since I have more than one subnet.

I can change the IP on the router to another and straight NAT works fine, but it breaks port forwarding, which is a huge pain for me.

So, my question is...Is it possible to modify the firmware to use a different subnet. I have tried to have a look at the .bin file downloaded from Linksys but cant find anything to read it.

I know there is a distinct possibility that I will kill my router by doing this, but I am willing to give it a go.

Any ideas?

<cheesy news ticker sound>
This just in....
Found some partial but good info here http://lkml.org/archive/2003/6/7/164/

Appears that the image is based on the CramFS filesystem.
So, apparently there is a way to mount this.

I can do step 4, but not sure how to do step 5, I will need some linux help here. After this I SHOULD be able to modify it from there....


Last edited by Siliconjunkie; 07-28-2003 at 08:50 AM.
Siliconjunkie is offline   Reply With Quote
Old 07-28-2003, 09:00 AM   #2 (permalink)
Banned
 
Siliconjunkie's Avatar
 
Join Date: Feb 2003
Location: Houston, TX
Posts: 1,595
Siliconjunkie is on a distinguished road
Send a message via AIM to Siliconjunkie
W00t!

Ok, I mounted it and can see it.

Quite exciting it is!

Ok, lemmie poke around and see what I can break in here. If anyone is interested in seeing this let me know and I will put it somewhere you can SSH to and give you read access to it.
Siliconjunkie is offline   Reply With Quote
Old 07-28-2003, 09:38 AM   #3 (permalink)
Registered User
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 2,946
nukes is on a distinguished road
Send a message via AIM to nukes Send a message via Yahoo to nukes
How did you mount it? With the loopback device?
__________________
_____
NuKeS
nukes is offline   Reply With Quote
Old 07-28-2003, 09:41 AM   #4 (permalink)
Banned
 
Siliconjunkie's Avatar
 
Join Date: Feb 2003
Location: Houston, TX
Posts: 1,595
Siliconjunkie is on a distinguished road
Send a message via AIM to Siliconjunkie
Did this first (have no idea what it does)
dd if=binfilename.bin of=test.dump skip=24577c bs=32c

then
mount -t cramfs -o loop test.dump /mnt/linksys

Since I am wayyyy over my head here I am assuming the the -o loop is loopback.

edit- to clarify, I know what dd does, just not sure about the switches exactly. This is the description where I found the info
Quote:
Once the download is complete, copy the contents of the file from offset 0xC0020 onward into a new file.
Siliconjunkie is offline   Reply With Quote
Old 07-28-2003, 09:57 AM   #5 (permalink)
Banned
 
Siliconjunkie's Avatar
 
Join Date: Feb 2003
Location: Houston, TX
Posts: 1,595
Siliconjunkie is on a distinguished road
Send a message via AIM to Siliconjunkie
Since this has really gone a Linux direction I would like to keep the discussion in the other thread: http://www.techimo.com/forum/t73927.html

Once that part get sorted out, I will post the Linksys related info here.
Siliconjunkie is offline   Reply With Quote
Old 07-28-2003, 10:09 AM   #6 (permalink)
Registered User
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 2,946
nukes is on a distinguished road
Send a message via AIM to nukes Send a message via Yahoo to nukes
ok, I'm there.
__________________
_____
NuKeS
nukes is offline   Reply With Quote
Old 07-28-2003, 04:57 PM   #7 (permalink)
Registered User
 
M_Six's Avatar
 
Join Date: Oct 2001
Location: Urbana, Illinois
Posts: 1,845
M_Six is on a distinguished road
Kids

I don't understand why you're having problems with subnetting. I have two Linksys routers. One is 192.168.1.x and the other is 192.168.2.x. Port forwarding works fine on both.
__________________
Mark}--->8-8->
If you're not the lead dog, the scenery never changes.
M_Six is offline   Reply With Quote
Old 07-28-2003, 05:07 PM   #8 (permalink)
Banned
 
Siliconjunkie's Avatar
 
Join Date: Feb 2003
Location: Houston, TX
Posts: 1,595
Siliconjunkie is on a distinguished road
Send a message via AIM to Siliconjunkie
On mine, the first 3 octets are automagically filled in on the port forwarding page. Just has a text box for the last octet.

The one thing I hadnt considered is that it is just text, but underneath it will be whatever the routers IP is.

Last edited by Siliconjunkie; 07-28-2003 at 05:10 PM.
Siliconjunkie is offline   Reply With Quote
Old 07-28-2003, 05:15 PM   #9 (permalink)
Registered User
 
M_Six's Avatar
 
Join Date: Oct 2001
Location: Urbana, Illinois
Posts: 1,845
M_Six is on a distinguished road
Same here, except the first three octets reflect whatever I have the LAN side of the router set to. If I change from 192.168.1.x to 192.168.2.x, the port forward page changes as well.

Do you have the latest firmware installed?
__________________
Mark}--->8-8->
If you're not the lead dog, the scenery never changes.
M_Six is offline   Reply With Quote
Old 07-28-2003, 05:18 PM   #10 (permalink)
Banned
 
Siliconjunkie's Avatar
 
Join Date: Feb 2003
Location: Houston, TX
Posts: 1,595
Siliconjunkie is on a distinguished road
Send a message via AIM to Siliconjunkie
Its about a month old. Noticed today that there is a newer one. I was going to flash it, but im not comfortable doing it via wireless so it will have to wait till I decide to go upstairs.
Siliconjunkie is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 01:37 AM.