分页: 1 / 1

【问题已解决】为什么我的无线连接成功,却无法上网???

发表于 : 2010-05-10 11:32
disikexing
现在用的10.04是从9.10升级上来的。

在9.10的时候,尝试了很多方法,但是最终还是只能一直使用有线上网。。。

升级到10.04后,从无线连接列表中选择了要使用的连接,输入密码,成功连接。。。

可是随后的状况很莫名其妙:

在运气很好的时候,可以连续打开两个网页。。。,然后就是This webpage is not available,但是能看到favicon.ico :em20

请过来人或者高手指教。。。

Re: 为什么我的无线连接成功,却无法上网???

发表于 : 2010-05-10 11:36
eexpress
ifconfig iwconfig 都看下先。
nslookup www.163.com也看下,看第一个ip就是dns出口

Re: 为什么我的无线连接成功,却无法上网???

发表于 : 2010-05-10 11:40
disikexing
ifconfig iwconfig
iwconfig: error fetching interface information: Device not found
nslookup www.163.com
;; connection timed out; no servers could be reached

Re: 为什么我的无线连接成功,却无法上网???

发表于 : 2010-05-10 11:42
disikexing
eexpress 写了:ifconfig iwconfig 都看下先。
nslookup http://www.163.com也看下,看第一个ip就是dns出口
ifconfig iwconfig
iwconfig: error fetching interface information: device not found

nslookup www.163.com
;; connection timed out; no servers could be reached.

Re: 为什么我的无线连接成功,却无法上网???

发表于 : 2010-05-10 11:45
lsarsl
你只是本地网连上,没有正确设置网络,不能访问internet

把结果拿出来看

代码: 全选

gksudo gedit /etc/dhcp3/dhclient.conf

gksudo gedit  /etc/network/interfaces

Re: 为什么我的无线连接成功,却无法上网???

发表于 : 2010-05-10 11:49
disikexing
我刚重启了一下,然后 nslookup www.sohu.com

Server: 192.168.2.1
Address: 192.168.2.1#53

Non-authoritative answer:
www.sohu.com canonical name = d7.a.sohu.com.
d7.a.sohu.com canonical name = pgcnctct07.a.sohu.com
.......
.......

Re: 为什么我的无线连接成功,却无法上网???

发表于 : 2010-05-10 11:54
disikexing
lsarsl 写了:你只是本地网连上,没有正确设置网络,不能访问internet

把结果拿出来看

代码: 全选

gksudo gedit /etc/dhcp3/dhclient.conf

gksudo gedit  /etc/network/interfaces


dhclient.conf 内容如下:

# Configuration file for /sbin/dhclient, which is included in Debian's
# dhcp3-client package.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
# man page for more information about the syntax of this file
# and a more comprehensive list of the parameters understood by
# dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
# not leave anything out (like the domain name, for example), then
# few changes must be made to this file, if any.
#

option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;

send host-name "<hostname>";
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
netbios-name-servers, netbios-scope, interface-mtu,
rfc3442-classless-static-routes, ntp-servers;
#require subnet-mask, domain-name-servers;
#timeout 60;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script "/etc/dhcp3/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;

#alias {
# interface "eth0";
# fixed-address 192.5.5.213;
# option subnet-mask 255.255.255.255;
#}

#lease {
# interface "eth0";
# fixed-address 192.33.137.200;
# medium "link0 link1";
# option host-name "andare.swiftmedia.com";
# option subnet-mask 255.255.255.0;
# option broadcast-address 192.33.137.255;
# option routers 192.33.137.250;
# option domain-name-servers 127.0.0.1;
# renew 2 2000/1/12 00:00:01;
# rebind 2 2000/1/12 00:00:01;
# expire 2 2000/1/12 00:00:01;
#}



interface内容如下:

auto lo
iface lo inet loopback

Re: 为什么我的无线连接成功,却无法上网???

发表于 : 2010-05-10 20:20
atgczcl
我也是同样的问题!!!!!!!!!!!

Re: 为什么我的无线连接成功,却无法上网???

发表于 : 2010-05-11 11:13
disikexing
:em20 我现在可以用无线上网了。。。

今天开机,有系统更新,完毕重启后。。。

拔了网线,哎,竟然可以无线上网了。。。工作一直很稳定。。。很无语啊

atgczcl,也许你也可以尝试一下。。。

Re: 【问题已解决】为什么我的无线连接成功,却无法上网???

发表于 : 2012-11-01 16:49
l03121
我也是相同的问题,而且因为上不了无线,我拖了根网线,可是也上不了网啊~~怎么设置??