Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » O Canada! » Canadian » TekSavvy » Connecting to modem on Tomato/MLPPP
Search Topic:
Uniqs:
4561
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Has teksavvy gone downhill the past few months?? »
« MLPPP over a wireless connection?  
page: 1 · 2 · 3 · 4
AuthorAll Replies


shopkins

join:2008-05-23
Nepean, ON
·TekSavvy Solutions..
·Bell Sympatico

Connecting to modem on Tomato/MLPPP

I managed to finally troubleshoot and get my link to my modem (SpeedStream 6520) through my router (ASUS WL-500gP) while using Tomato/MLPPP 1.19-mp2. Hope this helps someone.

In Administration -> Scripts -> Init put:


Note the "10" in the above IP can be any number other than 254 or 255.

In Administration -> Scripts -> Firewall put:

(no breaks - all one line)

Then to access the interface or use DMT you can use the IP 192.168.254.254 and it works like magic.

While I do not understand what I am doing this is from the Tomato Wikibook (»en.wikibooks.org/wiki/Tomato_Fir···#Scripts) and some great help from Tempete See Profile who helped me in another thread (»Re: Tomato/MLPPP v2 beta 2 released).

Again hope this helps another person get up and running.

beamer69

join:2007-05-10
Burnaby, BC

Thanks :) (even if your post didn't work for me) ;)

I tried as you posted but no luck it didn't work. I think because you are using a speedstream 6520 with an ip of 192.168.255.255 if I read your comments in the thread »Re: Tomato/MLPPP v2 beta 2 released) correctly. Instead I followed the link in your post to the wiki and with that got it to work with my speedtouch 516v6 that has an ip of 192.168.1.254

To get it to work I had to change the ip of my WRT54GL from 192.168.1.1 to something not on the same range as the modem. No luck getting both working on 192.168.1.x. The other option if you don't want to bother with this stuff is to simply plug your wan into your lan and then plug the 516v6 modem into the lan instead of your wan.

Login to Tomato click basic:

Where it has "Router IP Address" change it from the default of 192.168.1.1 to 192.168.2.1 > Click save bottom right.

Change your TCP settings on any and all computers. Mine are now ip address 192.168.2.x subnet 255.255.255.0 gateway 192.168.2.1 (the new ip address of the router).

Then back to the router.

In Administration -> Scripts -> Init put:


Click save bottom right.

In Administration -> Scripts -> Firewall put:


Click save bottom right reboot your router.

To get to the speedtouch 516v6 enter 192.168.1.254


shopkins

join:2008-05-23
Nepean, ON
·TekSavvy Solutions..
·Bell Sympatico

said by beamer69 See Profile :

Thanks (even if your post didn't work for me)
Sorry... I guess I was as much documenting as I was demonstrating a very specific hardware and software combination

said by beamer69 See Profile :

I tried as you posted but no luck it didn't work. I think because you are using a speedstream 6520 with an ip of 192.168.255.255
192.168.254.254 actually... that is the default for the 6520

said by beamer69 See Profile :

To get it to work I had to change the ip of my WRT54GL from 192.168.1.1 to something not on the same range as the modem. No luck getting both working on 192.168.1.x.
Good point. Forgot to add that my home IP network is 192.168.2.x - and that it must be different than the modem's IP. So as long as you have chosen a local IP that is different than the modem's default or assigned IP you are golden...

BobbyS

join:2008-03-02
Montreal, QC
·TekSavvy Solutions..

reply to shopkins
I'm having the same problem here connecting to my modem (516v6 ip 192.168.1.254) from my tomato router (WRT54G v1.1 ip 192.168.2.1). Have tried many of the scripts listed in various threads, some are split in two parts init and firewall section, some are placed just in the firewall section. Can't seem to connect. Tried copying beamer69's script, he seemed to have a similar setup as mine:

"Where it has "Router IP Address" change it from the default of 192.168.1.1 to 192.168.2.1 > Click save bottom right.

Change your TCP settings on any and all computers. Mine are now ip address 192.168.2.x subnet 255.255.255.0 gateway 192.168.2.1 (the new ip address of the router).

Then back to the router.

In Administration -> Scripts -> Init put:

sleep 5
ip addr add 192.168.1.10/24 dev vlan1 brd +

Click save bottom right.

In Administration -> Scripts -> Firewall put:

/usr/sbin/iptables -I POSTROUTING -t nat -o vlan1 -d 192.168.1.0/24 -j MASQUERADE
Click save bottom right reboot your router.

To get to the speedtouch 516v6 enter 192.168.1.254
said by beamer69

Also tried changing vlan1 to br1 as mentioned in another thread but no joy.
Can anyone see what I'm doing wrong?
Thanks


shopkins

join:2008-05-23
Nepean, ON
·TekSavvy Solutions..
·Bell Sympatico

When you go to the device list on TOMATO/MLPPP do you see your modem listed ?

Once you can see it there you have success.

Can you directly connect to the modem and get an IP ? You may need to confirm that your modem is at the 192.168.1.254 address (may have been changed in the past).

Right off the bat I do not see the problem in your script. I do know that for me the modem shows up on br1 so that is why I have br1 in my script. But do not rely on my word as I am relatively new to these iptables scripts that are posted.

BobbyS

join:2008-03-02
Montreal, QC
·TekSavvy Solutions..


1 edit
Yes. I tried to connect directly and it worked on 192.168.1.254. Also was able to connect with DMT tool at that address (when connected directly.)I don't use DHCP, all my pc's have a static ip assigned in the 192.168.2.xx range. No,I hav't seen the modem in the router's device list, so I guess there's still a problem.

datrader

join:2007-11-18
Kirkland, QC


2 edits
reply to beamer69
Any reason why this would not be working for me. I got a Speedtouch 546v6 and a WRT54GL router. Put in the script in Init and Firewall but I still can't access the modem (yes I rebooted the router also).

This is what I put:

In Administration -> Scripts -> Init put:
1. sleep 5
2. ip addr add 192.168.1.10/24 dev vlan1 brd +

Click save bottom right.

In Administration -> Scripts -> Firewall put:
/usr/sbin/iptables -I POSTROUTING -t nat -o vlan1 -d 192.168.1.0/24 -j MASQUERADE

Also, I don't think I see the modem in the device list of Tomato.
I see my computer (br0), and the wireless connection from the laptop (eth1)


shopkins

join:2008-05-23
Nepean, ON
·TekSavvy Solutions..
·Bell Sympatico

said by datrader See Profile :

In Administration -> Scripts -> Init put:
1. sleep 5
2. ip addr add 192.168.1.10/24 dev vlan1 brd +
Can I confirm that you did not put the "1." and "2."

Those are formatting elements that DSLR put in for quoted code and are of no use in the scripts.

Radar73

join:2008-01-20
Ajax, ON

reply to datrader
said by datrader See Profile :

Any reason why this would not be working for me. I got a Speedtouch 546v6 and a WRT54GL router. Put in the script in Init and Firewall but I still can't access the modem (yes I rebooted the router also).

This is what I put:

In Administration -> Scripts -> Init put:
1. sleep 5
2. ip addr add 192.168.1.10/24 dev vlan1 brd +

Click save bottom right.

In Administration -> Scripts -> Firewall put:
/usr/sbin/iptables -I POSTROUTING -t nat -o vlan1 -d 192.168.1.0/24 -j MASQUERADE

Also, I don't think I see the modem in the device list of Tomato.
I see my computer (br0), and the wireless connection from the laptop (eth1)
For Tomato/MLPPP vlan1 should be replaced with br1. Nothing shows up under device list in my Tomato/MLPPP for the modem.

datrader

join:2007-11-18
Kirkland, QC

reply to shopkins
said by shopkins See Profile :

said by datrader See Profile :

In Administration -> Scripts -> Init put:
1. sleep 5
2. ip addr add 192.168.1.10/24 dev vlan1 brd +
Can I confirm that you did not put the "1." and "2."

Those are formatting elements that DSLR put in for quoted code and are of no use in the scripts.
That's right. I did not put the 1 and 2 - just copy/pasted from previous post as reference.


shopkins

join:2008-05-23
Nepean, ON
·TekSavvy Solutions..
·Bell Sympatico

reply to Radar73
Click for full size
said by Radar73 See Profile :

For Tomato/MLPPP vlan1 should be replaced with br1. Nothing shows up under device list in my Tomato/MLPPP for the modem.
Mine did not show up when I looked after you said that but when I accessed the interface it loaded and the image above is what I have now.

datrader

join:2007-11-18
Kirkland, QC


1 edit
reply to Radar73
For Tomato/MLPPP vlan1 should be replaced with br1. Nothing shows up under device list in my Tomato/MLPPP for the modem.
This actually made it work. I can access the modem and DMT works.

Thanks.

For reference purposes, here is what the script looks like:

In Admin+Scripts+Init:

And then in Admin+Scripts+Firewall:
(the above in one line).

Thanks guys

EDIT: Oh, I forgot to add that the Device List now shows my Modem on it.


shopkins

join:2008-05-23
Nepean, ON
·TekSavvy Solutions..
·Bell Sympatico

said by datrader See Profile :

In Admin+Scripts+Init:

EDIT: Oh, I forgot to add that the Device List now shows my Modem on it.
I would like to lay claim to the 192.168.x.10/24 being the cause of all success of connecting Tomato/MLPPP to modems ;-) In my original post I said that it could be any number that was not a number that could be assigned by DHCP and work yet people are still using "10" !

Glad to hear that it works. Just one more person to troubleshoot... AFAIK

Radar73

join:2008-01-20
Ajax, ON


1 edit
Click for full size
said by shopkins See Profile :

I would like to lay claim to the 192.168.x.10/24 being the cause of all success of connecting Tomato/MLPPP to modems In my original post I said that it could be any number that was not a number that could be assigned by DHCP and work yet people are still using "10" !

Glad to hear that it works. Just one more person to troubleshoot... AFAIK
I wonder why my modem doesn't show up in the device list ... odd. Maybe it's the missing magic "10"

EDIT: I accessed the modem and checked the device list again and voila! It shows up.


shopkins

join:2008-05-23
Nepean, ON
·TekSavvy Solutions..
·Bell Sympatico

said by Radar73 See Profile :

Maybe it's the missing magic "10"
I wonder if that will be a new meme. "The Missing Majic "10""

May be a sig for me now on these forums

BobbyS

join:2008-03-02
Montreal, QC
·TekSavvy Solutions..

reply to shopkins
Well tried again tonight, still no go. So I unplugged the router and connected directly to the 516v6 modem. Can't connect now. Weird, so did a main re-set using the little button, still can't connect at 192.168.1.254. Tried setting up the modem with the setup disk, this thing see's the modem, lets me set it up with the basics, bridge mode, password,the 0/.35 thingy. When its done it trys to connect to www.dsldevice.lan and fails. Reconnect the router and my connection works to the internet. Why can't I acces my router anymore ?

HoboJ

join:2008-03-27
Trenton, ON
·voip.ms
·Cogeco Cable

reply to shopkins
I'm running the latest Tomato/MLPPP firmware on my wrt54gl. I used this script to access my st516 through my router. I have it under Administration -> Scripts -> Wan Up.

ip addr add 192.168.1.1/24 dev br1 brd +
/usr/sbin/iptables -I POSTROUTING -t nat -o br1 -d 192.168.1.0/24 -j MASQUERADE

Works like a charm for me.

BobbyS

join:2008-03-02
Montreal, QC
I'm having problems connecting to my 516v6 through my tomato router wrt4g v1.1. My modem is at 192.168.1.254, router is at 192.168.2.1, and pc's are at 192.168.2.x. an you tell me what yours are set at ?
Thanks

syntaxerr0r

join:2008-05-27
East York, ON
·TekSavvy Solutions..
·Bell Sympatico

reply to HoboJ
said by HoboJ See Profile :

I'm running the latest Tomato/MLPPP firmware on my wrt54gl. I used this script to access my st516 through my router. I have it under Administration -> Scripts -> Wan Up.

ip addr add 192.168.1.1/24 dev br1 brd +
/usr/sbin/iptables -I POSTROUTING -t nat -o br1 -d 192.168.1.0/24 -j MASQUERADE

Works like a charm for me.
I have the same hardware and firmware. Is this the only script you put in the router? What's your router IP?

BobbyS

join:2008-03-02
Montreal, QC
yup,its the only script.

Modem: 192.168.1.254

Router : 192.168.2.1

PC's : 192.168.2.x
gateway: 192.168.2.1
DNS: 192.168.2.1
-
Forums » O Canada! » Canadian » TekSavvyHas teksavvy gone downhill the past few months?? »
« MLPPP over a wireless connection?  
page: 1 · 2 · 3 · 4


Thursday, 26-Nov 14:31:29 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [108] New AT&T Ad Campaign Hits Back At Verizon
· [105] Time Warner Cable Fires Broadside At Broadcasters
· [95] Apple Joins AT&T Verizon Snark Fest
· [87] New Bill Takes Aim At Higher Verizon ETFs
· [69] TiVo Sees Record Customer Losses
· [57] In-Flight Internet Headed For Bumpy Landing?
· [37] ICANN Slams DNS Redirection
· [34] Senators Want ACTA Made Public
· [33] Despite Billions In USF Fees, U.S. Libraries Lack Bandwidth
· [30] Earthlink Suffers From Major E-mail Outage
Most people now reading
· I'll Just Unplug That... [No, I Will Not Fix Your #@$!! Computer]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· Connecting to Google Voice Via SIP [VOIP Tech Chat]
· Newegg Black Friday Sale started [Users Find Hot Deals]
· Not strictly "Home" related - but WOW anyways... [Home Repair & Improvement]
· TekSavvy home Phone with Bell Internet [TekSavvy]
· HOW-TO: QoS and Tomato (fixes "choppy voice") [MagicJack]
· Windows 7 boot manager editing questions [Microsoft Help]
· Ottawa South Highspeed - WOW! [Canadian Broadband]
· [Config] cisco asa 5505 with multiple outside IP addresses [Cisco]