LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-10-2006, 01:42 PM   #1
glennph93
LQ Newbie
 
Registered: Oct 2003
Location: pittsburgh
Distribution: Slackware 10.2,ubuntu
Posts: 10

Rep: Reputation: 0
Unhappy Unable to authenticate with isp using kppp or ppp-go


First off its a ISA win modem, that was my first obstacle. I'm able to asign an irq with isapnp and then able to load the Lt modules forcing the irq parameters.

That seems to work because when I use KPPP or PPP-GO it dials up and I can here the isp answer, but that is as far as I get the isp hangs up and KPPP tries to redial. I looked through the forums and I tried the follwing:

looked for a Firewall present: none found
entered DNS server from my isp(found on there site under mac setup): same result
Check my password numerous times under ppp-secrets
triep pap and chap

I'm out of Ideas, and not sure of a few things. Do I have all the correct modules installed? Is the default gateway correct? Oh yeah how do I fix my problem?
(thanks in advance)
below is hopefully some useful information :

Slackware 10.2 default kernel newly installed

lsmod
Module Size Used by Tainted: P
ppp_async 6528 0 (autoclean)
ppp_generic 19556 0 (autoclean) [ppp_async]
slhc 4592 0 (autoclean) [ppp_generic]
lt_serial 18196 0
lt_modem 472571 0 [lt_serial]
snd-pcm-oss 36736 0 (unused)
snd-mixer-oss 12376 0 [snd-pcm-oss]
snd-es1938 10980 1
gameport 1420 0 [snd-es1938]
snd-pcm 54344 0 [snd-pcm-oss snd-es1938]
snd-opl3-lib 5860 0 [snd-es1938]
snd-hwdep 4352 0 [snd-opl3-lib]
snd-timer 13764 0 [snd-pcm snd-opl3-lib]
snd-mpu401-uart 3136 0 [snd-es1938]
snd-rawmidi 12480 0 [snd-mpu401-uart]
snd-seq-device 3812 0 [snd-opl3-lib snd-rawmidi]
snd 32772 1 [snd-pcm-oss snd-mixer-oss snd-es1938 snd-pcm snd-opl3-lib snd-hwdep snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
snd-page-alloc 4712 0 [snd-mixer-oss snd-pcm snd-hwdep snd-timer snd-rawmidi snd-seq-device snd]
soundcore 3396 6 [snd]
parport_pc 15044 1 (autoclean)
lp 6404 0 (autoclean)
parport 22824 1 (autoclean) [parport_pc lp]
ide-scsi 9392 0
agpgart 45508 0 (unused)

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
total 80

ls -l /etc/ppp
-rw------- 1 root root 78 1995-06-22 21:49 chap-secrets
-rw-r--r-- 1 root root 2276 2005-09-03 13:29 firewall-masq
-rw-r--r-- 1 root root 978 2005-09-03 13:29 firewall-standalone
-rwxr-xr-x 1 root root 1208 2006-03-10 13:47 ip-down
-rwxr-xr-x 1 root root 1208 2006-03-08 19:10 ip-down.OLD
-rwxr-xr-x 1 root root 1945 2006-03-10 13:47 ip-up
-rwxr-xr-x 1 root root 1945 2006-03-08 19:10 ip-up.OLD
-rw------- 1 root root 539 2006-03-10 13:47 options
-rw------- 1 root root 653 2006-03-10 13:47 options.demand
-rw------- 1 root root 538 2006-03-10 09:32 options~
-rw------- 1 root root 210 2006-03-10 13:47 pap-secrets
-rw------- 1 root root 114 2006-03-07 21:34 pap-secrets~
drwxr-xr-x 2 root root 4096 2005-09-03 13:29 plugins
-rw-r--r-- 1 root root 104 2005-09-03 13:29 pppoe-server-options
-rw-r--r-- 1 root root 4572 2005-09-03 13:29 pppoe.conf
-rw------- 1 root root 126 2006-03-10 13:47 pppscript
-rw------- 1 root root 8975 2006-03-10 13:47 pppsetup.txt
 
Old 03-10-2006, 03:56 PM   #2
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
KPPP is a front-end to run the PPP daemon, but uses its own config file (~/.kde/share/config/kppprc) to pass some (but not all) parameters to the PPP daemon. KPPP is not associated with the ppp-go script. In other words, you have to configure both tools individually.

The routing table comes into play only after you have connected. That is, if the routing table was hosed you would be able to connect but not access the net. The ping command will tell you if the routing table is suspect, but first you need a good connection. If your box is stand-alone and not on a network, the PPP daemon should be able to automatically configure the routing table after connecting to your ISP.

Similarly with the firewall. The iptables firewall will not prevent connecting to the ISP but could prevent traffic to that IP address.

Similarly, manually configuring /etc/resolv.conf with your ISP DNS servers comes into play only after you connect.

But you are not getting that far in the process.

I'll take a first guess that you have KPPP and PPP configured to authenticate the ISP server. The ISP server will attempt to authenticate you, but normally you do not want to authenticate the ISP server.

Try adding the noauth parameter to /etc/ppp/options. FWIW, here is my options file:

asyncmap 0
noauth
crtscts
lock
modem
noipdefault
passive
debug
usepeerdns
defaultroute
/dev/modem
115200
name "username" <-- replace username with your own ISP account name

For KPPP, use PAP/CHAP.

You seem to have configured your ISA PNP modem okay, but for future visitors of this thread, the following might be of interest:

Configuring a Plug-and-Play ISA Modem

I hope this helps.
 
Old 03-10-2006, 04:44 PM   #3
Dark()
LQ Newbie
 
Registered: Feb 2006
Location: Serbia
Distribution: Slackware
Posts: 18

Rep: Reputation: 0
First try to establish connection in KPPP.
Turn on *Show log window* if your modem hangup before you get NO CARRIER message try to increase modem timeout option in KPPP,by the way how many seconds passes between isp answer and redial action ???
 
Old 03-10-2006, 06:34 PM   #4
glennph93
LQ Newbie
 
Registered: Oct 2003
Location: pittsburgh
Distribution: Slackware 10.2,ubuntu
Posts: 10

Original Poster
Rep: Reputation: 0
First of thank you for responding.


Woodsman
I edited my option file and put in the noauth opition(user name was already correct),
I ran ppp-go and this is what I got after 20 or so seconds after modem went silent.
I also went back and added usepeerdns like yours same output just channel went from 1 to 2.


root@darkstar:/home/john# Serial connection established.
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/modem
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6d53ff17> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6d53ff17> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6d53ff17> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6d53ff17> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x6d53ff17> <pcomp> <accomp>]
Modem hangup
Connection terminated.



Dark this is what I get in the KPPP log window with Expecting: Connect(and thats it)
when my isp picks up and the next redial is approx. 57 secs. My timeout is set to 60secs.

ATZ
OK
ATM1L1
OK
ATDT412-372-0487

After this I tried just calling my other phone line to see if it did call(in KPPP).
When I hung up the phone I got a NOCARRIER unlike when my isp hangs up(or are they)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial modem to ISP using Kppp Trio3b Linux - Hardware 6 02-01-2005 10:59 AM
unable to authenticate ipw2100 with xsupplicant richardg1952 Linux - Wireless Networking 2 01-15-2005 09:28 PM
kppp issue - doesnt authenticate 'root' password ayrusnes Linux - Software 3 09-06-2004 12:50 PM
signing on to ISP using KPPP europa Linux - Networking 0 06-15-2004 11:25 AM
Problem dialing into ISP with KPPP computerfundi Linux - Newbie 25 05-18-2004 06:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration