On Sun, 27 Aug 2006 14:55:11 +1200
Christopher Sawtell <[EMAIL PROTECTED]> wrote:
I have just done some tests. My son's IBM T20 laptop has a modem which uses the
ltmodem driver (but he has windows installed). I have an account at ihug. I
have a mepis 6.0 live cd. So I booted it in the T20 and gave it a whirl.
Now I stress that the ltmodem driver operates a lot of modems, and they are not
all the same. However this is as close to Alan's environment as I could get.
Anyway, lspci -nv reports the modem as follows:
0000:00:03.1 0700: 115d:000c (prog-if 02)
Subsystem: 8086:2408
Flags: medium devsel, IRQ 11
I/O ports at 1840 [size=8]
Memory at ... (probably the rest is irrelevant)
So after inserting ltmodem and ltserial, the kernel creates /dev/ttyLTM0 and
makes a nice symlink called /dev/modem. So far so good.
I then fired up kppp and made only three changes:
1. inserted the ihug phone number into the Accounts section
2. typed my username in
3. typed my password in
I then clicked "connect" and it dialled. It made a connection and then died
with an error 16 (which i think is the same error Alan got when using wvdial.)
It is an error generated by pppd and means that the modem hung up. Clever huh?
kppp then offered a log file, but couldn't generate one because debug option
was not set. It then offered to set the debug option. I told it to do so and
tried again. This time it started properly (albeit at 33 kbps, but I don't
think its ever done faster than that). Great, an internet connection. I did it
a couple of times, and it worked each time.
To see what options ppp was starting with I did
ps ax|grep pppd
and it told me:
pppd 460800 -detach call kppp-options crtscts default route usepeerdns user
nickr debug
Of course /etc/ppp/options is also used, and its contents are:
asyncmap 0
noauth
crtscts
lock
hide-password
modem
noipdefault
passive
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx
The contents of /etc/ppp/peers/kppp-options (which is also relevant according
to the above) is one commented line:
#noauth
The kppp log shows that the only initialisation sent to the modem is
ATZ
ATM1L1
ATDT (then ihug's number)
Oh and I left kppp authentication set to pap/chap, the kernel log shows that
pap succeeded.
Not sure what else i can do but say that it works here under those conditions.