PDA

查看完整版本 : 冷大哥和各位站长,帮忙呀,小弟我急。。。


wangjianwei
2003-10-02, 20:14
[root@localhost sbin]# /usr/sbin/adsl-start
................TIMED OUT
/usr/sbin/adsl-start: line 191: 5037 Terminated $CONNECT "$@">/dev/null 2>&1
[root@localhost sbin]# ./ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:E0:4C:C6:92:E4
inet addr:192.168.0.1 Bcast:192.168.0.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:22 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:1320 (1.2 Kb)
Interrupt:5 Base address:0xbf00
[root@localhost sbin]# ./ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0C:6E:13:28:75
inet addr:10.164.88.42 Bcast:10.164.88.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1636 (1.5 Kb) TX bytes:1772 (1.7 Kb)
Interrupt:5 Base address:0xd400

我的eth0连接adsl猫

eth1连接局域网

为事么我上不了网,我的系统是redhat9.0
大哥们,我再吧ifcfg-ppp0中的内容给你们看看,指导一下嘛
[root@localhost network-scripts]# cat ifcfg-ppp0
USERCTL=yes
BOOTPROTO=dialup
NAME=DSLppp0
DEVICE=ppp0
TYPE=xDSL
ONBOOT=yes
PIDFILE=/var/run/pppoe-adsl.pid
FIREWALL=MASQUERADE
PING=.
PPPOE_TIMEOUT=20
LCP_FAILURE=3
LCP_INTERVAL=80
CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=60
DEFROUTE=yes
SYNCHRONOUS=yes
ETH=eth0
PROVIDER=DSLppp0
USER=LYA02002917
PEERDNS=yes
PERSIST=yes
[root@localhost network-scripts]#