Do you think that firing up gnome-ppp on a Thinkpad T30 laptop would work at the first try? Of course not... The problem seems to be in the telephone number to call, that badly interact with SmartLink 56k modem. Here's the story, in case you'll find yourself in the same situation.
The modem on the T30 is:
$ lspci | grep Modemthat is a SmartLink modem, supported well by sl-modem-deamon package and by alsa:
00:1f.6 Modem: Intel Corporation 82801CA/CAM AC'97 Modem Controller (rev 02)
$ ps -eo command | grep slmRemember to edit /etc/default/sl-modem-daemon file and set the right country for you.
/usr/sbin/slmodemd --alsa -c ITALY modem:1
Now, I installed gnome-ppp (just to try an easy tool), that uses wvdial under the hood.
wvdial auto-detection utility works quite well, and the found Init2 string:
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0works well if the number to call is a local one (I tried it before, and worked). Since Teleconomy provides a state-wide number (702...) with the above string the connection will fail with a sad:
NO CARRIERBut there is a fix: first, the Init1 should be ATX3 (but it seems to be enbedded in the one below), and the last arguments must be changed (well, I think it has something to do with line speed (MS=34 will result in a 33.6k line) or protocol, but don't care too much as long as it works) resulting in this Init2:
No Carrier! Trying again.
ATX3Q0 V1 E1 S0=0 &C1 &D2 +MS=90And remember to select the "stupid mode" in gnome-ppp, and you'll have a nice:
--> Initializing modem.I'll move to ppp soon, since gnome-ppp seems to not understand "fsck, reconnect when disconnect, dude" option.
--> Sending: ATX3
ATX3
OK
--> Sending: ATX3Q0 V1 E1 S0=0 &C1 &D2 +MS=90
ATX3Q0 V1 E1 S0=0 &C1 &D2 +MS=90
OK
Modem initialized.
Sending: ATM1L3DT7020187187
Waiting for carrier.
ATM1L3DT7020187187
CONNECT 52000
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Fri Dec 26 19:12:23 2008
--> Pid of pppd: 4870
--> Using interface ppp0
--> local IP address ......
How nice is to be in the 21st century...
No comments:
Post a Comment