Hi, After I've installed net-wireless/ipw2200-1.0.11-r1, dhcpcd and pump don't work anymore. (which worked fine with 1.0.10) This patch : http://ketrenos.com/patches/bcast.test.patch seems to fix the problem ! Here is my emerge info : # emerge info Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15 i686) ================================================================= System uname: 2.6.15 i686 Intel(R) Pentium(R) M processor 1.80GHz Gentoo Base System version 1.12.0_pre16 ccache version 2.4 [enabled] dev-lang/python: 2.4.2-r1 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-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -pipe -fomit-frame-pointer -march=pentium-m -mtune=pentium-m" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-Os -pipe -fomit-frame-pointer -march=pentium-m -mtune=pentium-m" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildsyspkg ccache cvs distlocks fixpackages nostrip parallel-fetch sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.proxad.net/mirrors/ftp.gentoo.org/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LANG="fr_FR.utf8" LINGUAS="fr ja" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.belnet.be/gentoo-portage/" USE="x86 GAPING_SECURITY_HOLE X a52 aac aalib acpi aim aimextras aio alsa anthy applet asm audiofile avi bash-completion berkdb bitmap-fonts bluetooth bmp bonjour bzip2 canna cardbus ccache cdda cddb cdio cdparanoia cdrom chasen chroot cjk corba cracklib crypt css cups curl dga dio directfb djvu dpms dri dts dv dvd dvdr dvdread dvi emboss emoticon encode escreen esd examples exif fame fat fbcon fbsplash ffmpeg figlet flac flood fontconfig foomaticdb fortran fpx freetype freewnn ftp gdbm gif gimp gimpprint glx gmail gnutls gpm gs gstreamer gtk gtk2 gzip html http i8x0 iconv icq id3 idn ieee1394 image imagemagick imap imlib imlib2 ipv6 irc jabber john jpeg kqemu lame latex lcms lesstif libcaca libg++ libwww live lm_sensors logitech-mouse mad matroska md5sum menubar mikmod mixer mjpeg mmx mng mnogosearch motif mouse mozilla mozpango mozsvg mp3 mp4live mpeg mpeg2 mpeg4 mplayer msn msnextras musepack music ncurses net nethack network new-login nls no-old-linux nptl nptlonly nsplugin ntfs offensive ogg oggvorbis openal opengl oscar pam pam_chroot pam_timestamp pcmcia pcre pdf pdflib perl pic player plugin png pnp pop posix ppds python qemu-fast quicktime rar readline real recode reiserfs rss ruby samba screen sdl sftp sftplogging shorten silc skk slang smartcard sndfile softmmu sox speex spell sse sse-filters sse2 ssl startup-notification stream stroke subtitles svg svga sysfs szip tabs tcltk tcpd tetex text tga theora threads tiff toolbar tools transcode truetype truetype-fonts type1-fonts ucs2 ucs4 uim unicode usb userlocales utf8 vcd vfat videos vidix vim vorbis wifi win32codecs wmf xanim xfs xim xml xml2 xmms xosd xpm xprint xrandr xv xvid xvmc yahoo zlib elibc_glibc kernel_linux linguas_fr linguas_ja userland_GNU video_cards_i810 video_cards_i830 video_cards_i915" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS - Boris
*** Bug 123100 has been marked as a duplicate of this bug. ***
Please retest with ipw2200-1.0.12.
I get the same thing with 1.0.11 as well as 1.0.12. Why don't you try the patch on the ipw2200 project page? http://ipw2200.sourceforge.net/patches/ipw2200-1.0.11-broadcast.patch "If you experience problems with DHCP stalling out and not being able to obtain an IP address, but statically configuring an IP address allows you to access the network, you may need this patch to change how broadcast packets are detected."
I tried 1.0.12, with doesn't work (hangs at dhcp as 1.0.11 does), I tried the ipw2200-1.0.11-broadcast.patch on 1.0.12 but it stills don't work. The same patch on 1.0.11 fixes the problem ! Boris.
The bug I filed http://bugs.gentoo.org/show_bug.cgi?id=123100 have been marked as a dup of this. I've tried with 1.0.12 with gentoo-sources 2.6.15-r4. The result is that dhcpcd doesn't work anymore. Tried with wpa_supplicant and iwconfig.
Hi, Could you try this patch please : http://ipw2200.sourceforge.net/patches/ipw2200-1.0.11-broadcast.patch The ipw guys on IRC told me it should fix the bug, but it doesn't work for me (with 1.0.12), having a 2nd tester would be nice ;) Thanks, Boris.
Sorry, applying the patch for 1.0.11 to 1.0.12 resolves the issues for me.
On my side, I have same problem but using patch didn't help... had to execute a few more step: rerun manually the assoc (seems the enc is not correct... baselayout prob ?) FYI: versions: kernel : Linux 2.6.15-gentoo-r5 [ebuild R ] net-wireless/ipw2200-1.0.12 USE="radiotap -debug" 0 kB [1] [ebuild R ] net-wireless/ipw2200-firmware-2.4 0 kB [ebuild R ] net-wireless/ieee80211-1.1.12 USE="-debug" 0 kB [ebuild R ] sys-apps/baselayout-1.12.0_pre16-r1 USE="unicode -bootstrap -build -static" 0 kB [ebuild R ] net-wireless/wireless-tools-28_pre14 USE="nls -multicall" 0 kB The complete "steps" (after emerging broadcast patched version) ---- vaio ipw2200 # rmmod ipw2200 vaio ipw2200 # modprobe ipw2200 vaio ipw2200 # /etc/init.d/net.eth0 restart * Stopping eth0 * Bringing down eth0 * Shutting down eth0 ... [ ok ] * Starting eth0 * Configuring wireless network for eth0 * eth0 connected to "MUADDIB_ACCS" at 00:C0:49:ED:0D:EA * in managed mode on channel 11 (WEP enabled - open) * Bringing up eth0 * dhcp * Running dhcpcd ... [ !! ] * Trying fallback configuration * 192.168.123.1 [ ok ] * Adding routes * default via 192.168.123.254 ... [ ok ]vaio ipw2200 # ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:0E:35:E9:8E:BE inet addr:192.168.123.1 Bcast:192.168.123.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:33 errors:24 dropped:24 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:2336 (2.2 Kb) Interrupt:10 Base address:0x4000 Memory:b0006000-b0006fff vaio ipw2200 # iwconfig eth0 eth0 IEEE 802.11g ESSID:"MUADDIB_ACCS" Mode:Managed Frequency:2.462 GHz Access Point: 00:C0:49:ED:0D:EA Bit Rate=54 Mb/s Tx-Power=20 dBm Retry limit:7 RTS thr:off Fragment thr:off Encryption key:2774-6869-7369-2700-0000-0000-00 Security mode:open Power Management:off Link Quality=89/100 Signal level=-22 dBm Noise level=-79 dBm Rx invalid nwid:0 Rx invalid crypt:24 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:11 vaio ipw2200 # iwconfig eth0 essid "MUADDIB_ACCS" enc "s:xXxXx" vaio ipw2200 # iwconfig eth0 eth0 IEEE 802.11g ESSID:"MUADDIB_ACCS" Mode:Managed Frequency:2.462 GHz Access Point: 00:C0:49:ED:0D:EA Bit Rate=54 Mb/s Tx-Power=20 dBm Retry limit:7 RTS thr:off Fragment thr:off Encryption key:7468-6973-69 Security mode:open Power Management:off Link Quality=99/100 Signal level=-21 dBm Noise level=-83 dBm Rx invalid nwid:0 Rx invalid crypt:35 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:10 vaio ipw2200 # ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:0E:35:E9:8E:BE inet addr:192.168.123.1 Bcast:192.168.123.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:66 errors:35 dropped:35 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4404 (4.3 Kb) TX bytes:2336 (2.2 Kb) Interrupt:10 Base address:0x4000 Memory:b0006000-b0006fff vaio ipw2200 # dhcpcd eth0 vaio ipw2200 # tail /var/log/messages | grep dhcpcd Feb 19 00:39:19 vaio dhcpcd[21253]: timed out waiting for a valid DHCP server response Feb 19 00:40:43 vaio dhcpcd[21352]: infinite IP address lease time. Exiting vaio ipw2200 # --- Interesting part of my /etc/conf.d/net: mode_eth0="managed" channel_eth0="auto" preferred_aps=( "MUADDIB_ACCS" ) key_MUADDIB_ACCS="s:'xXxXx' enc open" config_MUADDIB_ACCS=( "dhcp" ) dhcpcd_MUADDIB_ACCS="-t 5 -N" config_eth1=("dhcp") dhcpcd_eth1="-t 3 -N" modules_eth0=("iwconfig") iface_eth0=("dhcp") config_eth0="-t 3 -N" fallback_eth0=("192.168.123.1 netmask 255.255.255.0") fallback_route_eth0=("default via 192.168.123.254")
(In reply to comment #8) Btw, didn't succeed same steps without a patched ipw2200
Here's what I did 1) Create an ebuild in the portage overlay that adds the patch and called it ipw2200-1.0.12-r1 2) Emerge the new ebuild with the patch 3) /etc/init.d/net.eth1 stop 3) modprobe -r ipw2200 4) modprobe ipw2200 5) /etc/init.d/net.eth1 start And it just worked fine (WEP + dhcp).
Created attachment 80303 [details] updated ebuild for ipw2200-1.0.12 with broadcast patch. Works for me I tared the ebuild from my PORTDIR_OVERLAY for your convenience. Works nice for me with the 1.0.11-broadcast-patch.
Question for the people were it works out-of-box and are using WEP: Do you use a hex key or a ascii one (eg "mykey") (My system don't like wep ascii key... broadcast don't work as expected but I guess the problems is a wrong key setting [iwconfig returns a wrong key during dhcpcd requests - curious about this strange issue)
(In reply to comment #12) > Question for the people were it works out-of-box and are using WEP: Do you use > a hex key or a ascii one (eg "mykey") > > (My system don't like wep ascii key... broadcast don't work as expected but I > guess the problems is a wrong key setting [iwconfig returns a wrong key during > dhcpcd requests - curious about this strange issue) > Changing my ascii key to the hex equivalent made iwconfig work. Note that it worked with the ascii one before upgrading baselayout, ipw2200 is 2.6.16-rc4 in kernel one. May be wrong, but I think that we have two different problems here. Thank you very much.
(In reply to comment #13) > Changing my ascii key to the hex equivalent made iwconfig work. Note that it > worked with the ascii one before upgrading baselayout, ipw2200 is 2.6.16-rc4 in > kernel one. > > May be wrong, but I think that we have two different problems here. > > Thank you very much. Thanks too for confirmation ;-)
Likewise, the same problem is happening with my laptop's ipw2200 miniPCI card and 1.0.11-r1 build. The patch from the ipw2200 team (http://ipw2200.sourceforge.net/patches/ipw2200-1.0.11-broadcast.patch) fixes things perfectly when applied.
(In reply to comment #14) > Thanks too for confirmation ;-) > I found that removing single quotes from the key value solves the problem. I had key_<essid>="s:'<ascii key'" because of special characters (*) in ascii key. That's probably no more needed unless you have spaces.
*** Bug 123662 has been marked as a duplicate of this bug. ***
Please test with the newly added net-wireless/ipw2200-1.0.13.
works for me :)
works for me too ;)
That's good news. Thank you for testing.
Closing as FIXED.