今晩は 奥井です adsl-startをdebugモードで動かした時のログを添付します。 長いですがきずいた点があれば教えてください。 ログを見るとrp-pppoeはPADIを送ってるようですがほんとに送ってるかどうかはまだ確認してません。 もう1台のPCをHUBにつないでadsl-sniffをつかえば確認できるらしいですがまだうまくできません。 できれば接続できたときのログを見せて頂きたいのですが。 GATEWAYにはなにも設定していません。ネットで調べたらgatewayはppp0でrp-pppoeが勝手にやってくれるようなことがかいてあったので。 いずれにしてもPADIがかえってこないことには接続以前のもんだいですから。 1 --------------------------------------------- 2 * The following section contains information about your system 3 Sat Nov 22 00:49:10 JST 2003 4 Output of uname -a 5 Linux wall 2.4.19-0vl11 #1 2002年 10月 6日 日曜日 07:45:18 JST i686 unknown 6 --------------------------------------------- 7 * The following section contains information about your network 8 * interfaces. The one you chose for PPPoE should contain the words: 9 * 'UP' and 'RUNNING'. If it does not, you probably have an Ethernet 10 * driver problem. 11 Output of ifconfig -a 12 bond0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 13 BROADCAST MASTER MULTICAST MTU:1500 Metric:1 14 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 15 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 16 collisions:0 txqueuelen:0 17 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) 18 19 dummy0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 20 BROADCAST NOARP MTU:1500 Metric:1 21 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 22 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 23 collisions:0 txqueuelen:0 24 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) 25 26 eql Link encap:Serial Line IP 27 MASTER MTU:576 Metric:1 28 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 29 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 30 collisions:0 txqueuelen:5 31 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) 32 33 eth0 Link encap:Ethernet HWaddr 00:00:4C:37:F6:D0 34 inet addr:192.168.1.30 Bcast:192.168.1.255 Mask:255.255.255.0 35 UP BROADCAST MULTICAST MTU:1500 Metric:1 36 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 37 TX packets:4 errors:0 dropped:0 overruns:4 carrier:0 38 collisions:0 txqueuelen:100 39 RX bytes:0 (0.0 b) TX bytes:168 (168.0 b) 40 Interrupt:11 41 42 eth1 Link encap:Ethernet HWaddr 00:07:40:98:BC:7F 43 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 44 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 45 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 46 collisions:0 txqueuelen:100 47 RX bytes:0 (0.0 b) TX bytes:360 (360.0 b) 48 Interrupt:10 Base address:0x1400 49 50 lo Link encap:Local Loopback 51 inet addr:127.0.0.1 Mask:255.0.0.0 52 UP LOOPBACK RUNNING MTU:16436 Metric:1 53 RX packets:6 errors:0 dropped:0 overruns:0 frame:0 54 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 55 collisions:0 txqueuelen:0 56 RX bytes:300 (300.0 b) TX bytes:300 (300.0 b) 57 58 --------------------------------------------- 59 * The following section contains information about kernel modules 60 * If the module for your Ethernet card is 'tulip', you might 61 * want to look for an updated version at http://www.scyld.com 62 Output of lsmod 63 Module Size Used by Tainted: P 64 ppp_async 7680 0 (autoclean) 65 ppp_generic 22444 0 (autoclean) [ppp_async] 66 slhc 5488 0 (autoclean) [ppp_generic] 67 8139too 17248 1 (autoclean) 68 mii 1984 0 (autoclean) [8139too] 69 soundcore 5444 0 (autoclean) 70 eepro100 19248 1 71 uhci 26696 0 (unused) 72 hid 20384 0 (unused) 73 md 60448 0 (unused) 74 encode-eucjp 242944 0 (unused) 75 rtc 7100 0 (autoclean) 76 --------------------------------------------- 77 * The following section lists your routing table. 78 * If you have an entry which starts with '0.0.0.0', you probably 79 * have defined a default route and gateway, and pppd will 80 * not create a default route using your ISP. Try getting 81 * rid of this route. 82 Output of netstat -n -r 83 Kernel IP routing table 84 Destination Gateway Genmask Flags MSS Window irtt Iface 85 192.168.1.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0 86 127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo 87 --------------------------------------------- 88 Contents of /etc/resolv.conf 89 * The following section lists DNS setup. 90 * If you can browse by IP address, but not name, suspect 91 * a DNS problem. 92 --------------------------------------------- 93 * The following section lists /etc/ppp/options. 94 * You should have NOTHING in that file. 95 Contents of /etc/ppp/options 96 lock 97 --------------------------------------------- 98 * The following section identifies your Ethernet interface 99 * and user name. Some ISP's need 'username'; others 100 * need 'username@xxxxxxx'. Try both 101 ETH=eth1; USER=#####@sannet.ne.jp 102 --------------------------------------------- 103 * The following section shows the pppd command we will invoke 104 pppd invocation 105 /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 105 ' noipdefault noauth default-asyncmap defaultroute hide-password nodetach usepeerdns mtu 1492 mru 1492 noaccomp 105 noccp nobsdcomp nodeflate nopcomp novj novjccomp user #####@sannet.ne.jp lcp-echo-interval 20 lcp-echo-failure 105 3 debug 106 --------------------------------------------- 107 using channel 3 108 Using interface ppp0 109 Connect: ppp0 <--> /dev/pts/2 110 sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xafb89e07>] 111 sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xafb89e07>] 112 sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xafb89e07>] 113 sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xafb89e07>] 114 sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xafb89e07>] 115 sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xafb89e07>] 116 sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xafb89e07>] 117 sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xafb89e07>] 118 sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xafb89e07>] 119 sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xafb89e07>] 120 LCP: timeout sending Config-Requests 121 Connection terminated. 122 Waiting for 1 child processes... 123 script /usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I eth1 -T 80 -U -m 1412 -D /tmp/pppoe-debug-151 123 3/pppoe-debug.txt-0, pid 1572 124 pppoe: Timeout waiting for PADO packets 125 Script /usr/sbin/pppoe -p /var/run/pppoe.conf-adsl.pid.pppoe -I eth1 -T 80 -U -m 1412 -D /tmp/pppoe-debug-1513/ 125 pppoe-debug.txt-0 finished (pid 1572), status = 0x1 126 --------------------------------------------- 127 * The following section is an extract from your log. 128 * Look for error messages from pppd, such as 129 * a lack of kernel support for PPP, authentication failure 130 * etc. 131 Extract from /var/log/messages 132 Nov 20 23:03:31 wall pppd[950]: pppd 2.4.1 started by root, uid 0 133 Nov 20 23:03:31 wall pppd[950]: Using interface ppp0 134 Nov 20 23:03:31 wall pppd[950]: Connect: ppp0 <--> /dev/pts/1 135 Nov 20 23:03:31 wall murasaki.net[954]: execute ifup ppp0 136 Nov 20 23:04:02 wall pppd[950]: LCP: timeout sending Config-Requests 137 Nov 20 23:04:02 wall pppd[950]: Connection terminated. 138 Nov 20 23:04:02 wall murasaki.net[1139]: execute ifdown ppp0 139 Nov 20 23:04:06 wall pppoe[952]: Timeout waiting for PADO packets 140 Nov 20 23:04:06 wall pppd[950]: Exit. 141 Nov 20 23:10:08 wall pppd[1277]: pppd 2.4.1 started by root, uid 0 142 Nov 20 23:10:08 wall murasaki.net[1279]: execute ifup ppp0 143 Nov 20 23:10:08 wall pppd[1277]: Using interface ppp0 144 Nov 20 23:10:08 wall pppd[1277]: Connect: ppp0 <--> /dev/pts/1 145 Nov 20 23:10:39 wall pppd[1277]: LCP: timeout sending Config-Requests 146 Nov 20 23:10:39 wall pppd[1277]: Connection terminated. 147 Nov 20 23:10:39 wall murasaki.net[1464]: execute ifdown ppp0 148 Nov 20 23:10:43 wall pppoe[1278]: Timeout waiting for PADO packets 149 Nov 20 23:10:43 wall pppd[1277]: Exit. 150 Nov 20 23:14:15 wall pppd[1601]: pppd 2.4.1 started by root, uid 0 151 Nov 20 23:14:15 wall murasaki.net[1603]: execute ifup ppp0 152 Nov 20 23:14:15 wall pppd[1601]: Using interface ppp0 153 Nov 20 23:14:15 wall pppd[1601]: Connect: ppp0 <--> /dev/pts/1 154 Nov 20 23:14:46 wall pppd[1601]: LCP: timeout sending Config-Requests 155 Nov 20 23:14:46 wall pppd[1601]: Connection terminated. 156 Nov 20 23:14:46 wall murasaki.net[1782]: execute ifdown ppp0 157 Nov 20 23:14:50 wall pppoe[1602]: Timeout waiting for PADO packets 158 Nov 20 23:14:50 wall pppd[1601]: Exit. 159 Nov 21 22:30:23 wall pppd[1091]: pppd 2.4.1 started by root, uid 0 160 Nov 21 22:30:23 wall pppd[1091]: Using interface ppp0 161 Nov 21 22:30:23 wall pppd[1091]: Connect: ppp0 <--> /dev/pts/1 162 Nov 21 22:30:23 wall murasaki.net[1095]: execute ifup ppp0 163 Nov 21 22:30:54 wall pppd[1091]: LCP: timeout sending Config-Requests 164 Nov 21 22:30:54 wall pppd[1091]: Connection terminated. 165 Nov 21 22:30:54 wall murasaki.net[1280]: execute ifdown ppp0 166 Nov 21 22:30:58 wall pppoe[1093]: Timeout waiting for PADO packets 167 Nov 21 22:30:58 wall pppd[1091]: Exit. 168 Nov 21 22:35:44 wall pppd[1318]: pppd 2.4.1 started by root, uid 0 169 Nov 21 22:35:44 wall murasaki.net[1320]: execute ifup ppp0 170 Nov 21 22:35:45 wall pppd[1318]: Using interface ppp0 171 Nov 21 22:35:45 wall pppd[1318]: Connect: ppp0 <--> /dev/pts/1 172 Nov 21 22:36:16 wall pppd[1318]: LCP: timeout sending Config-Requests 173 Nov 21 22:36:16 wall pppd[1318]: Connection terminated. 174 Nov 21 22:36:16 wall murasaki.net[1505]: execute ifdown ppp0 175 Nov 21 22:36:20 wall pppoe[1319]: Timeout waiting for PADO packets 176 Nov 21 22:36:20 wall pppd[1318]: Exit. 177 Nov 21 22:51:43 wall pppd[1572]: pppd 2.4.1 started by root, uid 0 178 Nov 21 22:51:43 wall murasaki.net[1574]: execute ifup ppp0 179 Nov 21 22:51:43 wall pppd[1572]: Using interface ppp0 180 Nov 21 22:51:43 wall pppd[1572]: Connect: ppp0 <--> /dev/pts/1 181 Nov 21 22:52:14 wall pppd[1572]: LCP: timeout sending Config-Requests 182 Nov 21 22:52:14 wall pppd[1572]: Connection terminated. 183 Nov 21 22:52:14 wall murasaki.net[1759]: execute ifdown ppp0 184 Nov 21 22:52:18 wall pppoe[1573]: Timeout waiting for PADO packets 185 Nov 21 22:52:18 wall pppd[1572]: Exit. 186 Nov 22 00:37:15 wall pppd[1361]: pppd 2.4.1 started by zeppe, uid 0 187 Nov 22 00:37:15 wall pppd[1361]: Using interface ppp0 188 Nov 22 00:37:15 wall pppd[1361]: Connect: ppp0 <--> /dev/pts/2 189 Nov 22 00:37:15 wall murasaki.net[1365]: execute ifup ppp0 190 Nov 22 00:37:47 wall pppd[1361]: LCP: timeout sending Config-Requests 191 Nov 22 00:37:47 wall pppd[1361]: Connection terminated. 192 Nov 22 00:37:47 wall murasaki.net[1370]: execute ifdown ppp0 193 Nov 22 00:37:50 wall pppoe[1363]: Timeout waiting for PADO packets 194 Nov 22 00:37:50 wall pppd[1361]: Exit. 195 Nov 22 00:46:56 wall pppd[1489]: pppd 2.4.1 started by zeppe, uid 0 196 Nov 22 00:46:56 wall murasaki.net[1491]: execute ifup ppp0 197 Nov 22 00:46:56 wall pppd[1489]: Using interface ppp0 198 Nov 22 00:46:56 wall pppd[1489]: Connect: ppp0 <--> /dev/pts/2 199 Nov 22 00:47:27 wall pppd[1489]: LCP: timeout sending Config-Requests 200 Nov 22 00:47:27 wall pppd[1489]: Connection terminated. 201 Nov 22 00:47:27 wall murasaki.net[1496]: execute ifdown ppp0 202 Nov 22 00:47:31 wall pppoe[1490]: Timeout waiting for PADO packets 203 Nov 22 00:47:31 wall pppd[1489]: Exit. 204 Nov 22 00:49:10 wall pppd[1571]: pppd 2.4.1 started by zeppe, uid 0 205 Nov 22 00:49:10 wall murasaki.net[1573]: execute ifup ppp0 206 Nov 22 00:49:11 wall pppd[1571]: Using interface ppp0 207 Nov 22 00:49:11 wall pppd[1571]: Connect: ppp0 <--> /dev/pts/2 208 Nov 22 00:49:42 wall pppd[1571]: LCP: timeout sending Config-Requests 209 Nov 22 00:49:42 wall pppd[1571]: Connection terminated. 210 Nov 22 00:49:42 wall murasaki.net[1578]: execute ifdown ppp0 211 Nov 22 00:49:46 wall pppoe[1572]: Timeout waiting for PADO packets 212 Sat Nov 22 00:49:46 JST 2003 213 --------------------------------------------- 214 * The following section is a dump of the packets 215 * sent and received by rp-pppoe. If you don't see 216 * any output, it's an Ethernet driver problem. If you only 217 * see three PADI packets and nothing else, check your cables 218 * and modem. Make sure the modem lights flash when you try 219 * to connect. Check that your Ethernet card is in 220 * half-duplex, 10Mb/s mode. If all else fails, 221 * try using pppoe-sniff. 222 rp-pppoe debugging dump 223 rp-pppoe-3.5 224 00:49:11.035 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12 225 SourceAddr 00:07:40:98:bc:7f DestAddr ff:ff:ff:ff:ff:ff 226 01 01 00 00 01 03 00 04 24 06 00 00 ........$... 227 228 00:49:16.030 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12 229 SourceAddr 00:07:40:98:bc:7f DestAddr ff:ff:ff:ff:ff:ff 230 01 01 00 00 01 03 00 04 24 06 00 00 ........$... 231 232 00:49:26.030 SENT PPPoE Discovery (8863) PADI sess-id 0 length 12 233 SourceAddr 00:07:40:98:bc:7f DestAddr ff:ff:ff:ff:ff:ff 234 01 01 00 00 01 03 00 04 24 06 00 00 ........$... 235