Re: [aclug-L] Linux ISP's
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Thanks for your help, all. John Goerzen, I hope I'm speaking for the entire
maillist membership when I say your commitment to this group and the Linux
community at large is greatly appreciated. I enjoyed my first ACLUG meeting
and was glad to meet some fellow Linux trail-blazers. I know that you
dedicate a lot of volunteer time to this group--it doesn't go unnoticed!
John Goerzen (or anyone else): my lengthy reply is added to the bottom of
the stack below.
Jonathon hall: there may be additional info now that is showing up in my
/var/log/mgetty.ttyS0 log that may help determine my trouble--take a look if
you've got time. (This info started showing up after I rebooted, then tried
to dial in again.)
Greg Wettern: This new info in my mgetty log looks like the ppp log info you
were asking for...although it doesn't make sense to me that it would be in
the mgetty log. Take a look if you've got time.
----------------------------------
Troy Wolf:
Unfortunately, I'm still in need of ppp dialup "server" assistance.
Specifically AutoPPP solutions (not requiring a script on the client side).
If anyone knows any ISP's using Linux dialup, I'm sure they would have to be
doing this.
----------------------------------
John Goerzen:
I think your best bet is mgetty. If you have specific problems,
please feel free to ask.
FYI, most ISPs use special hardware (terminal servers) to answer the
lines, and so do not use PC operating systems on those particular
boxes at all. (PCs aren't great at handling dozens or hundreds of
modems)
----------------------------------
Troy Wolf:
Thanks for the reply, John. I was aware that large ISP's use special,
dedicated hardware to answer the lines, but I also know that there are a lot
of small ISP's using Linux to answer the lines so I was looking for some of
them. Actually, Jonathon Hall, who runs FutureKS.net, an ISP in Goessel,
has been providing excellent help.
I'm very close...here's what's going on.
RedHat 5.2, kernel 2.2.6 (configured with PPP support)
ppp-2.3.5
mgetty-1.1.9 (configured for AutoPPP by modifying Makefile, and
login.config)
USR Sportster 56K external on ttyS0
I'm using Win98 built in PPP dialup to connect to my Linux server. I've got
it set with dialup defaults except I disabled NetBEUI and IPX.
Linux answers, appears to log me in, start PPP, then hangs up. Here is some
log info. (this is from /etc/messages)
----------------------------
Apr 7 20:09:29 ra01 pppd[483]: pppd 2.3.5 started by LOGIN, uid 0
Apr 7 20:09:29 ra01 pppd[483]: Using interface ppp0
Apr 7 20:09:29 ra01 pppd[483]: Connect: ppp0 <--> /dev/ttyS0
Apr 7 20:09:32 ra01 pppd[483]: PAP authentication failure for twolf
Apr 7 20:09:32 ra01 pppd[483]: Connection terminated.
Apr 7 20:09:32 ra01 pppd[483]: Hangup (SIGHUP)
Apr 7 20:09:32 ra01 pppd[483]: Exit.
-----------------------------
This is an excerpt from /var/log/mgetty.ttyS0
--------------------------------
05/08 08:38:12 yS0 mgetty: experimental test release 1.1.9-Aug17
05/08 08:38:12 yS0 check for lockfiles
05/08 08:38:12 yS0 checklock: stat failed, no file
05/08 08:38:12 yS0 locking the line
05/08 08:38:12 yS0 makelock(ttyS0) called
05/08 08:38:12 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
05/08 08:38:12 yS0 lock made
05/08 08:38:13 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR
05/08 08:38:13 yS0 lowering DTR to reset Modem
05/08 08:38:14 yS0 tss: set speed to 115200 (10002)
05/08 08:38:14 yS0 tio_set_flow_control( HARD )
05/08 08:38:14 yS0 waiting for line to clear (VTIME), read:
05/08 08:38:14 yS0 send: ATZ[0d]
05/08 08:38:14 yS0 waiting for ``OK''
05/08 08:38:14 yS0 got: ATZ[0d]
05/08 08:38:14 yS0 CND: ATZ[0d][0a]OK ** found **
05/08 08:38:14 yS0 send: ATM0[0d]
05/08 08:38:14 yS0 waiting for ``OK''
05/08 08:38:14 yS0 got: [0d]
05/08 08:38:14 yS0 CND: OK[0a]ATM0[0d]
05/08 08:38:14 yS0 CND: ATM0[0d][0a]OK ** found **
05/08 08:38:14 yS0 send: [0d]
05/08 08:38:14 yS0 waiting for line to clear (VTIME), read: [0d][0a][0d]
05/08 08:38:14 yS0 removing lock file
05/08 08:38:14 yS0 waiting...
05/08 08:39:53 yS0 select returned 1
05/08 08:39:53 yS0 checking lockfiles, locking the line
05/08 08:39:53 yS0 makelock(ttyS0) called
05/08 08:39:53 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
05/08 08:39:53 yS0 lock made
05/08 08:39:53 yS0 waiting for ``RING''
05/08 08:39:53 yS0 got: [0d]
05/08 08:39:53 yS0 CND: OK[0a]RING ** found **
05/08 08:39:53 yS0 send: ATA[0d]
05/08 08:39:53 yS0 waiting for ``CONNECT''
05/08 08:39:53 yS0 got: [0d]
05/08 08:39:53 yS0 CND: RING[0a]ATA[0d]
05/08 08:39:53 yS0 CND: ATA[0d][0a]CONNECT ** found **
05/08 08:40:06 yS0 send:
05/08 08:40:06 yS0 waiting for ``_''
05/08 08:40:06 yS0 got: 21600/ARQ/V34/LAPM/V42BIS[0d]
05/08 08:40:06 yS0 CND: CONNECT 21600/ARQ/V34/LAPM/V42BIS
05/08 08:40:06 yS0 CND: found: 21600/ARQ/V34/LAPM/V42BIS[0a] ** found **
05/08 08:40:06 yS0 waiting for line to clear (VTIME), read:
~[ff]}#[c0]!}!}!}
}7}"}&} }*} } }%}&}4[ce][d4][92]}'}"}(}"}-}#}&}0[ba]~
05/08 08:40:06 yS0 looking for utmp entry... (my PID: 338)
05/08 08:40:06 yS0 utmp + wtmp entry made
05/08 08:40:07 yS0 tio_set_flow_control( HARD )
05/08 08:40:07 yS0 print welcome banner (/etc/issue)
05/08 08:40:07 yS0 getlogname (AUTO_PPP), read:~[ff]}#[c0]!
05/08 08:40:09 yS0 input finished with '\r', setting ICRNL ONLCR
05/08 08:40:09 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
05/08 08:40:09 yS0 login: use login config file
/usr/local/etc/mgetty+sendfax
/login.config
05/08 08:40:09 yS0 match: user='/AutoPPP/', key=''
05/08 08:40:09 yS0 match: user='/AutoPPP/', key='/FIDO/'
05/08 08:40:09 yS0 match: user='/AutoPPP/', key=''
05/08 08:40:09 yS0 match: user='/AutoPPP/', key='/AutoPPP/'*** hit!
05/08 08:40:09 yS0 calling login: cmd='/usr/sbin/pppd', argv[]='pppd
auth -cha
p +pap login'
05/08 08:40:09 ##### data dev=ttyS0, pid=338, caller=none,
conn='21600/ARQ/V34/L
APM/V42BIS', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
05/08 08:40:09 yS0 setenv: 'CALLER_ID=none'
05/08 08:40:09 yS0 setenv: 'CONNECT=21600/ARQ/V34/LAPM/V42BIS'
--
05/08 08:40:16 yS0 mgetty: experimental test release 1.1.9-Aug17
05/08 08:40:16 yS0 check for lockfiles
05/08 08:40:16 yS0 checklock: no active process has lock, will remove
05/08 08:40:16 yS0 locking the line
05/08 08:40:16 yS0 makelock(ttyS0) called
05/08 08:40:16 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
05/08 08:40:16 yS0 lock made
05/08 08:40:16 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR
05/08 08:40:16 yS0 lowering DTR to reset Modem
05/08 08:40:17 yS0 tss: set speed to 115200 (10002)
05/08 08:40:17 yS0 tio_set_flow_control( HARD )
05/08 08:40:17 yS0 waiting for line to clear (VTIME), read:
05/08 08:40:17 yS0 send: ATZ[0d]
05/08 08:40:17 yS0 waiting for ``OK''
05/08 08:40:17 yS0 got: ATZ[0d]
05/08 08:40:17 yS0 CND: ATZ[0d][0a]OK ** found **
05/08 08:40:17 yS0 send: ATM0[0d]
05/08 08:40:17 yS0 waiting for ``OK''
05/08 08:40:17 yS0 got: [0d]
05/08 08:40:17 yS0 CND: OK[0a]ATM0[0d]
05/08 08:40:17 yS0 CND: ATM0[0d][0a]OK ** found **
05/08 08:40:17 yS0 send: [0d]
05/08 08:40:17 yS0 waiting for line to clear (VTIME), read: [0d][0a][0d]
05/08 08:40:17 yS0 removing lock file
05/08 08:40:17 yS0 waiting...
--------------------------------
Here are some of my ppp config files:
/etc/ppp/options (entire file)
--------------------------------
debug
asyncmap 0
crtscts
lock
ms-dns 206.53.104.1
ms-dns 206.53.104.2
--------------------------------
(By the way...the debug option here is supposed to cause a ppp debug log
file to be created. I can't find it anywhere...I've been told to look for
/var/log/ppp, /var/log/debug, etc. It is things like this that make me
ready to jump off the RH bandwagon. I'm noticing that most people use RH,
but the *real* users (and therefore the people able to give advice) use
Debian or Slackware. .....then again, maybe this missing log file has
nothing to do with the non-UNIX standard way that RH likes to do things.
/etc/ppp/options.ttyS0 (entire file)
--------------------------------
auth
proxyarp
206.53.104.81:206.53.104.243
modem
-chap
+pap
login
---------------------------------
/etc/ppp/pap-secrets (part of file)
---------------------------------------
# INBOUND connections
# Every regular user can use PPP and has to use passwords from /etc/passwd
#* os ""
twolf ra01 "" *
#soyez metallica "" *
----------------------------------------------
There is also a line in my /etc/inittab that does this:
----------------------------------------------
S0:2345:respawn:/usr/local/sbin/mgetty -m '"" ATZ OK ATM0 OK ""' -D ttyS0
----------------------------------------------
The left '"" above is a single quote followed by 2 double quotes.
The right ""' is 2 double quotes followed by a single quote. (the mirror of
the other)
Thanks.
|
|