Автор Тема: Нет подключения pppoe  (Прочитано 2416 раз)

Оффлайн pve

  • Участник
  • *
  • Сообщений: 1
Нет подключения pppoe
« : 02.04.2010 10:53:17 »
Есть ALT Linux Server 5.0.0 x86_64.
нет подключения pppoe к провайдеру

установлены:
alterator-net-pppoe-0.9-alt1
ppp-pppoe-2.4.4-alt12
rp-pppoe-gui-3.10-alt1
rp-pppoe-client-3.10-alt1
rp-pppoe-base-3.10-alt1
ppp-common-0.5.1-alt1
ppp-2.4.4-alt12

# pppoe.conf                                                           
ETH='eth1'                           
USER='xxxxxx'                                                     
DEMAND=no                                                                     
DNSTYPE=SERVER                                                   
PEERDNS=yes                                                               
DNS1=
DNS2=
DEFAULTROUTE=yes                                       
CONNECT_TIMEOUT=30                                                   
CONNECT_POLL=2                                                 
ACNAME=                   
SERVICENAME=pppoe             
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=""

Логин /пароль в chap-secrets и pap-secrets прописаны в виде:
"логин"     *       "пароль"

pppoe-debug.txt
--------------------------------------------
* The following section contains information about your system
Fri Apr  2 09:28:23 YEKST 2010
Output of uname -a
Linux kino.t7.ru 2.6.27-ovz-smp-alt9 #1 SMP Tue Aug 18 09:29:34 UTC 2009 x86_64 GNU/Linux
---------------------------------------------
* The following section contains information about your network
* interfaces.  The one you chose for PPPoE should contain the words:
* 'UP' and 'RUNNING'.  If it does not, you probably have an Ethernet
* driver problem.
Output of ifconfig -a
breth0    Link encap:Ethernet  HWaddr 90:E6:BA:B7:01:45
          inet addr:10.0.13.248  Bcast:0.0.0.0  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:50742 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4500 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5955593 (5.6 MiB)  TX bytes:1905838 (1.8 MiB)

breth1    Link encap:Ethernet  HWaddr 00:26:5A:06:84:6F
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:80 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3850 (3.7 KiB)  TX bytes:1368 (1.3 KiB)

eth0      Link encap:Ethernet  HWaddr 90:E6:BA:B7:01:45
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:458680 errors:0 dropped:0 overruns:0 frame:0
          TX packets:592870 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:55265690 (52.7 MiB)  TX bytes:165486434 (157.8 MiB)
          Interrupt:248 Base address:0x2000

eth1      Link encap:Ethernet  HWaddr 00:26:5A:06:84:6F
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:196 errors:0 dropped:0 overruns:0 frame:0
          TX packets:171 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:12346 (12.0 KiB)  TX bytes:11648 (11.3 KiB)
          Interrupt:16 Base address:0xe800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1041 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1041 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:102756 (100.3 KiB)  TX bytes:102756 (100.3 KiB)

---------------------------------------------
* The following section contains information about kernel modules
* If the module for your Ethernet card is 'tulip', you might
* want to look for an updated version at http://www.scyld.com
Output of lsmod
Module                  Size  Used by
nf_conntrack_ftp       17848  0
xt_physdev             11024  1
xt_tcpudp              11776  14
iptable_mangle         12928  0
iptable_nat            16260  0
nf_nat                 28436  1 iptable_nat
nf_conntrack_ipv4      29856  7 iptable_nat,nf_nat
iptable_filter         12416  1
ip_tables              27792  3 iptable_mangle,iptable_nat,iptable_filter
pppoe                  21512  0
pppox                  12056  1 pppoe
binfmt_misc            18700  1
af_packet              29568  2
ppp_async              18432  0
crc_ccitt              10624  1 ppp_async
ppp_generic            37016  3 pppoe,pppox,ppp_async
slhc                   14848  1 ppp_generic
bridge                 64416  0
stp                    11268  1 bridge
ipt_ULOG               18216  3
xt_state               10752  4
nf_conntrack           96528  5 nf_conntrack_ftp,iptable_nat,nf_nat,nf_conntrack_ipv4,xt_state
x_tables               32136  6 xt_physdev,xt_tcpudp,iptable_nat,ip_tables,ipt_ULOG,xt_state
dm_mod                 70640  0
ehci_hcd               47628  0
usbcore               173328  2 ehci_hcd
via_rhine              32520  0
r8169                  44804  0
mii                    14592  2 via_rhine,r8169
sg                     44256  0
evdev                  19872  3
pcspkr                 11264  0
rtc_cmos               19256  0
thermal                27424  0
sr_mod                 25284  0
cdrom                  46504  1 sr_mod
rtc_core               28484  1 rtc_cmos
rtc_lib                11776  1 rtc_core
processor              47928  1 thermal
button                 15776  0
ext3                  147472  2
jbd                    62888  1 ext3
mbcache                17540  1 ext3
raid456               137256  1
async_xor              12032  1 raid456
async_memcpy           10752  1 raid456
async_tx               16508  3 raid456,async_xor,async_memcpy
xor                    13840  2 raid456,async_xor
ahci                   42636  6
libata                197728  1 ahci
dock                   18080  1 libata
sd_mod                 45512  11
crc_t10dif             10368  1 sd_mod
scsi_mod              180984  4 sg,sr_mod,libata,sd_mod
---------------------------------------------
* The following section lists your routing table.
* If you have an entry which starts with '0.0.0.0', you probably
* have defined a default route and gateway, and pppd will
* not create a default route using your ISP.  Try getting
* rid of this route.
Output of netstat -n -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.0.13.0       0.0.0.0         255.255.255.0   U         0 0          0 breth0
10.0.13.0       10.0.13.1       255.255.255.0   UG        0 0          0 breth0
0.0.0.0         10.0.13.1       0.0.0.0         UG        0 0          0 breth0
---------------------------------------------
Contents of /etc/resolv.conf
* The following section lists DNS setup.
* If you can browse by IP address, but not name, suspect
* a DNS problem.
# Generated by resolvconf
# Do not edit manually, use
# /etc/net/ifaces/<interface>/resolv.conf instead.
search t7.ru
nameserver 127.0.0.1
nameserver 10.0.13.1
---------------------------------------------
* The following section lists /etc/ppp/options.
* You should have NOTHING in that file.
Contents of /etc/ppp/options
lock
noipdefault
noauth
replacedefaultroute
nopredictor1
plugin rp-pppoe.so
---------------------------------------------
* The following section identifies your Ethernet interface
* and user name.  Some ISP's need 'username'; others
* need 'username@isp.com'.  Try both
ETH=eth1; USER=xxxxxx
---------------------------------------------
* The following section shows the pppd command we will invoke
pppd invocation
/usr/bin/setsid /usr/sbin/pppd pty '/usr/sbin/pppoe -p /var/run/pppoe.conf-pppoe.pid.pppoe -I eth1 -T 80 -U  -m 1412   '  noipdefault noauth default-asyncmap defaultroute hide-pass
word nodetach usepeerdns mtu 1492 mru 1492 noaccomp nodeflate nopcomp novj novjccomp user v41679198 lcp-echo-interval 20 lcp-echo-failure 3   debug
---------------------------------------------

Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.3 compiled against pppd 2.4.4
using channel 52
Using interface ppp0
Connect: ppp0 <--> /dev/pts/6
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x430be272>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x430be272>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x430be272>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x430be272>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x430be272>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x430be272>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x430be272>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x430be272>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x430be272>]
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x430be272>]
LCP: timeout sending Config-Requests
Connection terminated.
Modem hangup
Waiting for 1 child processes...
  script /usr/sbin/pppoe -p /var/run/pppoe.conf-pppoe.pid.pppoe -I eth1 -T 80 -U  -m 1412    -D /tmp/pppoe-debug-16410/pppoe-debug.txt-0, pid 16467
pppoe: Timeout waiting for PADO packets
Script /usr/sbin/pppoe -p /var/run/pppoe.conf-pppoe.pid.pppoe -I eth1 -T 80 -U  -m 1412    -D /tmp/pppoe-debug-16410/pppoe-debug.txt-0 finished (pid 16467), status = 0x1
---------------------------------------------
* The following section is an extract from your log.
* Look for error messages from pppd, such as
* a lack of kernel support for PPP, authentication failure
* etc.
Extract from /var/log/messages
Apr  2 09:21:17 kino pppd[16205]: Plugin rp-pppoe.so loaded.
Apr  2 09:21:17 kino pppd[16205]: RP-PPPoE plugin version 3.3 compiled against pppd 2.4.4
Apr  2 09:21:17 kino pppd[16205]: pppd 2.4.4 started by root, uid 0
Apr  2 09:21:17 kino pppd[16205]: Using interface ppp0
Apr  2 09:21:17 kino pppd[16205]: Connect: ppp0 <--> /dev/pts/5
Apr  2 09:21:48 kino pppd[16205]: LCP: timeout sending Config-Requests
Apr  2 09:21:48 kino pppd[16205]: Connection terminated.
Apr  2 09:21:48 kino pppd[16205]: Modem hangup
Apr  2 09:21:52 kino pppoe[16206]: Timeout waiting for PADO packets
Apr  2 09:21:52 kino pppd[16205]: Script /usr/sbin/pppoe -p /var/run/pppoe.conf-pppoe.pid.pppoe -I eth1 -T 80 -U  -m 1412    finished (pid 16206), status = 0x1
Apr  2 09:21:52 kino pppd[16205]: Exit.
Apr  2 09:28:23 kino pppd[16466]: Plugin rp-pppoe.so loaded.
Apr  2 09:28:23 kino pppd[16466]: RP-PPPoE plugin version 3.3 compiled against pppd 2.4.4
Apr  2 09:28:23 kino pppd[16466]: pppd 2.4.4 started by root, uid 0
Apr  2 09:28:23 kino pppd[16466]: Using interface ppp0
Apr  2 09:28:23 kino pppd[16466]: Connect: ppp0 <--> /dev/pts/6
Apr  2 09:28:54 kino pppd[16466]: LCP: timeout sending Config-Requests
Apr  2 09:28:54 kino pppd[16466]: Connection terminated.
Apr  2 09:28:54 kino pppd[16466]: Modem hangup
Apr  2 09:28:58 kino pppoe[16467]: Timeout waiting for PADO packets
Apr  2 09:28:58 kino pppd[16466]: Script /usr/sbin/pppoe -p /var/run/pppoe.conf-pppoe.pid.pppoe -I eth1 -T 80 -U  -m 1412    -D /tmp/pppoe-debug-16410/pppoe-debug.txt-0 finished (p
id 16467), status = 0x1
Apr  2 09:28:58 kino pppd[16466]: Exit.
Fri Apr  2 09:28:58 YEKST 2010
---------------------------------------------
* The following section is a dump of the packets
* sent and received by rp-pppoe.  If you don't see
* any output, it's an Ethernet driver problem.  If you only
* see three PADI packets and nothing else, check your cables
* and modem.  Make sure the modem lights flash when you try
* to connect.  Check that your Ethernet card is in
* half-duplex, 10Mb/s mode.  If all else fails,
* try using pppoe-sniff.
rp-pppoe debugging dump
rp-pppoe-3.10
09:28:23.494 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:26:5a:06:84:6f DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 53 40 00 00               ........S@..

09:28:28.494 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:26:5a:06:84:6f DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 53 40 00 00               ........S@..

09:28:38.494 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 00:26:5a:06:84:6f DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 53 40 00 00               ........S@..

в этот же коммутатор включен другой компьютер с ALT Linux Server 4.0.1 на нем соединение с теми-же настройками поднимается без проблем... подключал десктопную машину картина та же - на 4-ке нет проблем... 5-ка - глухо как в танке...

второй день вожусь, в интернете ничего похожего не нашел... уже и идей не осталось...

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 361
  • Учиться .... Телепатами не рождаются, ими ....
Re: Нет подключения pppoe
« Ответ #1 : 02.04.2010 21:26:01 »
У вас соединение организуется через rp-pppoe, или через etcnet?