Re: Canīt remove Kernel Modules
David Wright wrote:
>> Another problem that has to do with the one above is the following...
>>
>> When I use ppp (regardless wether as a module or "compiled in") the
>> first ppp connection runs perfectly well, but the second established ppp
>> connection terminates after several seconds.
>> Then my ppp.log file looks as follows (IP adresses removed):
>>
>> pppd[6278]: Cannot determine ethernet address for proxy ARP
>> pppd[6278]: local IP address ##############
>> pppd[6278]: remote IP address ##############
>> pppd[6278]: sent [LCP EchoReq id=0x1 magic=0x81fa6952]
>> pppd[6278]: Hangup (SIGHUP)
>> pppd[6278]: Modem hangup
>> pppd[6278]: Connection terminated.
>> pppd[6278]: Exit.
>
> My reaction to this would be to look at the logs at the other end.
> If that isn't possible, you could try adding debug to your options
> and watching the LCP dialogue. BTW don't strip the times from your
> logs. Is there a time interval between the 3rd and 4th lines you've
> quoted, for example.
--the debug option is set and that is the output :
Jan 27 15:46:44 HQ pppd[209]: pppd 2.3.5 started by root, uid 0
Jan 27 15:46:45 HQ chat[210]: timeout set to 60 seconds
Jan 27 15:46:45 HQ chat[210]: abort on (NO CARRIER)
Jan 27 15:46:45 HQ chat[210]: abort on (BUSY)
Jan 27 15:46:45 HQ chat[210]: abort on (NO DIALTONE)
Jan 27 15:46:45 HQ chat[210]: abort on (ERROR)
Jan 27 15:46:45 HQ chat[210]: send (++ATZ^M)
Jan 27 15:46:46 HQ chat[210]: expect (OK)
Jan 27 15:46:46 HQ chat[210]: ^M
Jan 27 15:46:46 HQ chat[210]: OK
Jan 27 15:46:46 HQ chat[210]: -- got it
Jan 27 15:46:46 HQ chat[210]: send (ATM0^M)
Jan 27 15:46:46 HQ chat[210]: expect (OK)
Jan 27 15:46:46 HQ chat[210]: ^M
Jan 27 15:46:46 HQ chat[210]: ATZ^M^M
Jan 27 15:46:46 HQ chat[210]: OK
Jan 27 15:46:46 HQ chat[210]: -- got it
Jan 27 15:46:46 HQ chat[210]: send (ATDT#######^M)
Jan 27 15:46:46 HQ chat[210]: expect (CONNECT)
Jan 27 15:46:46 HQ chat[210]: ^M
Jan 27 15:46:46 HQ chat[210]: ATM0^M^M
Jan 27 15:46:46 HQ chat[210]: OK^M
Jan 27 15:47:14 HQ chat[210]: ATDT6008666^M^M
Jan 27 15:47:14 HQ chat[210]: CONNECT
Jan 27 15:47:14 HQ chat[210]: -- got it
Jan 27 15:47:14 HQ chat[210]: send (^M)
Jan 27 15:47:14 HQ pppd[209]: Serial connection established.
Jan 27 15:47:15 HQ pppd[209]: Using interface ppp0
Jan 27 15:47:15 HQ pppd[209]: Connect: ppp0 <--> /dev/modem
Jan 27 15:47:15 HQ pppd[209]: sent [LCP ConfReq id=0x1 <magic
0x954fb388> <pcomp>
<accomp>]
Jan 27 15:47:15 HQ pppd[209]: rcvd [LCP ConfReq id=0x1 < 00 04 00 00>
<mru 1524>
<asyncmap 0xa0000> <auth pap> <pcomp> <accomp> < 11 04 05 f4> < 13 09 03
00 c0 7b
6f c1 ed>]
Jan 27 15:47:15 HQ pppd[209]: sent [LCP ConfRej id=0x1 < 00 04 00 00> <
11 04 05
f4> < 13 09 03 00 c0 7b 6f c1 ed>]
Jan 27 15:47:15 HQ pppd[209]: rcvd [LCP ConfAck id=0x1 <magic
0x954fb388> <pcomp>
<accomp>]
Jan 27 15:47:15 HQ pppd[209]: rcvd [LCP ConfReq id=0x2 <mru 1524>
<asyncmap
0xa0000> <auth pap> <pcomp> <accomp>]
Jan 27 15:47:15 HQ pppd[209]: sent [LCP ConfAck id=0x2 <mru 1524>
<asyncmap
0xa0000> <auth pap> <pcomp> <accomp>]
Jan 27 15:47:15 HQ pppd[209]: sent [PAP AuthReq id=0x1
user="############"
password="##############"]
Jan 27 15:47:16 HQ pppd[209]: rcvd [PAP AuthAck id=0x1 ""]
Jan 27 15:47:16 HQ pppd[209]: Remote message:
Jan 27 15:47:16 HQ pppd[209]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>
<compress
VJ 0f 01>]
Jan 27 15:47:16 HQ pppd[209]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f
01> <addr
195.158.131.195>]
Jan 27 15:47:16 HQ pppd[209]: sent [IPCP ConfAck id=0x1 <compress VJ 0f
01> <addr
195.158.131.195>]
Jan 27 15:47:16 HQ pppd[209]: rcvd [IPCP ConfNak id=0x1 <addr
134.99.138.64>]
Jan 27 15:47:16 HQ pppd[209]: sent [IPCP ConfReq id=0x2 <addr
134.99.138.64>
<compress VJ 0f 01>]
Jan 27 15:47:17 HQ pppd[209]: rcvd [IPCP ConfAck id=0x2 <addr
134.99.138.64>
<compress VJ 0f 01>]
Jan 27 15:47:17 HQ pppd[209]: local IP address 134.99.138.64
Jan 27 15:47:17 HQ pppd[209]: remote IP address 195.158.131.195
Jan 27 15:48:19 HQ pppd[209]: Hangup (SIGHUP)
Jan 27 15:48:19 HQ pppd[209]: Modem hangup
Jan 27 15:48:19 HQ pppd[209]: Connection terminated.
Jan 27 15:48:19 HQ pppd[209]: Exit.
--my 'options' :
connect '/usr/sbin/chat -v -f /etc/ppp/ppp.chat'
/dev/modem
115200
defaultroute
noipdefault
debug
crtscts
lock
modem
user #########
--my 'ppp.chat' :
TIMEOUT 60
ABORT "NO CARRIER"
ABORT BUSY
ABORT "NO DIALTONE"
ABORT ERROR
"" ++ATZ
OK ATM0
OK ATDT#######
CONNECT ""
--my 'ppp.up' : (to start the connection)
localip=0.0.0.0
remoteip=
device=/dev/modem
pppflags="115200 modem debug defaultroute"
/usr/sbin/pppd lock connect \
'/usr/sbin/chat -v -f /etc/ppp/ppp.chat' \
$device $pppflags $localip:$remoteip
--'host.conf' is configured as
order hosts,bind
multi on
--two DNS server are set in /etc/resolv.conf
The Problem is that the first established connection is o.k. but when I
kill the
pppd and try to establish another one it stops after some seconds with
the
messages as shown above.
Originally I configured ppp with 'pppconfig' which was very easy and
worked
without problems. Since 1999 my ISP moved to another carrier, so the
telephon
number changed and maybe more (I have to ask for other changes.) However
I am
confused to see my first connection being fully functional but later
ones do not
- so I believe it has something to do with my machine...
I configured ppp manually by the files I´ve shown above but the symptom
remains.
When I wrote my first email I thought it has something to do with ppp as
a module
so I tried to use it built in - but it was just a thought...
The LCP messages seem to be o.k. for me and I always get a IP adress. I
don´t
know what causes 'Hangup (SIGHUP)'...
Reply to: