  geminijatt
@teksavvy.com
| new tsi sign up
Hi,
I just got setup and everything but i can't seem to find a way to access my st516 when it is in bridge mode and hooked up to my dd-wrt router.
My modem is also in dhcp mode if that makes a difference.
Also due to this i can't seem to run dmt as the 192.168.1.254 ip for the modem doens't seem to take me to that page.
I have tried searching on the forum and still haven't been able to fix the issue.
Thanks |
|
  Angelo_ The Network Guy Premium join:2002-06-18
·TekSavvy Solutions..
| to access your modem you need to set it in "router mode"
theres a black button in the back hold it for a good 10 or so seconds.
your vci/vpi settings are:
ontario and quebec (bell land) 0/0.35 anywhere else (telus land) 0/0.33 *warning doing this will cause any settings in the st516 to be earsed* |
|
  Angelo_ The Network Guy Premium join:2002-06-18 | reply to geminijatt ps good luck  |
|
  geminijatt
@teksavvy.com
| reply to geminijatt 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 Waterloo, ON
·TekSavvy Solutions..
| 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 |
|
  canadabound
join:2008-03-27 | reply to geminijatt What is DMT? What does it do? |
|
  Taylortbb Premium join:2007-02-18 Waterloo, ON
·TekSavvy Solutions..
| said by canadabound :What is DMT? What does it do? It allows you see your line stats. It has your current profile, your attenuation, SNRM, etc.
An example DMT screenshot: »img219.imageshack.us/img219/3146···4cw4.png -- Taylor Byrnes www.taylorbyrnes.org |
|
  canadabound
join:2008-03-27
·RCN CABLE
| said by Taylortbb :said by canadabound :What is DMT? What does it do? It allows you see your line stats. It has your current profile, your attenuation, SNRM, etc. An example DMT screenshot: » img219.imageshack.us/img219/3146···4cw4.png Ahh. So it's some utility to see your line stats.
I'm kind of wondering about the above question myself since I just signed up. I figured I'd just put the modem into bridge mode and use my router (wrt54g) for everything, but apparently this "DMT" util needs to talk directly to your modem in order to function and if it's looking at the bridged address it won't work huh?
In that case if your modem has the option for a DMZ you could just DMZ all traffic from the modem to the router and then on the router use dhcp etc as normal. That way you won't have to do the double port forwarding. |
|
  Taylortbb Premium join:2007-02-18 Waterloo, ON
·TekSavvy Solutions..
| said by canadabound :In that case if your modem has the option for a DMZ you could just DMZ all traffic from the modem to the router and then on the router use dhcp etc as normal. That way you won't have to do the double port forwarding. There's still the issue of NAT connection tracking and so on. It does solve port forwarding but I consider option 2 to be much better, that's how I have it setup. In the long run it will just have fewer issues. All that is lost is 2 LAN ports, and switches are cheap these days. -- Taylor Byrnes www.taylorbyrnes.org |
|
  canadabound
join:2008-03-27
·RCN CABLE
| said by Taylortbb :said by canadabound :In that case if your modem has the option for a DMZ you could just DMZ all traffic from the modem to the router and then on the router use dhcp etc as normal. That way you won't have to do the double port forwarding. There's still the issue of NAT connection tracking and so on. It does solve port forwarding but I consider option 2 to be much better, that's how I have it setup. In the long run it will just have fewer issues. All that is lost is 2 LAN ports, and switches are cheap these days. I only have a need for 1 wired connection everything else is wireless. I might try your idea although it seems weird that everyone would need to do this? Or is it only for people who want to run the DMT utility? |
|
  mactalla_
| reply to geminijatt said by geminijatt :
I just got setup and everything but i can't seem to find a way to access my st516 when it is in bridge mode and hooked up to my dd-wrt router.
My modem is also in dhcp mode if that makes a difference. Since you've already got dd-wrt just follow the directions here: »www.dd-wrt.com/wiki/index.php/Ac···guration You don't need to fuss with the modem or extra cables or anything. I don't know if DHCP would affect it at all. I don't have DHCP enabled on mine, but otherwise I've got almost the same setup (OpenWrt instead of dd-wrt, but the result is effectively the same).
hth |
|
  mactalla_
| reply to Taylortbb 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
·RCN CABLE
| 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_
| 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
·RCN CABLE
| 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.  |
|
 daboom
join:2001-12-16 Oshawa, ON
·Primus Talkbroadband
| reply to geminijatt actually when the modem is in bridged mode the ip is in the 10.0 ip range and you can access it through ur dd-wrt router just by doing a couple commands via telnet in your router. Check this link out for more info. »www.ddwrt.com/wiki/index.php/Acc···guration Hope this helps  -- Come join us on EFNET irc.dks.ca #teksavvy for live chat  |
|
  canadabound
join:2008-03-27
·RCN CABLE
1 edit | said by daboom :actually when the modem is in bridged mode the ip is in the 10.0 ip range and you can access it through ur dd-wrt router just by doing a couple commands via telnet in your router. Check this link out for more info. » www.ddwrt.com/wiki/index.php/Acc···guration  Hope this helps Here is a fixed link: »www.dd-wrt.com/wiki/index.php/Ac···guration |
|
  mactalla_
| reply to daboom @canadabound: Glad it was understandable. Hope it helps you & others.
said by daboom :actually when the modem is in bridged mode the ip is in the 10.0 ip range and you can access it through ur dd-wrt router just by doing a couple commands via telnet in your router. Check this link out for more info. » www.ddwrt.com/wiki/index.php/Acc···guration  Hope this helps Yes, that's where I got my starting information when I was trying to do it on my router. If you look, you'll see that the instructions are pretty similar, and that I had already linked to that page a few posts above 
Canadabound asked for instructions how to do it, so I attempted to regurgitate the instructions in a step-by-step manner without being specific to a particular modem or router or firmware. And with the end result that once it's setup nothing more is needed even after reboots. Of course, that resulted in a longer tutorial than assuming a particular configuration. |
|
  Phosis
join:2007-09-12 Toronto, ON | This is cool. Can it be done with Tomato firmware? |
|
 mactalla
join:2008-02-19
·TekSavvy Solutions..
| I've posted an improved version of these instructions here: »[HOWTO] Connecting to modem through router
I'm quite sure you can do it with Tomato, but I'd need someone to tell me where scripts belong to be more specific about how to go about it. |
|