site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Share Topic
Posting?
Post a:
Post a:
Links: ·TekSavvy DSL Reviews ·TekSavvy Forum FAQ ·Speedtest results
AuthorAll Replies


geminijatt

@teksavvy.com

reply to geminijatt

Re: new tsi sign up

hi,

thanx for the fast reply. I can't seem to find the "router mode" option in the st516. There is bridge mode and PPP Routed.

I originally had it in bridge mode but that didn't allow me to access the modem either.

I put it in ppp routed mode and that doesn't work either.

If i take the ethernet out of the router wan and plug directly from the modem to my laptop it works.


Taylortbb
Premium
join:2007-02-18
Kitchener, ON
Reviews:
·TekSavvy Cable

My suggestion is to just bypass your router, run DMT, then reconnect to your router. If you really want DMT while connected to your router there are two options:

1) Put the modem in Routed PPP mode, have it assign DHCP leases on 192.168.0.0/24 and have your router do DHCP on 192.168.1.0/24, also make sure your router is to DHCP not PPPoE on the WAN interface. This way your router will route the DMT connection to your modem seeing as it knows where that address space is. The problem is you'll have double NAT, any port forwards will have to be done on the router and on the modem.

2) Put the modem in bridge mode and turn off DHCP on the modem. Run a CAT5 cable from your router's WAN port to one of its LAN ports. Connect your ST516 to a LAN port. Set your router to PPPoE mode. This does not mean that incoming or outgoing connections can bypass your router and create a security problem. Because the only device talking PPPoE is the router, it's the only device that has a connection to the outside world, which it then shares with all the other devices. You can access your modem directly at the default address using DMT. Although the router is the only device running PPPoE and thus able to talk to the outside world, other devices can still talk to the modem itself.
--
Taylor Byrnes
www.taylorbyrnes.org



mactalla_

@204.174.12.x

said by Taylortbb:

My suggestion is to just bypass your router, run DMT, then reconnect to your router. If you really want DMT while connected to your router there are two options:
You forgot the 3rd (cleanest) option: Set the routing tables s.t. requests directly to the router are routed to the router. The OP said he's running dd-wrt, so he can do it quite easily. Should work for any powerful firmware (ie. dd-wrt, tomato, openwrt, etc -- just not the OEM firmware).


canadabound

join:2008-03-27

said by mactalla_ :

said by Taylortbb:

My suggestion is to just bypass your router, run DMT, then reconnect to your router. If you really want DMT while connected to your router there are two options:
You forgot the 3rd (cleanest) option: Set the routing tables s.t. requests directly to the router are routed to the router. The OP said he's running dd-wrt, so he can do it quite easily. Should work for any powerful firmware (ie. dd-wrt, tomato, openwrt, etc -- just not the OEM firmware).
And how exactly do you do that? Also "Set the routing tables s.t. requests directly to the router are routed to the router." could be explained a little more clearly perhaps?


mactalla_

@204.174.12.x

said by canadabound:

said by mactalla_ :

said by Taylortbb:

My suggestion is to just bypass your router, run DMT, then reconnect to your router. If you really want DMT while connected to your router there are two options:
You forgot the 3rd (cleanest) option: Set the routing tables s.t. requests directly to the router are routed to the router. The OP said he's running dd-wrt, so he can do it quite easily. Should work for any powerful firmware (ie. dd-wrt, tomato, openwrt, etc -- just not the OEM firmware).
And how exactly do you do that? Also "Set the routing tables s.t. requests directly to the router are routed to the router." could be explained a little more clearly perhaps?
Sure, let's see if I can write coherent instructions here

Preparation: A-C

A. First, you need to be able to make changes to the routing. I'm not aware of any OEM firmware on routers that permit you to do this. This is (one) reason why many people like to replace the firmware on their router with something more powerful. The OP is already using DD-Wrt, which can do this easily. Myself, I use OpenWrt, so I know how to do it on there, and many people here use Tomato, which I have not tried, so would need someone else to confirm, but I'm 99% sure it'd work on there, too.

B. Now, you need to know the IP address your modem will respond to. The st516 will talk on at least one of its 2 pre-set IPs even in bridge mode and DHCP off. We'll call this $MODEM_IP

C. Finally, you need to know the name of the interface on your router where your modem is plugged in. (this can help: »wiki.openwrt.org/OpenWrtDocs/Configuration ) We'll call this $WAN_IFACE

Steps: 1-3

1. So, now you need to set the interface identified in 'C' to an IP address that is on the same subdomain. For example, if the modem is on 192.168.1.254, then we want 192.168.1.pick-a-number (where pick-a-number is not 254 (the modem), or 255 (broadcast), or any other machine on the network. 250 would likely be good. We'll call this $WAN_IP. The command "ipconfig $WAN_IFACE $WAN_IP" should do the trick.

2. Now, we need need to update the routing with these two commands:
iptables -A forwarding_rule -d $MODEM_IP -j ACCEPT
iptables -t nat -A POSTROUTING -d $MODEM_IP -j MASQUERADE

3. And of course you want that to happen automatically anytime your router (re)boots. So make a script that does this and have it run on boot.

On DD-Wrt routers, I understand this is accomplished by creating files in /jffs/etc/config/ and chmod +x them.

On OpenWrt routers, the files are placed in /etc/init.d/ (and don't forget the chmod). Mine is prefixed S52 (I think -- will check at home) and the execution order works.

On Tomato routers, could someone chime in here?

I can paste my actual script when I'm back home.


canadabound

join:2008-03-27

said by mactalla_ :

Sure, let's see if I can write coherent instructions here

Preparation: A-C

A. First, you need to be able to make changes to the routing. I'm not aware of any OEM firmware on routers that permit you to do this. This is (one) reason why many people like to replace the firmware on their router with something more powerful. The OP is already using DD-Wrt, which can do this easily. Myself, I use OpenWrt, so I know how to do it on there, and many people here use Tomato, which I have not tried, so would need someone else to confirm, but I'm 99% sure it'd work on there, too.

B. Now, you need to know the IP address your modem will respond to. The st516 will talk on at least one of its 2 pre-set IPs even in bridge mode and DHCP off. We'll call this $MODEM_IP

C. Finally, you need to know the name of the interface on your router where your modem is plugged in. (this can help: »wiki.openwrt.org/OpenWrtDocs/Configuration ) We'll call this $WAN_IFACE

Steps: 1-3

1. So, now you need to set the interface identified in 'C' to an IP address that is on the same subdomain. For example, if the modem is on 192.168.1.254, then we want 192.168.1.pick-a-number (where pick-a-number is not 254 (the modem), or 255 (broadcast), or any other machine on the network. 250 would likely be good. We'll call this $WAN_IP. The command "ipconfig $WAN_IFACE $WAN_IP" should do the trick.

2. Now, we need need to update the routing with these two commands:
iptables -A forwarding_rule -d $MODEM_IP -j ACCEPT
iptables -t nat -A POSTROUTING -d $MODEM_IP -j MASQUERADE

3. And of course you want that to happen automatically anytime your router (re)boots. So make a script that does this and have it run on boot.

On DD-Wrt routers, I understand this is accomplished by creating files in /jffs/etc/config/ and chmod +x them.

On OpenWrt routers, the files are placed in /etc/init.d/ (and don't forget the chmod). Mine is prefixed S52 (I think -- will check at home) and the execution order works.

On Tomato routers, could someone chime in here?

I can paste my actual script when I'm back home.
That's an awesome guide thanks a lot! A lot of people will find this when google picks it up and make good use of it.

Wednesday, 30-May 18:30:31 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics