Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: wireless problems(iwlwifi)

  1. #11
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,271
    Distro
    Ubuntu Development Release

    Re: wireless problems(iwlwifi)

    It's starting to look like you missed a step or two. Let's retrace our steps:
    Code:
    cd ~/Desktop/compat-wireless-2.6.32.16/
    sudo su
    make clean
    ./scripts/driver-select restore
    ./scripts/driver-select iwlwifi
    make
    make install
    exit
    modinfo iwlagn | grep 0888
    If you don't see your device listed now, then you'll need to compile the later version I linked above. I checked it and your device IS listed.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  2. #12
    Join Date
    Oct 2012
    Beans
    9

    Re: wireless problems(iwlwifi)

    Quote Originally Posted by chili555 View Post
    It's starting to look like you missed a step or two. Let's retrace our steps:
    Code:
    cd ~/Desktop/compat-wireless-2.6.32.16/
    sudo su
    make clean
    ./scripts/driver-select restore
    ./scripts/driver-select iwlwifi
    make
    make install
    exit
    modinfo iwlagn | grep 0888
    If you don't see your device listed now, then you'll need to compile the later version I linked above. I checked it and your device IS listed.
    i don't remember whether i missed a step,i traced the steps.
    Code:
    root@lemon:/home/lemon/桌面/compat-wireless-2.6.32.16# make clean
    make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.32-21-generic'
    make[1]:正在离开目录 `/usr/src/linux-headers-2.6.32-21-generic'
    root@lemon:/home/lemon/桌面/compat-wireless-2.6.32.16# ./scripts/driver-select restore
    Restored makefile: ./Makefile (and removed backup)
    Restored makefile: ./net/wireless/Makefile (and removed backup)
    Restored makefile: ./drivers/misc/eeprom/Makefile (and removed backup)
    Restored makefile: ./drivers/ssb/Makefile (and removed backup)
    Restored makefile: ./drivers/net/usb/Makefile (and removed backup)
    Restored makefile: ./drivers/net/Makefile (and removed backup)
    Restored makefile: ./drivers/net/wireless/Makefile (and removed backup)
    root@lemon:/home/lemon/桌面/compat-wireless-2.6.32.16# ./scripts/driver-select iwlwifi
    Processing new driver-select request...
    Backing up makefile: Makefile.bk
    Backing up makefile: drivers/net/wireless/Makefile.bk
    Backing up makefile: net/wireless/Makefile.bk
    Backing up makefile: drivers/net/Makefile.bk
    Backing up makefile: drivers/ssb/Makefile.bk
    Backing up makefile: drivers/net/usb/Makefile.bk
    Backing up makefile: drivers/misc/eeprom/Makefile.bk
    root@lemon:/home/lemon/桌面/compat-wireless-2.6.32.16# make
    ./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h
    make -C /lib/modules/2.6.32-21-generic/build M=/home/lemon/桌面/compat-wireless-2.6.32.16 modules
    make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.32-21-generic'
      LD      /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/built-in.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl3945-base.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-3945.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-3945-rs.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-3945-led.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-agn.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-agn-rs.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-4965.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-5000.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-6000.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-1000.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-core.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-eeprom.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-hcmd.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-power.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-rx.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-tx.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-sta.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-calib.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-scan.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-led.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl-spectrum.o
      LD [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwlcore.o
      LD [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwlagn.o
      LD [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl3945.o
      LD      /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/built-in.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/main.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/sta_info.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/wep.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/wpa.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/scan.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/ht.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/agg-tx.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/agg-rx.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/ibss.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/mlme.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/iface.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/rate.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/michael.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/tkip.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/aes_ccm.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/aes_cmac.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/cfg.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/rx.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/spectmgmt.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/tx.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/key.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/util.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/wme.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/event.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/led.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/debugfs.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/debugfs_sta.o
    /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/debugfs_sta.c: In function ‘sta_agg_status_read’:
    /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/debugfs_sta.c:157: warning: the frame size of 1232 bytes is larger than 1024 bytes
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/debugfs_netdev.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/debugfs_key.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/mesh.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/mesh_pathtbl.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/mesh_plink.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/mesh_hwmp.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/pm.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/rc80211_pid_algo.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/rc80211_pid_debugfs.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/rc80211_minstrel.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/rc80211_minstrel_debugfs.o
      LD [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/mac80211.o
      LD      /home/lemon/桌面/compat-wireless-2.6.32.16/net/rfkill/built-in.o
      LD      /home/lemon/桌面/compat-wireless-2.6.32.16/net/wireless/built-in.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/wireless/core.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/wireless/sysfs.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/wireless/radiotap.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/wireless/util.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/wireless/reg.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/wireless/scan.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/wireless/nl80211.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/wireless/mlme.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/wireless/ibss.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/wireless/sme.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/wireless/chan.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/wireless/debugfs.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/wireless/wext-compat.o
      CC [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/wireless/wext-sme.o
      LD [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/wireless/cfg80211.o
      LD      /home/lemon/桌面/compat-wireless-2.6.32.16/built-in.o
      Building modules, stage 2.
      MODPOST 5 modules
      CC      /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl3945.mod.o
      LD [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl3945.ko
      CC      /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwlagn.mod.o
      LD [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwlagn.ko
      CC      /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwlcore.mod.o
      LD [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwlcore.ko
      CC      /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/mac80211.mod.o
      LD [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/mac80211.ko
      CC      /home/lemon/桌面/compat-wireless-2.6.32.16/net/wireless/cfg80211.mod.o
      LD [M]  /home/lemon/桌面/compat-wireless-2.6.32.16/net/wireless/cfg80211.ko
    make[1]:正在离开目录 `/usr/src/linux-headers-2.6.32-21-generic'
    root@lemon:/home/lemon/桌面/compat-wireless-2.6.32.16# make install
    WARNING: -e needs -E or -F
    Your old wireless subsystem modules were left intact:
    
    kernel/net/mac80211/mac80211.ko
    kernel/net/wireless/cfg80211.ko
    kernel/net/wireless/lib80211.ko
    kernel/drivers/net/wireless/adm8211.ko
    kernel/drivers/net/wireless/ath/ar9170/ar9170usb.ko
    kernel/drivers/net/wireless/at76c50x-usb.ko
    kernel/drivers/net/wireless/ath/ath.ko
    kernel/drivers/net/wireless/ath/ath5k/ath5k.ko
    kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
    kernel/drivers/net/wireless/b43/b43.ko
    kernel/drivers/net/wireless/b43legacy/b43legacy.ko
    kernel/drivers/net/b44.ko
    kernel/drivers/net/usb/cdc_ether.ko
    kernel/drivers/misc/eeprom/eeprom_93cx6.ko
    kernel/drivers/net/wireless/ipw2x00/ipw2100.ko
    kernel/drivers/net/wireless/ipw2x00/ipw2200.ko
    kernel/drivers/net/wireless/iwlwifi/iwl3945.ko
    kernel/drivers/net/wireless/iwlwifi/iwlagn.ko
    kernel/drivers/net/wireless/iwlwifi/iwlcore.ko
    kernel/net/wireless/lib80211_crypt_ccmp.ko
    kernel/net/wireless/lib80211_crypt_tkip.ko
    kernel/net/wireless/lib80211_crypt_wep.ko
    kernel/drivers/net/wireless/libertas/libertas.ko
    kernel/drivers/net/wireless/libertas/libertas_cs.ko
    kernel/drivers/net/wireless/libertas/libertas_sdio.ko
    kernel/drivers/net/wireless/libertas/libertas_spi.ko
    kernel/drivers/net/wireless/libertas_tf/libertas_tf.ko
    kernel/drivers/net/wireless/libertas_tf/libertas_tf_usb.ko
    kernel/drivers/net/wireless/ipw2x00/libipw.ko
    kernel/drivers/net/wireless/mac80211_hwsim.ko
    kernel/drivers/net/wireless/mwl8k.ko
    kernel/drivers/net/wireless/p54/p54common.ko
    kernel/drivers/net/wireless/p54/p54pci.ko
    kernel/drivers/net/wireless/p54/p54spi.ko
    kernel/drivers/net/wireless/p54/p54usb.ko
    kernel/drivers/net/usb/rndis_host.ko
    kernel/drivers/net/wireless/rndis_wlan.ko
    kernel/drivers/net/wireless/rt2x00/rt2400pci.ko
    kernel/drivers/net/wireless/rt2x00/rt2500pci.ko
    kernel/drivers/net/wireless/rt2x00/rt2500usb.ko
    kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
    kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko
    kernel/drivers/net/wireless/rt2x00/rt2x00usb.ko
    kernel/drivers/net/wireless/rt2x00/rt61pci.ko
    kernel/drivers/net/wireless/rt2x00/rt73usb.ko
    kernel/drivers/net/wireless/rtl818x/rtl8180.ko
    kernel/drivers/net/wireless/rtl818x/rtl8187.ko
    kernel/drivers/ssb/ssb.ko
    kernel/drivers/net/wireless/libertas/usb8xxx.ko
    kernel/drivers/net/usb/usbnet.ko
    kernel/drivers/net/wireless/zd1211rw/zd1211rw.ko
    
    make -C /lib/modules/2.6.32-21-generic/build M=/home/lemon/桌面/compat-wireless-2.6.32.16 modules
    make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.32-21-generic'
      Building modules, stage 2.
      MODPOST 5 modules
    make[1]:正在离开目录 `/usr/src/linux-headers-2.6.32-21-generic'
    make -C /lib/modules/2.6.32-21-generic/build M=/home/lemon/桌面/compat-wireless-2.6.32.16 "INSTALL_MOD_DIR=updates"  \
    		modules_install
    make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.32-21-generic'
      INSTALL /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwl3945.ko
      INSTALL /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwlagn.ko
      INSTALL /home/lemon/桌面/compat-wireless-2.6.32.16/drivers/net/wireless/iwlwifi/iwlcore.ko
      INSTALL /home/lemon/桌面/compat-wireless-2.6.32.16/net/mac80211/mac80211.ko
      INSTALL /home/lemon/桌面/compat-wireless-2.6.32.16/net/wireless/cfg80211.ko
      DEPMOD  2.6.32-21-generic
    make[1]:正在离开目录 `/usr/src/linux-headers-2.6.32-21-generic'
    Updating Ubuntu's initramfs for 2.6.31-wl under /boot/ ...
    Cannot find /lib/modules/2.6.31-wl
    Will now run update-grub to ensure grub will find the new initramfs ...
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-2.6.32-21-generic
    Found initrd image: /boot/initrd.img-2.6.32-21-generic
    Found memtest86+ image: /boot/memtest86+.bin
    Found Windows 7 (loader) on /dev/sda1
    done
    depmod will prefer updates/ over kernel/ -- OK!
    WARNING: -e needs -E or -F
    Currently detected wireless subsystem modules:
    
    updates/net/mac80211/mac80211.ko
    updates/net/wireless/cfg80211.ko
    kernel/net/wireless/lib80211.ko
    kernel/drivers/net/wireless/adm8211.ko
    kernel/drivers/net/wireless/ath/ar9170/ar9170usb.ko
    kernel/drivers/net/wireless/at76c50x-usb.ko
    kernel/drivers/net/wireless/ath/ath.ko
    kernel/drivers/net/wireless/ath/ath5k/ath5k.ko
    kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
    kernel/drivers/net/wireless/b43/b43.ko
    kernel/drivers/net/wireless/b43legacy/b43legacy.ko
    kernel/drivers/net/b44.ko
    kernel/drivers/net/usb/cdc_ether.ko
    kernel/drivers/misc/eeprom/eeprom_93cx6.ko
    kernel/drivers/net/wireless/ipw2x00/ipw2100.ko
    kernel/drivers/net/wireless/ipw2x00/ipw2200.ko
    updates/drivers/net/wireless/iwlwifi/iwl3945.ko
    updates/drivers/net/wireless/iwlwifi/iwlagn.ko
    updates/drivers/net/wireless/iwlwifi/iwlcore.ko
    kernel/net/wireless/lib80211_crypt_ccmp.ko
    kernel/net/wireless/lib80211_crypt_tkip.ko
    kernel/net/wireless/lib80211_crypt_wep.ko
    kernel/drivers/net/wireless/libertas/libertas.ko
    kernel/drivers/net/wireless/libertas/libertas_cs.ko
    kernel/drivers/net/wireless/libertas/libertas_sdio.ko
    kernel/drivers/net/wireless/libertas/libertas_spi.ko
    kernel/drivers/net/wireless/libertas_tf/libertas_tf.ko
    kernel/drivers/net/wireless/libertas_tf/libertas_tf_usb.ko
    kernel/drivers/net/wireless/ipw2x00/libipw.ko
    kernel/drivers/net/wireless/mac80211_hwsim.ko
    kernel/drivers/net/wireless/mwl8k.ko
    kernel/drivers/net/wireless/p54/p54common.ko
    kernel/drivers/net/wireless/p54/p54pci.ko
    kernel/drivers/net/wireless/p54/p54spi.ko
    kernel/drivers/net/wireless/p54/p54usb.ko
    kernel/drivers/net/usb/rndis_host.ko
    kernel/drivers/net/wireless/rndis_wlan.ko
    kernel/drivers/net/wireless/rt2x00/rt2400pci.ko
    kernel/drivers/net/wireless/rt2x00/rt2500pci.ko
    kernel/drivers/net/wireless/rt2x00/rt2500usb.ko
    kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
    kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko
    kernel/drivers/net/wireless/rt2x00/rt2x00usb.ko
    kernel/drivers/net/wireless/rt2x00/rt61pci.ko
    kernel/drivers/net/wireless/rt2x00/rt73usb.ko
    kernel/drivers/net/wireless/rtl818x/rtl8180.ko
    kernel/drivers/net/wireless/rtl818x/rtl8187.ko
    kernel/drivers/ssb/ssb.ko
    kernel/drivers/net/wireless/libertas/usb8xxx.ko
    kernel/drivers/net/usb/usbnet.ko
    kernel/drivers/net/wireless/zd1211rw/zd1211rw.ko
    
    Now run:
    
    make unload
    
    And then load the wireless module you need. If unsure reboot.
    
    root@lemon:/home/lemon/桌面/compat-wireless-2.6.32.16# exit
    exit
    lemon@lemon:~/桌面/compat-wireless-2.6.32.16$ modinfo iwlagn | grep 0888
    lemon@lemon:~/桌面/compat-wireless-2.6.32.16$ modinfo iwlagn | grep 0888
    it seems like it still can not find the device.Then i tried the later version , it goes like this
    Code:
    root@lemon:/home/lemon/桌面/compat-wireless-2012-10-03# make clean
    make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.32-21-generic'
    make[1]:正在离开目录 `/usr/src/linux-headers-2.6.32-21-generic'
    root@lemon:/home/lemon/桌面/compat-wireless-2012-10-03# ./scripts/driver-select restore
    root@lemon:/home/lemon/桌面/compat-wireless-2012-10-03# ./scripts/driver-select iwlwifi
    Processing new driver-select request...
    Backing up makefile: Makefile.bk
    Backing up makefile: drivers/net/wireless/Makefile.bk
    Backup exists: Makefile.bk
    Backing up makefile: net/wireless/Makefile.bk
    Backing up makefile: drivers/ssb/Makefile.bk
    Backing up makefile: drivers/bcma/Makefile.bk
    Backing up makefile: drivers/misc/eeprom/Makefile.bk
    Backup exists: Makefile.bk
    root@lemon:/home/lemon/桌面/compat-wireless-2012-10-03# make
    ./scripts/gen-compat-autoconf.sh /home/lemon/桌面/compat-wireless-2012-10-03/.config /home/lemon/桌面/compat-wireless-2012-10-03/config.mk > include/linux/compat_autoconf.h
    make -C /lib/modules/2.6.32-21-generic/build M=/home/lemon/桌面/compat-wireless-2012-10-03 modules
    make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.32-21-generic'
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/main.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat-2.6.33.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat-2.6.34.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat-2.6.35.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat-2.6.36.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/kfifo.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat-2.6.37.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat-2.6.38.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat-2.6.39.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/kstrtox.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat-3.0.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat-3.1.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat-3.2.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat-3.3.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat-3.4.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat-3.5.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/user_namespace.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat-3.7.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/cordic.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/crc8.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/sch_fq_codel_core.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/flow_dissector.o
      LD [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat_firmware_class.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/sch_codel.o
      LD [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/sch_fq_codel.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/iwl-io.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/iwl-drv.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/iwl-debug.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/iwl-notif-wait.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/iwl-eeprom-read.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/iwl-eeprom-parse.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/pcie/drv.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/pcie/rx.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/pcie/tx.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/pcie/trans.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/pcie/1000.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/pcie/2000.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/pcie/5000.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/pcie/6000.o
      LD [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/iwlwifi.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/dvm/main.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/dvm/rs.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/dvm/mac80211.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/dvm/ucode.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/dvm/tx.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/dvm/lib.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/dvm/calib.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/dvm/tt.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/dvm/sta.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/dvm/rx.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/dvm/power.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/dvm/scan.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/dvm/led.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/dvm/rxon.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/dvm/devices.o
      LD [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/dvm/iwldvm.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/main.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/status.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/sta_info.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/wep.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/wpa.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/scan.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/offchannel.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/ht.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/agg-tx.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/agg-rx.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/ibss.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/iface.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/rate.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/michael.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/tkip.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/aes_ccm.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/aes_cmac.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/cfg.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/rx.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/spectmgmt.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/tx.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/key.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/util.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/wme.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/event.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/chan.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/mlme.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/led.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/debugfs.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/debugfs_sta.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/debugfs_netdev.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/debugfs_key.o
    /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/debugfs_key.c:37:1: warning: "KEY_FILE" redefined
    In file included from /home/lemon/桌面/compat-wireless-2012-10-03/include/linux/compat-2.6.33.h:16,
                     from /home/lemon/桌面/compat-wireless-2012-10-03/include/linux/compat-2.6.h:54,
                     from <command-line>:0:
    include/linux/input.h:270:1: warning: this is the location of the previous definition
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/mesh.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/mesh_pathtbl.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/mesh_plink.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/mesh_hwmp.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/mesh_sync.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/pm.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/rc80211_pid_algo.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/rc80211_pid_debugfs.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/rc80211_minstrel.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/rc80211_minstrel_debugfs.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/rc80211_minstrel_ht.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/rc80211_minstrel_ht_debugfs.o
      LD [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/mac80211.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/core.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/sysfs.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/radiotap.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/util.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/reg.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/scan.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/nl80211.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/mlme.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/ibss.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/sme.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/chan.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/ethtool.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/mesh.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/ap.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/debugfs.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/wext-compat.o
      CC [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/wext-sme.o
      LD [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/cfg80211.o
      Building modules, stage 2.
      MODPOST 8 modules
      CC      /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat.mod.o
      LD [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat.ko
      CC      /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat_firmware_class.mod.o
      LD [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat_firmware_class.ko
      CC      /home/lemon/桌面/compat-wireless-2012-10-03/compat/sch_codel.mod.o
      LD [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/sch_codel.ko
      CC      /home/lemon/桌面/compat-wireless-2012-10-03/compat/sch_fq_codel.mod.o
      LD [M]  /home/lemon/桌面/compat-wireless-2012-10-03/compat/sch_fq_codel.ko
      CC      /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/dvm/iwldvm.mod.o
      LD [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/dvm/iwldvm.ko
      CC      /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/iwlwifi.mod.o
      LD [M]  /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/iwlwifi.ko
      CC      /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/mac80211.mod.o
      LD [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/mac80211.ko
      CC      /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/cfg80211.mod.o
      LD [M]  /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/cfg80211.ko
    make[1]:正在离开目录 `/usr/src/linux-headers-2.6.32-21-generic'
    root@lemon:/home/lemon/桌面/compat-wireless-2012-10-03# make install
    
    make -C /lib/modules/2.6.32-21-generic/build M=/home/lemon/桌面/compat-wireless-2012-10-03 modules
    make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.32-21-generic'
      Building modules, stage 2.
      MODPOST 8 modules
    make[1]:正在离开目录 `/usr/src/linux-headers-2.6.32-21-generic'
    make -C /lib/modules/2.6.32-21-generic/build M=/home/lemon/桌面/compat-wireless-2012-10-03 "INSTALL_MOD_DIR=updates"  \
    		modules_install
    make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.32-21-generic'
      INSTALL /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat.ko
      INSTALL /home/lemon/桌面/compat-wireless-2012-10-03/compat/compat_firmware_class.ko
      INSTALL /home/lemon/桌面/compat-wireless-2012-10-03/compat/sch_codel.ko
      INSTALL /home/lemon/桌面/compat-wireless-2012-10-03/compat/sch_fq_codel.ko
      INSTALL /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/dvm/iwldvm.ko
      INSTALL /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/iwlwifi.ko
      INSTALL /home/lemon/桌面/compat-wireless-2012-10-03/net/mac80211/mac80211.ko
      INSTALL /home/lemon/桌面/compat-wireless-2012-10-03/net/wireless/cfg80211.ko
      DEPMOD  2.6.32-21-generic
    make[1]:正在离开目录 `/usr/src/linux-headers-2.6.32-21-generic'
    depmod will prefer updates/ over kernel/ -- OK!
    
    Now run:
    
    sudo make unload to unload all: wireless, bluetooth and ethernet modules
    sudo make wlunload to unload wireless modules
    sudo make btunload to unload bluetooth modules
    
    Run sudo modprobe driver-name to load your desired driver.
    If unsure reboot.
    
    root@lemon:/home/lemon/桌面/compat-wireless-2012-10-03# exit
    exit
    lemon@lemon:~/桌面/compat-wireless-2012-10-03$ modinfo iwlagn | grep 0888
    when i tried "modinfo iwlagn | grep 0888",there is nothing happened.

  3. #13
    Join Date
    Oct 2012
    Beans
    9

    Re: wireless problems(iwlwifi)

    ,when i reboot ,i works.Now i'm reply you with the wifi , thanks a lots. i think it is the later version works.but i want to know what "./scripts/driver-select restore " and "./scripts/driver-select iwlwifi " means? if i go straight to the
    Code:
    make
    and
    Code:
    make install
    it didn't work.

  4. #14
    Join Date
    Oct 2007
    Beans
    5

    Re: wireless problems(iwlwifi)

    My problem sounds much like yours, and have spent past 2 weeks trying..
    Today decided to try something different, opened the Bios of the HP Pavilion Laptop Win 7, and under Configuration found NETWORK ADAPTER was showing as DISABLED. Changed to ENABLED.

    Re-booted and hey presto. It works again as it used to do.
    No idea how or why became disabled.

    Ubuntu 12.04 within Windows installed using WUBI about 10 months ago, never a problem then refused to connect to WiFi, although wireless networks were being displayed including my own. Connection by wire no problem.

    I would suggest well worth a try.

    Back to growing finger nails.

    donver.

  5. #15
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,271
    Distro
    Ubuntu Development Release

    Re: wireless problems(iwlwifi)

    Quote Originally Posted by stuckubu View Post
    i want to know what "./scripts/driver-select restore " and "./scripts/driver-select iwlwifi " means? if i go straight to the
    Code:
    make
    and
    Code:
    make install
    it didn't work.
    'restore' removes any configuration files that were written when you tried other steps. 'driver-select iwlwifi' tells the build that you only need to make up the iwlwifi suite and not to waste time and CPU cycles on ath9k, b43, etc., etc. that you don't have or need.
    when i tried "modinfo iwlagn | grep 0888",there is nothing happened.
    That's because it built the driver iwlwifi:
    INSTALL /home/lemon/桌面/compat-wireless-2012-10-03/drivers/net/wireless/iwlwifi/iwlwifi.ko
    I'm quite certain that if you did:
    Code:
    modinfo iwlwifi | grep 0888
    ...you'd see your device is covered. We know it is because it works now!

    Whenever a later kernel is installed by Update Manager, you'll need to recompile:
    Code:
    cd ~/桌面/compat-wireless-2012-10-03
    sudo su
    make clean
    ./scripts/driver-select restore
    ./scripts/driver-select iwlwifi
    make
    make install
    exit
    When you upgrade to 12.04LTS, it will work out of the box.

    Please use thread tools at the top to mark Solved.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  6. #16
    Join Date
    Oct 2012
    Beans
    9

    Re: wireless problems(iwlwifi)

    thanks again,it is the first difficult problem i met with in ubuntu , it cost much time ,but i learned a lot . thanks you are so patient to answer my question.

  7. #17
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,271
    Distro
    Ubuntu Development Release

    Re: wireless problems(iwlwifi)

    I was happy to help. Thanks for your kind words.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  8. #18
    Join Date
    Dec 2012
    Beans
    3

    Re: wireless problems(iwlwifi)

    Thank you so much chili555.

    ¡Happy Christmas and Happy New Year!

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •