无线无法正常工作 - HP Probook 4540s

无线无法正常工作 - HP Probook 4540s

我刚刚在 3 台 HP Probook 4540s 上安装了 Ubuntu 12.04,但似乎都无法连接到无线网络。

我有一台安装了 Windows 7 的 Probook 4540s,我可以从它访问 wlan。我尝试从 HP 网站安装必要的驱动程序,但似乎仍然不起作用。

我看到其他使用不同 Probook 的人也遇到过类似的问题,但他们的电脑似乎能够检测到甚至尝试连接 WLAN,而我的电脑甚至无法识别它有无线功能。

输出自sudo make

make -C tools
make[1]: Entering directory `/home/olimp3/Downloads/Driver/Files/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/olimp3/Downloads/Driver/Files/tools'
/home/olimp3/Downloads/Driver/Files/tools/bin2h
cp -f os/linux/Makefile.6 /home/olimp3/Downloads/Driver/Files/os/linux/Makefile
make -C /lib/modules/3.2.0-34-generic/build SUBDIRS=/home/olimp3/Downloads/Driver/Files/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-34-generic'
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/crypt_md5.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/crypt_sha2.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/crypt_hmac.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/crypt_aes.o
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/crypt_aes.c:1466:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/crypt_aes.c:1561:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat]
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/crypt_arc4.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/mlme.o
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/mlme.c: In function ‘MlmeResetRalinkCounters’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/mlme.c:528:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/mlme.c:528:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_wep.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/action.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_data.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/rtmp_init.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/rtmp_init_inf.o
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/rtmp_init_inf.c: In function ‘rt28xx_init’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/rtmp_init_inf.c:162:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/rtmp_init_inf.c:178:10: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_tkip.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_aes.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_sync.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/eeprom.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_sanity.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_info.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_cfg.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_wpa.o
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_wpa.c: In function ‘PeerPairMsg3Action’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_wpa.c:1032:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_radar.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/spectrum.o
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/spectrum.c:1972:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/rtmp_timer.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/rt_channel.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_profile.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_asic.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_cmd.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/ps.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/uapsd.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../rate_ctrl/ra_ctrl.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../rate_ctrl/alg_legacy.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../rate_ctrl/alg_ags.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rtmp_chip.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../sta/assoc.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../sta/auth.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../sta/auth_rsp.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../sta/sync.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../sta/sanity.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../sta/rtmp_data.o
/home/olimp3/Downloads/Driver/Files/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxDataFrame’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../sta/rtmp_data.c:283:17: warning: unused variable ‘pFmeCtrl’ [-Wunused-variable]
/home/olimp3/Downloads/Driver/Files/os/linux/../../sta/rtmp_data.c:282:8: warning: unused variable ‘OldPwrMgmt’ [-Wunused-variable]
/home/olimp3/Downloads/Driver/Files/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxMgmtFrame’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../sta/rtmp_data.c:766:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../sta/connect.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../sta/wpa.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../sta/sta_cfg.o
/home/olimp3/Downloads/Driver/Files/os/linux/../../sta/sta_cfg.c: In function ‘RTMPQueryInformation’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../sta/sta_cfg.c:3956:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_private_get_statistics’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../sta/sta_cfg.c:7220:1: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘EEPROM_NIC_CONFIG3_STRUC’ [-Wformat]
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/rt_os_util.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/ba_action.o
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/ba_action.c: In function ‘convert_reordering_packet_to_preAMSDU_or_802_3_packet’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/ba_action.c:1550:2: warning: assignment makes integer from pointer without a cast [enabled by default]
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/rt_led.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_mac_pci.o
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_mac_pci.c: In function ‘RT28xxPciMlmeRadioOn’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_mac_pci.c:2245:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_data_pci.o
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPFreeTXDUponTxDmaDone’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_data_pci.c:543:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPHandleMgmtRingDmaDoneInterrupt’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/cmm_data_pci.c:738:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/rtmp_mcu.o
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/rtmp_mcu.c: In function ‘RtmpAsicSendCommandToMcu’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/rtmp_mcu.c:464:8: warning: unused variable ‘offset’ [-Wunused-variable]
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/rtmp_mcu.c:463:8: warning: unused variable ‘Configuration’ [-Wunused-variable]
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/ee_prom.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/ee_efuse.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/rt_rf.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt30xx.o
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.o
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c: In function ‘RT3290_AsicTxAlcGetAutoAgcOffset’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:1564:25: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c: In function ‘MlmeAntSelection’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2489:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2489:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2489:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2507:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2522:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2522:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2523:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2523:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2526:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2526:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2527:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2527:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2528:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2528:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2545:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2545:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2545:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2559:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2565:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2574:8: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2581:8: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2583:7: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2583:7: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2595:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2595:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2596:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2596:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2597:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:2597:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c: In function ‘BtCoexSetting’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:3244:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat]
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c: In function ‘Profile_TwoAnt’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../chips/rt3290.c:4097:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘CMB_CTRL_STRUC’ [-Wformat]
  CC [M]  /home/olimp3/Downloads/Driver/Files/os/linux/../../common/frq_cal.o
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/frq_cal.c: In function ‘FrequencyCalibration’:
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/frq_cal.c:198:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/frq_cal.c:211:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/frq_cal.c:227:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/frq_cal.c:252:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/frq_cal.c:265:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/frq_cal.c:281:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/home/olimp3/Downloads/Driver/Files/os/linux/../../common/frq_cal.c:132:10: warning: unused variable ‘bUpdateRFR’ [-Wunused-variable]
  LD [M]  /home/olimp3/Downloads/Driver/Files/os/linux/rt3290sta.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /home/olimp3/Downloads/Driver/Files/os/linux/rt3290sta.o
see include/linux/module.h for more information
  LD [M]  /home/olimp3/Downloads/Driver/Files/os/linux/rt3290sta.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-34-generic'
cp -f /home/olimp3/Downloads/Driver/Files/os/linux/rt3290sta.ko /tftpboot

输出自lspci -nnk | grep -EA3 Ralink

04:00.0 Network controller [0280]: Ralink corp. Device [1814:3290]
    Subsystem: Hewlett-Packard Company Device [103c:18ec]
04:00.1 Bluetooth [0d11]: Ralink corp. Device [1814:3298]
    Subsystem: Hewlett-Packard Company Device [103c:18ec]
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI             Express Gigabit Ethernet controller [10ec:8168] (rev 07)
    Subsystem: Hewlett-Packard Company Device [103c:17f6]

答案1

第一的:从 Ralink 下载最新的 RT2860 驱动程序源代码

http://www.ralinktech.com/

单击“软件” 单击“Linux”
自 2010 年 7 月起可用:

下载日期为 2010 年 7 月 16 日的驱动程序
"RT2860PCI/mPCI/CB/PCIe(RT2760/RT2790/RT2860/RT2890)“版本 2.4.0.0
您需要输入姓名和电子邮件,然后按“接受”下载

Ctrl现在,按+ Alt+打开终端T,然后输入:

sudo apt-get install linux-headers-$(uname -r) build-essential dkms
cd Downloads/Driver

现在安装它:

sudo make && sudo make install && sudo make clean

然后,当它完成时:

将内置驱动程序列入黑名单,然后使用以下命令加载新的驱动程序:

echo "blacklist rt2800pci" | sudo tee /etc/modprobe.d/blacklist-rt2800pci.conf
sudo modprobe -rfv rt2800pci
sudo modprobe -v rt3259sta

然后重新启动,它就可以工作了!

相关内容