linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pppd don't create ppp-network-device
@ 2004-09-10 12:46 p.boehm
  2004-09-10 16:02 ` Bill Unruh
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: p.boehm @ 2004-09-10 12:46 UTC (permalink / raw)
  To: linux-ppp

[-- Attachment #1: Type: text/plain, Size: 3391 bytes --]

Hi,
I'm try to connect to the internet via ppp but it fails because (so I believe)
ppp_generic-module don't create an network-device alias ppp0.

To show that the rest works fine I'll put here the output of pppd/chat from
syslog:

Sep 10 09:55:46 nano pppd[1510]: pppd 2.4.1 started by root, uid 0
Sep 10 09:55:46 nano pppd[1510]: Perms of /dev/ttyS0 are ok, no 'mesg n' neccesary.
Sep 10 09:55:47 nano chat[1511]: abort on (NO CARRIER)
Sep 10 09:55:47 nano chat[1511]: abort on (NO DIALTONE)
Sep 10 09:55:47 nano chat[1511]: abort on (ERROR)
Sep 10 09:55:47 nano chat[1511]: abort on (NO ANSWER)
Sep 10 09:55:47 nano chat[1511]: abort on (Username/Password Incorrect)
Sep 10 09:55:47 nano chat[1511]: send (at^M)
Sep 10 09:55:47 nano chat[1511]: expect (OK)
Sep 10 09:55:48 nano chat[1511]: at^M^M
Sep 10 09:55:48 nano chat[1511]: OK
Sep 10 09:55:48 nano chat[1511]:  -- got it
Sep 10 09:55:48 nano chat[1511]: send (at&d0&c1^M)
Sep 10 09:55:48 nano chat[1511]: expect (OK)
Sep 10 09:55:48 nano chat[1511]: ^M
Sep 10 09:55:48 nano chat[1511]: at&d0&c1^M^M
Sep 10 09:55:48 nano chat[1511]: OK
Sep 10 09:55:48 nano chat[1511]:  -- got it
Sep 10 09:55:48 nano chat[1511]: send (atdt0172229000^M)
Sep 10 09:55:48 nano chat[1511]: expect (name:)
Sep 10 09:55:48 nano chat[1511]: ^M
Sep 10 09:56:02 nano chat[1511]: atdt0172229000^M^M
Sep 10 09:56:02 nano chat[1511]: CONNECT 9600/RLP^M
Sep 10 09:56:03 nano chat[1511]: ^M^M
Sep 10 09:56:03 nano chat[1511]: 491723222009 connected to the D2 Internet Service^M^M
Sep 10 09:56:06 nano chat[1511]: PPP session starting~^?}#@!}!}!} }8}!}$}%\}"}&^?^?^?^?}%}&})
^G#N}'}"}(}"+}"~~^?}#@!}!}"
Sep 10 09:56:09 nano chat[1511]: } }8}!}$}%\}"}&^?^?^?^?}%}&})^G#N}'}"}(}"a^P~~^?}#@!}!}#} }8}!}$}%
\}"}&^?^?^?^?}%}&})^G#N}'}
Sep 10 09:56:15 nano chat[1511]: "}(}"(}9~~^?}#@!}!}$} }8}!}$}%\}"}&^?^?^?^?}%}&})^G#N}'}"}(}"d
<~~^?}#@!}!}%} }8}!}$}%\}
Sep 10 09:56:21 nano chat[1511]: "}&^?^?^?^?}%}&})^G#N}'}"}(}"-5~~^?}#@!}!}&} }8}!}$}%\}"}&^?^?^?
^?}%}&})^G#N}'}"}(}"g'~~^?}#
Sep 10 09:56:24 nano chat[1511]: @!}!}'} }8}!}$}%\}"}&^?^?^?^?}%}&})^G#N}'}"}(}"..~~^?}#@!}!}(}
}8}!}$}%\}"}&^?^?^?^?}%}&})
Sep 10 09:56:30 nano chat[1511]: ^G#N}'}"}(}"ne~~^?}#@!}!})} }8}!}$}%\}"}&^?^?^?^?}%}&})^G#N}'}"}
(}"'l~~^?}#@!}!}*} }8}!}
Sep 10 09:56:33 nano chat[1511]: alarm
Sep 10 09:56:33 nano chat[1511]: Failed
Sep 10 09:56:33 nano pppd[1510]: Connect script failed
Sep 10 09:56:34 nano pppd[1510]: Exit.

During this session lsmod shows that ppp_generic works:

Module         Size Used by
ppp_async 6160 0 (autoclean) (unused)
ppp_generic  15040  1 (autoclean) (ppp_async)
slhc      4432 0 (autoclean) (ppp_generic)
...

... but I miss some lines like:

Sep 10 09:55:47 nano pppd[1510]: using channel 1
Sep 10 09:55:47 nano pppd[1510]: Using interface ppp0
Sep 10 09:55:47 nano pppd[1510]: Connect: ppp0 <--> /dev/ttyS0

And ifconfig shows that NO ppp-device has been created.

I can see in lsmod that slhc (serial line hook?) is not touched. configuration error?
I think slhc is the bridge between /dev/ttyS0 and ppp_generic to create ppp-network-device, right?

Hope someone have an idea for this...
Unfortunately I can't trace kernel-modules, so I'm not be able to detect the error.

pb

PS: I'm running SuSE 7.3 prof. with patched (last two wellknown kernelbugs) kernel 2.4.10-4GB...

(summary as file attached: ppp-failure.txt)
(See attached file: ppp-failure.txt)

[-- Attachment #2: ppp-failure.txt --]
[-- Type: application/octet-stream, Size: 3523 bytes --]

Build connection
=============

# pppd -d call isp

/etc/ppp/peers/isp:
================

ttyS0 19200 crtscts
connect '/usr/sbin/chat -v -f /etc/ppp/chat-isp'

/etc/ppp/chat-isp:
===============

ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "Username/Password Incorrect"
"" "at"
OK "at&d0&c1"
OK "atdt0172229000"
"name:" "^Ua"
"word:" "\qa"
"ispts" "\q^Uppp"
"~-^Uppp-~"

part of /var/log/messages during ppp-session:
===================================

Sep 10 09:55:46 nano pppd[1510]: pppd 2.4.1 started by root, uid 0
Sep 10 09:55:46 nano pppd[1510]: Perms of /dev/ttyS0 are ok, no 'mesg n' neccesary.
Sep 10 09:55:47 nano chat[1511]: abort on (NO CARRIER)
Sep 10 09:55:47 nano chat[1511]: abort on (NO DIALTONE)
Sep 10 09:55:47 nano chat[1511]: abort on (ERROR)
Sep 10 09:55:47 nano chat[1511]: abort on (NO ANSWER)
Sep 10 09:55:47 nano chat[1511]: abort on (Username/Password Incorrect)
Sep 10 09:55:47 nano chat[1511]: send (at^M)
Sep 10 09:55:47 nano chat[1511]: expect (OK)
Sep 10 09:55:48 nano chat[1511]: at^M^M
Sep 10 09:55:48 nano chat[1511]: OK
Sep 10 09:55:48 nano chat[1511]:  -- got it 
Sep 10 09:55:48 nano chat[1511]: send (at&d0&c1^M)
Sep 10 09:55:48 nano chat[1511]: expect (OK)
Sep 10 09:55:48 nano chat[1511]: ^M
Sep 10 09:55:48 nano chat[1511]: at&d0&c1^M^M
Sep 10 09:55:48 nano chat[1511]: OK
Sep 10 09:55:48 nano chat[1511]:  -- got it 
Sep 10 09:55:48 nano chat[1511]: send (atdt0172229000^M)
Sep 10 09:55:48 nano chat[1511]: expect (name:)
Sep 10 09:55:48 nano chat[1511]: ^M
Sep 10 09:56:02 nano chat[1511]: atdt0172229000^M^M
Sep 10 09:56:02 nano chat[1511]: CONNECT 9600/RLP^M
Sep 10 09:56:03 nano chat[1511]: ^M^M
Sep 10 09:56:03 nano chat[1511]: 491723222009 connected to the D2 Internet Service^M^M
Sep 10 09:56:06 nano chat[1511]: PPP session starting~^?}#@!}!}!} }8}!}$}%\}"}&^?^?^?^?}%}&})^G#N}'}"}(}"+}"~~^?}#@!}!}"
Sep 10 09:56:09 nano chat[1511]: } }8}!}$}%\}"}&^?^?^?^?}%}&})^G#N}'}"}(}"a^P~~^?}#@!}!}#} }8}!}$}%\}"}&^?^?^?^?}%}&})^G#N}'}
Sep 10 09:56:15 nano chat[1511]: "}(}"(}9~~^?}#@!}!}$} }8}!}$}%\}"}&^?^?^?^?}%}&})^G#N}'}"}(}"d<~~^?}#@!}!}%} }8}!}$}%\}
Sep 10 09:56:21 nano chat[1511]: "}&^?^?^?^?}%}&})^G#N}'}"}(}"-5~~^?}#@!}!}&} }8}!}$}%\}"}&^?^?^?^?}%}&})^G#N}'}"}(}"g'~~^?}#
Sep 10 09:56:24 nano chat[1511]: @!}!}'} }8}!}$}%\}"}&^?^?^?^?}%}&})^G#N}'}"}(}"..~~^?}#@!}!}(} }8}!}$}%\}"}&^?^?^?^?}%}&})
Sep 10 09:56:30 nano chat[1511]: ^G#N}'}"}(}"ne~~^?}#@!}!})} }8}!}$}%\}"}&^?^?^?^?}%}&})^G#N}'}"}(}"'l~~^?}#@!}!}*} }8}!}
Sep 10 09:56:33 nano chat[1511]: alarm
Sep 10 09:56:33 nano chat[1511]: Failed
Sep 10 09:56:33 nano pppd[1510]: Connect script failed
Sep 10 09:56:34 nano pppd[1510]: Exit.

ppp0 Interface: (ifconfig)
===================

no ppp0 Interface found...

ppp Module: (lsmod)
================

ppp_generic
ppp_async
slhc

/etc/ppp/options: (w/o comments)
===========================

#name <host>
#usehostname
noipdefault
ipcp-accept-local
ipcp-accept-remote
#disconnect "chat -- \d+++\d\c OK ath0 OK"
debug
#kdebug n
#noauth
crtscts
lock
modem
#local
#asyncmap  200a0000
asyncmap 0
#default-asyncmap
#mru 542
#mtu <n>
#netmask 255.255.255.0
#nodetach
lcp-echo-interval 30
lcp-echo-failure 4
lcp-max-configure 60
lcp-restart 2
idle 600
#maxfail 3
noipx
#nodefaultroute
#noreplacedefaultroute
#remotename <n>
#proxyarp
#login
#ms-dns 192.168.1.1
#ms-dns 192.168.1.2
#ms-wins 192.168.1.50
#ms-wins 192.168.1.51

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-09-15 14:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-10 12:46 pppd don't create ppp-network-device p.boehm
2004-09-10 16:02 ` Bill Unruh
2004-09-15 14:14 ` p.boehm
2004-09-15 14:33 ` carlsonj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).