分页: 2 / 7

Re: 无法联接无线网

发表于 : 2014-08-26 12:28
aq9807xin
现在显示联接上了,可是我却上不网,这是怎么回事?

Re: 无法联接无线网

发表于 : 2014-08-26 12:33
aq9807xin
就是网页打不开!

Re: 无法联接无线网

发表于 : 2014-08-26 12:34
taohunter
aq9807xin 写了:现在显示联接上了,可是我却上不网,这是怎么回事?
把前面我给你的4条命令,加上下面这条新命令的结果一起贴上来:

代码: 全选

dig www.sina.com.cn

Re: 无法联接无线网

发表于 : 2014-08-26 12:39
aq9807xin
jjy@jjy:~$ uname -a
Linux jjy 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
jjy@jjy:~$ lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Device 0a0c (rev 09)
00:14.0 USB controller: Intel Corporation Lynx Point-LP USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation Lynx Point-LP HECI #0 (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-V (rev 04)
00:1b.0 Audio device: Intel Corporation Lynx Point-LP HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 6 (rev e4)
00:1c.1 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 3 (rev e4)
00:1d.0 USB controller: Intel Corporation Lynx Point-LP USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Lynx Point-LP LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation Lynx Point-LP SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation Lynx Point-LP SMBus Controller (rev 04)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5227 (rev 01)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 818b
jjy@jjy:~$ sudo lshw -C network
[sudo] password for jjy:
*-network
description: Ethernet interface
product: Ethernet Connection I218-V
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eth0
version: 04
serial: 28:d2:44:55:68:05
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k firmware=0.6-3 latency=0 link=no multicast=yes port=twisted pair
resources: irq:59 memory:f0600000-f061ffff memory:f063e000-f063efff ioport:4080(size=32)
*-network
description: Wireless interface
product: Realtek Semiconductor Co., Ltd.
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlan0
version: 00
serial: 28:e3:47:61:f5:45
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8192ee driverversion=3.11.0-15-generic firmware=N/A ip=10.42.0.1 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:63 ioport:3000(size=256) memory:f0400000-f0403fff
jjy@jjy:~$ iwconfig
eth0 no wireless extensions.

lo no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:"jjy"
Mode:Ad-Hoc Frequency:2.412 GHz Cell: 76:EA:A6:9F:84:A9
Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off

jjy@jjy:~$ dig www.sina.com.cn

; <<>> DiG 9.8.1-P1 <<>> www.sina.com.cn
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 15739
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.sina.com.cn. IN A

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Aug 26 12:37:27 2014
;; MSG SIZE rcvd: 33

Re: 无法联接无线网

发表于 : 2014-08-26 12:44
aq9807xin
jjy@jjy:~$ uname -a
Linux jjy 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
jjy@jjy:~$ lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Device 0a0c (rev 09)
00:14.0 USB controller: Intel Corporation Lynx Point-LP USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation Lynx Point-LP HECI #0 (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-V (rev 04)
00:1b.0 Audio device: Intel Corporation Lynx Point-LP HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 6 (rev e4)
00:1c.1 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 3 (rev e4)
00:1d.0 USB controller: Intel Corporation Lynx Point-LP USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Lynx Point-LP LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation Lynx Point-LP SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation Lynx Point-LP SMBus Controller (rev 04)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5227 (rev 01)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 818b
jjy@jjy:~$ sudo lshw -C network
[sudo] password for jjy:
*-network
description: Ethernet interface
product: Ethernet Connection I218-V
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eth0
version: 04
serial: 28:d2:44:55:68:05
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k firmware=0.6-3 latency=0 link=no multicast=yes port=twisted pair
resources: irq:59 memory:f0600000-f061ffff memory:f063e000-f063efff ioport:4080(size=32)
*-network
description: Wireless interface
product: Realtek Semiconductor Co., Ltd.
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlan0
version: 00
serial: 28:e3:47:61:f5:45
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8192ee driverversion=3.11.0-15-generic firmware=N/A ip=10.42.0.1 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:63 ioport:3000(size=256) memory:f0400000-f0403fff
jjy@jjy:~$ iwconfig
eth0 no wireless extensions.

lo no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:"jjy"
Mode:Ad-Hoc Frequency:2.412 GHz Cell: 76:EA:A6:9F:84:A9
Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off

jjy@jjy:~$ dig www.sina.com.cn

; <<>> DiG 9.8.1-P1 <<>> www.sina.com.cn
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 15739
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.sina.com.cn. IN A

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Aug 26 12:37:27 2014
;; MSG SIZE rcvd: 33

Re: 无法联接无线网

发表于 : 2014-08-26 13:02
taohunter
wlan0 IEEE 802.11bgn ESSID:"jjy"
Mode:Ad-Hoc Frequency:2.412 GHz Cell: 76:EA:A6:9F:84:A9
Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
红色部分设置错误,应该是Managed,也就是说你根本没有真正连接成功,在设置无线网卡时应该选¨架构¨而不是Ad-Hoc:只要你是连接无线路由器之类的设备。。。

连接成功以后iwconfig的输出应该是这个样子的--看到和你的不同之处了吗:

代码: 全选

$ iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"ABC"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: xxxxxxx 
          Bit Rate=60 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=70/70  Signal level=-27 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:36   Missed beacon:0

Re: 无法联接无线网

发表于 : 2014-08-26 13:31
aq9807xin
可是右上角的图标显示是联接上了

Re: 无法联接无线网

发表于 : 2014-08-26 13:37
taohunter
aq9807xin 写了:可是右上角的图标显示是联接上了
我是在用你发过来的机器上的配置信息说话,原因、解决方法也给你了,先试试行不?--至少不会对你的机器有任何损害。。。

给你看一下我把自己无线配置中的¨架构¨改成¨Ad-Hoc¨以后的iwconfig的输出,和你现在的情况几乎完全是一样的,这能说明问题了吧:

代码: 全选

$ iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"ABC"  
          Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: xxxxx
          Tx-Power=16 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

Re: 无法联接无线网

发表于 : 2014-08-26 14:04
aq9807xin
实在对不起,我不明白您的意思,我不知道是怎么修改架构的。。。

Re: 无法联接无线网

发表于 : 2014-08-26 14:11
aq9807xin
我在网络先项中,VPN Connections==>wireless==>edit===>mode==> 选infrastructure 并且保存了, 然后,重新输入命令,可是结果没有变化

Re: 无法联接无线网

发表于 : 2014-08-26 14:22
taohunter
aq9807xin 写了:实在对不起,我不明白您的意思,我不知道是怎么修改架构的。。。
1. 鼠标左键点一下右上角那个网络连接的图标,出来一个下拉菜单,选最后一项¨编辑连接¨。

2. 然后会出现一个窗口,在¨WiiFi¨下有你现在的无线连接,先鼠标选中这个连接,再按边上的¨编辑¨按钮。如果wifi下还没有东西,就选¨添加¨-->¨Wifi¨-->¨新建¨;

3. 在下面这个画面中点开Ad-Hoc边上的下拉箭头,选中¨架构¨;
Adhoc_2_Infra.png
4. 再选择¨保存¨

5. 去连你的wifi吧。。。

-看到你写的什么VPN了,设置wifi和VPN半毛钱关系都没有,严格按照我给你的步骤一步步做,一定可以成功的。。。

Re: 无法联接无线网

发表于 : 2014-08-26 14:34
aq9807xin
对不起,还是不行,我是按你说的做的,可是改完后,用iwconfig得到的信息还是一样的

Re: 无法联接无线网

发表于 : 2014-08-26 15:05
taohunter
aq9807xin 写了:对不起,还是不行,我是按你说的做的,可是改完后,用iwconfig得到的信息还是一样的
没问题,新手哪怕碰到小问题也是大麻烦。这样,你按照我的方式每做一步截个图(系统有一个缺省的截图工具)。看看你和我的步骤有什么不同:

第一步:点击桌面右上角的网络连接图标,出现下拉菜单:
config_wireless1.png
第二步:选择上图中的¨新建连接¨

第三步:选择这个窗口中的¨添加¨
config_wireless2.png
config_wireless2.png (25.32 KiB) 查看 5331 次
第四步:选择¨WiFi¨
config_wireless3.png
第五步:选择¨新建¨
config_wireless4.png
第六步:输入你的网络名字和SSID,按照你的无线路由器上的配置来设,可以设成一样的
config_wireless5.png
第七步:点开¨Wifi安全性¨,然后按照你的无线路由器上的设置输入相应的加密方式以及密码。然后¨保存¨
config_wireless6.png
第八步:设置好wifi后直接在配置窗口还看不到,要把第三步中看到的窗口先关掉,再按前面第一、二步重新打开,就能看到新添加的wifi连接了:
config_wireless7.png
config_wireless7.png (25.68 KiB) 查看 5331 次
最后,再次点卡右上角网络图标,在搜索到的无线网络中选择你自己配置好的那个,就可以连接上了。--如果你的无线网络是隐藏的,要选择¨连接到隐藏的wifi网络,会提示你选择的。。。
My_ABC_Wifi.png

Re: 无法联接无线网

发表于 : 2014-08-26 16:02
aq9807xin
大虾,我搞的半天,不知道怎么截屏。。。

:em20

Re: 无法联接无线网

发表于 : 2014-08-26 16:16
taohunter
aq9807xin 写了:大虾,我搞的半天,不知道怎么截屏。。。

:em20
先点左边栏最上面那个像个转动的风扇一样的ubuntu的图标:
screen_copy1.png
然后在出现的这个画面中,在那行可以输入文字的地方输入screen,下面就会出现一个¨截图¨的程序,点击它,就可以截图了。
screen_copy2.png
你可以先按照我前面给你的那个完整的步骤操作一遍,如果有任何一步对不上了,就截个图说明一下。。。