Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Broken wireless networking since iwlcode update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
daseinhorn
Apprentice
Apprentice


Joined: 16 Jan 2009
Posts: 150
Location: Canada

PostPosted: Thu May 21, 2009 9:32 pm    Post subject: Broken wireless networking since iwlcode update Reply with quote

An update to the iwl5000-ucode package was released this week. After I updated the firmware, networking upon reboot would not start. Here is the output from the console:

Code:
* Bringing up interface wlan0
*   Configuring wireless network for wlan0
*   Scanning for access points
*      does not support scanning
*   You either need to set a preferred_aps list in /etc/conf.d/wireless
*      preferred_aps="SSID1 SSID2"
*      and set associate_order_wlan0="forcepreferred"
*      or set associate_order_wlan0="forcepreferredonly"
*   or hardcode the  SSID to "any" and let the driver find an Access Point
*      ssid_wlan0="any"
*   or configure defaulting to Ad-Hoc when Managed fails
*      adhoc_ssid_wlan0="WLAN"
*   or hardcode the SSID against the interface (not recommended)
*      ssid_wlan0="SSID"
*   Failed to configure wireless for wlan0
* ERROR: net.wlan0 failed to start


With the former version of the firmware, a basic DHCP setting was working just fine.

Code:
xavier-portable xavier # cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).

modules=( "iwconfig" )


If I do as it says and add ssid_wlan0="any" to /etc/conf.d/net, I get this

Code:
xavier-portable xavier # /etc/init.d/net.wlan0 start
* Caching service dependencies...                                                                      [ ok ]
* Bringing up interface wlan0
*   Configuring wireless network for wlan0
*   Connecting to "any" in managed mode (WEP Disabled)...
cat: /sys/class/net/wlan0/carrier: Invalid argument


emerge --info

Code:
xavier-portable xavier # emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r4 x86_64)
=================================================================                                         
System uname: Linux-2.6.29-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9500_@_2.53GHz-with-gentoo-2.0.0 
Timestamp of tree: Thu, 21 May 2009 12:45:01 +0000                                                       
app-shells/bash:     4.0_p24                                                                             
dev-java/java-config: 2.1.7                                                                               
dev-lang/python:     2.6.2                                                                               
dev-util/cmake:      2.6.4                                                                               
sys-apps/baselayout: 2.0.0                                                                               
sys-apps/openrc:     0.4.3-r2                                                                             
sys-apps/sandbox:    1.9                                                                                 
sys-devel/autoconf:  2.13, 2.63-r1                                                                       
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                           
sys-devel/binutils:  2.19.1-r1                                                                           
sys-devel/gcc-config: 1.4.1                                                                               
sys-devel/libtool:   2.2.6a                                                                               
virtual/os-headers:  2.6.29                                                                               
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                           
CBUILD="x86_64-pc-linux-gnu"                                                                             
CFLAGS="-O2 -pipe"                                                                                       
CHOST="x86_64-pc-linux-gnu"                                                                               
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                           
CXXFLAGS="-O2 -pipe"                                                                                         
DISTDIR="/usr/portage/distfiles"                                                                             
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                                                                           
GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo/ ftp://mirror.fslutd.org/linux/distributions/gentoo/"
LDFLAGS="-Wl,-O1"                                                                                           
LINGUAS="en en_US fr fr_CA nb no nb_NO"                                                                     
MAKEOPTS="-j3"                                                                                               
PKGDIR="/usr/portage/packages"                                                                               
PORTAGE_CONFIGROOT="/"                                                                                       
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/x11 /usr/local/portage/layman/pro-audio /usr/local/portage/layman/berkano"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 autoipd automount avahi berkdb bittorrent-external bluetooth branding bzip2 cairo cdaudio cddb cdr cdrkit cli consolekit cracklib crypt css cuda cups dbus dhcp dhcpcd dri dts dvb dvd dvdr dvdread eds embedded emboss encode esd evo fam ffmpeg firefox flac fluidsynth fortran fuse gdbm gif gimp git gnome gpm gstreamer gtk hal iconv isdnlog jack java jpeg kate kde kdeenablefinal ldap libnotify mad mdnsresponder-compat midi mikmod mmx mng mp3 mpeg msn mudflap multilib mysql ncurses networkmanager nls npp nptl nptlonly nsplugin ogg openexr opengl openmp pam pcre pdf perl plasma png ppds pppd ptp2 pulseaudio python qt3 qt3support qt4 quicktime readline reflection resolvconf samba sdl session skins sound spell spl sqlite sse sse2 sse3 ssl startup-notification subversion svg symlink sysfs tcpd tga theora tiff truetype unicode usb v4l v4l2 vcd vorbis webkit wiki wlm x264 xcb xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US fr fr_CA nb no nb_NO" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


iwconfig

Code:
xavier-portable xavier # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
          Tx-Power=off
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0



ifconfig -a

Code:
xavier-portable xavier # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:21:85:da:26:97 
          inet addr:192.168.1.101  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1             
          RX packets:496 errors:0 dropped:0 overruns:0 frame:0
          TX packets:315 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:219329 (214.1 KiB)  TX bytes:71917 (70.2 KiB)
          Interrupt:29 Base address:0x4000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:100 (100.0 B)  TX bytes:100 (100.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:21:5d:eb:aa:7e
          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)

wmaster0  Link encap:UNSPEC  HWaddr 00-21-5D-EB-AA-7E-00-00-00-00-00-00-00-00-00-00
          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)


Do you guys have suggestions to fix this?

Thanks!
Back to top
View user's profile Send private message
Monkeh
Veteran
Veteran


Joined: 06 Aug 2005
Posts: 1656
Location: England

PostPosted: Thu May 21, 2009 10:47 pm    Post subject: Reply with quote

Downgrade your firmware. The new firmware won't work until the kernel supports it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum