Dapper直接升级到feisty后无线网卡的问题

系统错误报告和讨论
回复
newhdr
帖子: 15
注册时间: 2006-03-17 9:17
送出感谢: 0
接收感谢: 0

Dapper直接升级到feisty后无线网卡的问题

#1

帖子 newhdr » 2007-04-29 15:00

原来发表在硬件版,在这里再发表一次:
机器是ibmx24 带无线网卡,prism芯片,具体型号不清楚。
一直用Dapper,可以通过无线网卡上网。前几天看到feisty正式版发布,不禁心痒痒,下载ubuntu-7.04-alternate-i386.iso准备升级(没有光驱,不能用desktop)。
虽然官方不支持跨版本升级,但还是想尝试一下。经过一番曲折,终于升级成功,发现feisty的速度明显快了(以后再说明升级过程,为还在Dapper下的朋友提供一点经验)。
潜水了一阵子,解决了一些问题。目前还存在无线网卡的问题要请教高手。

Dapper下设置无线网卡很顺利, 系统安装后就有驱动,再编辑/etc/network/interfaces

代码: 全选

# 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

iface eth0 inet dhcp
	# wireless-* options are implemented by the wireless-tools package
	wireless-mode managed
	wireless-essid TP-LINK
	wireless-key1 s:xxxxx
	wireless-key s:xxxxx

iface eth1 inet static
address 10.0.0.95
netmask 255.255.0.0
gateway 10.0.0.10

auto eth1

auto eth0
eth1是有线网卡,eth0是无线网卡,AP是TP-Link,使用WEP加密,
命令ifconfig输出:

代码: 全选

eth0      Link encap:Ethernet  HWaddr 00:20:E0:8D:A5:D2  
          inet addr:192.168.1.100  Bcast:255.255.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:52 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:18844 (18.4 KiB)  TX bytes:7560 (7.3 KiB)
          Interrupt:11 Memory:f0000000-f0000fff 

eth1      Link encap:Ethernet  HWaddr 00:02:8A:21:5F:0E  
          inet addr:10.0.0.95  Bcast:10.0.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:80 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:9059 (8.8 KiB)  TX bytes:5466 (5.3 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:74 errors:0 dropped:0 overruns:0 frame:0
          TX packets:74 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:5504 (5.3 KiB)  TX bytes:5504 (5.3 KiB)
命令iwconfig eth0输出:

代码: 全选

eth0      IEEE 802.11b  ESSID:"TP-LINK"  Nickname:"Prism  I"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:14:78:FA:E0:24   
          Bit Rate:11 Mb/s   Sensitivity:1/3  
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=92/92  Signal level=5/153  Noise level=107/153
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
升级到feisty下后,发现eth0消失,出现wlan0
命令ifconfig输出:

代码: 全选

eth1      Link encap:Ethernet  HWaddr 00:02:8A:21:5F:0E  
          inet addr:10.0.0.95  Bcast:10.0.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12738 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4266 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:8713925 (8.3 MiB)  TX bytes:730628 (713.5 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:30 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1908 (1.8 KiB)  TX bytes:1908 (1.8 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:20:E0:8D:A5:D2  
          UP BROADCAST MULTICAST  MTU:1500  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:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:11 Memory:d898c000-d898d000 
 
命令iwconfig wlan0 输出:

代码: 全选

wlan0     IEEE 802.11-DS  ESSID:"TP-LINK"  Nickname:"TP-LINK"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:14:78:FA:E0:24   
          Bit Rate:2 Mb/s   Tx-Power:2346 dBm   
          Retry limit:8   RTS thr:off   Fragment thr:off
          Link Quality=53/92  Signal level=-47 dBm  Noise level=-100 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
再编辑/etc/network/interfaces,添加

代码: 全选

iface wlan0 inet dhcp
wireless-mode managed
wireless-essid TP-LINK
wireless-key s:xxxxx
auto wlan0
但是不起作用。可以用Dapper的核心(2.6.15)启动,依然可以使用无线网卡连上AP,再用fieisty核心(2.6.20)启动却不能用无线。
驱动应该正常加载了,
命令lspci | grep Prism 输出

代码: 全选

02:05.0 Network controller: Intersil Corporation Prism 2.5 Wavelan chipset (rev 01)
命令lsmod | grep prism 输出

代码: 全选

prism2_pci             70784  0 
p80211                 31884  1 prism2_pci
但是iwlist wlan0 scanning,输出

代码: 全选

wlan0     No scan results
在Dapper下可以scan到

代码: 全选

eth0      Scan completed :
          Cell 01 - Address: 00:14:78:FA:E0:24
                    ESSID:"TP-LINK"
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Signal level:76/153  Noise level:7/153
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              12 Mb/s; 24 Mb/s; 36 Mb/s
          Cell 02 - Address: 00:18:4D:6C:1E:96
                    ESSID:"ChinaNet"
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Signal level:10/153  Noise level:7/153
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              12 Mb/s; 24 Mb/s; 36 Mb/s
          Cell 03 - Address: 00:14:78:B1:6A:00
                    ESSID:"TP-LINK"
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Signal level:8/153  Noise level:7/153
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              12 Mb/s; 24 Mb/s; 36 Mb/s
          Cell 04 - Address: F6:8B:4C:BF:9F:05
                    ESSID:"hpsetup"
                    Mode:Ad-Hoc
                    Frequency:2.457 GHz (Channel 10)
                    Signal level:13/153  Noise level:7/153
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
也过修改/etc/wlan/wlancfg-DEFAULT,不起作用。折腾了几天没有成效,难道好不容易升级到feisty却要用
Dapper的核心启动。或者干脆重装feisty,要是重装也不起作用怎么办,极度郁闷中,请教各位高手要怎么办?
newhdr
帖子: 15
注册时间: 2006-03-17 9:17
送出感谢: 0
接收感谢: 0

#2

帖子 newhdr » 2007-04-29 22:20

没人回,自己顶一下
头像
chinakr
帖子: 193
注册时间: 2007-01-21 14:04
来自: 北京
送出感谢: 1 次
接收感谢: 0
联系:

#3

帖子 chinakr » 2007-05-04 0:53

Feisty下出现wlan0后,在“System>Administration>Network”里面配置无线网卡,如果DHCP不行可以试试指定静态IP
回复

回到 “Ubuntu错误报告”