
Edit (as root) /etc/ppp/options and uncomment the "# passive" line.. passive Enables the "passive" option in the LCP. With this option, pppd will attempt to initiate a connection; if no reply is received from the peer, pppd will then just wait passively for a valid LCP packet from the peer, instead of exiting, as it would with‐ out this option. On 12/03/2008, Shannon Skinner <shannonsnz(a)gmail.com> wrote:
Hi
I've come across an old USB dialup modem and I'm a bit stuck getting it connected to an ISP. I'm trying to get it going so I can give it to my parents and switch them fully over to linux.
I'm currently testing it on my Ubuntu 7.10 machine with my parents dialup account with Kiwi Online (KOL) and the modem is recognised as /dev/ttyACM0.
I've tried wvdial and gnome-ppp, and it seemed to dial okay with those but it would lose the connection straight away and re-dial endlessly.
The closest I've got is setting up a chat account with pppconfig and then using pon to connect. This is the results from plog when using pon:
Mar 11 20:58:30 lobo pppd[7062]: pppd 2.4.4 started by shannon, uid 1000 Mar 11 20:58:31 lobo chat[7064]: abort on (BUSY) Mar 11 20:58:31 lobo chat[7064]: abort on (NO CARRIER) Mar 11 20:58:31 lobo chat[7064]: abort on (VOICE) Mar 11 20:58:31 lobo chat[7064]: abort on (NO DIALTONE) Mar 11 20:58:31 lobo chat[7064]: abort on (NO DIAL TONE) Mar 11 20:58:31 lobo chat[7064]: abort on (NO ANSWER) Mar 11 20:58:31 lobo chat[7064]: abort on (DELAYED) Mar 11 20:58:31 lobo chat[7064]: send (ATZ^M) Mar 11 20:58:31 lobo chat[7064]: expect (OK) Mar 11 20:58:31 lobo chat[7064]: ATZ^M^M Mar 11 20:58:31 lobo chat[7064]: OK Mar 11 20:58:31 lobo chat[7064]: -- got it Mar 11 20:58:31 lobo chat[7064]: send (ATDT087305656^M) Mar 11 20:58:32 lobo chat[7064]: expect (CONNECT) Mar 11 20:58:32 lobo chat[7064]: ^M Mar 11 20:58:52 lobo chat[7064]: ATDT087305656^M^M Mar 11 20:58:52 lobo chat[7064]: CONNECT Mar 11 20:58:52 lobo chat[7064]: -- got it Mar 11 20:58:52 lobo chat[7064]: send (^M) Mar 11 20:58:52 lobo chat[7064]: expect (ogin:) Mar 11 20:58:52 lobo chat[7064]: 115200^M Mar 11 20:58:53 lobo chat[7064]: ^I^M Mar 11 20:58:53 lobo chat[7064]: login: Mar 11 20:58:53 lobo chat[7064]: -- got it Mar 11 20:58:53 lobo chat[7064]: send ([username]^M) Mar 11 20:58:53 lobo chat[7064]: expect (ssword:) Mar 11 20:58:53 lobo chat[7064]: [username]^M Mar 11 20:58:53 lobo chat[7064]: Password: Mar 11 20:58:53 lobo chat[7064]: -- got it Mar 11 20:58:53 lobo chat[7064]: send (??????) Mar 11 20:58:53 lobo chat[7064]: send (\d) Mar 11 20:58:54 lobo pppd[7062]: Serial connection established. Mar 11 20:58:54 lobo pppd[7062]: using channel 15 Mar 11 20:58:54 lobo pppd[7062]: Using interface ppp0 Mar 11 20:58:54 lobo pppd[7062]: Connect: ppp0 <--> /dev/ttyACM0 Mar 11 20:58:55 lobo pppd[7062]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x87f8fe7b> <pcomp> <accomp>] Mar 11 20:59:25 lobo pppd[7062]: LCP: timeout sending Config-Requests Mar 11 20:59:25 lobo pppd[7062]: Connection terminated. Mar 11 20:59:27 lobo pppd[7062]: Modem hangup Mar 11 20:59:27 lobo pppd[7062]: Exit.
So it seems to connect alright but then times out on sending some config stuff?
ifconfig will show my lo and eth0 connections, and I can bring up the ppp0 connection (ifconfig ppp0 up) for the 20 or 30 seconds it is connected. I tried taking down eth0 and unplugging network cables in case of any interference (not that there should be I guess, DNS maybe but I don't know!)
I only get about one night a week to "play" with this stuff, so it could take me a while to figure out on my own. I'm hoping that since I can actually make a connection, it should be something simple to get going. Any suggestions?
Cheers
Shannon
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug