From owner-freebsd-questions Sun Jul 22 22:44:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web12007.mail.yahoo.com (web12007.mail.yahoo.com [216.136.172.215]) by hub.freebsd.org (Postfix) with SMTP id 0614A37B403 for ; Sun, 22 Jul 2001 22:44:48 -0700 (PDT) (envelope-from bsd2000au@yahoo.com.au) Message-ID: <20010723054447.1103.qmail@web12007.mail.yahoo.com> Received: from [61.9.188.211] by web12007.mail.yahoo.com via HTTP; Mon, 23 Jul 2001 15:44:47 EST Date: Mon, 23 Jul 2001 15:44:47 +1000 (EST) From: =?iso-8859-1?q?Keith=20Spencer?= Subject: Cant get it to allow dialins ! To: paulh@logicsquad.net, fbsd In-Reply-To: <3675.10.0.0.3.995529386.squirrel@grover.logicsquad.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Hi Keith, > > Weren't you trying to get this up about a month ago? Hi Paul & all, I am finally getting somewhere, I am just not sure where! Mind looking over my setups? The modem answers and a terminal screen pops up on my win* dialing pc. The terminal window on PC displays control rubbish when a key is pressed. I pressed enter many times but no negotiation seems to occur. Watching the server when I am dialing in (a win* laptop in the same room) no errors are reported...in fact nothing reported. As far as I know I have done this to setup on the server: a) checked gettytab for an entry b) opened up ttys entry c) edited ppp.conf d) created a user to dial in with e) put 2 empty (nearly..3 bytes) .hushlogin and another (cant recall name) f) edited ppp.linkup & ppp.secret & ppp-shell g) hooked up...damn! No worky All files (or snips are below) Many thanks Keith Here's some gettytab snips. I am using the std.115200 by your advice. ++++++++++gettytab++++++++++++++++++++++ default:\ :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\ :if=/etc/issue: SNIP SNIP 8< ---------------- std.57600|57600-baud:\ :np:sp#57600: std.115200|115200-baud:\ :np:sp#115200: std.230400|230400-baud:\ :np:sp#230400: ++++++++++++++++++++++++++++++++++++++++++++++++ Now for the ttys file entry ++++++++++++++++ttys+++++++++++++++++++++++++++ SNIP SNIP 8< ---------------- ttyd0 "/usr/libexec/getty std.19200" dialup on SNIP SNIP 8< ---------------- +++++++++++++++++++++++++++++++++++++++++++++++ I found this file! I can't recall creating it?? What's it do? ++++++++++options.ttyd0+++++++++++++++ domain smmc.qld.edu.au crtscts modem passive proxyarp 203.56.180.1:203.56.180.220 ++++++++++++++++++++++++++++++++++++++ +++++++++++ppp.conf+++++++++++++++++++ default: # or name_of_service_provider set device PPPoE:fxp0 # replace xl1 with your ethernet device set speed sync set mru 1492 set mtu 1492 # now a patch to fix errant mtu sizes from windoze machines enable tcpmssfixup # some handshake stuff set ctsrts off enable lqr set authname password set authkey username set log Phase tun command # you can add more detailed logging if you wish add default HISADDR enable dns # Now some stuff for the dialin line set debug phase lcp chat set timeout 0 papchap: set authname username set authkey passwd # The dialin line dynamic address allocation # the ns machines are listed separated by space...at the moment only one here ttyd0: accept dns set dns 203.56.180.1 set ifaddr 203.56.180.150 203.56.180.17 255.255.255.255 enable proxy ++++++++++++++++++++++++++++++++++++++ +++++++++++ppp.secret+++++++++++++++++ dialinuser password ++++++++++++++++++++++++++++++++++++++ Here is the ppp.linkup file +++++++++++ppp.linkup+++++++++++++++++ MYADDR: delete 0 add 0 0 HISADDR ttyd0: add 203.56.180.17 netmask 255.255.255.255 HISADDR ++++++++++++++++++++++++++++++++++++++ Looks like I do have something to fire up PPP?(see below) Mind you, I don't understand how this ppp-shell file gets triggered! ++++++++++ppp-shell+++++++++++++++++++++ #!/bin/sh - # Keith edited June 2001 IDENT=`echo $0 | sed -e 's/^.*-\(.*\)$/\1/'` echo IDENT is now $IDENT CALLEDAS="$IDENT" TTY=`tty` if [ x$IDENT = xdialup ]; then IDENT=`basename $TTY` fi echo "PPP for $CALLEDAS on $TTY" echo "Starting PPP for $IDENT" echo "~~~~~~~~~~~~~~~~~~~~~~~~~" exec /usr/sbin/ppp -direct $IDENT +++++++++++++++++++++++++++++++++++++++ _____________________________________________________________________________ http://messenger.yahoo.com.au - Yahoo! Messenger - Voice chat, mail alerts, stock quotes and favourite news and lots more! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message