Summary: | baselayout-2.0.0_rc5 - wpa_supplicant doesn't finish and doesn't get an IP address | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Javorski <mike.javorski> |
Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | alonbl, angreifen, pesa, steve |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
My wpa_supplicant.conf file
My /etc/conf.d/net file. My /etc/wpa_supplicant/wpa_supplicant.conf file. My dmesg output. My "emerge --info" output. |
Description
Mike Javorski
2007-10-16 09:09:43 UTC
also have a forum topic, but no responses there yet. http://forums.gentoo.org/viewtopic-t-600008.html I'm guessing that you need to add dhcpcd_eth1="-I ''" to your /etc/conf.d/net (In reply to comment #2) > I'm guessing that you need to add dhcpcd_eth1="-I ''" to your /etc/conf.d/net > As I said nothings changed about the config and it was working. I can manually run "dhcpcd eth1" and get an IP address with 0 delay. In any case, I tried adding that, but it made no difference. Do other versions of wpa_supplicant work? With it statrted, what is the output of /etc/init.d/net.eth1 status > Do other versions of wpa_supplicant work? Have not tried other versions. Will have to wait till later today when I can hook the laptop into a wired network. > With it statrted, what is the output of > /etc/init.d/net.eth1 status * status: inactive N AH HAAAA!!! WORKAROUND: downgrade to baselayout 2.0.0_rc4-r1 It seems to be specific to baselayout-2.0.0_rc5. I just downgraded to rc4-r1 and wireless works again. I then upgraded again to rc5 and it stopped working, now I am back to rc4-r1 and it's working again. I restarted the system after each change, and when I didn't get an IP on the wireless, I tried to restart the service a few times to be sure it wasn't just a bad initialization. I'll look at the code changes between the two versions later today and see if there is an obvious issue between the two. Wish the 2.0.0 versions were tagged in SVN, would make it much easier, oh well. We'll probably start tagging once we actually get out of p.mask. The code in question is probably /lib/rc/net/wpa_supplicant.sh Although, it works just fine for me. I'll investigate later when I find a working AP I can connect too. (In reply to comment #7) > We'll probably start tagging once we actually get out of p.mask. The code in > question is probably /lib/rc/net/wpa_supplicant.sh > > Although, it works just fine for me. I'll investigate later when I find a > working AP I can connect too. > Cool. I'll update the bug if I find anything as well. I still wonder if it's something that glibc-2.6 triggers because I am 98% certain I rebooted a couple times between installing rc5 and when I upgraded glibc. *shrug* I use sys-apps/baselayout-1.12.9-r2 and net-wireless/wpa_supplicant-0.5.8 with dhclient and have the same problem. Starting dhclient manually works, but it doesn't start automatically. Does rc6 fix this issue? (In reply to comment #10) > Does rc6 fix this issue? Will give it a try and report back. (I've had >rc4 masked) (In reply to comment #10) > Does rc6 fix this issue? it does appear to work.. I am going to try it for a bit and be sure it works consistently, but it seems to be working. yeah :-) alright.. so a couple days later and it's "mostly" working. I generally get an IP address (yeah), but sometime it sticks at that point (not continuing on with all service dependencies. I think this is something else, but it seems when several services are waiting for a network service to start, when it finally does, it's not always performing the starts for all the waiting services. Generally for me it's dnsmasq. Simply manually restarting that service seems to do the trick. Happy to start another bug if need be. wpa_cli status ----------------------- Selected interface 'eth1' bssid=##MASKED## ssid=##MASKED## id=1 pairwise_cipher=WEP-104 group_cipher=WEP-104 key_mgmt=NONE wpa_state=COMPLETED ip_address=##MASKED## net.eth1 restart output -------------------------------- * Unmounting network filesystems ... [ ok ] * Bringing down interface eth1 * Loaded modules: ip6to4 dhcpcd udhcpc dhclient system pppd iproute2 ifconfig ssidnet wpa_supplicant netplugd ipppd ifplugd macnet macchanger ccwgroup tuntap br2684ctl arping apipa * Stopping dhcpcd on eth1 ... [ ok ] * Stopping wpa_cli on eth1 ... * Will stop PID in pidfile `/var/run/wpa_cli-eth1.pid' * Will stop processes of `/usr/bin/wpa_cli' * Sending signal 15 to PID 1409 ... [ ok ] * Stopping wpa_supplicant on eth1 ... * Will stop PID in pidfile `/var/run/wpa_supplicant-eth1.pid' * Will stop processes of `/usr/sbin/wpa_supplicant' * Sending signal 15 to PID 1402 ... [ ok ] * Bringing up interface eth1 * Loaded modules: apipa arping tuntap ccwgroup macchanger macnet ifplugd wpa_supplicant ssidnet iproute2 pppd system dhcpcd ip6to4 * Configuring eth1 for MAC address ##MASKED## ... [ ok ] * netplug does not work with wireless * Starting wpa_supplicant on eth1 ... * Detaching to start `/usr/sbin/wpa_supplicant' ... [ ok ] * Starting wpa_cli on eth1 ... * Detaching to start `/usr/bin/wpa_cli' ... [ ok ] * Backgrounding ... ... * WARNING: net.eth1 not under our control, aborting * WARNING: netmount is scheduled to started when net.eth1 has started Created attachment 144871 [details]
My wpa_supplicant.conf file
Created attachment 144873 [details]
My /etc/conf.d/net file.
Created attachment 144875 [details]
My /etc/wpa_supplicant/wpa_supplicant.conf file.
Created attachment 144876 [details]
My dmesg output.
Created attachment 144877 [details]
My "emerge --info" output.
I have a similar issue with my system. But, I'm not informed enough as to whether or not I should start a new bug regarding it. When I start up my system, I usually have to launch wpa_gui or wpa_cli to see what the status of my built-in ipw3945 wireless device and whether it is even associated with a WAP, whether it's my Linksys WRT54GX4 (firmware v1.00.20) via WPA2, or my campus' wireless via OPEN (I know, what a joke). So, what I'll almost always find, is that I can choose the Network to connect to, and it will only get as far as saying Associating, or Associated, or Completed (rarely). But, only when I run a "dhcpcd eth2" do I actually retrieve an IP address, the link then becomes locked down and usable for internet/network traffic. So, I have to do that almost every time. This didn't used to be the case in the past. I don't know when it changed, and it's been a while that I've put up with this problem. Any ideas or suggestions as to how to help resolve this issue? Here's my info: Computer: HP Pavilion dv8233cl Installed Packages: ==================== [ebuild R ] net-misc/dhcpcd-3.1.5-r1 USE="-vram" 40 kB [ebuild R ] sys-apps/baselayout-1.12.11.1 USE="unicode -bootstrap -build -static" 0 kB [ebuild R ] net-wireless/ipw3945-1.2.2-r1 USE="-debug" 0 kB [ebuild R ] net-wireless/wpa_supplicant-0.5.7 USE="dbus qt3 qt4 readline ssl -gnutls -gsm -madwifi" 0 kB # wpa_cli status verbose ============================= Selected interface 'eth2' bssid=00:13:10:c9:db:31 ssid=greyboxbeastboy1 id=1 pairwise_cipher=TKIP group_cipher=TKIP key_mgmt=WPA2-PSK wpa_state=COMPLETED # epm -qi wpa_supplicant ============================= # emerge --info ============================= Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8_sb090 i686) ================================================================= System uname: 2.6.23-gentoo-r8_sb090 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz Timestamp of tree: Thu, 28 Feb 2008 15:00:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 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.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-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/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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://prometheus.cs.wmich.edu/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.osuosl.org/ http://gentoo.chem.wisc.edu/gentoo/ http://mirror.mcs.anl.gov/pub/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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/portage/local/layman/desktop-effects" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac accessibility acl acpi alsa apm aquamarine arts audacious avahi berkdb bitmap-fonts bzip2 cairo cdr cli cpudetection cracklib crypt cups dbus dri dv dvd dvdnav dvdr dvdread eds emboss emerald encode esd evo exif fam fbcon firefox fortran ftp gd gdbm gif glib glitz gnome gpm gstreamer gtk hal hddtemp iconv ipv6 isdnlog jpeg jpeg2k kde kerberos ldap lua mad mailwrapper mdnsresponder-compat midi mikmod milter mmx mng mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nvidia ogg ole opengl openmp oss pam pch pcre pdf perl php png ppds pppd pvr python qt3 qt3support qt4 quicktime radio readline real reflection samba sdl session speex spell spl sse sse2 sse3 ssl svg symlink tcpd thunderbird tiff tk truetype truetype-fonts type1-fonts udev unicode utempter v4l v4l2 visualization vorbis win32codecs x86 xml xorg xv xvid xvmc 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 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_US" USERLAND="GNU" VIDEO_CARDS="apm dummy nv v4l vesa vga nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Wow... I guess that's what I get for trying to include attachments, thinking they were only going to be linked to my single post. Using bugs.gentoo.org with attachments for the first time, and all I managed to do was litter this bug. =( My bad. If someone can clean that up. I have all the data saved. It wouldn't let me delete any of it. =( If you're still having issues with baselayout-2 you should look at OpenRC, Roy Marples (formerly of baselayout-2) left gentoo but continued developing the package with a new name. http://roy.marples.name/openrc Yeah, openrc from git is working very fine here with wpa_supplicant-0.5.8 and dhclient (dhcp-3.1.0). Fixed in OpenRC. |