[ltp] Problem connecting to ISP with TP600
Tod Harter
linux-thinkpad@www.bm-soft.com
Tue, 18 Dec 2001 16:46:59 -0500
On Tuesday 18 December 2001 15:30, you wrote:
> >>>>>>>>>>>>>>>>>> Message d'origine <<<<<<<<<<<<<<<<<<
>
> Le 18/12/2001, ŕ 20:16:19 h, Bernard DEBREIL <bdebreil@free.fr> vous a
>
> écrit sur le sujet suivant [ltp] Problem connecting to ISP with TP600:
> > My config must be wrong somewhere, or else, maybe,
> > there is a problem with my localhost or loopback device... but I don't
> > know much about it.
>
> I am not replying to my own message... only adding this. If I think
> that I may have a problem with my loopback device, or localhost, that
> is because, upon booting, my /var/log/messages says this :
>
> modprobe: can't locate module localhost.
Uhhhh, what do you get if you do /sbin/ifconfig (with no arguments), you
should have a section like
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:13493 errors:0 dropped:0 overruns:0 frame:0
TX packets:13493 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10459494 (9.9 Mb) TX bytes:10459494 (9.9 Mb)
and you should also have an entry like
127.0.0.1 localhost.localdomain localhost
in /etc/hosts
lack of those two things could definitely cause problems. Also you might want
to try "ifdown lo" and "ifup lo", those commands SHOULD tear down and bring
up the lo interface, respectively. Lack of a local loopback interface, esp if
no other interface is up can cause some subtle and ugly problems. For
instance I'd be surprised if X would work properly (if at all) without a
loopback interface.
>
> I may have carelessy removed something that I don't remember about.
> However, I must say that my connexion problems did exist even before I
> had that warning about localhost.
>
> > Upon connexion, here is what happens, as written in my
> > /var/log/messages
> > file :
> >
> > ifup pppd started for ppp0 at /dev/ttyS1 at 115200
> > ppp generic driver version 2.4.1
> > pppd 2.4.1 started by root uid0
> > Wvdial Internet dialer version 1.41
> > Initializing modem
> > sending ATZ
> > ATZ
> > OK
> > Sending ATQ0 V1 E1 S0=0 &c1&d2 S11=55+FCLASS=0
> > ...
> > ...
> > sending ATZ
> > ATZ
> > modem initialized
> > sending atdt 0860......
> > waiting for carrier
> > atdt 0860....
> > CONNECT 40000 ECLC
> > Carrier detected
> > Waiting for prompt
> > dial.1.rt.teaser.net
> > login:
> > looks like a login prompt
> > sending [my login]
> > password:
> > looks like a password prompt
> > sending password
> > Entering PPP mode
> > *Async interface address is unnumbered {Loopback1} - Your IP address
> > is
> > 213.91..... mtu is 1500 bytes µµµhead **er compression will match your
> > system
> >
> > Wv dial: looks like a welcome message
> > Serial connexion established
> > Using interface ppp0
> > Connect: ppp0 <--> /dev/ttyS1
> >
> > all this above, within tenth of a seconds from line to line.
> >
> > and then, about 30 seconds with nothing... then :
> >
> > LCP timeout sending Config Requests
> > Connection terminated
> > Hangup
> > Exit
> >
> > Thanks in advance for any helpful advice
> >
> >
> >
> >
> > ----- The Linux ThinkPad mailing list -----
> > The linux-thinkpad mailing list home page is at:
> > http://www.bm-soft.com/~bm/tp_mailing.html
>
> ----- The Linux ThinkPad mailing list -----
> The linux-thinkpad mailing list home page is at:
> http://www.bm-soft.com/~bm/tp_mailing.html
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html