Basic problem : Unable to initalise pppd over dial-up

Environment :
Using Red Hat Linux 6.1
DHCP and DNS (named) up and running fine. Tested over LAN.
IPv4 packet forwarding on.
All server daemons running on 192.168.1.1

Line added to /etc/inittab :

s3:2345:respawn:/sbin/mgetty modem -n 3 -D /dev/modem

(Note: /dev/modem points to /dev/ttys3)

using :
s3:2345:respawn:/sbin/mgetty ttys3 -n 3 -D /dev/ttys3

gives an error "s3 spawning too fast. Disabled for 5 minutes"

/var/log/mgetty.log.ttys3 contains :

02/13 18:34:17 ys3  mgetty: experimental test release 1.1.21-Jul24
02/13 18:34:17 ys3  check for lockfiles
02/13 18:34:17 ys3  locking the line
02/13 18:34:17 ys3  mod: cannot open line /dev/ttys3: Input/output error
02/13 18:34:17 ys3  open device /dev/ttys3 failed: Input/output error
02/13 18:34:17 ys3  cannot get terminal line dev=ttys3, exiting:
Input/output error

However, replacing 'modem' in place of 'ttys3' starts up mgetty without an
error and the user can dial and login via the default /bin/login at the
terminal after dial-up connection. At the resulting system prompt the user
types 'ppp' to initialise pppd and continue. He gets an error in Win9x
saying "... unable to negotiate a compatible set of protocols"

Line added to /etc/bashrc :

alias ppp="exec /usr/sbin/pppd file /etc/ppp/options.dialup"

Contents of /etc/ppp/options.dialup :

-detach
asyncmap 0
lock
crtscts
modem
proxyarp
netmask 255.255.255.0
ms-dns 192.168.1.1

Contents of /etc/ppp/options.modem :

192.168.1.1:192.168.1.200

Contents of /etc/ppp/options.ttys3 :

192.168.1.1:192.168.1.200


the perms are as follows:

crw-rw----   1 uucp     uucp       3,  48 May  5  1998 /dev/ttys0
crw-rw-rw-   1 root     tty        3,  49 May  5  1998 /dev/ttys1
crw-rw-rw-   1 root     tty        3,  50 May  5  1998 /dev/ttys2
crw-rw----   1 uucp     uucp       3,  51 May  5  1998 /dev/ttys3
crw-rw----   1 uucp     uucp       3,  52 May  5  1998 /dev/ttys4
crw-rw-rw-   1 root     tty        3,  53 May  5  1998 /dev/ttys5
crw-rw-rw-   1 root     tty        3,  54 May  5  1998 /dev/ttys6
crw-rw-rw-   1 root     tty        3,  55 May  5  1998 /dev/ttys7
crw-rw-rw-   1 root     tty        3,  56 May  5  1998 /dev/ttys8
crw-rw-rw-   1 root     tty        3,  57 May  5  1998 /dev/ttys9
crw-rw-rw-   1 root     tty        3,  58 May  5  1998 /dev/ttysa
crw-rw-rw-   1 root     tty        3,  59 May  5  1998 /dev/ttysb
crw-rw-rw-   1 root     tty        3,  60 May  5  1998 /dev/ttysc
crw-rw-rw-   1 root     tty        3,  61 May  5  1998 /dev/ttysd
crw-rw-rw-   1 root     tty        3,  62 May  5  1998 /dev/ttyse
crw-rw-rw-   1 root     tty        3,  63 May  5  1998 /dev/ttysf
lrwxrwxrwx   1 root     root            5 Feb 15 10:02 /dev/modem -> ttyS3
__________________________________
Shourya Sarcar         <[EMAIL PROTECTED]>  <Tel:91-033-4710477>
Department of Computer Science and Engineering
Jadavpur University    Calcutta, India 700 032

All the world's a stage..
And I am acting tonight
C - the difference : http://www.eskimo.com/~scs/C-faq/top.html


--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/help/faq_list.html

Reply via email to