Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: wireless problems(iwlwifi)

  1. #1
    Join Date
    Oct 2012
    Beans
    12

    wireless problems(iwlwifi)

    hi,i'm new here,and i'm fresh to linux.i have some problems to get my wireless working,but the wired works fine.
    it seems like it havent load the modules,even i have no idea what modules it need.
    it is intel wireless centrino n-2230.
    Code:
    lemon@lemon:~$ uname -a
    Linux lemon 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010 x86_64 GNU/Linux
    lemon@lemon:~$ lspci -nn | grep -i net
    03:00.0 Network controller [0280]: Intel Corporation Device [8086:0888] (rev c4)
    09:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 07)
    lemon@lemon:~$ iwconfig
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    pan0      no wireless extensions.
    
    lemon@lemon:~$ rfkill list all
    0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
    lemon@lemon:~$ lsmod
    Module                  Size  Used by
    binfmt_misc             7960  1 
    rfcomm                 40329  4 
    ppdev                   6375  0 
    sco                     9617  2 
    bridge                 53152  0 
    stp                     2171  1 bridge
    bnep                   11820  2 
    l2cap                  34774  16 rfcomm,bnep
    joydev                 11072  0 
    uvcvideo               62403  0 
    videodev               40486  1 uvcvideo
    v4l1_compat            15495  2 uvcvideo,videodev
    nouveau               515131  0 
    fbcon                  39270  71 
    tileblit                2487  1 fbcon
    font                    8053  1 fbcon
    bitblit                 5811  1 fbcon
    softcursor              1565  1 bitblit
    btusb                  12969  2 
    v4l2_compat_ioctl32    12020  1 videodev
    bluetooth              58621  9 rfcomm,sco,bnep,l2cap,btusb
    ttm                    60815  1 nouveau
    drm_kms_helper         30742  1 nouveau
    drm                   198770  3 nouveau,ttm,drm_kms_helper
    i2c_algo_bit            6024  1 nouveau
    video                  20623  0 
    output                  2503  1 video
    psmouse                64608  0 
    serio_raw               4918  0 
    vga16fb                12757  1 
    vgastate                9857  1 vga16fb
    xhci                   40958  0 
    lp                      9336  0 
    parport                37160  2 ppdev,lp
    usbhid                 40988  0 
    hid                    83376  1 usbhid
    r8169                  39554  0 
    mii                     5237  1 r8169
    ahci                   37646  2 
    lemon@lemon:~$
    i have got stuck here for a few days.it will be nice if someone help me.

  2. #2
    Join Date
    Oct 2012
    Beans
    12

    Re: wireless problems(iwlwifi)

    i have download compat-wireless-2.6.32.16.tar.bz2 from http://linuxwireless.org/en/users/Do...table_releases
    i follow the step of README from the package,when i try
    Code:
    make
    it got some errors like this
    Code:
    /media/B0008017007FE330/compat-wireless-2.6.32.16/drivers/net/wireless/ipw2x00/ipw2100.c: In function ‘ipw2100_alloc_device’:
    /media/B0008017007FE330/compat-wireless-2.6.32.16/drivers/net/wireless/ipw2x00/ipw2100.c:6060: error: ‘struct iw_public_data’ has no member named ‘ieee80211’
    make[4]: *** [/media/B0008017007FE330/compat-wireless-2.6.32.16/drivers/net/wireless/ipw2x00/ipw2100.o] 错误 1
    make[3]: *** [/media/B0008017007FE330/compat-wireless-2.6.32.16/drivers/net/wireless/ipw2x00] 错误 2
    make[2]: *** [/media/B0008017007FE330/compat-wireless-2.6.32.16/drivers/net/wireless] 错误 2
    make[1]: *** [_module_/media/B0008017007FE330/compat-wireless-2.6.32.16] 错误 2
    make[1]:正在离开目录 `/usr/src/linux-headers-2.6.32-21-generic'
    make: *** [modules] 错误 2
    i think it said i don't have ieee80211 subsystem in my kernel ,so i download ieee80211-1.2.18.tgz ,i try to install it,but it also got error like this
    Code:
    Makefile:17: 
    Makefile:18: WARNING: $SHELL not set to bash.
    Makefile:19: If you experience build errors, try
    Makefile:20: 'make SHELL=/bin/bash'.
    Makefile:21: 
    Checking in /lib/modules/2.6.32-21-generic for ieee80211 components...
    make -C /lib/modules/2.6.32-21-generic/build M=/media/B0008017007FE330/ieee80211-1.2.18 modules
    make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.32-21-generic'
    /media/B0008017007FE330/ieee80211-1.2.18/Makefile:17: 
    /media/B0008017007FE330/ieee80211-1.2.18/Makefile:18: WARNING: $SHELL not set to bash.
    /media/B0008017007FE330/ieee80211-1.2.18/Makefile:19: If you experience build errors, try
    /media/B0008017007FE330/ieee80211-1.2.18/Makefile:20: 'make SHELL=/bin/bash'.
    /media/B0008017007FE330/ieee80211-1.2.18/Makefile:21: 
      CC [M]  /media/B0008017007FE330/ieee80211-1.2.18/ieee80211_module.o
    /media/B0008017007FE330/ieee80211-1.2.18/ieee80211_module.c: In function ‘alloc_ieee80211’:
    /media/B0008017007FE330/ieee80211-1.2.18/ieee80211_module.c:148: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
    /media/B0008017007FE330/ieee80211-1.2.18/ieee80211_module.c:149: error: ‘struct net_device’ has no member named ‘change_mtu’
    /media/B0008017007FE330/ieee80211-1.2.18/ieee80211_module.c:153: error: ‘struct net_device’ has no member named ‘get_stats’
    /media/B0008017007FE330/ieee80211-1.2.18/ieee80211_module.c: In function ‘ieee80211_init’:
    /media/B0008017007FE330/ieee80211-1.2.18/ieee80211_module.c:268: error: ‘proc_net’ undeclared (first use in this function)
    /media/B0008017007FE330/ieee80211-1.2.18/ieee80211_module.c:268: error: (Each undeclared identifier is reported only once
    /media/B0008017007FE330/ieee80211-1.2.18/ieee80211_module.c:268: error: for each function it appears in.)
    /media/B0008017007FE330/ieee80211-1.2.18/ieee80211_module.c: In function ‘ieee80211_exit’:
    /media/B0008017007FE330/ieee80211-1.2.18/ieee80211_module.c:297: error: ‘proc_net’ undeclared (first use in this function)
    {standard input}: Assembler messages:
    {standard input}:9: Warning: can't open .lst: Permission denied
    GAS LISTING  			page 1
    
    
       1              	.file "ieee80211_module.c"
       9              	.Ltext0:
    
    GAS LISTING  			page 2
    
    
    DEFINED SYMBOLS
                                *ABS*:0000000000000000 ieee80211_module.c
    
    NO UNDEFINED SYMBOLS
    make[2]: *** [/media/B0008017007FE330/ieee80211-1.2.18/ieee80211_module.o] 错误 1
    make[1]: *** [_module_/media/B0008017007FE330/ieee80211-1.2.18] 错误 2
    make[1]:正在离开目录 `/usr/src/linux-headers-2.6.32-21-generic'
    make: *** [modules] 错误 2
    it seems like i have download the wrong version ,am i right?someone help!!!

  3. #3
    Join Date
    Apr 2012
    Beans
    7,256

    Re: wireless problems(iwlwifi)

    Let's see if we can figure out exactly which Intel device you have and if we can get the correct driver and firmware to load manually with modprobe

    Code:
    sudo lshw -C network
    Personally I wouldn't jump into compat modules or source builds until I'd explored all other avenues - it will make your system harder to maintain if you go that route
    Last edited by steeldriver; October 13th, 2012 at 02:41 PM.

  4. #4
    Join Date
    Oct 2012
    Beans
    12

    Re: wireless problems(iwlwifi)

    Quote Originally Posted by steeldriver View Post
    Let's see if we can figure out exactly which Intel device you have and if we can get the correct driver and firmware to load manually with modprobe

    Code:
    sudo lshw -C network
    Personally I wouldn't jump into compat modules or source builds until I'd explored all other avenues - it will make your system harder to maintain if you go that route
    thanks for your replay
    Code:
    lemon@lemon:~$ sudo lshw -c network
    [sudo] password for lemon: 
      *-network UNCLAIMED     
           description: Network controller
           product: Intel Corporation
           vendor: Intel Corporation
           physical id: 0
           bus info: pci@0000:03:00.0
           version: c4
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress bus_master cap_list
           configuration: latency=0
           resources: memory:e2900000-e2901fff
      *-network
           description: Ethernet interface
           product: RTL8111/8168B PCI Express Gigabit Ethernet controller
           vendor: Realtek Semiconductor Co., Ltd.
           physical id: 0
           bus info: pci@0000:09:00.0
           logical name: eth0
           version: 07
           serial: 3c:97:0e:12:f0:83
           size: 100MB/s
           capacity: 1GB/s
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
           configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=10.4.145.32 latency=0 link=yes multicast=yes port=MII speed=100MB/s
           resources: irq:34 ioport:2000(size=256) memory:e2004000-e2004fff(prefetchable) memory:e2000000-e2003fff(prefetchable)
    lemon@lemon:~$

  5. #5
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: wireless problems(iwlwifi)

    I suggest you try going back to the compat-wireless package and do:
    Code:
    cd /media/B0008017007FE330/
    cp compat* Desktop
    I don't know if 'media' is a CD or a USB key or what, but it's generally preferable to work on a location on your harddrive rather than removable media. Now do:
    Code:
    cd ~/Desktop/compat-wireless-2.6.32.16/
    sudo su
    make clean
    ./scripts/driver-select restore
    ./scripts/driver-select
    You will want either iwlagn or iwlwifi, whichever it's called.
    Code:
    ./scripts/driver-select iwlwifi <--or whichever you saw above
    make
    make install
    Any errors? If so, I then suggest you try the later compat here: http://linuxwireless.org/download/co...reless.tar.bz2

    I will be traveling for the next 24 hours or so. I'll look for your report then.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  6. #6
    Join Date
    Oct 2012
    Beans
    12

    Re: wireless problems(iwlwifi)

    Quote Originally Posted by chili555 View Post
    I suggest you try going back to the compat-wireless package and do:
    Code:
    cd /media/B0008017007FE330/
    cp compat* Desktop
    I don't know if 'media' is a CD or a USB key or what, but it's generally preferable to work on a location on your harddrive rather than removable media. Now do:
    Code:
    cd ~/Desktop/compat-wireless-2.6.32.16/
    sudo su
    make clean
    ./scripts/driver-select restore
    ./scripts/driver-select
    You will want either iwlagn or iwlwifi, whichever it's called.
    Code:
    ./scripts/driver-select iwlwifi <--or whichever you saw above
    make
    make install
    Any errors? If so, I then suggest you try the later compat here: http://linuxwireless.org/download/co...reless.tar.bz2

    I will be traveling for the next 24 hours or so. I'll look for your report then.
    it not a CD or a USB key ,just a harddrive in windows ,i have copied the files to Desktop ,and tap the code you offered
    Code:
    ./scripts/driver-select
    Usage: ./scripts/driver-select [ <driver-name> | <driver-group-name> | restore ]
    Supported drivers:
    	ath5k
    	ath9k
    	ar9170
    	zd1211rw
    Supported group drivers:
    	atheros <  ath5k ath9k ar9170 zd1211rw >
    	ath <  ath5k ath9k ar9170 >
    	intel <  iwl3945 iwlagn ipw2100 ipw2200 >
    	iwlwifi <  iwl3945 iwlagn >
    	rtl818x <  rtl8180 rtl8187 >
    	wl12xx <  wl1251 (SPI and SDIO) wl1271 >
    Restoring compat-wireless:
    	restore: you can use this option to restore compat-wireless to the original state
    i don't known which should i choose ,iwlang or iwlwifi (my wireless adapter is intel centrino wireless n-2230 )? i try the iwlwifi,there is no errors,and i reboot ,it still doesn't work

  7. #7
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: wireless problems(iwlwifi)

    i try the iwlwifi,there is no errors,and i reboot ,it still doesn't work
    Let's be sure the version you compiled covers your device:
    Intel Corporation Device [8086:0888]
    Code:
    modinfo iwlwifi | grep 0888
    Also please post:
    Code:
    iwconfig
    rfkill list all
    dmesg | grep iwl
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  8. #8
    Join Date
    Oct 2012
    Beans
    12

    Re: wireless problems(iwlwifi)

    Quote Originally Posted by chili555 View Post
    Let's be sure the version you compiled covers your device:
    Code:
    modinfo iwlwifi | grep 0888
    Also please post:
    Code:
    iwconfig
    rfkill list all
    dmesg | grep iwl
    thanks,the result seems i haven't load the iwlwifi module
    Code:
    lemon@lemon:~$ modinfo iwlwifi | grep 0888
    ERROR: modinfo: could not find module iwlwifi
    lemon@lemon:~$ iwconfig
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    pan0      no wireless extensions.
    
    lemon@lemon:~$ rfkill list all
    0: hci0: Bluetooth
    	Soft blocked: no
    	Hard blocked: no
    lemon@lemon:~$ dmesg | grep iwl
    lemon@lemon:~$
    what's wrong with it?

  9. #9
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: wireless problems(iwlwifi)

    Please try again:
    Code:
    modinfo iwlagn | grep -e 0888 -e version -e lib
    Thanks.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  10. #10
    Join Date
    Oct 2012
    Beans
    12

    Re: wireless problems(iwlwifi)

    Quote Originally Posted by chili555 View Post
    Please try again:
    Code:
    modinfo iwlagn | grep -e 0888 -e version -e lib
    Thanks.
    thanks,it likes this .
    Code:
    lemon@lemon:~$ modinfo iwlagn | grep -e 0888 -e version -e lib
    filename:       /lib/modules/2.6.32-21-generic/updates/drivers/net/wireless/iwlwifi/iwlagn.ko
    version:        1.3.27ks
    srcversion:     A65DF91449349D909F95354
    vermagic:       2.6.32-21-generic SMP mod_unload modversions 
    lemon@lemon:~$
    what this mean ? i have install the iwlagn , not the iwlwifi?

Page 1 of 2 12 LastLast

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
  •