Article View: comp.os.linux.setup
Article #312ppp and chat permanent connection
From: Glenn Powell
Date: Mon, 30 Sep 1996 00:00
Date: Mon, 30 Sep 1996 00:00
29 lines
1781 bytes
1781 bytes
Can someone help me with this script that I am writing to keep my modem connected to my ISP. Please note that 200.200.200.200 is the number that my ISP gives me apon connection. Here it is ( sleep 20 ; while : ; do /usr/sbin/pppd connect ' /usr/sbin/chat -f ./login.txt ' -detatch lcp-echo-interval 30 lcp-echo-failure 4 :200.200.200.200 /dev/cua0 38400 ; sleep 30 ; done ) & my chat script login.txt is as follows " " +++ " " ATH0 " ATZ OK ATDT 1234567 ogin: username word: pword " I am runnig Linux 2.0.18 with a 486-DX4-120 with 32mb ram with the slip and ppp modules compiled into the kernel. I usually use DIP to connect but it is not too good at reconnecting the modem. When this script is run the modem ON HOOK light flashes temporarly and the script keeps running without actually doing anything. If anyone can help me with this could a it be mailed to me at ma.eng@mailbox.uq.oz.au Thankyou in advance Glenn Powell
Technical Details
Message-ID:
<324F275E.7C806654@mailbox.uq.oz.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,a2023bcd1861f0b5,start X-Google-Attributes: gid1103af,public X-Google-Thread: 10669a,a2023bcd1861f0b5,start X-Google-Attributes: gid10669a,public X-Google-Thread: f9b51,a2023bcd1861f0b5,start X-Google-Attributes: gidf9b51,public X-Google-Thread: 102983,a2023bcd1861f0b5,start X-Google-Attributes: gid102983,public From: Glenn Powell <ma.eng@mailbox.uq.oz.au> Subject: ppp and chat permanent connection Date: 1996/09/30 Message-ID: <324F275E.7C806654@mailbox.uq.oz.au> X-Deja-AN: 186133718 content-type: text/plain; charset=us-ascii organization: McIntyre And Associates mime-version: 1.0 newsgroups: comp.os.linux.setup,comp.os.linux.misc,comp.os.linux.networking,aus.computers.linux x-mailer: Mozilla 3.0 (X11; I; Linux 2.0.18 i486)