[lug] Newbie tries to make laptop modem work

D. Stimits stimits at idcomm.com
Wed Dec 5 15:45:41 MST 2001


Glenn Murray wrote:
> 
> I am able to report limited success.  Because I couldn't find a
> match for my kernel image at http://www.heby.de/ltmodem I installed
> the 2.2.19 kernel image, kernel headers, and pcmcia modules.
> I fixed LILO.  It boots, but now my cdrom is broken:
> 
> $ sudo mount /cdrom
> mount: the kernel does not recognize /dev/cdrom as a block device
>        (maybe `insmod driver'?)
> 
> What's the deal here?  It looks like I'm supposed to insert some
> module---anybody know which one?

Your /cdrom is probably not valid. You should try explicitly naming the
cdrom device and the mount point as a test. mount -t iso9660 /dev/cdrom
/wherever. And also run "ls -l /dev/cdrom" and see if this symbolic link
points at the real device (the *correct* real device).

> 
> I then downloaded the matching ltmodem-2.2.19 which led to the
> module dependency problems mentioned earlier in the thread, so
> I downloaded the source.  The build-deb script didn't work, but
> the generic one did.  The install script was in the wrong place
> and the autoload script was misnamed, but eventually I got the
> modem driver compiled and installed.  Now I come to the success
> part:  I was able to dial into the first computer and login.
> However, I was unable to establish PPP.  My wvdial experience
> is below, as is my kppp one.
> 
> With wvdial it does the stuff you see, and then just hangs---I
> can't ping, telnet, etc.  I also put the concurrent /var/log/messages
> stuff below.  I can't see what's wrong.
> 
> With kppp, I make the connection and get a little terminal window
> with a "Continue" button.  In the window I enter my username and
> password.  At the next prompt I type "ppp" and return, and then
> hit the "Continue" button.  I'm supposed to get PPP then, but as
> you see from the log below I get a string of garbage, in chunks.
> 
> As usual, any help is greatly appreciated.
> 
> Glenn Murray
> www.mines.edu/~gmurray/public_html/Welcome.html
> 
> glenn at puck:glenn/$ sudo wvdial
> --> WvDial: Internet dialer version 1.41
> --> Initializing modem.
> --> Sending: ATZ
> ATZ
> OK
> --> Modem initialized.
> --> Sending: ATDT 3033842170
> --> Waiting for carrier.
> ATDT 3033842170
> CONNECT 28800 V42bis
> --> Carrier detected.  Waiting for prompt.
> Colorado School of Mines - AUTHORIZED USE ONLY
> Please enter your slate username/password for validation.
> User Access Verification
> Username:
> --> Looks like a login prompt.
> --> Sending: gmurray
> gmurray
> Password:
> --> Looks like a password prompt.
> --> Sending: (password)
> bunter>
> --> Hmm... a prompt.  Sending "ppp".
> ppp
> Entering PPP mode.
> Async interface address is unnumbered (Ethernet0)
> Your IP address is 138.67.57.36. MTU is 1500 bytes
> Header compression will match your system.
> ~
> --> Looks like a welcome message.
> --> Starting pppd at Tue Dec  4 21:28:34 2001
> (it hangs here)
> 
> Here's what's in /var/log/messages:
> Dec  4 21:28:34 puck pppd[529]: pppd 2.3.11 started by root, uid 0
> Dec  4 21:28:34 puck pppd[529]: Using interface ppp0
> Dec  4 21:28:34 puck pppd[529]: Connect: ppp0 <--> /dev/ttyLT0
> Dec  4 21:28:35 puck kernel: PPP BSD Compression module registered
> Dec  4 21:28:35 puck kernel: PPP Deflate Compression module registered
> Dec  4 21:28:35 puck pppd[529]: found interface eth0 for proxy arp
> Dec  4 21:28:35 puck pppd[529]: local  IP address 138.67.57.36
> Dec  4 21:28:35 puck pppd[529]: remote IP address 138.67.1.16


If you just run wvdial at a prompt and not background it, it will appear
to just sit there once you are connected; the connection dies when you
kill the prompt program. So run it in the background instead:
wvdial whatever &
(notice ampersand '&')

Now if you still can't get in/out, it means you have not attached a
route to the device, preferably a default route. Try checking the output
of "route" both before and after the connection. Don't know kppp, can't
comment on it.

D. Stimits, stimits at idcomm.com

> 
> KPPP log:
> OK
> ATM1L1
> OK
> ATDT303-384-2170
> CONNECT 28800 V42bis
> 
> Colorado School of Mines - AUTHORIZED USE ONLY
> 
> Please enter your slate username/password for validation.
> 
> User Access Verification
> 
> Username: gmurray
> Password:
> 
> bunter>ppp
> Entering PPP mode.
> Async interface address is unnumbered (Ethernet0)
> Your IP address is 138.67.57.35. MTU is 1500 bytes
> Header compression will match your system.
> 
> ~}#@!}!}!} }4}"}&} }*} } }%}&bCW}'}"}(}"}-h~}#@!}!}"} }4}"}&} }*} } }%}&bCW}'}"}(}"GU~}#@!}!}#} }4}"}&} }*} } }%}&bCW}'}"}(}"F~}#@!}!}$} }4}"}&} }*} } }%}&bCW}'}"}(}"B&~}#@!}!}%} }4}"}&} }*} } }%}&bCW}'}"}(}"}+5~}#@!}!}&} }4}"}&} }*} } }%}&bCW}'}"}(}"A~}#@!}!}'} }4}"}&} }*} } }%}&bCW}'}"}(}"};~
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug



More information about the LUG mailing list