Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pppd line discipline
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
amightywind
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2004
Posts: 137
Location: Andover, MN USA

PostPosted: Thu Jun 03, 2004 1:49 pm    Post subject: pppd line discipline Reply with quote

Everyone,

I installed pppd-2.4.1 from the Gentoo 2004.1 CD. I configured it for
a US Robotics PCI modem. I tried to connect to my ISP, the same
configuration as my iMac running YellowDog, and get the following messages from syslog:

Jun 1 15:24:46 ion pppd[2148]: pppd 2.4.1 started by root, uid 0
Jun 1 15:24:46 ion pppd[2148]: Using interface ppp0
Jun 1 15:24:46 ion pppd[2148]: local IP address 10.64.64.64
Jun 1 15:25:07 ion pppd[2148]: Starting link
Jun 1 15:25:08 ion chat[2175]: abort on (BUSY)
Jun 1 15:25:08 ion chat[2175]: abort on (ERROR)
Jun 1 15:25:08 ion chat[2175]: abort on (NO ANSWER)
Jun 1 15:25:08 ion chat[2175]: abort on (NO CARRIER)
Jun 1 15:25:08 ion chat[2175]: abort on (NO DIALTONE)
Jun 1 15:25:08 ion chat[2175]: abort on (Invalid Login)
Jun 1 15:25:08 ion chat[2175]: abort on (Login incorrect)
Jun 1 15:25:08 ion chat[2175]: send (ATZ^M)
Jun 1 15:25:08 ion chat[2175]: expect (OK)
Jun 1 15:25:08 ion chat[2175]: ATZ^M^M
Jun 1 15:25:08 ion chat[2175]: OK
Jun 1 15:25:08 ion chat[2175]: -- got it
Jun 1 15:25:08 ion chat[2175]: send (ATDT4404032^M)
Jun 1 15:25:09 ion chat[2175]: expect (CONNECT)
Jun 1 15:25:09 ion chat[2175]: ^M
Jun 1 15:25:42 ion chat[2175]: ATDT4404032^M^M
Jun 1 15:25:42 ion chat[2175]: CONNECT
Jun 1 15:25:42 ion chat[2175]: -- got it
Jun 1 15:25:42 ion chat[2175]: send (^M)
Jun 1 15:25:42 ion chat[2175]: timeout set to 5 seconds
Jun 1 15:25:42 ion chat[2175]: expect (~)
Jun 1 15:25:42 ion chat[2175]: 28800/ARQ/V34/LAPM/V42BIS^M
Jun 1 15:25:42 ion chat[2175]: ^M
Jun 1 15:25:42 ion chat[2175]:
Jun 1 15:25:42 ion chat[2175]: Level 3 Comm nas15.kac1 UQKT2^M
Jun 1 15:25:42 ion chat[2175]: ^M
Jun 1 15:25:42 ion chat[2175]: ^M
Jun 1 15:25:47 ion chat[2175]: alarm
Jun 1 15:25:47 ion chat[2175]: send (^M)
Jun 1 15:25:47 ion chat[2175]: send (^M)
Jun 1 15:25:47 ion pppd[2148]: Serial connection established.
Jun 1 15:25:47 ion pppd[2148]: Couldn't set tty to PPP discipline: Invalid argument
Jun 1 15:25:47 ion pppd[2148]: Hangup (SIGHUP)
Jun 1 15:25:52 ion pppd[2148]: Starting link
Jun 1 15:25:53 ion chat[2177]: abort on (BUSY)
Jun 1 15:25:53 ion chat[2177]: abort on (ERROR)
Jun 1 15:25:53 ion chat[2177]: abort on (NO ANSWER)
Jun 1 15:25:53 ion chat[2177]: abort on (NO CARRIER)
Jun 1 15:25:53 ion chat[2177]: abort on (NO DIALTONE)
Jun 1 15:25:53 ion chat[2177]: abort on (Invalid Login)
Jun 1 15:25:53 ion chat[2177]: abort on (Login incorrect)
Jun 1 15:25:53 ion chat[2177]: send (ATZ^M)
Jun 1 15:25:53 ion chat[2177]: expect (OK)
Jun 1 15:25:54 ion chat[2177]: ATZ^M^M
Jun 1 15:25:54 ion chat[2177]: OK
Jun 1 15:25:54 ion chat[2177]: -- got it
Jun 1 15:25:54 ion chat[2177]: send (ATDT4404032^M)
Jun 1 15:25:54 ion chat[2177]: expect (CONNECT)
Jun 1 15:25:54 ion chat[2177]: ^M
Jun 1 15:26:26 ion chat[2177]: ATDT4404032^M^M
Jun 1 15:26:26 ion chat[2177]: CONNECT
Jun 1 15:26:26 ion chat[2177]: -- got it
Jun 1 15:26:26 ion chat[2177]: send (^M)
Jun 1 15:26:26 ion chat[2177]: timeout set to 5 seconds
Jun 1 15:26:26 ion chat[2177]: expect (~)
Jun 1 15:26:26 ion chat[2177]: 28800/ARQ/V34/LAPM/V42BIS^M
Jun 1 15:26:26 ion chat[2177]: ^M
Jun 1 15:26:26 ion chat[2177]:
Jun 1 15:26:26 ion chat[2177]: Level 3 Comm nas18.kac1 UQKT2^M
Jun 1 15:26:26 ion chat[2177]: ^M
Jun 1 15:26:26 ion chat[2177]: ^M
Jun 1 15:26:31 ion chat[2177]: alarm
Jun 1 15:26:31 ion chat[2177]: send (^M)
Jun 1 15:26:31 ion chat[2177]: send (^M)
Jun 1 15:26:31 ion pppd[2148]: Serial connection established.
Jun 1 15:26:31 ion pppd[2148]: Couldn't set tty to PPP discipline: Invalid argument
Jun 1 15:26:32 ion pppd[2148]: Hangup (SIGHUP)

I have traced the error to a line in pppd:sys-linux.c which sets ttyS4 (the modem) to PPP discipline. I am running Linux 2.4.25 with PPP support
compiled in (not modules). Has anyone seen something like this before?
Any ideas? Thanks.
_________________
amightywind
Back to top
View user's profile Send private message
pakman
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2004
Posts: 100

PostPosted: Tue Jun 08, 2004 8:00 pm    Post subject: Reply with quote

I seem to remember getting this when I didn't have the options:
Code:
Character devices --->
  [*] Support for console on serial port

in menuconfig. Try adding "debug" to your /etc/ppp/options if that wasn't the problem to get a bit more info.
Back to top
View user's profile Send private message
amightywind
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2004
Posts: 137
Location: Andover, MN USA

PostPosted: Wed Jun 09, 2004 12:36 pm    Post subject: Reply with quote

All,

For anyone having similar problems getting PPP to work with LiveCD 2004.1: I did these things to solve the problem.

1. emerge ppp-2.4.2 so that the version number matched the ppp kernel
module version number. Since I didn't have a functioning network and
ppp-2.4.2.tar.gz was not on the LiveCD I had to put it in /usr/portage/distfiles by hand using a floppy.

2. Used this configuration in compiling Linux 2.4.25:

cat /usr/src/linux/.config | grep PPP
CONFIG_PPP=m
# CONFIG_PPP_MULTILINK is not set
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=m
CONFIG_PPP_SYNC_TTY=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
CONFIG_PPPOE=m

The key here seems to be NOT configuring MULTILINK. I found this on
another post about PPP on this forum.
_________________
amightywind
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum