I never managed to get wvdial working, and have been using kppp for my Dial-Up Internet connection. Recently, I loaded another Linux distro on a separate partition, and, strangely, wvdial set itself up without problems . . . So, I thought I would try copying wvdial across to my SuSE partition. wvdial now works OK on SuSE partition, but, Complains that the connection may be 'flaky' because, wvdial does not have permission to write to file /etc/ppp/chap-secrets. Permissions are thus :- _________________________ -rw------- 1 root root 113 Jul 6 06:53 /etc/ppp/chap-secrets -rwxr-xr-x 1 root uucp 67068 Jul 5 21:42 /usr/bin/wvdial ____________________________________________________________________________ I believe that it is NOT ok for a Group, to have write permission for file /etc/ppp/chap-secrets ~ What am I missing, and, is there a work-around, please ? Thanks -- best wishes ____________ sent on Linux ____________
On 6 Jul 2001, tabanna wrote:
I never managed to get wvdial working, and have been using kppp for my Dial-Up Internet connection.
I use wvdial to connect to Earthlink all the time, so I guess I'm at least partially qualified to reply.
Recently, I loaded another Linux distro on a separate partition, and, strangely, wvdial set itself up without problems . . . So, I thought I would try copying wvdial across to my SuSE partition.
What exactly did you copy? All wvdial files or just /etc/wvdial.conf and the file in /etc/ppp/peers/ .
wvdial now works OK on SuSE partition, but, Complains that the connection may be 'flaky' because, wvdial does not have permission to write to file /etc/ppp/chap-secrets.
Permissions are thus :- _________________________ -rw------- 1 root root 113 Jul 6 06:53 /etc/ppp/chap-secrets
-rwxr-xr-x 1 root uucp 67068 Jul 5 21:42 /usr/bin/wvdial ____________________________________________________________________________
I believe that it is NOT ok for a Group, to have write permission for file /etc/ppp/chap-secrets
~ What am I missing, and, is there a work-around, please ?
The permissions look fine to me (root has write access to /usr/bin/wvdial... doesn't really matter though). I agree with you on the fact that users should neither read nor write to /etc/ppp/chat-secrets. Do you connect successfully? If so, nobody needs write access because the settings are all there. The error message is then just superfluous. If you do not connect, allow write for just once so wvdial will write whatever it needs to. At that point, remove write priveleges and all should be well. BTW, do you use CHAP? If you don't, you don't need /etc/ppp/chap-secrets at all... What are you permissions for /etc/ppp/pap-secrets if you use PAP... -- noodlez: Karol Pietrzak PGP KeyID: 0x3A1446A0
tabanna wrote:
wvdial now works OK on SuSE partition, but, Complains that the connection may be 'flaky' because, wvdial does not have permission to write to file /etc/ppp/chap-secrets.
If you set the permissions for /etc/ppp/pap-secrets and /etc/ppp/chap-secrets to 770 or something, this message will not appear during the session, but, when starting up a next time, it's back. The reason is that the security system sets these permissions back to 600 each time. To prevent this, in yast go to System Administration > Security settings > General information on system security, and set 'File permissions are set to: easy'. Now set the permissions for etc/ppp/pap-secrets and /etc/ppp/chap-secrets back to 770. Since I did this, wvdial has never complained about a possible flaky connection again. SH
participants (3)
-
Karol Pietrzak
-
Sjoerd Hiemstra
-
tabanna