PDA

View Full Version : Using telnet



ogmore23
13th June 2006, 10:20 PM
Has anyone used telnet to connect to ADSL using the SAR600 or any SAR box.
I have tried looking in the process list when connected (using the web gui)and see the process

/usr/sbin/pppd plugin pppoa 0.38 user ****@****.com

(****@**** is my username for my ISP)
But the rest of the line if there is any is missing

Trying to dig into the web interface just gets me to the compiled(?) CGI scripts. A quick GOOGLE of "pppd plugin" says there might be a configuration file pppoatm.so but I cannot find this either.

It would be really useful to by-pass the web gui and just have a logon script and if the box stop responding then there is something else wrong
c.f. admin not responding (http://www.solwiseforum.co.uk/showthread.php?t=7499)

Anyway heres hoping....

"Gratitude is merely the secret hope of further favors."

ogmore23
19th June 2006, 09:15 PM
After a dig around I found that the process running whilstlogged on is

/usr/sbin/pppd plugin pppoa 0.32 user $user password $pass nodetach defaultroute \usepeerdns mru 1492 maxfail 10 vc-encaps qos UBR lcp-echo-failure 10 \lcp-echo-interval 60

where $user and $ password are the password and username for your ISP.
(Thanks to busybox (http://www.busybox.net/about.html) web site)

But this is not the whole story as typing this seems to start the process but not give access to the web. Doing a 'ps' whilstlogging on other processes start including
/sbin/iptables -D INPUT -i ppp0 -j DROP
but they all pass too quickly..

ogmore23
22nd June 2006, 10:54 PM
Once again my box nearly stop so I tried Telnetingin and after the slow start I managedtolook at the running processes.
I killed off the pppd process and the webcm (cgi-bin process) and hey presto the box connected to the internet by restartng the pppd process.

What happens when the box runs out of processids, or doesit just go onfor ever?