|
|

楼主 |
发表于 2004-10-9 01:30:57
|
显示全部楼层
DEBUG=1 adsl-start 执行了,帖出pppoe-debug.txt文件在下面,请黯然兄帮忙看一下,另外,我装的这次LFS-5.1.1,为什么开机挂模块挂不上?好象modprobe.conf没什么用了,同样的内核配置,同样的/etc/modprobe.conf,在RH下开机挂一大堆模块,在LFS-5.1.1开机时只能挂上nls-cp936和nls-cp437这两个模块,但如果用手动挂其它模块则没见有异常,module-init-tools安装0.9.15和3.0、3.1的版本都试过了,每次重启看看还是仅仅有这两个nls模块能自动挂上!郁闷中.....................难道是LFS-5.1.1自身的问题?
我把网卡和PPPOE支持干脆都编入内核了,但还是连不上ADSL。
pppoe-debug.txt文件内容:
---------------------------------------------
* The following section contains information about your system
Sun Oct 10 01:09:15 CST 2004
Output of uname -a
Linux localhost 2.6.8 #5 Sun Oct 10 01:05:51 CST 2004 i686 GenuineIntel 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:EB:7B:E6:2A
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING 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:11 Base address:0x7000
lo Link encap ocal Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 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
nls_cp936 126080 2
nls_cp437 5312 2
---------------------------------------------
* 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
---------------------------------------------
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.
nameserver 202.99.160.68
nameserver 202.99.177.29
---------------------------------------------
* The following section lists /etc/ppp/options.
* You should have NOTHING in that file.
Contents of /etc/ppp/options
lock
plugin rp-pppoe.so eth0
#user "adhs2050007@adsl
#password "02050007"
#defaultroute
---------------------------------------------
* The following section identifies your Ethernet interface
* and user name. Some ISP's need 'username'; others
* need 'username@isp.com'. Try both
ETH=eth0; USER=adhs2050007@adsl
---------------------------------------------
* 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 eth0 -T 80 -U -m 1412 ' noipdefault noa
uth default-asyncmap defaultroute hide-password nodetach mtu 1492 mru 1492 noac
comp noccp nobsdcomp nodeflate nopcomp novj novjccomp user adhs2050007@adsl 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.2
/usr/sbin/pppd: unrecognized option 'pty'
pppd version 2.4.2
Usage: /usr/sbin/pppd [ options ], where options are:
<device> Communicate over the named device
<speed> Set the baud rate to <speed>
<loc>:<rem> Set the local and/or remote interface IP
addresses. Either one may be omitted.
asyncmap <n> Set the desired async map to hex <n>
auth Require authentication from peer
connect <p> Invoke shell command <p> to set up the serial line
crtscts Use hardware RTS/CTS flow control
defaultroute Add default route through interface
file <f> Take options from file <f>
modem Use modem control lines
mru <n> Set MRU value to <n> for negotiation
See pppd(8) for more options.
---------------------------------------------
* 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.
Can't find messages file (looked for /var/{log,adm}/messages
Sun Oct 10 01:09:16 CST 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 |
|