I am running RH 5.0 with the 2.0.31 kernel. I set up the PPP stuff as
per the ISP-Hookup HOWTO, and everything works fine as root, but if I
try getting on the net as a normal user, as soon as the handshake is
over the connection is dropped. I have no idea why. I am not using
RH's Network Config tool to do this. I created a group called
"pppusers" and added the users I wanted to it." I then changed the
ownership of /sbin/pppd and /sbin/chat to pppusers, and added a symlink
to /sbin/chat in /usr/bin (called chat). I also changed the ownership
of /var/lock to pppusers. There are no errors logged in
/etc/ppp/connect-errors. When I try connecting with a normal user,
/var/log/messages goes through the chatscript and then says this:
May 25 12:43:29 localhost pppd[409]: Serial connection established.
May 25 12:43:30 localhost pppd[409]: ioctl(PPPIOCGUNIT): Operation not
permitted
May 25 12:43:30 localhost pppd[409]: ioctl(PPPIOCGDEBUG): Operation not
permitted
May 25 12:43:30 localhost pppd[409]: Exit.
May 25 12:45:02 localhost kernel: PPP: ppp line discipline successfully
unregistered
When I am root, it looks something like this:
May 23 16:27:22 localhost pppd[630]: Serial connection established.
May 23 16:27:23 localhost pppd[630]: Using interface ppp0
May 23 16:27:23 localhost pppd[630]: Connect: ppp0 <--> /dev/modem
May 23 16:27:24 localhost pppd[630]: Remote message:
May 23 16:27:24 localhost pppd[630]: local IP address 149.99.139.58
May 23 16:27:24 localhost pppd[630]: remote IP address 149.99.137.254
May 23 16:27:24 localhost pppd[630]: proc file system not mounted
Note that I tried setting things up with network config but then decided
not to and erased the ppp interface as well as its line in pap-secrets
(I replaced "username ppp0 password" with "username * password"). This
is how it was when it was working, before I reinstalled linux.
I'd appreciate any help, cuz I'm stumped.
Regards,
Mladen