$5 for a working solution! |
[Jun. 21st, 2001|11:29 pm]
Brad Fitzpatrick
|
Problem: Trying to get a PPP net connection up under Linux, over a Nokia phone.
Details: Nokia 6190 phone. Datasuite cable phone --> serial cable Datasuite software is useless (Win95 only... not NT/2000)
gnokii lets me setup a /dev/gnokii which I can treat as a modem. This works. I can call the UW modem pool and stuff.
Now.... how do I setup all that /etc/ppp/* crap so I authenticate? In /var/log/messages I see a connection come up for a half second, then die. I assume my authentication is failing, but I don't know why.
Also, once it's up, then what? How do I get an IP address? How is that negotiated? I know nothing about PPP. Do I get a /dev/ppp0 or something?
Prize I'll paypal the winner $5, or take you out to Subway if you're either in Seattle, or between here and Ohio.
I'd figure this out myself, but I'm so sick of dealing with the laptop, and I just want everything to work.
I bought Microsoft Streets 2001 today ... very neat program. Cheap, too. $10 after rebate.
Tired... only 4.5 hours of sleep last night, but I've been active all day. It's totally time to crash. I just hope I can sleep without itchy pseudo-sunburn keeping me up.
/var/log/messages Jun 21 22:39:56 lapwarmer pppd[5784]: pppd 2.4.1 started by root, uid 0 Jun 21 22:39:57 lapwarmer chat[5785]: abort on (BUSY) Jun 21 22:39:57 lapwarmer chat[5785]: abort on (ERROR) Jun 21 22:39:57 lapwarmer chat[5785]: abort on (NO CARRIER) Jun 21 22:39:57 lapwarmer chat[5785]: send (AT^M) Jun 21 22:39:57 lapwarmer chat[5785]: expect (OK) Jun 21 22:39:57 lapwarmer chat[5785]: AT Jun 21 22:39:57 lapwarmer chat[5785]: ^M Jun 21 22:39:57 lapwarmer chat[5785]: OK Jun 21 22:39:57 lapwarmer chat[5785]: -- got it Jun 21 22:39:57 lapwarmer chat[5785]: send (ATD2068125577^M) Jun 21 22:39:57 lapwarmer chat[5785]: expect (CONNECT) Jun 21 22:39:57 lapwarmer chat[5785]: ^M Jun 21 22:39:57 lapwarmer chat[5785]: ATD2068125577 Jun 21 22:39:57 lapwarmer chat[5785]: ^M Jun 21 22:40:06 lapwarmer chat[5785]: ^M Jun 21 22:40:06 lapwarmer chat[5785]: CARRIER^M Jun 21 22:40:16 lapwarmer chat[5785]: ^M Jun 21 22:40:16 lapwarmer chat[5785]: CONNECT Jun 21 22:40:16 lapwarmer chat[5785]: -- got it Jun 21 22:40:16 lapwarmer pppd[5784]: Serial connection established. Jun 21 22:40:17 lapwarmer pppd[5784]: Exit. Jun 21 22:50:31 lapwarmer pppd[5792]: pppd 2.4.1 started by root, uid 0 Jun 21 22:50:32 lapwarmer chat[5793]: abort on (BUSY) Jun 21 22:50:32 lapwarmer chat[5793]: abort on (ERROR) Jun 21 22:50:32 lapwarmer chat[5793]: abort on (NO CARRIER) Jun 21 22:50:32 lapwarmer chat[5793]: send (AT^M) Jun 21 22:50:32 lapwarmer chat[5793]: expect (OK) Jun 21 22:50:32 lapwarmer chat[5793]: AT Jun 21 22:50:32 lapwarmer chat[5793]: ^M Jun 21 22:50:32 lapwarmer chat[5793]: OK Jun 21 22:50:32 lapwarmer chat[5793]: -- got it Jun 21 22:50:32 lapwarmer chat[5793]: send (ATD2068125577^M) Jun 21 22:50:33 lapwarmer chat[5793]: expect (CONNECT) Jun 21 22:50:33 lapwarmer chat[5793]: ^M Jun 21 22:50:33 lapwarmer chat[5793]: ATD2068125577 Jun 21 22:50:33 lapwarmer chat[5793]: ^M Jun 21 22:50:51 lapwarmer chat[5793]: ^M Jun 21 22:50:51 lapwarmer chat[5793]: CONNECT Jun 21 22:50:51 lapwarmer chat[5793]: -- got it Jun 21 22:50:51 lapwarmer pppd[5792]: Serial connection established. Jun 21 22:50:52 lapwarmer pppd[5792]: Exit.
/etc/ppp/peers/gnokii /dev/gnokii 115200 modem crtscts defaultroute connect 'chat -v ABORT BUSY ABORT ERROR ABORT "NO CARRIER" "" AT OK-AT-OK ATD2068125577 CONNECT' user bradfitz noauth mtu 296 debug
/etc/ppp/pap-secrets # OUTBOUND connections bradfitz * MYPASSWORD |
|