LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   SUSE 10 | Disabling PAP & CHAP w/ pppd (https://www.linuxquestions.org/questions/suse-opensuse-60/suse-10-%7C-disabling-pap-and-chap-w-pppd-381610/)

foolishone 11-09-2005 07:03 PM

SUSE 10 | Disabling PAP & CHAP w/ pppd
 
After unsuccessfully trying to connect my dialup internet connection on a SUSE 10 box, I contacted my ISP for help. They kindly suggested that I disable this 'PAP' and 'CHAP' thing with/in pppd, as it conflicted with what ever they do over there.

How would I go about doing this? Is there another thread that I could be pointed to in order to assist me in my situation?

»fo

trailnut 11-09-2005 08:51 PM

You could try navigating to the directory: /etc/ppp

Then open a text editor (probably as root) and open the file, 'options' which lies withis /etc/ppp

Go down line by line and look for:

# Don't agree to authenticate using PAP
# -pap

Remove the # sign in front of -pap.

Do the same thing for the CHAP line.

Although I'm not sure how a hand shake would occur between you and your ISP without some kind of protocol. Make sure
you back up your original 'options' file before making changes.

foolishone 11-09-2005 09:07 PM

After I do that, would I just be able to do a wvdial and connect?

»fo

mkIIIman089 11-10-2005 08:30 AM

Okay, let me give this a shot, I'll let you know in a bit.

mkIIIman089 11-10-2005 09:36 AM

trailnut: those options do not exist in options. I searched line by line and using the find feature. They were simply not there.

Any other suggestions?

EDIT: By the way this is what happens:
linux:~ # cd /etc
linux:/etc # wvdial
--> WvDial: Internet dialer version 1.54.0
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 S32=192
OK
--> Modem initialized.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDT9738751523
--> Waiting for carrier.
ATDT9738751523
NO CARRIER
--> No Carrier! Trying again.
--> Sending: ATDT9738751523
--> Waiting for carrier.
ATDT9738751523
NO DIAL TONE
--> No dial tone.
--> Disconnecting at Thu Nov 10 11:25:10 2005
linux:/etc #

trailnut 11-10-2005 11:15 AM

I seem to remember something having to do with a "noauth" command in KPPP. I'm not at home yet but if you could post the wvdial.conf file that may help. When I get back to my Linux box tonight I may be able to offer more suggestions.

vmlinuz101 11-10-2005 11:22 AM

the PAP or CHAP authentication (whichever you're using) is not the problem here. CHAP authentication takes place between you (the client) and your ISP (the server), but ONLY AFTER the connection has been made. Looking at your logs, it seems that a connection has not been made. Therefore, you might want to try reconfiguring ppp. Most dialers (e.g. qinternet, kinternet) let you do this. I am pretty sure too that qinternet and the like are also a frontend to ppp and wvdial. Make sure that all the information in wvdial is correct, otherwise you wont connect.

mkIIIman089 11-10-2005 11:43 AM

hmm... okay. I am continuously hearing about KInternet, however I don't even know how to get into it. Could you point me in the right direction on how to use/get to KInternet?

I'll post up the wvdial.conf in a minute.

vmlinuz101 11-10-2005 11:50 AM

hi there. Your using SuSE 10 with KDE or GNOME presumably. The options you have accordingly are QInternet for GNOME and KInternet for KDE. These are frontends to pppd and wvdial (I think). They do allow you a fair amount of configuration at the start.

mkIIIman089 11-10-2005 11:54 AM

wvdial.conf:

[Dialer Defaults]
Modem = /dev/ttyS2
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 S32=192
Init3 =
Area Code =973
Phone = 8751523
Username = (edited for forum)
Password = (edited for forum)
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 0
Compuserve = 0
Force Address =
Idle Seconds = 300
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1

I'm using GNOME so I'll be looking for QInternet. But how do I access it? Is it in the apps menu or is it a terminal thing?

vmlinuz101 11-11-2005 02:37 AM

Sorry I had to run.. It should be in the apps menu.. On suse, it may be in the additional suse menu on the bottom of the drag-down menu.. Either way it's in Internet-Dialers 9or something). Your script looks ok. Why not use Yast2 to configure your dialer, it's much easier

mkIIIman089 11-14-2005 02:29 PM

bump... anyone?


All times are GMT -5. The time now is 11:08 AM.