ADSL的设置,求助!

由 5362007 在 11-07-2002 10:12 发表:

欢迎各路大虾留言!

1)运行那个互联网配置程序,xDSL...输入用户名,密码

2)在网络设置中不要激活eth0,激活刚刚设置的adsl modem

出现了两个问

1.配置完成后,点完成后没有反应,点取消可以

2.完全重装后,点完成可以,但是不能激活

各路大虾我应该怎么做??


由 quanliking 在 11-07-2002 10:57 发表:


先要让你的本地网卡eth0起来,如果开机不能自动激活的话,可以手动; ifconfig eth0 up

或 ifup eth0

不要使用 DHCP给 eth0 分配 ip

手工通过修改文件实现,修改/etc/network/interfaces,加入类似下面的内容:

auto eth0

iface eth0 inet static #(设置静态ip)

address 192.168.0.1

network 192.168.0.0

netmask 255.255.255.0

broadcast 192.168.0.255

gateway 192.168.0.2

一般单机不需要设置网关。

或用

ifconfig eth0 up

ifconfig eth0 192.168.0.1

临时加个ip

不过这样很烦每次重起后要重新设置

这样的话用ifconfig -a看适配器信息。

软后,像你上面写的设置好xdsl

可用 ifup ppp0

激活ppp0 ,上网

有时可能激活后,网页打不开,或ping不通

用route察看路由表,特别注意默认的网关是否为ppp0

man ifconfig

man route

得到帮助


There are two distinct opinions:

One would say, "The love of money is the root of all evil."

The other, "The lack of money is the root of all evil."

Which one i should take, that is the question.


由 5362007 在

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus