PPP on mandrake 7.0
Linuxmisc » Linux Setup
I try to configure PPP on Mandrake 7.0 on Dell Inspiron 5000 portable. It
gives me the following information:
Sep 16 19:38:14 localhost ifup-ppp: pppd started for ppp0 on /dev/modem at
115200
Sep 16 19:38:14 localhost modprobe: can't locate module char-major-108
Sep 16 19:38:14 localhost pppd[981]: pppd 2.3.10 started by root, uid 0
Sep 16 19:38:14 localhost pppd[981]: Terminating on signal 15.
Sep 16 19:38:14 localhost chat[991]: Can't get terminal parameters:
Input/output error
Sep 16 19:38:14 localhost pppd[981]: Connect script failed
Sep 16 19:38:15 localhost pppd[981]: Exit.
I use the exact the same procedure on Red Hat 6.2 on the same machine and
it works. I wonder whether mandrake 7.0 support PPP on this portable. The
portable has a XirCOM card.
Thanks for your help.
-Zhihui
What is /dev/modem linked to? And can you connect to /dev/modem and enter
AT commands with minicom? I suspect that /dev/modem might be linked to a
ttys (terminal) instead of ttyS (serial port). The port name is case
sensitive.
--
David Efflandt effla...@xnet.com http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
]news:Pine.GSO.BU-L4.10.10009162010040.7722-100000@bingsun2...
]>
]> I try to configure PPP on Mandrake 7.0 on Dell Inspiron 5000 portable. It
]> gives me the following information:
]>
]> Sep 16 19:38:14 localhost ifup-ppp: pppd started for ppp0 on /dev/modem at
]> 115200
]> Sep 16 19:38:14 localhost modprobe: can't locate module char-major-108
This is a bug in the pppd code which issues an inappropriate error
message. Ignore it.
]I extracted the following from "/usr/doc/ppp*/README.linux" on my
]RedHat 6.2 installation. It just looks relevant to the problem you're
]having.
]" To talk to the new driver, pppd needs to be able to open /dev/ppp,
] character device (108,0). If the special file node /dev/ppp is not
] present, pppd will create it. However, if you are running with /dev
] on a read-only filesystem, pppd will not be able to create /dev/ppp.
] In that instance you should manually create /dev/ppp using the command
] `mknod /dev/ppp c 108 0'."
This is for the 2.4.0 kernels. The 2.2 kernels do not use this. ppp
checks for the new driver and issues the bad eror message if it does not
find it. It does not actually care as it uses the old driver just fine.
DO NOT manually create dev ppp on a 2.2 kernel. It is not needed or
wanted.
]That would be 'mknod /dev/ppp0 c 108 0' in your case.
]Incidently; from GNOME I use 'RH Dialer' to connect to my
]intenet provider. RH Dialer uses ppp, and the pppd was
]certainly up and running, yet I found no /dev/ppp* listed.
]Maybe pppd for mandrake does things a little differently.
No. Older versions of pppd had that fake error messages. This bug was
corrected in later versions. Mandrake 7.0 used one ofhte buggy pppd
drivers.
news:Pine.GSO.BU-L4.10.10009162010040.7722-100000@bingsun2...
I extracted the following from "/usr/doc/ppp*/README.linux" on my
RedHat 6.2 installation. It just looks relevant to the problem you're
having.
" To talk to the new driver, pppd needs to be able to open /dev/ppp,
character device (108,0). If the special file node /dev/ppp is not
present, pppd will create it. However, if you are running with /dev
on a read-only filesystem, pppd will not be able to create /dev/ppp.
In that instance you should manually create /dev/ppp using the command
`mknod /dev/ppp c 108 0'."
That would be 'mknod /dev/ppp0 c 108 0' in your case.
Incidently; from GNOME I use 'RH Dialer' to connect to my
intenet provider. RH Dialer uses ppp, and the pppd was
certainly up and running, yet I found no /dev/ppp* listed.
Maybe pppd for mandrake does things a little differently.
Cheers,
Tony