Date: Fri, 19 Jun 1998 13:43:55 +1000 From: Robert Chalmers <robert@chalmers.com.au> To: freebsd-questions <freebsd-questions@FreeBSD.ORG>, Brian Somers <brian@Awfulhak.org> Subject: [2 x Q] Help determing kernel parameters, AND PPP warnings. COMPLEX. Message-ID: <3589DE7B.3C8D1DEE@chalmers.com.au>
next in thread | raw e-mail | index | archive | help
Hi,
sorry to trouble you directly, but I have upgraded to the ppp-980618.src, and
put the ifconfig tun0 bits in place. I'm running a much hacked about
2.2-961014-SNAP. I know, I know. I will upgrade when I can get this server
off-line. Or better, replace it with a whole new system, including upgraded OS.
However,
trying to find out what some of these things are:
These are the interfaces I have in place: I know what ed0 is, but according to
this I have 4 point-to-point links up! Surely I only need tun0, for PPP?
I also know what the lo0 lookback is. I also know what ppp0 is, and have taken
it out since I listed this. however, I can find virtually nothing on lp0, or
sl0 .
Can I take out sl from the KERNEL? And what about lp0? Where is that
enabled/disabled?
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 203.1.96.5 netmask 0xffffff00 broadcast 203.1.96.255
inet 203.1.96.150 netmask 0xffffffff broadcast 203.1.96.150
inet 203.1.96.151 netmask 0xffffffff broadcast 203.1.96.151
inet 203.1.96.152 netmask 0xffffffff broadcast 203.1.96.152
inet 203.1.96.153 netmask 0xffffffff broadcast 203.1.96.153
ether 00:00:c0:4f:7a:54
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
inet 203.1.96.1 --> 203.26.20.131 netmask 0xffffff00
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
Now, also, I am getting these warnings at start up.
ppp[181]: Warning: No available tunnel devices found (Device busy).
ppp[181]: Warning: bundle_Create: No such file or directory
However, PPP does come up, and actually starts up.
This is the configs related to it.
The appropriate bits in /etc/sysconfig:
network_interfaces="lo0 ed0 tun0"
ifconfig_lo0="inet localhost"
ifconfig_ed0="inet 203.1.96.5 netmask 255.255.255.0"
ifconfig_tun0=
#
router=NO
*********************************** PPP setups. ppp.conf:
# PPP setups. ppp.conf:
# Default setup.
default:
set log Phase Chat Connect command
set device /dev/cuaa0
set speed 57600
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\"
ATZ OK-AT-OK ATM0E1Q0&C1&D2 OK \\dATDT\\T TIMEOUT 40 CONNECT"
################
# tpgi
###############
tpgi:
set phone 49440894
set login " Username:-\\r-Username: xxxxx Password: xxxxx choice:> ppp"
set timeout 120
set hangup "\"\" AT OK-AT-OK ATZ OK"
set redial 30 0
set ifaddr 203.1.96.1 203.26.20.131
add default HISADDR
#=====
********************************* PPP.linkup:
# PPP.linkup:
# By default
#
MYADDR:
203.1.96.1:
#
Now, when the system is booting,
it tellms me there is no route to delete? and
it shows the ifconfig tun line TWICE.
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
There is about a 30 second pause after boot up before it actually connects to
the upline server.
It does come up, but I notice at night, if there is a hangup, it doesn't want
to reconnect. Or, it won't keep trying if it does. It gives up after about
three tries.
Any pointers would be thankfully accepted,
Cheers
Robert
--
Support Whirled Peas. Business in China? China House
robert@chalmers.com.au ph:61 7 49440357 fx:61 7 49578425
China House Uses Webposition to ensure Top Spot in Searches
http://www.chalmers.com.au/ChinaHouse/Business/webposition
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?3589DE7B.3C8D1DEE>
