Wireless Broadband Authentication Woes

I have wireless broadband through Cricket. I finally got my PCMCIA card to be recognized and to dial out to my provider, but the CHAP authentication keeps failing. I tried turning off CHAP, but that did not work.

The modem connects fine in Windows XP using the program that came on the installation disc. I looked at my settings in Windows XP and CHAP is used there, so it’s not surprising that turning it off did not work.

As far as I can tell, Windows dials #777 to connect and then uses my uses my phone number plus @mycricket.com and a blank password to connect. Duplicating these settings does not seem to work in Suse, so something about the authentication process seems to be the problem.

Here is my WVDial log from Kinternet:

SuSE Meta pppd (smpppd-ifcfg), Version 1.59 on linux-uwcp.
Status is: disconnected
trying to connect to smpppd
connect to smpppd
Status is: disconnected
Status is: connecting
pppd[0]: Plugin passwordfd.so loaded.
pppd[0]: --> WvDial: Internet dialer version 1.56 (abuild@mandelbrot)
pppd[0]: --> Initializing modem.
pppd[0]: --> Sending: ATZ
pppd[0]: ATZ
pppd[0]: OK
pppd[0]: --> Sending: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
pppd[0]: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
pppd[0]: OK
pppd[0]: --> Sending: ATM1
pppd[0]: ATM1
pppd[0]: OK
pppd[0]: --> Sending: ATX3
pppd[0]: ATX3
pppd[0]: OK
pppd[0]: --> Modem initialized.
pppd[0]: --> Sending: ATDT#777
pppd[0]: --> Waiting for carrier.
pppd[0]: ATDT#777
pppd[0]: CONNECT
pppd[0]: --> Carrier detected.  Waiting for prompt.
pppd[0]: ~[7f]}#@!}!}!} }9}"}&} } } } }#}%B#}%}%}&[0e];~o}'}"}(}"z:~
pppd[0]: --> PPP negotiation detected.
pppd[0]: Serial connection established.
pppd[0]: Renamed interface ppp0 to modem0
pppd[0]: Using interface modem0
Status is: connecting
pppd[0]: Connect: modem0 <--> /dev/ttyUSB0
pppd[0]: CHAP authentication failed
Authentication error. Maybe bad account or password.
pppd[0]: CHAP authentication failed
Authentication error. Maybe bad account or password.
pppd[0]: Connection terminated.
Status is: disconnected
pppd[0] died: Authentication error (exit code 19)

I have tried every combination in of settings in both Kinternet and Gnome Network Manager, but I cannot get past these errors.

I did some reading on the Ubuntu forums and supposedly there is a “secret file” in WVDial that is involved in authentication. I will read up on that and post again.

Anyone familiar with this problem?

hey all, first time poster, long time Suse fan, semi-linux-noob…

i have the same issue with Suse 11.1, i may have a different card than the above poster though.
i have UTStarcom um100c usb cdma modem. i am using Gnome, and Suse detects the card just fine, i am able to access yast- modem configuration overview, and the modem is there listed by its name. i can edit the config of the device. i can also open NetworkManager and add a Mobile Broadband Connection. I also use Xp, and checking out the properties of the device in Xp shows all the info needed. ie: username, dial #, etc. however aftr setting these options, the card never connects, its trying to connect, i can see that by the pretty lights showing activity…lol…
i dont have a nice log report to show as i do not know how to run one.
i would also like to point out that this is only device that does not work on my Lenovo Y510 laptop. I am dual booting with Xp, and Suse install was flawless.
Hopefully someone else has solved this problem so i ca finally switch to Suse full time at work.
Thanks in advance for any assistance with this issue.

I had a similar issue where NetworkManager would detect the card fine and try to dial but would always show failure in /var/log/messages.

Try adding yourself to the tty and uucp groups through YaST. If that doesn’t help; try running wvdialconf in a console as root. That recreates the wvdial.conf settings file. You may/will need to edit that file also as root. It’s /etc/wvdial.conf.

Is smpppd running? To check go to YAST / System / Runlevel Services and enable smpppd there.

If that does not work, I agree with the wvdial idea. You have to install it in YAST, since it’s not installed by default.

To start the program type su in the terminal enter root password then enter the command wvdial.

To edit the file, start a text editor as superuser (su in terminal, root password, then enter the command kate).

What’s good about wvdial is you can see whatever error messages come up in the terminal and use them to troubleshoot.

thanks for your replies. Let me tell you where im at with this.
i edited “wvdialconf”, i then ran “wvdial”, which no matter what i tried came back as the device was in use or busy.

I started over at that point. deleted all configs, rebooted.
I restartd and also installed “kinternet”.
I went into :yast/modem…config’d the device there.
I then opened “kinternet” which then connected the device. According to the log everything was fine. The connection timed out after 1 minute. I went back to yast/modem and chnged the time out to 10 minutes. restarted “kinternet” and again the log stated evrything was fine, (i will have to post log later as i am at work), it showed that i was connected, however FF wouldnt connect to any sites. After 10 minutes the connection died due to “no activity”

again thank you for your help , and i look forward to your replies.

Sorry for the long delay on this reply. here is my logfile:

SuSE Meta pppd (smpppd-ifcfg), Version 1.59_SVN31 on linux-qrp6.
Status is: disconnected
trying to connect to smpppd
connect to smpppd
Status is: disconnected
Status is: connecting
pppd[0]: Plugin passwordfd.so loaded.
pppd[0]: --> WvDial: Internet dialer version 1.60
pppd[0]: --> Initializing modem.
pppd[0]: --> Sending: ATM1
pppd[0]: ATM1
pppd[0]: OK
pppd[0]: --> Modem initialized.
pppd[0]: --> Sending: ATDT#777
pppd[0]: --> Waiting for carrier.
pppd[0]: ATDT#777
pppd[0]: CONNECT
pppd[0]: --> Carrier detected.  Waiting for prompt.
pppd[0]: ~[7f]}#@!}!}!} }9}"}&} } } } }#}%B#}%}%}&G#W]}'}"}(}"z|~
pppd[0]: --> PPP negotiation detected.
pppd[0]: Script /usr/bin/wvdial --chat --no-syslog --config /var/run/smpppd/chat-modem0.conf smpppd finished (pid 4118), status = 0x0
pppd[0]: Serial connection established.
pppd[0]: Renamed interface ppp0 to modem0
pppd[0]: Using interface modem0
Status is: connecting
pppd[0]: Connect: modem0 <--> /dev/ttyACM0
pppd[0]: CHAP authentication succeeded
pppd[0]: CHAP authentication succeeded
pppd[0]: local  IP address 10.96.10.212
pppd[0]: remote IP address 172.30.162.9
pppd[0]: primary   DNS address 172.28.221.53
pppd[0]: secondary DNS address 172.28.221.54
pppd[0]: Script /etc/ppp/ip-up finished (pid 4142), status = 0x0
Status is: connected
pppd[0]: Terminating connection due to lack of activity.
The connection was idle and shut down.
Status is: disconnecting
pppd[0]: Connect time 10.0 minutes.
pppd[0]: Sent 0 bytes, received 0 bytes.
pppd[0]: Hangup (SIGHUP)
pppd[0]: Modem hangup
pppd[0]: Connection terminated.
pppd[0]: Script /etc/ppp/ip-down finished (pid 4396), status = 0x0
Status is: disconnected
pppd[0] died: A modem hung up the phone (exit code 16)

so it appears as if everything is okay, but then the connection times out for inactivity, and firefox wont connect…any suggestions on what else i can do to resolve this? Again thanks in advance for all your help.

If you go back into YAST / Modems and change the idle disconnect to “0” then you will not get disconnected.

As far as being connected w/o being to load webpages, I had this problem also. What I did to fix the problem (no guarantee it will work for you) is this:

Enter "su’ in the terminal, enter root password and then type “kate”. When Kate opens, browse to the file /etc/ppp/options and add this line:

nodeflate

Like this:

/etc/ppp/options

Not every option is listed here, see man pppd for more details. This file

is read by the pppd, it is an error when it is not present.

Use the following command to see the active options:

grep -v ^# /etc/ppp/options | grep -v ^$

nodeflate

The name of this server. Often, the FQDN is used here.

#name <host>

Enforce the use of the hostname as the name of the local system for

authentication purposes (overrides the name option).

#usehostname

(I did not copy whole file for sake of readabilty)

Save the changes. What this will do is disable compression. It made all the difference for me being able to load webpages, but like I said, it may not work for your particular ISP and hardware.

I hope this helps, but if it does not, sorry, and please just be sure to change the “options” file back to the way it was to be safe.

thnx again for your help with this…
i tried your suggestions, all with no luck…
i tried calling Cricket and im sure you can guess their response
“this device only works with windows OS”
so i guess for now i will just have to keep using xp…
thnx again…and if anything changes i will post back…

You’re using Cricket?

They told me the same thing, but they’re lying.

It looks like all the phone number and user info is correct since you’re connecting OK. It’s gotta by some option that’s not being enabled or disabled. It could be something as simple as setting the correct baud rate or something similar.

Have a look at this thread from the Ubuntu Forum discussing how to connect with a CDMA modem using wvdial:

[SOLVED] HowTo set up EVDO card or usb enabled phone(CDMA) - Ubuntu Forums](http://ubuntuforums.org/showthread.php?t=343989)

Lots of good info there on wvdial options. I would try connecting with wvdial at this point, since it’s easier to try out new options, and then once you figure out what settings you need, and then transfer them to your preferred program you like to use to connect to the net.

Also, if you enter man pppd in the terminal, there is lots of good info on setting up ppp conections.

I know it’s possible to connect with Cricket. I am using my Cricket Kyocera card right now. Are you using the USB modem?

thanks again for your help in this…
and yes i am using their(cricket) usb modem…
thanks for link to that site also, helped me tons, i actually further than i ever have been using that site, i am now able to connect using wvdial, but i am now getting DNS errors, which i also get with kinternet.
when i go into the wvdialconf i dont see any options in regards to DNS. the strang this is that i am able to ping ip addresses…so i am obviously connected.

Good deal! Did you check the man pppd file? That’s where I found the information about turning off compression.

Hang in there, it took me about ten days to finally get connected, and it seemed like forever at the time. But then when I finally was able to connect, it was almost a let down, in a strange way.

eureka!! lol…finally i got connected. Thank you Foresthill for all of your assistance with this.
Here is what i did for those who want to know:
i found this guide and followed it step by step.
But i would like to point out that the one a few posts back was also very helpful.
Even aftr all of that i was still getting DNS errors.
Wvdial reports the DNS addresses.
So i opened /etc/resolv.conf
I replaced the very last line with

nameserver x.x.x.x

x = DNS Ip address.
i saved the file and restarted the connection thru wvdial…and all is well…web browsing all good. Thank you again for your help. Now I can finally stop using xp on my laptop.