LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Unable to run /usr/sbin/pppd. --> Check permissions [solved] (https://www.linuxquestions.org/questions/linux-networking-3/unable-to-run-usr-sbin-pppd-check-permissions-%5Bsolved%5D-178149/)

flosch 05-05-2004 09:08 AM

Unable to run /usr/sbin/pppd. --> Check permissions [solved]
 
Hello Community!

I still don't know how to solve this problem!

On my notebook with:
Bus 0, device 7, function 0:
Communication controller: Lucent Microelectronics 56k WinModem (rev 1).
IRQ 3.
Master Capable. No bursts. Min Gnt=252.Max Lat=14.
Non-prefetchable 32 bit memory at 0xffefff00 [0xffefffff].
I/O at 0x2f8 [0x2ff].
I/O at 0x1c00 [0x1cff].
I got this modem to work perfectly. BUT only as root!!

Code:

nb1134:~# wvdial
--> WvDial: Internet dialer version 1.53
--> Initializing modem.
--> Sending: ATX1
ATX1
OK
--> Modem initialized.
--> Sending: ATDT00194280
--> Waiting for carrier.
ATDT00194280
CONNECT 45333 V42bis
--> Carrier detected.  Waiting for prompt.
Welcome to 3Com Total Control HiPer ARC (TM)
Networks That Go The Distance (TM)
login:
--> Looks like a login prompt.
--> Sending: 2126055001
2126055001
Password:
--> Looks like a password prompt.
--> Sending: (password)
~[7f]}#@!}!}!} }8}!}$}%j}"}&[7f][7f][7f][7f]}%}&=e!,}'}"}(}"'n~
--> PPP negotiation detected.
--> Starting pppd at Wed May  5 15:20:33 2004
--> pid of pppd: 1887

now the notebook is needed for a person which used windows and is not able to su- to root and run the wvdial script and so on. (I wouldn't give the root password either!!)

after starting wvdial as user:

Code:

flosch@nb1134:~$ wvdial
--> WvDial: Internet dialer version 1.53
--> Initializing modem.
--> Sending: ATX1
ATX1
OK
--> Modem initialized.
--> Sending: ATDT00194280
--> Waiting for carrier.
ATDT00194280
CONNECT 45333 V42bis
--> Carrier detected.  Waiting for prompt.
Welcome to 3Com Total Control HiPer ARC (TM)
Networks That Go The Distance (TM)
login:
--> Looks like a login prompt.
--> Sending: 2126055001
2126055001
Password:
--> Looks like a password prompt.
--> Sending: (password)
~[7f]}#@!}!}!} }8}!}$}%j}"}&[7f][7f][7f][7f]}%}&h}_gV}'}"}(}"!X~
--> PPP negotiation detected.
--> Unable to run /usr/sbin/pppd.
--> Check permissions, or specify a "PPPD Path" option in wvdial.conf.

in pppconfig I added flosch as user who should be able to use pppd.

flosch is User of the dip group:

nb1134:~# vi /etc/group
dip:x:30:flosch

permissions look like:

Code:

nb1134:~# ls -al /usr/sbin/pppd
-rwsr-sr--    1 root    dip        230604 Dec 10  2001 /usr/sbin/pppd

which was the Problem!!!!

Code:

nb1134:~# ls -al /usr/sbin/pppd
-rwsr-sr-x    1 root    dip        230604 Dec 10  2001 /usr/sbin/pppd

worked!!

I also tried kppp, same problem with pppd!
I need a Icon on KDE desktop to dial in and log out of the ppp connection on the debian box.
Thank you very much for your help and please ask if you need further information!


All times are GMT -5. The time now is 11:24 PM.