UBUNTU9无法连接网络~

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
jimguo314
帖子: 9
注册时间: 2009-05-21 21:16

UBUNTU9无法连接网络~

#1

帖子 jimguo314 » 2009-05-21 21:26

我在办公室装的UBUNTU9,单位用的是路由器上网,并且绑定MAC地址,是静态ip,我试了很长时间都没能上网,路由能ping通,就是上不了网,我该怎么办,请教高手,还有我装UBUNTU的时候忘拔网线了
我本将心向明月,奈何明月照沟渠!
头像
bbeikke
帖子: 880
注册时间: 2008-10-14 21:54

Re: UBUNTU9无法连接网络~

#2

帖子 bbeikke » 2009-05-21 21:28

jimguo314 写了:我在办公室装的UBUNTU9,单位用的是路由器上网,并且绑定MAC地址,是静态ip,我试了很长时间都没能上网,路由能ping通,就是上不了网,我该怎么办,请教高手,还有我装UBUNTU的时候忘拔网线了
右击,右上角的网络连接。
选择编辑。
选中无线的选项卡,
编辑一下无线的IP和MAC
应该就可以了!
地狱可以想象,天堂却无法描述。
jimguo314
帖子: 9
注册时间: 2009-05-21 21:16

Re: UBUNTU9无法连接网络~

#3

帖子 jimguo314 » 2009-05-21 21:34

不是无线的,是有线的~我也是在网络连接里编辑的,可是就是上不了
我本将心向明月,奈何明月照沟渠!
头像
yescookie
帖子: 172
注册时间: 2008-09-19 17:59

Re: UBUNTU9无法连接网络~

#4

帖子 yescookie » 2009-05-21 21:35

我也有过这样的情况,后来发现时DNS的问题,LZ你换DNS试试
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: UBUNTU9无法连接网络~

#5

帖子 wangdu2002 » 2009-05-21 21:36

我总是在安装时就拔掉网络,然后安装时就输入静态IP和DNS,装完后再插入网络,立马就可以上网更新了。 :em09
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
jimguo314
帖子: 9
注册时间: 2009-05-21 21:16

Re: UBUNTU9无法连接网络~

#6

帖子 jimguo314 » 2009-05-21 21:37

我试过viewtopic.php?f=116&t=162276这个帖子里面的方法,可是就是不行~不过可以进路由了,但还是上不了网
上次由 jimguo314 在 2009-05-21 21:39,总共编辑 1 次。
我本将心向明月,奈何明月照沟渠!
jimguo314
帖子: 9
注册时间: 2009-05-21 21:16

Re: UBUNTU9无法连接网络~

#7

帖子 jimguo314 » 2009-05-21 21:38

哎,难道要我从新安装嘛~有高手能给个有效可行的方法嘛
我本将心向明月,奈何明月照沟渠!
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: UBUNTU9无法连接网络~

#8

帖子 wangdu2002 » 2009-05-21 21:40

DNS要填你在路由里看的ISP分配给你的DNS吧! :em06
给你看下我的interface和resolv.conf文件的内容 ,供你参考之。
interface
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.101
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 202.101.224.69 202.101.226.68
dns-search .wangdulan.org.cn

resolv.conf
search .wangdulan.org.cn
nameserver 202.101.224.69
nameserver 202.101.226.68
上次由 wangdu2002 在 2009-05-21 21:45,总共编辑 1 次。
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
头像
yescookie
帖子: 172
注册时间: 2008-09-19 17:59

Re: UBUNTU9无法连接网络~

#9

帖子 yescookie » 2009-05-21 21:41

试试

代码: 全选

nslookup g.cn
贴上返回的信息看看
jimguo314
帖子: 9
注册时间: 2009-05-21 21:16

Re: UBUNTU9无法连接网络~

#10

帖子 jimguo314 » 2009-05-21 21:43

yescookie 写了:试试

代码: 全选

nslookup g.cn
贴上返回的信息看看
现在不在办公室,无法试啊~谢谢给我建议,这个命令是什么意思,评g.cn的ip嘛
我本将心向明月,奈何明月照沟渠!
头像
yescookie
帖子: 172
注册时间: 2008-09-19 17:59

Re: UBUNTU9无法连接网络~

#11

帖子 yescookie » 2009-05-21 21:45

jimguo314 写了:
yescookie 写了:试试

代码: 全选

nslookup g.cn
贴上返回的信息看看
现在不在办公室,无法试啊~谢谢给我建议,这个命令是什么意思,评g.cn的ip嘛
= =看看DNS能否正常解析~
jimguo314
帖子: 9
注册时间: 2009-05-21 21:16

Re: UBUNTU9无法连接网络~

#12

帖子 jimguo314 » 2009-05-21 21:49

yescookie 写了:
jimguo314 写了:
yescookie 写了:试试

代码: 全选

nslookup g.cn
贴上返回的信息看看
现在不在办公室,无法试啊~谢谢给我建议,这个命令是什么意思,评g.cn的ip嘛
= =看看DNS能否正常解析~
好的,我改天到办公室去试试看~
我本将心向明月,奈何明月照沟渠!
jimguo314
帖子: 9
注册时间: 2009-05-21 21:16

Re: UBUNTU9无法连接网络~

#13

帖子 jimguo314 » 2009-05-21 21:52

wangdu2002 写了:DNS要填你在路由里看的ISP分配给你的DNS吧! :em06
给你看下我的interface和resolv.conf文件的内容 ,供你参考之。
interface
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.101
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 202.101.224.69 202.101.226.68
dns-search .wangdulan.org.cn

resolv.conf
search .wangdulan.org.cn
nameserver 202.101.224.69
nameserver 202.101.226.68
很可能是我的DNS设置出错了,不过我的DNS是照XP里面设置的啊,xp可以上
我本将心向明月,奈何明月照沟渠!
头像
yescookie
帖子: 172
注册时间: 2008-09-19 17:59

Re: UBUNTU9无法连接网络~

#14

帖子 yescookie » 2009-05-22 19:23

jimguo314 写了:
wangdu2002 写了:DNS要填你在路由里看的ISP分配给你的DNS吧! :em06
给你看下我的interface和resolv.conf文件的内容 ,供你参考之。
interface
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.101
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 202.101.224.69 202.101.226.68
dns-search .wangdulan.org.cn

resolv.conf
search .wangdulan.org.cn
nameserver 202.101.224.69
nameserver 202.101.226.68
很可能是我的DNS设置出错了,不过我的DNS是照XP里面设置的啊,xp可以上
我曾经也是ubuntu用的跟windows一样的DNS,但是ubuntu上就是不能正确解析。后来发现是其中一个DNS有问题,但是很奇怪ubuntu不会自动选那个正确的,然后现在每次链接后都要手动把那个删掉。
laixt
帖子: 310
注册时间: 2009-05-04 23:56

Re: UBUNTU9无法连接网络~

#15

帖子 laixt » 2009-05-22 19:47

我也是一样的问题。上面解决了IP,DNS,网关的问题。但是 MAC尚未解决,同志还需要努力!

修改绑定的MAC问题怎么解决的呢?
回复