No WiFi after update [Solved]

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

No WiFi after update [Solved]

Postby harmon » Thu Jul 14, 2011 13:17

Hi!
Normally I habe wireless connection, but the last days I could use wired, so I overlooked "wireless".
Since the last update I cannot connect the net with WiFi.
(Similar problem: BT:http://forum.sabayon.org/viewtopic.php?f=56&t=24642)
Code: Select all
sabayon harmon # lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure Applications Processor
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 004: ID 413c:8158 Dell Computer Corp. Integrated Touchpad / Trackstick
Bus 003 Device 003: ID 413c:8157 Dell Computer Corp. Integrated Keyboard
Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Code: Select all
sabayon harmon # lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub [8086:2a40] (rev 07)
00:01.0 PCI bridge [0604]: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port [8086:2a41] (rev 07)
...
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 93)
00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M-E LPC Interface Controller [8086:2917] (rev 03)
00:1f.2 RAID bus controller [0104]: Intel Corporation Mobile 82801 SATA RAID Controller [8086:282a] (rev 03)
00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 03)     
03:01.0 CardBus bridge [0607]: Ricoh Co Ltd RL5c476 II [1180:0476] (rev ba)                             
03:01.1 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 Controller [1180:0832] (rev 04)     
03:01.2 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 21)
03:01.3 System peripheral [0880]: Ricoh Co Ltd R5C843 MMC Host Controller [1180:0843] (rev 11)         
0c:00.0 Network controller [0280]: Intel Corporation Ultimate N WiFi Link 5300 [8086:4235]             

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


If I have to install e.g. iwlcore, please advice.
(Package Manager: nothing found!)
Last edited by harmon on Sun Jul 24, 2011 21:50, edited 1 time in total.
harmon @ Linux multiboot
harmon
Growing Hen
 
Posts: 147
Joined: Sat Jun 19, 2010 16:35

Re: No WiFi after update

Postby harmon » Thu Jul 14, 2011 16:06

Hi!
Code: Select all
harmon@sabayon ~ $ rfkill list
bash: rfkill: command not found
harmon@sabayon ~ $ su
Password:
sabayon harmon # rfkill list
bash: rfkill: command not found
sabayon harmon #
harmon @ Linux multiboot
harmon
Growing Hen
 
Posts: 147
Joined: Sat Jun 19, 2010 16:35

Re: No WiFi after update

Postby Fitzcarraldo » Thu Jul 14, 2011 17:15

^That begs the obvious question: Do you actually have rfkill installed?:

Code: Select all
# equo install rfkill

You appear to be using the same Intel WiFi controller chipset (5300) as me:

Code: Select all
meshedgedx fitzcarraldo # lspci | grep 5300
03:00.0 Network controller: Intel Corporation PRO/Wireless 5300 AGN [Shiloh] Network Connection

In which case you need to have iwl5000-ucode installed:

Code: Select all
# equo install iwl5000-ucode

Code: Select all
meshedgedx fitzcarraldo # eix -I iwl
[I] net-wireless/iwl5000-ucode
     Available versions: 
        (0)     5.4.0.11
        (1)     8.24.2.12 (~)8.83.5.1
     Installed versions:  5.4.0.11(20:08:54 30/03/10) 8.83.5.1(1)(18:08:07 25/06/11)
     Homepage:            http://intellinuxwireless.org/?p=iwlwifi
     Description:         Intel (R) Wireless WiFi Link 5100/5300 ucode

Code: Select all
meshedgedx fitzcarraldo # rfkill list
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: No WiFi after update

Postby harmon » Thu Jul 14, 2011 18:39

Hi Fitzcarraldo!
Thank you. Part 1:
Code: Select all
harmon@sabayon ~ $ su -
Password:
sabayon ~ # equo install rfkill
>>  @@ Calculating dependencies ...
>>  ## [N] [sabayon-weekly] net-wireless/rfkill-0.4|0
>>  @@ Packages needing to be installed/updated/downgraded: 1
>>  @@ Packages needing to be removed: 0
...
>>  @@ Installation complete.
>>  @@ Configuration files scan complete.
>> There are 3 configuration file(s) needing update.
>> Please run: equo conf update
sabayon ~ # rfkill list
0: dell-wifi: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: dell-bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
2: phy0: Wireless LAN                                                                                                                                                                 
        Soft blocked: no                                                                                                                                                               
        Hard blocked: no                                                                                                                                                               
sabayon ~ # equo conf update   
>>  @@ Scanning filesystem ...
>> (1)  file: /etc/locale.gen
>> (2)  file: /etc/hosts
>> (3)  file: /usr/share/config/kdm/kdmrc
...
>>   (-5) Automerge all the files without questioning
Your choice (type a number and press enter): -5                                                                                                                                       
>> Configuration file: /etc/locale.gen
>> Moving /etc/._cfg0000_locale.gen to /etc/locale.gen
>> Configuration file: /etc/hosts
>> Moving /etc/._cfg0000_hosts to /etc/hosts
>> Configuration file: /usr/share/config/kdm/kdmrc
>> Moving /usr/share/config/kdm/._cfg0000_kdmrc to /usr/share/config/kdm/kdmrc
                                     

I'm writing that preliminary report, because I must leave now, I'm back as soon as possible and report again.
harmon
harmon @ Linux multiboot
harmon
Growing Hen
 
Posts: 147
Joined: Sat Jun 19, 2010 16:35

Re: No WiFi after update

Postby harmon » Thu Jul 14, 2011 19:34

Hi!
Part2: Worse luck!
Code: Select all
sabayon harmon # equo install iwl5000-ucode
>> !!! No match for iwl5000-ucode in repositories.
>> No packages found.

And:
Code: Select all
sabayon harmon # man eix
No manual entry for eix


Edit:
What I found: http://www.intellinuxwireless.org/
Note: The iwlwifi driver has been merged into mainline kernel since 2.6.24. If you are using kernels after this release, please use the intree (drivers/net/wireless/iwlwifi) driver directly.

?
harmon @ Linux multiboot
harmon
Growing Hen
 
Posts: 147
Joined: Sat Jun 19, 2010 16:35

Re: No WiFi after update

Postby Fitzcarraldo » Thu Jul 14, 2011 22:56

harmon wrote:And:
Code: Select all
sabayon harmon # man eix
No manual entry for eix

You have to install the eix utility:

Code: Select all
# equo install eix

and update its index file:

Code: Select all
# eix-update

Then you can can use it.


harmon wrote:What I found: http://www.intellinuxwireless.org/
Note: The iwlwifi driver has been merged into mainline kernel since 2.6.24. If you are using kernels after this release, please use the intree (drivers/net/wireless/iwlwifi) driver directly.

?

I'm not using the external iwlwifi driver either. The text you quoted is referring to the obsolete package net-wireless/iwlwifi which used to exist prior to kernel 2.6.24, which was removed from the Portage tree some time ago:

Code: Select all
# eix iwlwifi
No matches found.

You can still see an old ebuild for it here: http://gpo.zugaina.org/net-wireless/iwlwifi

The *-ucode package is something different: it's microcode/firmware for the controller. There is different microcode for a range of different controllers:

Code: Select all
$ eix ucode
[I] net-wireless/ipw3945-ucode
     Available versions:  (~)1.13 1.14.2
     Installed versions:  1.14.2(20:08:54 30/03/10)
     Homepage:            http://www.bughost.org/ipw3945/
     Description:         Microcode for the Intel PRO/Wireless 3945ABG miniPCI express adapter

* net-wireless/iwl1000-ucode
     Available versions:  (~)39.31.5.1 128.50.3.1
     Homepage:            http://intellinuxwireless.org/?p=iwlwifi
     Description:         Intel (R) Wireless WiFi Link 1000BGN ucode

* net-wireless/iwl3945-ucode
     Available versions: 
        (0)     2.14.1.5 15.28.1.6 15.28.1.8
        (1)     (~)15.28.2.8 15.32.2.9
     Homepage:            http://intellinuxwireless.org/?p=iwlwifi
     Description:         Intel (R) PRO/Wireless 3945ABG Network Connection ucode

* net-wireless/iwl4965-ucode
     Available versions: 
        (0)     (~)4.44.1.18 4.44.1.20 228.57.1.21
        (1)     228.57.2.21 228.57.2.23 228.61.2.24
     Homepage:            http://intellinuxwireless.org/?p=iwlwifi
     Description:         Intel (R) Wireless WiFi Link 4965AGN ucode

[I] net-wireless/iwl5000-ucode
     Available versions: 
        (0)     5.4.0.11
        (1)     8.24.2.12 (~)8.83.5.1
     Installed versions:  5.4.0.11(20:08:54 30/03/10) 8.83.5.1(1)(18:08:07 25/06/11)
     Homepage:            http://intellinuxwireless.org/?p=iwlwifi
     Description:         Intel (R) Wireless WiFi Link 5100/5300 ucode

* net-wireless/iwl5150-ucode
     Available versions:  (~)8.24.2.2
     Homepage:            http://intellinuxwireless.org/?p=iwlwifi
     Description:         Intel (R) Wireless WiFi Link 5150-AGN ucode

* net-wireless/iwl6000-ucode
     Available versions:  (~)9.221.4.1
     Homepage:            http://intellinuxwireless.org/?p=iwlwifi
     Description:         Intel (R) Wireless WiFi Advanced N 6000 ucode

* net-wireless/iwl6050-ucode
     Available versions:  (~)9.201.4.1 (~)41.28.5.1
     Homepage:            http://intellinuxwireless.org/?p=iwlwifi
     Description:         Intel (R) Wireless WiFi Link 6250-AGN ucode

* sys-kernel/amd-ucode
     Available versions:  (~)2011.01.11!m
     Homepage:            http://www.amd64.org/support/microcode.html
     Description:         AMD Family 10h, 11h and 14h microcode patch data

* x11-drivers/radeon-ucode
     Available versions:  20110302 (~)20110531
     Homepage:            http://people.freedesktop.org/~agd5f/radeon_ucode/
     Description:         IRQ microcode for r6xx/r7xx/Evergreen/Northern Islands Radeon GPUs and APUs

Found 10 matches.

Thus, one needs to install the microcode even if one is using a kernel module:

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

but, continue reading...


harmon wrote:Part2: Worse luck!
Code: Select all
sabayon harmon # equo install iwl5000-ucode
>> !!! No match for iwl5000-ucode in repositories.
>> No packages found.

I'm using the Sabayon 2.6.37 kernel, which I've modified in other areas but not in the WiFi area. I expect something has changed in the 2.6.39 kernel config, so let's compare the Sabayon 2.6.37 kernel config with the Sabayon 2.6.39-r7 kernel config:

Code: Select all
meshedgedx ~ # cd /usr/src
meshedgedx src # ls
linux  linux-2.6.37-sabayon  linux-2.6.39-sabayon  rpm
meshedgedx src # cat linux-2.6.37-sabayon/.config | grep IWL
CONFIG_IWLWIFI=m
# CONFIG_IWLWIFI_DEBUG is not set
CONFIG_IWLAGN=m
CONFIG_IWL4965=y
CONFIG_IWL5000=y
CONFIG_IWL3945=m
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 #

"=m" means build a kernel module. "=y" means build it in-kernel.

As you can see above, I have CONFIG_IWL5000 in-kernel, but I still need the microcode installed.

Now, for the 2.6.39 kernel: http://lxr.linux.no/#linux+v2.6.39/driv ... cy/Kconfig

so IWLWIFI_LEGACY covers the Intel 4965 and 3945 WiFi controllers.

And, for the 2.6.39 kernel: http://lxr.linux.no/#linux+v2.6.39/driv ... fi/Kconfig

so IWLWIFI covers the list of Intel WiFi controllers listed on the above-linked page, which includes our 5300AGN controller. Notice what that page states:

In order to use this driver, you will need a microcode (uCode)
image for it. You can obtain the microcode from:

<http://intellinuxwireless.org/>.

The microcode is typically installed in /lib/firmware. You can
look in the hotplug script /etc/hotplug/firmware.agent to
determine which directory FIRMWARE_DIR is set to when the script
runs.

If you want to compile the driver as a module ( = code which can be
inserted in and removed from the running kernel whenever you want),
say M here and read <file:Documentation/kbuild/modules.txt>. The
module will be called iwlagn.

However, CONFIG_IWL5000 was dropped in the 2.6.39 kernel, which is why you don't see it in the Sabayon 2.6.39-r7 config. So what replaced it? Well, let's see what happens if I were to merge (install) the sources package for the Sabayon 2.6.39-r7 kernel without using the sources_standalone USE flag:

Code: Select all
meshedgedx src # emerge -1vp =sabayon-sources-2.6.39-r7

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD ] sys-devel/make-3.81-r2 [3.82] USE="nls -static" 1,125 kB [0]
[ebuild     U  ] sys-kernel/genkernel-3.4.17 [3.4.12.2] USE="bash-completion (-ibm) (-selinux)" 1,082 kB [0]
[ebuild  N     ] sys-kernel/linux-firmware-20110616  USE="-savedconfig" 14,289 kB [1]
[uninstall     ] net-wireless/rt61-firmware-1.2  [1]
[blocks b      ] net-wireless/rt61-firmware ("net-wireless/rt61-firmware" is blocking sys-kernel/linux-firmware-20110616)
[uninstall     ] media-tv/ivtv-firmware-20080701  [0]
[blocks b      ] media-tv/ivtv-firmware ("media-tv/ivtv-firmware" is blocking sys-kernel/linux-firmware-20110616)
[uninstall     ] media-sound/alsa-firmware-1.0.24.1  ALSA_CARDS="darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm indigo indigoio layla20 layla24 mia mixart mona pcxhr sb16 usb-usx2y vx222 -aica -asihpi -echo3g -emi26 -emu1212 -emu1616 -emu1820 -korg1212 -maestro3 -msnd-pinnacle -wavefront -ymfpci"  [0]                                                                                                                                                                                     
[blocks b      ] media-sound/alsa-firmware[alsa_cards_sb16] ("media-sound/alsa-firmware[alsa_cards_sb16]" is blocking sys-kernel/linux-firmware-20110616)
[uninstall     ] net-wireless/libertas-firmware-5.220.10  [1]
[blocks b      ] net-wireless/libertas-firmware ("net-wireless/libertas-firmware" is blocking sys-kernel/linux-firmware-20110616)
[uninstall     ] net-wireless/rt73-firmware-1.8-r1  [0]
[blocks b      ] net-wireless/rt73-firmware ("net-wireless/rt73-firmware" is blocking sys-kernel/linux-firmware-20110616)
[ebuild  N     ] sys-kernel/linux-sabayon-2.6.39-r7  USE="dmraid grub splash symlink -build -dracut" 0 kB [1]
[ebuild   R    ] sys-kernel/sabayon-sources-2.6.39-r7  USE="symlink -build -sources_standalone*" 0 kB [1]
[blocks b      ] =sys-kernel/linux-sabayon-2.6.39-r7 ("=sys-kernel/linux-sabayon-2.6.39-r7" is blocking sys-kernel/sabayon-sources-2.6.39-r7)
[blocks B      ] net-wireless/iwl5000-ucode ("net-wireless/iwl5000-ucode" is blocking sys-kernel/linux-firmware-20110616)

Total: 5 packages (1 upgrade, 1 downgrade, 2 new, 1 reinstall, 5 uninstalls), Size of downloads: 16,494 kB
Conflict: 7 blocks (1 unsatisfied)
Portage tree and overlays:
 [0] /usr/portage
 [1] /var/lib/layman/sabayon

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (net-wireless/iwl5000-ucode-8.83.5.1::gentoo, installed) pulled in by
    net-wireless/iwl5000-ucode:1 required by @selected

  (sys-kernel/linux-firmware-20110616::sabayon, ebuild scheduled for merge) pulled in by
    >=sys-kernel/linux-firmware-20110604 required by (sys-kernel/linux-sabayon-2.6.39-r7::sabayon, ebuild scheduled for merge)
    sys-kernel/linux-firmware required by (sys-kernel/linux-sabayon-2.6.39-r7::sabayon, ebuild scheduled for merge)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

meshedgedx src #

Notice the following line in the above output:

Code: Select all
[blocks B      ] net-wireless/iwl5000-ucode ("net-wireless/iwl5000-ucode" is blocking sys-kernel/linux-firmware-20110616)

So I reckon you need to install the package linux-firmware:

Code: Select all
# equo install linux-firmware

Try that. (Reboot after installing.)
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: No WiFi after update

Postby harmon » Fri Jul 15, 2011 13:39

Hi!
Following the steps I got no WLAN and no BT:
Code: Select all
sabayon harmon # equo install eix
>>  @@ Calculating dependencies ...
>>  ## [N] [sabayon-weekly] app-portage/eix-0.22.8|0
>>  @@ Packages needing to be installed/updated/downgraded: 1
>>  @@ Packages needing to be removed: 0
>>  @@ Download size: 665.8kB
>>  @@ Used disk space: 3.1MB
>>  @@ You need at least: 4.4MB of free space
>>  :: (1/1) >>> 1 packages
>>    ## Downloading: 1 archives
>>    ## ( mirror #1 ) [app-portage:eix-0.22.8~0.tbz2] @ ftp://mirror.optusnet.com.au
>>   ## Aggregated download: 1 items
>>    # [1] mirror.optusnet.com.au => app-portage:eix-0.22.8~0.tbz2
>>    ## ( mirror #1 ) [app-portage:eix-0.22.8~0.tbz2] success @ ftp://mirror.optusnet.com.au
>>    ##  Aggregated transfer rate: 47.4kB/second
>>    ## Package checksum matches: app-portage:eix-0.22.8~0.tbz2
>>       : GPG matches
>>       : SHA1 matches
>>       : SHA256 disabled
>>       : SHA512 disabled
>>  ++ (1/1) >>> app-portage/eix-0.22.8
>>    ## Unpacking package: app-portage:eix-0.22.8~0.tbz2
>>    ## Installing package: app-portage/eix-0.22.8
>>    ## [Search and query ebuilds, portage incl. local settings, ext. overlays, ver...]
>>    ## Updating database: app-portage/eix-0.22.8
>>    ## Cleaning previously installed application data.
>>    ## Cleaning: app-portage/eix-0.22.8
>>  @@ Installation complete.
>>  @@ Configuration files scan complete.
sabayon harmon # eix-update
Reading Portage settings ..
Building database (/var/cache/eix) ..
[0] "gentoo" /usr/portage/ (cache: metadata-flat)
     Reading category 153|153 (100%) EMPTY!
Applying masks ..
Calculating hash tables ..
Writing database file /var/cache/eix ..
Database contains 0 packages in 153 categories.
sabayon harmon # eix -I iwl                                                                                                                                                           
No matches found.                                                                                                                                                                     
sabayon harmon # eix ucode                                                                                                                                                             
No matches found.                                                                                                                                                                     
sabayon harmon # equo install linux-firmware                                                                                                                                           
>>  @@ Calculating dependencies ...
>>  ## [R] [sabayon-weekly] sys-kernel/linux-firmware-20110616|0   [20110616|0]
>>  @@ Packages needing to be installed/updated/downgraded: 1
>>  @@ Packages needing to be removed: 0
>>  @@ Download size: 0b
>>  @@ Freed disk space: 0.0b
>>  @@ You need at least: 28.0MB of free space
>>  :: (1/1) >>> 1 packages
>>    ## Package checksum matches: sys-kernel:linux-firmware-20110616~0.tbz2
>>  ++ (1/1) >>> sys-kernel/linux-firmware-20110616
>>    ## Unpacking package: sys-kernel:linux-firmware-20110616~0.tbz2
>>    ## SPM: pre-install phase
 * Package:    sys-kernel/linux-firmware-20110616
 * Repository: sabayon
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   preserve-libs sandbox splitdebug
>>    ## Installing package: sys-kernel/linux-firmware-20110616
>>    ## [Linux firmware files]
>>    ## Updating database: sys-kernel/linux-firmware-20110616
>>    ## Cleaning previously installed application data.
>>> Regenerating /etc/ld.so.cache...
>>    ## SPM: post-install phase
 * If you are only interested in particular firmware files, edit the saved
 * configfile and remove those that you do not want.
>>    ## Cleaning: sys-kernel/linux-firmware-20110616
>>  @@ Installation complete.
>>  @@ Configuration files scan complete.
sabayon harmon # sabayon harmon # equo install eix
bash: sabayon: command not found
sabayon harmon # >>  @@ Calculating dependencies ...
bash: Calculating: command not found
sabayon harmon # >>  ## [N] [sabayon-weekly] app-portage/eix-0.22.8|0
bash: syntax error near unexpected token `newline'
sabayon harmon # >>  @@ Packages needing to be installed/updated/downgraded: 1
bash: Packages: command not found
sabayon harmon # >>  @@ Packages needing to be removed: 0
bash: Packages: command not found
sabayon harmon # >>  @@ Download size: 665.8kB
bash: Download: command not found
sabayon harmon # >>  @@ Used disk space: 3.1MB
bash: Used: command not found
sabayon harmon # >>  @@ You need at least: 4.4MB of free space
bash: You: command not found
sabayon harmon # >>  :: (1/1) >>> 1 packages
bash: syntax error near unexpected token `('
sabayon harmon # >>    ## Downloading: 1 archives
bash: syntax error near unexpected token `newline'
sabayon harmon # >>    ## ( mirror #1 ) [app-portage:eix-0.22.8~0.tbz2] @ ftp://mirror.optusnet.com.au
bash: syntax error near unexpected token `newline'
sabayon harmon # >>   ## Aggregated download: 1 items
bash: syntax error near unexpected token `newline'
sabayon harmon # >>    # [1] mirror.optusnet.com.au => app-portage:eix-0.22.8~0.tbz2
bash: syntax error near unexpected token `newline'
sabayon harmon # >>    ## ( mirror #1 ) [app-portage:eix-0.22.8~0.tbz2] success @ ftp://mirror.optusnet.com.au
bash: syntax error near unexpected token `newline'
sabayon harmon # >>    ##  Aggregated transfer rate: 47.4kB/second
bash: syntax error near unexpected token `newline'
sabayon harmon # >>    ## Package checksum matches: app-portage:eix-0.22.8~0.tbz2
bash: syntax error near unexpected token `newline'
sabayon harmon # >>       : GPG matches
bash: GPG: command not found
sabayon harmon # >>       : SHA1 matches
bash: SHA1: command not found
sabayon harmon # >>       : SHA256 disabled
bash: SHA256: command not found
sabayon harmon # >>       : SHA512 disabled
bash: SHA512: command not found
sabayon harmon # >>  ++ (1/1) >>> app-portage/eix-0.22.8
bash: syntax error near unexpected token `('
sabayon harmon # >>    ## Unpacking package: app-portage:eix-0.22.8~0.tbz2
bash: syntax error near unexpected token `newline'
sabayon harmon # >>    ## Installing package: app-portage/eix-0.22.8
bash: syntax error near unexpected token `newline'
sabayon harmon # >>    ## [Search and query ebuilds, portage incl. local settings, ext. overlays, ver...]
bash: syntax error near unexpected token `newline'
sabayon harmon # >>    ## Updating database: app-portage/eix-0.22.8
bash: syntax error near unexpected token `newline'
sabayon harmon # >>    ## Cleaning previously installed application data.
bash: syntax error near unexpected token `newline'
sabayon harmon # >>    ## Cleaning: app-portage/eix-0.22.8
bash: syntax error near unexpected token `newline'
sabayon harmon # >>  @@ Installation complete.
bash: Installation: command not found
sabayon harmon # >>  @@ Configuration files scan complete.
bash: Configuration: command not found
sabayon harmon # sabayon harmon # eix-update
bash: sabayon: command not found
sabayon harmon # Reading Portage settings ..
bash: Reading: command not found
sabayon harmon # Building database (/var/cache/eix) ..
bash: syntax error near unexpected token `('
sabayon harmon # [0] "gentoo" /usr/portage/ (cache: metadata-flat)
bash: syntax error near unexpected token `('
sabayon harmon #      Reading category 153|153 (100%) EMPTY!
bash: syntax error near unexpected token `100%'
sabayon harmon # Applying masks ..
bash: Applying: command not found
sabayon harmon # Calculating hash tables ..
bash: Calculating: command not found
sabayon harmon # Writing database file /var/cache/eix ..
bash: Writing: command not found
sabayon harmon # Database contains 0 packages in 153 categories.
bash: Database: command not found
sabayon harmon # sabayon harmon # eix -I iwl                                                                                                                                                           
bash: sabayon: command not found
sabayon harmon # No matches found.                                                                                                                                                                     
bash: No: command not found
sabayon harmon # sabayon harmon # eix ucode                                                                                                                                                             
bash: sabayon: command not found
sabayon harmon # No matches found.                           
harmon @ Linux multiboot
harmon
Growing Hen
 
Posts: 147
Joined: Sat Jun 19, 2010 16:35

Re: No WiFi after update

Postby Fitzcarraldo » Fri Jul 15, 2011 13:57

For eix to work you need to have synchronised with the Portage tree and Sabayon overlay first (see the SL Wiki article Entropy):

Code: Select all
# emerge --sync
# equo install git
# layman -a sabayon # Don't worry if it tells you it's added already.
# layman -S
# equo install eix
# eix-update


For the rest I'll look later as I'm just going out to the cinema.
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 14:34

Hi!
Part of my output:
Code: Select all
>>    ## Cleaning: dev-vcs/git-1.7.6
>>  @@ Installation complete.
>>  @@ Configuration files scan complete.
sabayon harmon # layman -a sabayon
* Running... # /usr/bin/git clone git://sabayon.org/projects/overlay.git /var/lib/layman/sabayon
Cloning into /var/lib/layman/sabayon...
remote: Counting objects: 64015, done.
remote: Compressing objects: 100% (29066/29066), done.
remote: Total 64015 (delta 40236), reused 55643 (delta 33977)
Receiving objects: 100% (64015/64015), 50.33 MiB | 1.04 MiB/s, done.
Resolving deltas: 100% (40236/40236), done.
* Successfully added overlay "sabayon".
sabayon harmon # layman -S
* Running... # ( cd /var/lib/layman/sabayon  && /usr/bin/git pull )
Already up-to-date.
*
* Success:
* ------
*
* Successfully synchronized overlay "sabayon".
sabayon harmon # eix-update
Reading Portage settings ..
Building database (/var/cache/eix) ..
[0] "gentoo" /usr/portage/ (cache: metadata-flat)
     Reading category 155|155 (100%) Finished             
[1] "sabayon" /var/lib/layman/sabayon (cache: parse|ebuild*#metadata-flat#assign)
     Reading category 155|155 (100%) Finished           
Applying masks ..
Calculating hash tables ..
Writing database file /var/cache/eix ..
Database contains 15308 packages in 155 categories.
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 15:11

Right. Well, eix has nothing to with your WiFi problem but hopefully you now understand how to: a) synchronise your PC with the Portage tree and with a Portage overlay (in this case the Sabayon overlay); b) install the eix utility via Entropy (the eix utility is for searching the Portage tree and Portage overlays you have added to your PC); c) use the eix-update command in order to update the eix utility's index file (which you need to do from time to time so that eix knows the latest status of all ebuilds on your PC).

Now that you have eix installed and the eix index file up-to-date, you can use eix to search the ebuilds that you downloaded to your PC by using the emerge --sync and layman -S commands, and see which packages are installed, along with detailed information on those packages. For example:

Code: Select all
# eix linux-firmware
* sys-kernel/linux-firmware
     Available versions:  20110429 (~)20110601 (~)20110604 (~)20110616[1] **99999999 {savedconfig}
     Homepage:            http://www.kernel.org/pub/linux/kernel/people/dwmw2/firmware
     Description:         Linux firmware files

[1] "sabayon" /var/lib/layman/sabayon

As you can see above, linux-firmware is not installed on my main laptop. This is because I have the Sabayon 2.6.37 kernel which requires iwl5000-ucode to be installed instead for my model of WiFi controller. You can see that I have iwl5000-ucode installed by looking at the output from eix below:

Code: Select all
# eix ucode
[I] net-wireless/ipw3945-ucode
     Available versions:  (~)1.13 1.14.2
     Installed versions:  1.14.2(20:08:54 30/03/10)
     Homepage:            http://www.bughost.org/ipw3945/
     Description:         Microcode for the Intel PRO/Wireless 3945ABG miniPCI express adapter

* net-wireless/iwl1000-ucode
     Available versions:  (~)39.31.5.1 128.50.3.1
     Homepage:            http://intellinuxwireless.org/?p=iwlwifi
     Description:         Intel (R) Wireless WiFi Link 1000BGN ucode

* net-wireless/iwl3945-ucode
     Available versions: 
        (0)     2.14.1.5 15.28.1.6 15.28.1.8
        (1)     (~)15.28.2.8 15.32.2.9
     Homepage:            http://intellinuxwireless.org/?p=iwlwifi
     Description:         Intel (R) PRO/Wireless 3945ABG Network Connection ucode

* net-wireless/iwl4965-ucode
     Available versions: 
        (0)     (~)4.44.1.18 4.44.1.20 228.57.1.21
        (1)     228.57.2.21 228.57.2.23 228.61.2.24
     Homepage:            http://intellinuxwireless.org/?p=iwlwifi
     Description:         Intel (R) Wireless WiFi Link 4965AGN ucode

[I] net-wireless/iwl5000-ucode
     Available versions: 
        (0)     5.4.0.11
        (1)     8.24.2.12 (~)8.83.5.1
     Installed versions:  5.4.0.11(20:08:54 30/03/10) 8.83.5.1(1)(18:08:07 25/06/11)
     Homepage:            http://intellinuxwireless.org/?p=iwlwifi
     Description:         Intel (R) Wireless WiFi Link 5100/5300 ucode

* net-wireless/iwl5150-ucode
     Available versions:  (~)8.24.2.2
     Homepage:            http://intellinuxwireless.org/?p=iwlwifi
     Description:         Intel (R) Wireless WiFi Link 5150-AGN ucode

* net-wireless/iwl6000-ucode
     Available versions:  (~)9.221.4.1
     Homepage:            http://intellinuxwireless.org/?p=iwlwifi
     Description:         Intel (R) Wireless WiFi Advanced N 6000 ucode

* net-wireless/iwl6050-ucode
     Available versions:  (~)9.201.4.1 (~)41.28.5.1
     Homepage:            http://intellinuxwireless.org/?p=iwlwifi
     Description:         Intel (R) Wireless WiFi Link 6250-AGN ucode

* sys-kernel/amd-ucode
     Available versions:  (~)2011.01.11!m
     Homepage:            http://www.amd64.org/support/microcode.html
     Description:         AMD Family 10h, 11h and 14h microcode patch data

* x11-drivers/radeon-ucode
     Available versions:  20110302 (~)20110531
     Homepage:            http://people.freedesktop.org/~agd5f/radeon_ucode/
     Description:         IRQ microcode for r6xx/r7xx/Evergreen/Northern Islands Radeon GPUs and APUs

Found 10 matches.

So, if you used Entropy to install linux-firmware successfully (a previous post of yours appears to show that you did), you should now be able to see that it is installed by using the eix command:

Code: Select all
eix -I linux-firmware

So just check that first. (The "-I" switch tells eix just to display installed packages that match the search keyword "linux-firmware", not all packages that match the search keyword "linux-firmware".)
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Next

Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 1 guest