When starting my wireless at office I get a syntax error from baselayout script Reproducible: Always Steps to Reproduce: 1. Start the wireless interface 2. 3. Actual Results: /lib/rcscripts/net.modules.d/wpa_supplicant: array assign: line 326: syntax error near unexpected token `(' /lib/rcscripts/net.modules.d/wpa_supplicant: array assign: line 326: `IEEE 802.1X (NO WPA)' The network starts and get an address from DHCP. Expected Results: No errors Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 i686) ================================================================= System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) M processor 2.00GHz Gentoo Base System version 1.12.0_pre10 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="en it" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac acl acpi alsa apache2 arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dbus dvdr dvdread emboss encode exif expat fam ffmpeg foomaticdb gdbm gif gmp gpm gstreamer hal idn ieee1394 imlib java jpeg kde kerberos lcms ldap libg++ libwww logrotate mad mikmod mmx mng motif mp3 mpeg ncurses nls nptl nvidia odbc ogg oggvorbis opengl oracle pam pcmcia pcre pdflib perl png python qt quicktime readline samba sdl spell sse sse2 ssl tcltk tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wifi xml2 xmms xv xvid zlib linguas_en linguas_it userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY I have sys-apps/baselayout-1.12.0_pre10-r1 After connection: ~ # wpa_cli -ieth1 status bssid=00:0f:20:68:17:d5 ssid=reply54 pairwise_cipher=NONE group_cipher=NONE key_mgmt=IEEE 802.1X (no WPA) wpa_state=COMPLETED ip_address=10.14.101.80 Supplicant PAE state=AUTHENTICATED suppPortStatus=Authorized EAP state=SUCCESS selectedMethod=25 (EAP-PEAP) EAP TLS cipher=RC4-MD5 EAP-PEAPv0 Phase2 method=MSCHAPV2
Created attachment 73283 [details, diff] Fixes the issue Please test the attached patch. cd /lib/rcscripts patch -p0 < /path/to/patch
.
Created attachment 73285 [details, diff] Fixes the issue Try this patch instead ;)
I've tested, it's OK now. Thanks
Patch comitted to our svn repo - will be in baselayout-1.12.0_pre11