не поднимается pppoe
Модем d-link DSL200 B1 + провайдер Avangard.
Вот что у меня получается:
Код: Выделить всё
[root@localhost home]# eciadsl-start
[EciAdsl 1/5] Setting up USB support...
Preliminary USB device filesystem is OK
[EciAdsl 2/5] Uploading firmware...
Process skipped .. no more needed
firmware loaded successfully
[EciAdsl 3/5] Synchronization...
OK eciadsl-synch: success
Synchronization successful
Mounting devpts filsystem...
mount: devpts already mounted or /dev/pts busy
failed to mount
[EciAdsl 4/5] Connecting to provider...
Connection successful
[EciAdsl 5/5] Setting up route table...
Waiting for tap0...
ERROR: couldn't set your static IP or your external gateway
If you don't use PPPoE, please check your configuration.
[root@localhost home]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)
tap0 Link encap:Ethernet HWaddr 4A:39:2A:A9:DC:83
inet6 addr: fe80::4839:2aff:fea9:dc83/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 b) TX bytes:308 (308.0 b)
[root@localhost home]# pppoe -I tap0 -A
Access-Concentrator: SPb-SZT-BRAS-E320-1-343
Got a cookie: e5 ec 85 c0 cb d9 22 02 34 93 34 7c 52 47 cc 7f
AC-Ethernet-Address: 00:90:1a:41:fc:59
--------------------------------------------------
[root@localhost home]# pppoe-start
................TIMED OUTpppoe.conf :
Код: Выделить всё
#***********************************************************************
#
# pppoe.conf
#
# Configuration file for rp-pppoe. Edit as appropriate and install in
# /etc/ppp/pppoe.conf
ETH='tap0'
USER='ptn'
DEMAND=no
DNSTYPE=NOCHANGE
PEERDNS=no
DNS1=213.158.0.6
DNS2=212.48.193.36
DEFAULTROUTE=yes
CONNECT_TIMEOUT=30
CONNECT_POLL=2
ACNAME=
SERVICENAME=
PING="."
CF_BASE=`basename $CONFIG`
PIDFILE="/var/run/$CF_BASE-pppoe.pid"
SYNCHRONOUS=no
CLAMPMSS=1412
LCP_INTERVAL=20
LCP_FAILURE=3
PPPOE_TIMEOUT=80
FIREWALL=NONE
LINUX_PLUGIN=
PPPOE_EXTRA=""
PPPD_EXTRA=""конфиг eciadsl:
Код: Выделить всё
VID1=2001
PID1=5100
VID2=2001
PID2=5100
MODE=LLC_SNAP_RFC1483_BRIDGED_ETH_NO_FCS
VCI=35
VPI=0
FIRMWARE=/etc/eciadsl/firmware00.bin
SYNCH=/etc/eciadsl/gs7470_synch06.bin
PPPD_USER=ptn
PPPD_PASSWD=ptn
USE_DHCP=no
USE_STATICIP=no
STATICIP=
GATEWAY=
MODEM=D-Link DSL200 rev B1
MODEM_CHIPSET=GS7470
SYNCH_ALTIFACE=5
PPPOECI_ALTIFACE=1
PROVIDER=Other
DNS1=213.158.0.6
DNS2=212.48.193.36eciadsl-doctor :
Код: Выделить всё
[root@localhost sf1nks]# eciadsl-doctor
You are using linux kernel version 2.6.17-5mdv
Support for USB is OK
Preliminary USB device filesystem is OK
dabusb module is not loaded: OK
UHCI support is OK
OHCI support is not needed
/dev/ppp is OK
HDLC support is OK
HDLC support is OK (no bug)
Loading EZ-USB firmware...
Process skipped .. no more needed
Loading the GlobeSpan firmware...
OK eciadsl-synch: success
You are using pppd version 2.4.3 (untested)
You have an /etc/ppp/options file. Options in this file may conflict with
options from /etc/ppp/peers/adsl. We suggest to remove this file or make a
backup copy.
No existing PPP connection... trying to make one (please wait)
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/pts/2
Modem hangup
Connection terminated.
Script /usr/bin/eciadsl-pppoeci -vpi 0 -vci 35 -vendor 0x2001 -product 0x5100 -mode LLC_SNAP_RFC1483_BRIDGED_ETH_NO_FCS finished (pid 4245), status = 0x0
Couldn't get channel number: Input/output error
Script /usr/bin/eciadsl-pppoeci -vpi 0 -vci 35 -vendor 0x2001 -product 0x5100 -mode LLC_SNAP_RFC1483_BRIDGED_ETH_NO_FCS finished (pid 4269), status = 0x0
Couldn't get channel number: Input/output error
Script /usr/bin/eciadsl-pppoeci -vpi 0 -vci 35 -vendor 0x2001 -product 0x5100 -mode LLC_SNAP_RFC1483_BRIDGED_ETH_NO_FCS finished (pid 4276), status = 0x0
Couldn't get channel number: Input/output errorнесколько дней разбирался сам, так как недавно поставил линукс..
Где искать причину ??