Greetings,
I have setup a computer to be a dialin server, which works ok when I
dial in from a windows host, but I can't seem to get my linux box to
connect.

I have setup the dialin server as shown at:
http://forums.gentoo.org/viewtopic.php?t=88137&highlight=mgetty+autoppp

The mgetty log on the server shows what happens when the windows hosts
conencts:

11/21 14:18:19 yS0  wfr: waiting for ``RING''
11/21 14:18:20 yS0  send: ATA[0d]
11/21 14:18:20 yS0  waiting for ``CONNECT'' ** found **
11/21 14:18:33 yS0  send:
11/21 14:18:33 yS0  waiting for ``_'' ** found **
11/21 14:18:35 ##### data dev=ttyS0, pid=2514, caller='none',
conn='38400/31200
LAP-M', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'

But when the linux host attempts to connect (where XXXX blanks my username):

11/22 07:10:54 yS0  checking if modem is still alive
11/22 07:10:54 yS0  mdm_send: 'AT' -> OK
11/22 07:10:54 yS0  waiting...
11/22 07:59:39 yS0  wfr: waiting for ``RING''
11/22 07:59:39 yS0  send: ATA[0d]
11/22 07:59:39 yS0  waiting for ``CONNECT'' ** found **
11/22 07:59:53 yS0  send:
11/22 07:59:53 yS0  waiting for ``_'' ** found **
11/22 07:59:54 ##### data dev=ttyS0, pid=5927, caller='none',
conn='38400/31200
LAP-M', name='', cmd='/bin/login', user='XXXXX'

I'm no expert but it looks to me as though when the linux host is
connecting /bin/login is executed instaed of pppd. I am not sure how to fix
this though. I am using wvdial to connect (because it is needed by
 rdial: www-jcsu.jesus.cam.ac.uk/~acw43/rdial/rdial.shtml)

Both hosts use the same username and password.

/etc/options.server looks like:
debug
asyncmap 0
modem
crtscts
lock
require-pap
refuse-chap
vj-max-slots 16
predictor1
deflate 15,15
bsdcomp 15,15
login
proxyarp
ms-dns 192.168.0.1
ms-dns 202.154.83.53
192.168.0.8:192.168.0.10

/etc/mgetty*/login.config look like:
/AutoPPP/ - - /usr/sbin/pppd file /etc/ppp/options.server
*       -       -       /bin/login @

Any suggestions are appreciated,
Kadmos
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to