rebooting ADSL modem

Zbigniew Koziol zkoziol-Zd07PnzKK1IAvxtiuMwx3w at public.gmane.org
Thu Jan 27 00:04:47 UTC 2005


Lennart Sorensen wrote:

>>Actually, it is possible to connect to my model by using console and eg 
>>minicom. Once connected, one needs to enter command "restart" to reboot 
>>the modem.
>>
>>I strongly suspect that that could be automated, but no wise idea comes 
>>to my mind how that could be done. Idea ideas?
> 
> 
> chat or expect talking to the serial port with a script.  chat is
> especially good at it.

Peter P. suggested expect as well.

Thanks to both. It works for me with expect (nice to have a glimpse to 
expect). Though this is a bit ugly way. Now I learned also that it 
should be possible to do this by using perl. I leave that as a next 
subject of my homework.

zb.

-- 
Zbigniew Koziol, SoftQuake^(tm) Open Source Business Solutions
Web Development, Linux, Web Mail Fax Voice Servers, Networking
Consultations, Innovative Technologies Tel/Fax: 1-416-530-2780
Toronto,  Canada,  http://www.softquake.ca,  info-lcEyp1+e+UdAFePFGvp55w at public.gmane.org
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list