Re: Router problem

The Linux Doctor <[email protected]>
Newsgroups gmane.user-groups.linux.ottawa.general
Message-ID <[email protected]>
On Mon, 09 Feb 2009 23:19:23 -0500
Andy Civil <[email protected]> wrote:

> The Linux Doctor wrote:
> > Alternately, if the ADSL modem is set to log onto the Internet
> > itself using PPP and the LAN is set to DHCP, one can tell the
> > DI-604 to use DHCP over it's WAN connection.  This has the
> > advantage of allowing you to switch from the router to direct
> > connect without having to do any reconfigurations of the boxes
> The thing about that arrangement, though, is that you can't "see"
> your login info, can you? I mean, it'll be in the modem, and you
> can't access that from the LAN side of the router.
> 
> Or do you know how to set up a static route, to specifically route
> that address out?
> 
> My Internet service has been pretty good, but I still need to check
> my login status once in a while...
> 

Well, you can by using the Viking CLI command interface using telnet.
Login to the unit via telnet and then issue the command "get ip
address".  You can then write a shell script to grab that info via
telnet.

The output is in this format:


$get ip address
Ip Address        Mask               If Name      BCast Addr        MaxReasm
----------------------------------------------------------------------------
aa.bb.cc.dd       255.255.255.255    ppp-0        1                 65535     
127.0.0.1         255.0.0.0          lo-0         1                 65535     
192.168.1.2       255.255.255.0      usb-0        1                 65535     
192.168.1.254     255.255.255.0      eth-0        1                 65535     

$get ppp ipinfo

IfName          : ppp-0               Status          : Opened          
Self Ip Address : aa.bb.cc.dd         Peer Ip Address : ee.ff.gg.hh   
Prim DNS Server : 67.55.0.11          Sec DNS Server  : 66.49.220.95    

That might help.

Interestingly, the GNet BB2060 has the same software in it that runs
the Trendnet TCM-C400 ADSL modem.

>>>--fja->

-- 
OCLUG general discussion list
[email protected]
http://oclug.on.ca/mailman/listinfo/oclug
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkmRDNgACgkQRtYgpjDg4G/frgCgi0PoIz6Wmi+ItNaS2KPutOnF
OHMAnjkDwpiZp2EUMQXdsCimiy8kh/yA
=9vxz
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.