Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143978 - new baselayout crashes wireless device connections
Summary: new baselayout crashes wireless device connections
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-15 00:39 UTC by Jann Michael Hiolen
Modified: 2006-08-16 18:37 UTC (History)
0 users

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 Jann Michael Hiolen 2006-08-15 00:39:07 UTC
this is the output when i try to start my wireless device: eth1

$ sudo /etc/init.d/net.eth1 restart
 * Stopping eth1
 *   Bringing down eth1
 *     Stopping dhcpcd on eth1 ...                                                              [ ok ]
 *     Shutting down eth1 ...                                                                   [ ok ]
 *     Stopping wpa_cli on eth1 ...                                                             [ ok ]
 *     Stopping wpa_supplicant on eth1 ...                                                      [ ok ]
 * Starting eth1
 *   Wireless radio has been killed for interface eth1
 *   wpa_supplicant will launch, but not associate until
 *   wireles radio is re-enabled for interface eth1
 *   Starting wpa_supplicant on eth1 ...
ioctl[SIOCSIWMODE]: Resource temporarily unavailable
Could not configure driver to use managed mode
ioctl[SIOCGIWRANGE]: Resource temporarily unavailable
ioctl[SIOCSIWAUTH]: Resource temporarily unavailable
WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT]: Resource temporarily unavailable
ioctl[SIOCSIWENCODEEXT]: Resource temporarily unavailable
ioctl[SIOCSIWENCODEEXT]: Resource temporarily unavailable
ioctl[SIOCSIWENCODEEXT]: Resource temporarily unavailable
ioctl[SIOCSIWAUTH]: Resource temporarily unavailable
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Resource temporarily unavailable                     [ ok ]th param 5 value 0x1 -
 *   Starting wpa_cli on eth1 ...                                                               [ ok ]
 *     Backgrounding ...
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-15 00:44:18 UTC
Unless you post emerge --info and relevant snip of your configuration, there's nothing we could here. We can't guess.
Comment 2 Jann Michael Hiolen 2006-08-15 00:47:35 UTC
(In reply to comment #1)
> Unless you post emerge --info and relevant snip of your configuration, there's
> nothing we could here. We can't guess.
> 

hi,

this is the output of emerge --info

Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Genuine Intel(R) CPU           T2400  @ 1.83GHz
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j4"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cdr cli crypt cups dbus dlloader dri dvdr eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_i915 video_cards_i810 video_cards_fbdev video_cards_vesa video_cards_intel"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Jann Michael Hiolen 2006-08-16 18:37:27 UTC
 found a solution of my problem..

this is my info:
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Genuine Intel(R) CPU           T2400  @ 1.83GHz
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j4"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cdr cli crypt cups dbus dlloader dri dvdr eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_i915 video_cards_i810 video_cards_fbdev video_cards_vesa video_cards_intel"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

packages:
[ebuild   R   ] sys-apps/baselayout-1.12.4-r6
[ebuild   R   ] net-wireless/wpa_supplicant-0.4.9
[ebuild   R   ] net-wireless/ieee80211-1.1.13-r1
[ebuild   R   ] net-wireless/ipw3945-1.0.5

1st: [quote]emerge --sync[/quote]
2nd: [quote]emerge -Dv world[/quote]
3rd: [quote]emerge -Dv ieee80211 ipw3945 wpa_supplicant[/quote]
4th: [quote]sudo cp /etc/conf.d/net.example /etc/conf.d/net

net file:

config_eth1=( "dhcp" ) #just change ip you want
# wpa_supplicant
# emerge net-wireless/wpa-supplicant
# Wireless options are held in /etc/wpa_supplicant.conf
# Consult the sample file /etc/wpa_supplicant.conf.example for instructions
# To choose wpa_supplicant over iwconfig
modules=( "wpa_supplicant" )
# To configure wpa_supplicant
wpa_supplicant_eth1="-Dwext" # For generic wireless
#wpa_supplicant_ath0="-Dmadwifi" # For Atheros based cards
# Consult wpa_supplicant for more drivers
# By default don't wait for wpa_suppliant to associate and authenticate.
# If you would like to, so can specify how long in seconds
associate_timeout_eth0=60
# A value of 0 means wait forever.
[/quote]

5th: [quote]* cd /etc
* sudo cp /usr/share/doc/wpa_supplicant-<new version>/wpa_supplicant.conf.example.gz .
* sudo gzip -d wpa_supplicant.conf.example.gz
note: the wpa_supplicant.conf.example.gz will become to wpa_supplicant.conf.example
* cp wpa_supplicant.conf.example wpa_supplicant.conf
[/quote]

6th: [quote]edit the wpa_supplicant.conf
note: this is my conf file, just change any conf that is appropriate to your preference

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

network={
        ssid="test"
        proto=WPA
        key_mgmt=WPA-PSK
        pairwise=CCMP TKIP
        group=CCMP TKIP WEP104 WEP40
        psk="testpassword"
        priority=2
}
[/quote]

7th: [quote]vi /etc/conf.d/rc
* just add this value to: [b][i]net.lo !net.*[/i][/b]
RC_PLUG_SERVICES="[b][i]net.lo !net.*[/i][/b]"
note: the reason i add this because when it goes to the boot runlevel..the net.lo will start on the net.eth1 and net.eth2 of my interfaces 
[/quote]

8th: [quote]sudo ln -s /etc/init.d/net.lo /etc/init.d/net.eth1 #which is eth1 is my wlan card intel 3945
[/quote]

9th: [quote]restart your laptop so that it will effect the rc conf
* then try to start the eth1:
sudo /etc/init.d/net.eth1 start
[/quote]

NOTE: it works on my laptop D520. this are just my solution. Its not a guarante that the said solution is always right. please feel free to give me some comments and suggestion to solve better on the problem.

thanks to DarkMorph on #gentoo who help me on the 
RC_PLUG_SERVICES="[b][i]net.lo !net.*[/i][/b]"