LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: fou

ADSL-setup后。还是连不上。

[复制链接]
发表于 2005-2-11 15:35:12 | 显示全部楼层
如果使用adsl的话,就不能再用ifconfig命令去给网卡配置静态的ip地址了。网卡应该使用动态ip地址,dhcp。不知道楼主使用的是什么发行版,所以请告知,才能下药。
回复 支持 反对

使用道具 举报

发表于 2005-2-11 17:01:21 | 显示全部楼层
Post by SmileOnce
比如偶的:
root@^_^:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:29:036:0F
          inet addr:192.168.50.244  Bcast:192.168.50.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1829 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2381 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:193749 (189.2 Kb)  TX bytes:274547 (268.1 Kb)
          Interrupt:10 Base address:0x1080

lo        Link encapocal 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)

ppp0      Link encapoint-to-Point Protocol
          inet addr:218.1.208.198  P-t-P:24.24.24.24  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:54 (54.0 b)  TX bytes:54 (54.0 b)

root@^_^:~#
root@^_^:~# adsl-status
adsl-status: Link is up and running on interface ppp0
ppp0      Link encapoint-to-Point Protocol
          inet addr:218.1.208.198  P-t-P:24.24.24.24  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:790 (790.0 b)  TX bytes:654 (654.0 b)

root@^_^:~#



路由问题    使用 "route add default ppp0"  或者 在netconfig里面只使用lo不使用eth0也可以; 我用电信的LAN虚拟拨号用的第二种。
回复 支持 反对

使用道具 举报

发表于 2005-2-12 16:50:06 | 显示全部楼层
楼上呀。我这个是内置猫呀。怎么样配置呀。

我装的是THIZLINUX,安照常规的配置了。但是还是上不了网呀 。

IFCONFIG ETHO这个它提示就DIVE NO?

怎么办呀。
回复 支持 反对

使用道具 举报

发表于 2005-2-12 17:36:38 | 显示全部楼层
linux是不支持内猫的。
回复 支持 反对

使用道具 举报

发表于 2005-2-12 19:09:34 | 显示全部楼层
不是吧。我在WIN2000下可是用得好好的。
呜呜呜!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11111


!!!!!!!!严重的打击我学习LINUX的积极!
回复 支持 反对

使用道具 举报

发表于 2005-2-12 21:14:04 | 显示全部楼层
你看看你的路由信息吧~要加默认的路由!
route add default ppp0
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表