Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.sdsmt.edu!news.mid.net!mr.net!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!newsfeed.internetmci.com!solaris.cc.vt.edu!csugrad.cs.vt.edu!csugrad.cs.vt.edu!not-for-mail
From: jagnew@csugrad.cs.vt.edu (H. Jared Agnew)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: PPP - setup Question -
Date: 23 Sep 1996 22:54:05 -0400
Organization: Virginia Tech Computer Science Dept, Blacksburg, VA
Lines: 67
Message-ID: <527igd$amn@csugrad.cs.vt.edu>
References: <3247300D.57A1@airmail.net>
NNTP-Posting-Host: csugrad.cs.vt.edu
X-Newsreader: TIN [version 1.2 PL2]
Martin,
We need a bit more information, first what are the pseudo devices compiled
in your kernel, meaning do you have a tun, ppp, sl device compiled in. Then
if you want to use the tun0 device, are you using ppp to connect?
Martin Stack (jumper@airmail.net) wrote:
: HELP !
: When I boot up here is what I see for tun0, CAN ANYONE tell me what is
: going on in this string of stuff ??????
: sysconfig:
: ifconfig_tun0="inet machine.airmail.net 0.0.0.0 betnast 0xffffff00"
: MY MACHINE ON BOOT
: ifconfig ioctl(CIOCAIFADD):Destination address required
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This means that the ifconfig call wants another parameter, which happens
to be the IP of the machine you will be dialing into.
B
: tun0: flags=8010<POINTTOPOINT,MULTICAST> mtu 1500
: online Doc says:
: tun0: flags=51<UP,POINTTOPOINT,RUNNING> mtu 1500
: inet x.x.x.x --> y.y.y.y netmask 0xffffffff
: I think this is the source of my connection problems. I can connect but
: my connectionb times out due to inctivity. Any pointer as to which
: direction to go would greatly be appreciated.
: You can mail me direct at jumper@airmail.net if this is a flamable
: question. THANKS !!!!
: Martin
Now I'm definatly not a guru, and there will be people posting after this
that will atest to that fact, but I have found that pppd is much easier, and
faster. So if you want here are some tips on using pppd.
1. Make sure that the pseudo-device ppp is compiled into your kernel
(It is not by default)
2. Create a /etc/ppp/options file with nothing in it.
3. Create a /etc/ppp/ppp.chat file with the following in it.
ABORT BUSY ABORT 'NO CARRIER' '' ATZ OK ATDT<phone number> CONNECT
ogin:--ogin: <user name> assword: <password>
3b. You may need to change the ogin: prompt to ame:--ame: if your isp
provides you with a different prompt. Also if you are prommpted to
type anything when you login you will need to add it there.
4. Then on the command prompt type
pppd <speed> <device> connect 'chat -f /etc/ppp/ppp.chat'
ex. pppd 57600 /dev/cuaa1 connect 'chat -f /etc/ppp/ppp.chat'
Good Luck!
--- Jared
--jared@vt.edu