>а что ifconfig дает?
Команда ifconfig -a выдает вот что:
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.1.126 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::250:daff:fe43:f054%xl0 prefixlen 64 scopeid 0x1
ether 00:50:da:43:f0:54
media: Ethernet autoselect (100baseTX)
status: active
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 80.80.98.34 netmask 0xffffff00 broadcast 80.80.98.255
inet6 fe80::250:baff:fe5f:5e48%rl0 prefixlen 64 scopeid 0x2
ether 00:50:ba:5f:5e:48
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
faith0: flags=8000<MULTICAST> mtu 1500
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
inet6 fe80::250:daff:fe43:f054%tun0 prefixlen 64 scopeid 0x8
Opened by PID 104
Это файл ppp.conf :
#################################################################
# PPP Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself@cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.2.2.5 2001/07/13 10:55:23 brian Exp $
#################################################################
default:
set log Phase tun command # you can add more detailed logging if you wish
set ifaddr 80.80.98.34/0 10.0.0.2/0
papchap:
set device PPPoE:rl0 # replace rl0 with your ethernet device
set authname MyName
set authkey MyPassword
set dial
set login
add default HISADDR
А это ppp.log :
Apr 18 16:30:06 ns ppp[104]: tun0: Phase: deflink: Connected!
Apr 18 16:30:06 ns ppp[104]: tun0: Phase: deflink: opening -> dial
Apr 18 16:30:06 ns ppp[104]: tun0: Phase: deflink: dial -> carrier
Apr 18 16:30:11 ns ppp[104]: tun0: Phase: deflink: Disconnected!
Apr 18 16:30:11 ns ppp[104]: tun0: Phase: deflink: carrier -> hangup
Apr 18 16:30:11 ns ppp[104]: tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out
Apr 18 16:30:11 ns ppp[104]: tun0: Phase: deflink: : 0 packets in, 0 packets out
Apr 18 16:30:11 ns ppp[104]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Thu Apr 18 16:30:11 2002
Apr 18 16:30:11 ns ppp[104]: tun0: Phase: deflink: hangup -> opening
Apr 18 16:30:11 ns ppp[104]: tun0: Phase: deflink: Enter pause (30) for redialing.
Подскажи что не так. Заранее благодарен. Борис.