Hi,
I've been googling around for how to dial up Internet as a normal user. Read
on if you are interested in my brief memo. I also have a question at the end
of the message.
Use wvdial instead of chat, kppp, etc. to do it. Google back for chat, kppp,
wvdial and wvdialconf if you don't know why/how.
Here are all the steps required for a normal user to dial up the Internet:
chown root.uucp /usr/sbin/pppd /usr/bin/wvdial
chmod 4550 /usr/sbin/pppd /usr/bin/wvdial
add users who can dial to group uucp.
NB,
- If only change pppd, or no +s for wvdial, you'll get:
$ wvdial
--> WvDial: Internet dialer version 1.53
--> Cannot open /dev/ttyS0: Device or resource busy
changing ownership of /dev/ttyS0 (from crw-r----- to crw-rw----) won't
work. It will be changed back when you reboot.
Now here is my problem. With the setting above, I still cannot connect
through. ppp daemon died with exit code 2, which means "An error was
detected in processing the options given, such as two mutually exclusive
options being used."
--> Looks like a password prompt.
--> Sending: (password)
PPP session from (64.7.158.15) to 64.7.158.149 beginning....~[7f]}#@!}!}!} }4}"}&} } } } }%}&o}8GD}'}"}(}"[0b]j~
--> PPP negotiation detected.
--> Starting pppd at Sun Oct 5 15:27:18 2003
--> pid of pppd: 3394
--> Disconnecting at Sun Oct 5 15:27:18 2003
--> The PPP daemon has died: pppd options error (exit code = 2)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 2)
But strange enough, with the same setting, I have no problem connect as
root. I'm using RH8. What the problem could be? Thanks
Tong
FYI, here is my /etc/ppp/options, if it might helps.
lock
defaultroute usepeerdns
--
Tong (remove underscore(s) to reply)
*niX Power Tools Project:
http://xpt.sourceforge.net/
- All free contribution & collection