No WiFi after update [Solved]

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Re: No WiFi after update

Postby harmon » Sat Jul 16, 2011 15:54

Hi Fitzcarraldo,
thank you very much for the explanations.
Terminal output:
Code: Select all
sabayon harmon # eix -I linux-firmware
[I] sys-kernel/linux-firmware
     Available versions:  20110429 (~)20110601 (~)20110604 (~)20110616[1] **99999999 {savedconfig}
     Installed versions:  20110616[1](01:07:55 PM 06/26/2011)(-savedconfig)
     Homepage:            http://www.kernel.org/pub/linux/kernel/people/dwmw2/firmware
     Description:         Linux firmware files

[1] "sabayon" /var/lib/layman/sabayon
sabayon harmon #
harmon @ Linux multiboot
harmon
Growing Hen
 
Posts: 147
Joined: Sat Jun 19, 2010 16:35

Re: No WiFi after update

Postby Fitzcarraldo » Sat Jul 16, 2011 17:20

Hmm, I wonder if that switched off USE flag (savedconfig) is the problem. What are the contents of your directory /lib/firmware/?

Code: Select all
# ls /lib/firmware/
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: No WiFi after update

Postby harmon » Sat Jul 16, 2011 19:51

Hi!
Code: Select all
sabayon harmon # ls /lib/firmware/
3826.arm                            b43                       f2255usb.bin              LICENCE.broadcom_bcm43xx      prism2_ru.hex               tiacx100r0D
3com                                BCM2033-FW.bin            GPL-3                     LICENCE.chelsio_firmware      prism2_ssf.pda              tiacx100r11
acenic                              BCM2033-MD.hex            htc_7010.fw               LICENCE.i2400m                ql2100_fw.bin               tiacx100r15
ACX100_USB.bin                      bcm43xx_initval01.fw      htc_9271.fw               LICENCE.iwlwifi_firmware      ql2200_fw.bin               tiacx100usbc0D
adaptec                             bcm43xx_initval02.fw      i2400m-fw-usb-1.4.sbcf    LICENCE.Marvell               ql2300_fw.bin               tiacx111
advansys                            bcm43xx_initval03.fw      i2400m-fw-usb-1.5.sbcf    LICENCE.mwl8335               ql2322_fw.bin               tiacx111c16
af9005.fw                           bcm43xx_initval04.fw      i6050-fw-usb-1.5.sbcf     LICENCE.myri10ge_firmware     ql2400_fw.bin               tiacx111c17
agere_ap_fw.bin                     bcm43xx_initval05.fw      intelliport2.bin          LICENCE.phanfw                ql2500_fw.bin               tiacx111c19
agere_sta_fw.bin                    bcm43xx_initval06.fw      ipw2100-1.3.fw            LICENCE.qla2xxx               qlogic                      tiacx111r16
ar3k                                bcm43xx_initval07.fw      ipw2100-1.3-i.fw          LICENCE.ralink-firmware.txt   r128                        tiacx111r17
ar7010_1_1.fw                       bcm43xx_initval08.fw      ipw2100-1.3-LICENSE       LICENCE.rtlwifi_firmware.txt  radeon                      ti-connectivity
ar7010.fw                           bcm43xx_initval09.fw      ipw2100-1.3-p.fw          LICENCE.tda7706-firmware.txt  rt2561.bin                  tigon
ar9170-1.fw                         bcm43xx_initval10.fw      ipw2200-bss.fw            LICENCE.ti-connectivity       rt2561s.bin                 tlg2300_firmware.bin
ar9170-2.fw                         bcm43xx_microcode2.fw     ipw2200-ibss.fw           LICENCE.ueagle-atm4-firmware  rt2661.bin                  tr_smctr.bin
ar9271.fw                           bcm43xx_microcode4.fw     ipw2200-sniffer.fw        LICENCE.via_vt6656            rt2860.bin                  ttusb-budget
ath3k-1.fw                          bcm43xx_microcode5.fw     isl3886pci                LICENCE.xc5000                rt2870.bin                  ueagle-atm
ath6k                               bcm43xx_pcm4.fw           isl3886usb                LICENSE.dib0700               rt3070.bin                  usbdux
atmel_at76c502_3com.bin             bcm43xx_pcm5.fw           isl3887usb                LICENSE.ipw2200-fw            rt3071.bin                  usbduxfast_firmware.bin
atmel_at76c502_3com-wpa.bin         BCM-LEGAL.txt             isl3890                   LICENSE.radeon_rlc            rt3090.bin                  usbdux_firmware.bin
atmel_at76c502.bin                  bnx2                      iwlwifi-1000-3.ucode      LICENSE.ralink-firmware.txt   rt73.bin                    v4l-cx231xx-avcore-01.fw
atmel_at76c502d.bin                 bnx2x                     iwlwifi-1000-5.ucode      matrox                        RTL8192E                    v4l-cx23418-apu.fw
atmel_at76c502d-wpa.bin             bnx2x-e1-4.8.53.0.fw      iwlwifi-100-5.ucode       mrvl                          RTL8192SE                   v4l-cx23418-cpu.fw
atmel_at76c502e.bin                 bnx2x-e1-5.2.13.0.fw      iwlwifi-3945-2.ucode      mts_cdma.fw                   RTL8192SU                   v4l-cx23418-dig.fw
atmel_at76c502e-wpa.bin             bnx2x-e1-5.2.7.0.fw       iwlwifi-4965-2.ucode      mts_edge.fw                   rtl_nic                     v4l-cx23885-avcore-01.fw
atmel_at76c502-wpa.bin              bnx2x-e1h-4.8.53.0.fw     iwlwifi-5000-1.ucode      mts_gsm.fw                    rtlwifi                     v4l-cx23885-enc.fw
atmel_at76c503-i3861.bin            bnx2x-e1h-5.2.13.0.fw     iwlwifi-5000-2.ucode      mts_mt9234mu.fw               s2250.fw                    v4l-cx25840.fw
atmel_at76c503-i3863.bin            bnx2x-e1h-5.2.7.0.fw      iwlwifi-5000-5.ucode      mts_mt9234zba.fw              s2250_loader.fw             vicam
atmel_at76c503-rfmd-0.90.2-140.bin  brcm                      iwlwifi-5150-2.ucode      mwl8335_duplex.fw             sb16                        vntwusb.fw
atmel_at76c503-rfmd-acc.bin         cis                       iwlwifi-6000-4.ucode      mwl8k                         slicoss                     vxge
atmel_at76c503-rfmd.bin             cpia2                     iwlwifi-6000g2a-5.ucode   myri10ge_ethp_z8e.dat         STLC2500_R4_00_03.ptc       WHENCE
atmel_at76c504_2958-wpa.bin         cxgb3                     iwlwifi-6000g2b-5.ucode   myri10ge_eth_z8e.dat          STLC2500_R4_00_06.ssf       whiteheat.fw
atmel_at76c504a_2958-wpa.bin        cxgb4                     iwlwifi-6050-4.ucode      myri10ge_rss_ethp_z8e.dat     STLC2500_R4_02_02_WLAN.ssf  whiteheat_loader.fw
atmel_at76c504.bin                  dabusb                    iwlwifi-6050-5.ucode      myri10ge_rss_eth_z8e.dat      STLC2500_R4_02_04.ptc       yam
atmel_at76c504c-wpa.bin             dsp56k                    kaweth                    myricom                       sun                         yamaha
atmel_at76c505a-rfmd2958.bin        dvb-fe-xc5000-1.6.114.fw  keyspan                   ositech                       sxg                         zd1201-ap.fw
atmel_at76c505-rfmd2958.bin         dvb-usb-dib0700-1.20.fw   keyspan_pda               phanfw.bin                    TDA7706_OM_v2.5.1_boot.txt  zd1201.fw
atmel_at76c505-rfmd.bin             e100                      korg                      prism2_af.hex                 TDA7706_OM_v3.0.2_boot.txt  zd1211
atmel_at76c506.bin                  edgeport                  lgs8g75.fw                prism2_ak.hex                 tehuti                                                           
atmel_at76c506-wpa.bin              emi26                     libertas                  prism2_pm.hex                 ti_3410.fw                                                       
atmsar11.fw                         emi62                     LICENCE.agere             prism2_r1.hex                 ti_5052.fw                                                       
av7110                              ess                       LICENCE.atheros_firmware  prism2_rf.hex                 tiacx100                                                         
sabayon harmon #                                                                                                                                                                       
harmon @ Linux multiboot
harmon
Growing Hen
 
Posts: 147
Joined: Sat Jun 19, 2010 16:35

Re: No WiFi after update

Postby Fitzcarraldo » Mon Jul 18, 2011 19:11

Well, that looks OK to me: you do have the microcode file iwlwifi-5000-5.ucode (plus iwlwifi-5000-2.ucode and iwlwifi-5000-1.ucode) in /lib/firmware/

Regarding your first post:

harmon wrote:
Code: Select all
sabayon harmon # lsmod | grep iwl
iwlagn                180153  0
mac80211              165909  1 iwlagn
cfg80211              119001  2 iwlagn,mac80211

On PCLinuxOS WiFi works fine:
Code: Select all
[root@localhost ~]# lsmod | grep iwl
iwlagn                170878  0
iwlcore                52621  1 iwlagn
mac80211              189461  2 iwlagn,iwlcore
cfg80211              126787  3 iwlagn,iwlcore,mac80211

I'll bet your PCLinuxPOS installation is using an earlier kernel than 2.6.39. You can check on both installations by using the uname -a command. My installation using the 2.6.37 kernel has the following Intel WiFi modules loaded:

Code: Select all
$ lsmod | grep iwl
iwlagn                160149  0
iwlcore                47364  1 iwlagn
mac80211              167330  2 iwlagn,iwlcore
cfg80211              119308  3 iwlagn,iwlcore,mac80211

In the 2.6.39 kernel the iwlcore module is for the legacy 3945/4965 devices (see [PATCH 4/4] iwlwifi: split the drivers for agn and legacy devices 3945/4965), whereas the iwlagn module covers the Intel WiFi devices listed (as I also mentioned in an earlier post).

However, if you look back at one of my earlier posts, you'll notice that the Sabayon 2.6.39-r7 kernel config has:

Code: Select all
meshedgedx src # cat linux-2.6.39-sabayon/.config | grep IWL
CONFIG_IWLAGN=m
# CONFIG_IWLWIFI_DEBUG is not set
CONFIG_IWL_P2P=y
CONFIG_IWLWIFI_LEGACY=m
# CONFIG_IWLWIFI_LEGACY_DEBUG is not set
CONFIG_IWL4965=m
CONFIG_IWL3945=m
meshedgedx src #

so I would have expected iwlcore to show up in the output from lsmod because the config has CONFIG_IWLWIFI_LEGACY=m, CONFIG_IWL4965=m and CONFIG_IWL3965=m. So I'm not sure what is happening. Although I can't see why it would help in your case, I suppose you could try loading the iwlcore module just to see what happens:

Code: Select all
# modprobe iwlcore
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: No WiFi after update

Postby harmon » Tue Jul 19, 2011 15:27

Hi!
1.
Code: Select all
sabayon ~ # modprobe iwlcore
FATAL: Module iwlcore not found.

2. Of course I know "uname" :
PCL: 2.6.38, openSuse 2.6.39 (no problem - everything works fine)...
I would like to understand that; if I have time, I'm searching through several forums and see the problems of the user after having installed a new release (half year intervall is no good idea - why not 12 or 18 months?) or a new kernel.
harmon @ Linux multiboot
harmon
Growing Hen
 
Posts: 147
Joined: Sat Jun 19, 2010 16:35

Re: No WiFi after update

Postby Fitzcarraldo » Wed Jul 20, 2011 19:50

harmon, if you are using another distribution that is also using a 2.6.29 kernel and WiFi works, then I suggest you compare the WiFi settings in the kernel configs (.config file in kernel sources) to see if you can spot anything different.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: No WiFi after update

Postby harmon » Sun Jul 24, 2011 16:29

Hi!
i) I don't know how to see the WiFi settings.
ii) After the last update some packages were removed:
(?attachment quota has been reached?)
A scan is finding my WLAN.
But no connection: A window (Secrets for.. ) opens several times with the right password, I confirm, it opens again...
WLAN interface:
Connection configuring , no IP address, MAC address okay, driver iwlagn, Access Point SSID okay, but
Access Point MAC: 00...00.

Edit:
Code: Select all
sabayon harmon # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:24:e8:f0:79:f8 
          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:22 Memory:f6fe0000-f7000000
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:112 errors:0 dropped:0 overruns:0 frame:0
          TX packets:112 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7840 (7.6 KiB)  TX bytes:7840 (7.6 KiB)
wlan0     Link encap:Ethernet  HWaddr 00:21:6a:9c:b1:20 
          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)

sabayon harmon # iwconfig
lo        no wireless extensions.
eth0      no wireless extensions.
wlan0     IEEE 802.11abgn  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
harmon @ Linux multiboot
harmon
Growing Hen
 
Posts: 147
Joined: Sat Jun 19, 2010 16:35

Re: No WiFi after update

Postby Fitzcarraldo » Sun Jul 24, 2011 17:44

harmon wrote: i) I don't know how to see the WiFi settings.

Use the zcat command to save the config of a running kernel. See e.g. HOWTO: Upgrade kernel using genkernel for an example of using the zcat command.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: No WiFi after update

Postby harmon » Sun Jul 24, 2011 21:50

Hi!
Thank you, Fitzcarraldo, for your help.
The WLAN problem is solved (BT not):
After the last update the wireless connection was shown again, incomplete, as I wrote. I found out all details, deleted the connection and established again, choosing "connect automatically" and it works again!
I hope, one day, I can return help (in the German subforum, I suppose).
harmon
harmon @ Linux multiboot
harmon
Growing Hen
 
Posts: 147
Joined: Sat Jun 19, 2010 16:35

Previous

Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 1 guest