Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2001 19:40:13 -0500
From:      "Joe & Fhe Barbish" <barbish@a1poweruser.com>
To:        "FBSD Questions" <questions@FreeBSD.ORG>
Subject:   Can't get dial in  modem connection to FBSD to work
Message-ID:  <LPBBIGIAAKKEOEJOLEGOCEOFCGAA.barbish@a1poweruser.com>

next in thread | raw e-mail | index | archive | help
To all FBSD modem users.

	I have FBSD 4.4 installed with external modems on com1 and com2. I can tip
to both coms and get AT/ok prompt from the modems. I have dial out to my ISP
working, but can not get dial in to work. I am trying to use dynamic ip
addressing in both directions with auto pap/chap logins. I added the user
brown using adduser, and added him to network group. Below is my
/etc/ppp/ppp.conf file. I have turned on ttyd0 in ttys file and can see it
in ps ax command display.  What am I missing to make this trigger off when I
call in from a win98 box?



#################################################################
# PPP Configuration File for dial out external modem to ISP
# and Dial in external modem for connection to this FBSD system
#################################################################

default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)

 # Ensure that "device" references the correct serial port
 # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
 #
 set device /dev/cuaa0

 set speed 19200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set timeout 0				# no idle time out
 enable dns				# request DNS info (for resolv.conf)

dialisp:
 # This label is used in the ppp -background dialisp  startup command
 # for papchap auto logon to standard ISP provider
 #
 # edit the next three lines and replace the values with
 # the values which have been assigned by your ISP.
 #

 set phone 1440xxx0045
 set authname brown
 set authkey 7734fake

 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR			# Add a (sticky) default route

 # Configuration for modem dial in
 # The following labels match each ttyd activated in the /etc/ttys file
 # assign unique ip address from internal ip pool range.
 # using the FBSD defaults in /etc/hosts file

ttyd0:
 set ifaddr 10.0.0.1 10.0.0.20 255.255.255.255
 enable proxy

ttyd1:
 set ifaddr 10.0.0.1 10.0.0.21 255.255.255.255
 enable proxy

ttyd2:
 set ifaddr 10.0.0.1 10.0.0.22 255.255.255.255
 enable proxy

dialin:

 # enable passwdauth forces use of /etc/master.passwd file
 # instead of /etc/ppp/ppp.secret file

 allow user brown
 enable passwdauth


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LPBBIGIAAKKEOEJOLEGOCEOFCGAA.barbish>