lug-bg: Problemi s rp-pppoe
- Subject: lug-bg: Problemi s rp-pppoe
- From: Димитър Георгиев Попов <insane@xxxxxxxxxxxxxxxx>
- Date: Sun, 14 Mar 2004 12:56:59 -0000 (Eur)
- Importance: Normal
Privet
Niakoi behse pisal tuka, che ne e hubavo da se izpolzva PPPoE po
ethernet. E za hubavo ili ne, moia ISP polzva tochno tova za da
dava dostup na klientite si do internet.
Polzvam Slackware 9.1 i reshih da polzvam rp-pppoe za da se
vruzvam kum ISP-to. Instalirah go napravih neobhodimite nastroiki,
no klientut ne uspia da se svurje. Attachnal sum debug file-a koito
mi dava rp-pppoe. Struva mi se che problemut e pri startiraneto na
pppoe ot pppd sus psevdo-tty:
---------------------------------------------
Couldn't set tty to PPP discipline: Invalid argument
Waiting for 1 child processes...
script /usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I eth1 -T
80 -U -m 1412 -D
/tmp/pppoe-debug-1452/pppoe-debug.txt-0, pid 1511
pppoe: read (asyncReadFromPPP): Session 258: Input/output error Script
/usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I eth1 -T 80 -U -m
1412 -D
/tmp/pppoe-debug-1452/pppoe-debug.txt-0 finished (pid 1511), status = 0x100
---------------------------------------------
Za sujalenie obache ne sum mnogo naiasno. Taka che ako niakoi ima
ideia kude moje da e problemut i/ili kak da go opravia da kaje.
Blagodaria vi predvaritelno.
--
Pozdravi,
INSANE mailto:insane@xxxxxxxxxxxxxxxx
PS. Ako ima nujda ot oshte log/debug info samo kajete. ---------------------------------------------
* The following section contains information about your system
Sat Mar 13 22:51:22 EET 2004
Output of uname -a
Linux Maya 2.6.3 #7 Sat Feb 21 16:48:30 EET 2004 i686 unknown unknown 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
eth0 Link encap:Ethernet HWaddr 00:0A:5E:1D:07:AD
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:9 Base address:0xb000
eth1 Link encap:Ethernet HWaddr 4C:00:10:24:4E:3D
inet addr:10.100.18.62 Bcast:10.100.31.255 Mask:255.255.224.0
inet6 addr: fe80::4e00:10ff:fe24:4e3d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:575642 errors:1 dropped:0 overruns:0 frame:0
TX packets:345348 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:821037298 (783.0 Mb) TX bytes:24094745 (22.9 Mb)
Interrupt:9 Base address:0x2000
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:800 errors:0 dropped:0 overruns:0 frame:0
TX packets:800 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:59872 (58.4 Kb) TX bytes:59872 (58.4 Kb)
sit0 Link encap:UNSPEC HWaddr 00-00-00-00-31-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
---------------------------------------------
* 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
ppp_generic 31080 0
slhc 7296 1 ppp_generic
ipx 30148 2
p8022 2368 1 ipx
psnap 3940 1 ipx
llc 7668 2 p8022,psnap
snd_pcm_oss 54180 0
snd_mixer_oss 19872 2 snd_pcm_oss
nvidia 2074760 12
snd_es1938 22500 1
snd_pcm 101952 2 snd_pcm_oss,snd_es1938
snd_opl3_lib 11360 1 snd_es1938
snd_timer 26464 2 snd_pcm,snd_opl3_lib
snd_hwdep 9728 1 snd_opl3_lib
snd_page_alloc 12228 2 snd_es1938,snd_pcm
snd_mpu401_uart 8128 1 snd_es1938
snd_rawmidi 25376 1 snd_mpu401_uart
snd_seq_device 8292 2 snd_opl3_lib,snd_rawmidi
snd 56516 10 snd_pcm_oss,snd_mixer_oss,snd_es1938,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
md5 3840 1
ipv6 259296 8
ide_scsi 15268 0
8139too 24416 0
mii 5184 1 8139too
crc32 4320 1 8139too
3c59x 38376 0
rtc 12968 0
---------------------------------------------
* 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.100.0.0 0.0.0.0 255.255.224.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
---------------------------------------------
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.
---------------------------------------------
* The following section lists /etc/ppp/options.
* You should have NOTHING in that file.
Contents of /etc/ppp/options
# General configuration options for PPPD:
#lock
#defaultroute
#noipdefault
#modem
#/dev/modem
#19200
#crtscts
# Uncomment the line below for more verbose error reporting:
#debug
# If you have a default route already, pppd may require the other side
# to authenticate itself, which most ISPs will not do. To work around this,
# uncomment the line below. Note that this may have negative side effects
# on system security if you allow PPP dialins. See the docs in /usr/doc/ppp*
# for more information.
#noauth
#passive
#asyncmap 0
#name "infotel"
---------------------------------------------
* The following section identifies your Ethernet interface
* and user name. Some ISP's need 'username'; others
* need 'username@xxxxxxx'. Try both
ETH=eth1; USER=insane
---------------------------------------------
* 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-adsl.pid.pppoe -I eth1 -T 80 -U -m 1412 ' noipdefault noauth default-asyncmap defaultroute hide-password nodetach usepeerdns mtu 1492 mru 1492 noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp user insane lcp-echo-interval 20 lcp-echo-failure 3 debug
---------------------------------------------
Couldn't set tty to PPP discipline: Invalid argument
Waiting for 1 child processes...
script /usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I eth1 -T 80 -U -m 1412 -D /tmp/pppoe-debug-1452/pppoe-debug.txt-0, pid 1511
pppoe: read (asyncReadFromPPP): Session 258: Input/output error
Script /usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I eth1 -T 80 -U -m 1412 -D /tmp/pppoe-debug-1452/pppoe-debug.txt-0 finished (pid 1511), status = 0x100
---------------------------------------------
* 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
Mar 9 23:18:30 Maya pppd[1395]: pppd 2.4.1 started by root, uid 0
Mar 9 23:18:30 Maya pppoe[1396]: PPP session is 44
Mar 9 23:18:30 Maya pppoe[1396]: Sent PADT
Mar 9 23:18:30 Maya pppd[1395]: Exit.
Mar 9 23:18:35 Maya pppd[1419]: pppd 2.4.1 started by root, uid 0
Mar 9 23:18:36 Maya pppoe[1420]: PPP session is 60
Mar 9 23:18:36 Maya pppoe[1420]: Sent PADT
Mar 9 23:18:36 Maya pppd[1419]: Exit.
Mar 9 23:18:41 Maya pppd[1452]: pppd 2.4.1 started by root, uid 0
Mar 9 23:18:41 Maya pppoe[1453]: PPP session is 83
Mar 9 23:18:41 Maya pppoe[1453]: Sent PADT
Mar 9 23:18:41 Maya pppd[1452]: Exit.
Mar 9 23:18:46 Maya pppd[1476]: pppd 2.4.1 started by root, uid 0
Mar 9 23:18:46 Maya pppoe[1477]: PPP session is 108
Mar 9 23:18:46 Maya pppoe[1477]: Sent PADT
Mar 9 23:18:46 Maya pppd[1476]: Exit.
Mar 9 23:18:51 Maya pppd[1512]: pppd 2.4.1 started by root, uid 0
Mar 9 23:18:51 Maya pppoe[1513]: PPP session is 26
Mar 9 23:18:51 Maya pppoe[1513]: Sent PADT
Mar 9 23:18:51 Maya pppd[1512]: Exit.
Mar 9 23:18:56 Maya pppd[1548]: pppd 2.4.1 started by root, uid 0
Mar 9 23:18:56 Maya pppoe[1549]: PPP session is 103
Mar 9 23:18:56 Maya pppoe[1549]: Sent PADT
Mar 9 23:18:56 Maya pppd[1548]: Exit.
Mar 9 23:19:01 Maya pppd[1580]: pppd 2.4.1 started by root, uid 0
Mar 9 23:19:01 Maya pppoe[1581]: PPP session is 28
Mar 9 23:19:02 Maya pppoe[1581]: Sent PADT
Mar 9 23:19:02 Maya pppd[1580]: Exit.
Mar 9 23:19:13 Maya pppd[1628]: pppd 2.4.1 started by root, uid 0
Mar 9 23:19:13 Maya pppoe[1629]: PPP session is 28
Mar 9 23:19:13 Maya pppoe[1629]: Sent PADT
Mar 9 23:19:13 Maya pppd[1628]: Exit.
Mar 9 23:19:18 Maya pppd[1652]: pppd 2.4.1 started by root, uid 0
Mar 9 23:19:18 Maya pppoe[1653]: PPP session is 25
Mar 9 23:19:18 Maya pppoe[1653]: Sent PADT
Mar 9 23:19:18 Maya pppd[1652]: Exit.
Mar 9 23:19:23 Maya pppd[1677]: pppd 2.4.1 started by root, uid 0
Mar 9 23:19:23 Maya pppoe[1678]: PPP session is 62
Mar 9 23:19:23 Maya pppoe[1678]: Sent PADT
Mar 9 23:19:23 Maya pppd[1677]: Exit.
Mar 9 23:19:28 Maya pppd[1710]: pppd 2.4.1 started by root, uid 0
Mar 9 23:19:28 Maya pppoe[1711]: PPP session is 111
Mar 9 23:19:28 Maya pppoe[1711]: Sent PADT
Mar 9 23:19:28 Maya pppd[1710]: Exit.
Mar 9 23:19:33 Maya pppd[1734]: pppd 2.4.1 started by root, uid 0
Mar 9 23:19:33 Maya pppoe[1735]: PPP session is 11
Mar 9 23:19:34 Maya pppoe[1735]: Sent PADT
Mar 9 23:19:34 Maya pppd[1734]: Exit.
Mar 9 23:19:39 Maya pppd[1763]: pppd 2.4.1 started by root, uid 0
Mar 9 23:19:39 Maya pppoe[1768]: PPP session is 89
Mar 9 23:19:39 Maya pppoe[1768]: Sent PADT
Mar 9 23:19:39 Maya pppd[1763]: Exit.
Mar 9 23:19:44 Maya pppd[1800]: pppd 2.4.1 started by root, uid 0
Mar 9 23:19:44 Maya pppoe[1801]: PPP session is 111
Mar 9 23:19:44 Maya pppoe[1801]: Sent PADT
Mar 9 23:19:44 Maya pppd[1800]: Exit.
Mar 9 23:21:38 Maya pppd[1882]: pppd 2.4.1 started by root, uid 0
Mar 9 23:21:38 Maya pppoe[1883]: PPP session is 81
Mar 9 23:21:38 Maya pppoe[1883]: Sent PADT
Mar 9 23:21:38 Maya pppd[1882]: Exit.
Mar 9 23:21:43 Maya pppd[1906]: pppd 2.4.1 started by root, uid 0
Mar 9 23:21:43 Maya pppoe[1907]: PPP session is 114
Mar 9 23:21:43 Maya pppoe[1907]: Sent PADT
Mar 9 23:21:43 Maya pppd[1906]: Exit.
Mar 9 23:21:48 Maya pppd[1930]: pppd 2.4.1 started by root, uid 0
Mar 9 23:21:49 Maya pppoe[1931]: PPP session is 34
Mar 9 23:21:49 Maya pppoe[1931]: Sent PADT
Mar 9 23:21:49 Maya pppd[1930]: Exit.
Mar 9 23:21:54 Maya pppd[1963]: pppd 2.4.1 started by root, uid 0
Mar 9 23:21:54 Maya pppoe[1964]: PPP session is 30
Mar 9 23:21:54 Maya pppoe[1964]: Sent PADT
Mar 9 23:21:54 Maya pppd[1963]: Exit.
Mar 9 23:21:59 Maya pppd[1987]: pppd 2.4.1 started by root, uid 0
Mar 9 23:21:59 Maya pppoe[1988]: PPP session is 26
Mar 9 23:21:59 Maya pppoe[1988]: Sent PADT
Mar 9 23:21:59 Maya pppd[1987]: Exit.
Mar 9 23:22:04 Maya pppd[2011]: pppd 2.4.1 started by root, uid 0
Mar 9 23:22:04 Maya pppoe[2012]: PPP session is 76
Mar 9 23:22:04 Maya pppoe[2012]: Sent PADT
Mar 9 23:22:04 Maya pppd[2011]: Exit.
Mar 9 23:22:09 Maya pppd[2044]: pppd 2.4.1 started by root, uid 0
Mar 9 23:22:09 Maya pppoe[2045]: PPP session is 31
Mar 9 23:22:09 Maya pppoe[2045]: Sent PADT
Mar 9 23:22:09 Maya pppd[2044]: Exit.
Mar 9 23:22:51 Maya pppd[2086]: pppd 2.4.1 started by root, uid 0
Mar 9 23:22:51 Maya pppoe[2090]: PPP session is 17
Mar 9 23:22:51 Maya pppoe[2090]: Sent PADT
Mar 9 23:22:51 Maya pppd[2086]: Exit.
Mar 9 23:22:56 Maya pppd[2114]: pppd 2.4.1 started by root, uid 0
Mar 9 23:22:56 Maya pppoe[2115]: PPP session is 92
Mar 9 23:22:56 Maya pppoe[2115]: Sent PADT
Mar 9 23:22:56 Maya pppd[2114]: Exit.
Mar 9 23:23:01 Maya pppd[2138]: pppd 2.4.1 started by root, uid 0
Mar 9 23:23:01 Maya pppoe[2139]: PPP session is 21
Mar 9 23:23:01 Maya pppoe[2139]: Sent PADT
Mar 9 23:23:01 Maya pppd[2138]: Exit.
Mar 9 23:23:07 Maya pppd[2171]: pppd 2.4.1 started by root, uid 0
Mar 9 23:23:07 Maya pppoe[2172]: PPP session is 50
Mar 9 23:23:07 Maya pppoe[2172]: Sent PADT
Mar 9 23:23:07 Maya pppd[2171]: Exit.
Mar 9 23:23:12 Maya pppd[2195]: pppd 2.4.1 started by root, uid 0
Mar 9 23:23:12 Maya pppoe[2196]: PPP session is 6
Mar 9 23:23:12 Maya pppoe[2196]: Sent PADT
Mar 9 23:23:12 Maya pppd[2195]: Exit.
Mar 9 23:23:17 Maya pppd[2219]: pppd 2.4.1 started by root, uid 0
Mar 9 23:23:17 Maya pppoe[2220]: PPP session is 40
Mar 9 23:23:17 Maya pppoe[2220]: Sent PADT
Mar 9 23:23:17 Maya pppd[2219]: Exit.
Mar 9 23:23:22 Maya pppd[2252]: pppd 2.4.1 started by root, uid 0
Mar 9 23:23:22 Maya pppoe[2253]: PPP session is 94
Mar 9 23:23:22 Maya pppoe[2253]: Sent PADT
Mar 9 23:23:22 Maya pppd[2252]: Exit.
Mar 9 23:32:07 Maya pppd[2353]: pppd 2.4.1 started by root, uid 0
Mar 9 23:32:07 Maya pppoe[2354]: PPP session is 65
Mar 9 23:32:07 Maya pppoe[2354]: Sent PADT
Mar 9 23:32:07 Maya pppd[2353]: Exit.
Mar 9 23:44:42 Maya pppd[2452]: pppd 2.4.1 started by root, uid 0
Mar 9 23:44:42 Maya pppoe[2453]: PPP session is 87
Mar 9 23:44:42 Maya pppoe[2453]: Sent PADT
Mar 9 23:44:42 Maya pppd[2452]: Exit.
Mar 9 23:50:21 Maya pppd[2601]: pppd 2.4.1 started by root, uid 0
Mar 9 23:50:21 Maya pppoe[2602]: PPP session is 73
Mar 9 23:50:21 Maya pppoe[2602]: Sent PADT
Mar 9 23:50:21 Maya pppd[2601]: Exit.
Mar 9 23:53:57 Maya pppd[2681]: pppd 2.4.1 started by root, uid 0
Mar 9 23:53:57 Maya pppoe[2682]: PPP session is 34
Mar 9 23:53:57 Maya pppoe[2682]: Sent PADT
Mar 9 23:53:57 Maya pppd[2681]: Exit.
Mar 9 23:59:45 Maya pppd[2706]: pppd 2.4.1 started by root, uid 0
Mar 9 23:59:45 Maya pppoe[2707]: PPP session is 9
Mar 9 23:59:45 Maya pppoe[2707]: Sent PADT
Mar 9 23:59:45 Maya pppd[2706]: Exit.
Mar 10 00:03:46 Maya pppd[2729]: pppd 2.4.1 started by root, uid 0
Mar 10 00:03:46 Maya pppoe[2730]: PPP session is 38
Mar 10 00:03:46 Maya pppoe[2730]: Sent PADT
Mar 10 00:03:46 Maya pppd[2729]: Exit.
Mar 10 00:16:11 Maya pppd[2855]: pppd 2.4.1 started by root, uid 0
Mar 10 00:16:11 Maya pppd[2855]: Exit.
Mar 10 00:20:03 Maya pppd[2959]: pppd 2.4.1 started by root, uid 0
Mar 10 00:20:03 Maya pppd[2959]: Removed stale lock on modem (pid 2844)
Mar 13 22:51:22 Maya pppd[1510]: pppd 2.4.1 started by insane, uid 0
Mar 13 22:51:22 Maya pppoe[1511]: PPP session is 258
Mar 13 22:51:22 Maya pppoe[1511]: Sent PADT
Mar 13 22:51:22 Maya pppd[1510]: Exit.
Sat Mar 13 22:51:22 EET 2004
---------------------------------------------
* 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.5
22:51:22.635 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12
SourceAddr 4c:00:10:24:4e:3d DestAddr ff:ff:ff:ff:ff:ff
01 01 00 00 01 03 00 04 e7 05 00 00 ............
22:51:22.650 RCVD PPPoE Discovery (8863) PADO sess-id 0 length 49
SourceAddr 00:0c:6e:7a:9e:19 DestAddr 4c:00:10:24:4e:3d
01 02 00 06 49 4e 54 45 43 48 01 01 00 03 4c 41 ....INTECH....LA
4e 01 04 00 14 27 5a cd 04 6a ea d5 1f fd 6e 9f N....'Z..j....n.
9e 26 64 f0 18 17 54 00 00 01 03 00 04 e7 05 00 .&d...T.........
00 .
22:51:22.650 SENT PPPoE Discovery (8863) PADR sess-id 0 length 36
SourceAddr 4c:00:10:24:4e:3d DestAddr 00:0c:6e:7a:9e:19
01 01 00 00 01 03 00 04 e7 05 00 00 01 04 00 14 ................
27 5a cd 04 6a ea d5 1f fd 6e 9f 9e 26 64 f0 18 'Z..j....n..&d..
17 54 00 00 .T..
22:51:22.661 RCVD PPPoE Discovery (8863) PADS sess-id 258 length 15
SourceAddr 00:0c:6e:7a:9e:19 DestAddr 4c:00:10:24:4e:3d
01 01 00 03 4c 41 4e 01 03 00 04 e7 05 00 00 ....LAN........
22:51:22.667 SENT PPPoE Discovery (8863) PADT sess-id 258 length 83
SourceAddr 4c:00:10:24:4e:3d DestAddr 00:0c:6e:7a:9e:19
01 03 00 04 e7 05 00 00 02 03 00 2f 52 50 2d 50 .........../RP-P
50 50 6f 45 3a 20 53 79 73 74 65 6d 20 63 61 6c PPoE: System cal
6c 20 65 72 72 6f 72 3a 20 49 6e 70 75 74 2f 6f l error: Input/o
75 74 70 75 74 20 65 72 72 6f 72 01 04 00 14 27 utput error....'
5a cd 04 6a ea d5 1f fd 6e 9f 9e 26 64 f0 18 17 Z..j....n..&d...
54 00 00 T..
|