Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208251 - gentoo-sources-2.6.24 + b43 + wpa_supplicant quirks
Summary: gentoo-sources-2.6.24 + b43 + wpa_supplicant quirks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-30 23:26 UTC by crusaderky
Modified: 2008-04-10 09:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crusaderky 2008-01-30 23:26:05 UTC
I've got
gentoo-sources-2.6.24
b43-fwcutter-009 used to cut broadcom-wl-4.80.53.0.tar.bz2
wpa-supplicant-0.5.8
dhcpcd-3.1.5-r1
HP notebook with a Broadcom 4311 card (subsystem = 0x1364)

I managed to make wireless work with the bm43 stock kernel module, however I've got some quirks.

PROBLEM 1: interface is not renamed.

#modprobe b43
#dmesg
[...]
ACPI: PCI Interrupt 0000:10:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:10:00.0 to 64
ssb: Sonics Silicon Backplane found on PCI device 0000:10:00.0
b43-phy0: Broadcom 4311 WLAN found
phy0: Selected rate control algorithm 'simple'
udev: renamed network interface wmaster0 to eth1

#ifconfig -a
eth1      Link encap:UNSPEC  HWaddr 00-1A-73-A0-75-31-00-EA-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING 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)

wlan0_ren Link encap:Ethernet  HWaddr 00:1A:73:A0:75:31  
          inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:208 errors:0 dropped:0 overruns:0 frame:0
          TX packets:234 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:139917 (136.6 Kb)  TX bytes:51935 (50.7 Kb)


Interface "eth1" is unusable, but interface "wlan0_rename" works fine.

PROBLEM 2: dhcp does not work automatically.

# cat /etc/conf.d/net
config_wlan0_rename=("dhcp")
modules_wlan0_rename=("wpa_supplicant")
wpa_supplicant_wlan0_rename="-Dwext"


# cat /etc/wpa_supplicant/
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=1
network={
        ssid="CRUSADERNET"
        psk="omitted"
        key_mgmt=WPA-PSK
        scan_ssid=1
        priority=5
}


 # /etc/init.d/net.wlan0_rename start
 * Service net.wlan0_rename starting
 * Starting wlan0_rename
 *   Loading networking modules for wlan0_rename
 *     modules: apipa arping ccwgroup clip tuntap macchanger macnet rename wpa_supplicant essidnet iptunnel ifconfig pppd system dhcpcd ip6to4
 *       wpa_supplicant provides wireless
 *       ifconfig provides interface
 *       pppd provides ppp
 *       dhcpcd provides dhcp
 *   Starting wpa_supplicant on wlan0_rename ...
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported        [ ok ]th param 5 value 0x1 - 
 *   Starting wpa_cli on wlan0_rename ...                                 [ ok ]
 *     Waiting for association                                            [ ok ]
 *     Backgrounding ...
 * WARNING:  net.wlan0_rename has started but is inactive


Now, interface is up and connected, however I didn't get the IP from the dhcp server. However, if I run `dhcpcd wlan0_rename` manually, everything falls in place.


# emerge --info
Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo i686)
=================================================================
System uname: 2.6.24-gentoo i686 Intel(R) Celeron(R) M CPU 420 @ 1.60GHz
Timestamp of tree: Wed, 30 Jan 2008 06:16:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sanbox sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.muntinternet.net/pub/gentoo/ http://mirror.bih.net.ba/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cddb cdparanoia cdr cjk cli cracklib crypt cups curl dbus dri dts dvd dvdr dvdread eds emboss encode esd exif fam ffmpeg firefox flac fortran ftp gcj gd gdbm gif gimp gnutls gpm gtk hal iconv ipv6 isdnlog java jpeg kerberos lcms ldap libnotify lm_sensors lzo mad matroska midi mikmod mmx mng mp3 mpeg mtp mudflap musepack mysql ncurses nls nptl nptlonly nsplugin obex ogg opengl openmp pam pcmcia pcre pda pdf perl png pppd python qt3support quicktime raw readline reflection samba sdl session slp speex spl sse sse2 ssl startup-notification svg tcl tcpd theora threads tiff tk truetype truetype-fonts type1-fonts unicode usb vorbis wifi win32codecs wmf wxwindows x264 x86 xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" CAMERAS="fuji" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2008-01-31 11:16:39 UTC
delete /etc/udev/rules.d/70-persistent-net.rules to fix the renaming

for the DHCP problem, what is the output of "/etc/init.d/net.foo status" after association, and also the output of "wpa_cli status"?
Comment 2 crusaderky 2008-01-31 14:13:53 UTC
(In reply to comment #1)
> delete /etc/udev/rules.d/70-persistent-net.rules to fix the renaming

FIXED! ty

> for the DHCP problem, what is the output of "/etc/init.d/net.foo status" after
> association, and also the output of "wpa_cli status"?

it fixed itself when I fixed the renaming.