Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92249 - ndiswrapper fails if ESSID contains a space
Summary: ndiswrapper fails if ESSID contains a space
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-11 08:12 UTC by Jakob Schiotz
Modified: 2005-05-12 13:23 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 Jakob Schiotz 2005-05-11 08:12:51 UTC
I use ndiswrapper with my prism54 card (Netgear WG511) because the prism54 driver does not support WPA.  It works fine at home (where I use WPA), but not at work (unencrypted), since my workplace have in their wisdom chosen an ESSID containing a space.  Apparenly, ndiswrapper cannot handle this.

It works in another machine with the same card using the prism54 driver.

net-wireless/ndiswrapper-1.1-r1



Reproducible: Always
Steps to Reproduce:
1.
2.
3.




# emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  2 2005, 11:20:28)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
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.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/
ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.rhnet.is/pub/gentoo/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/"
LINGUAS="dk"
MAKEOPTS="-j2"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d acpi alsa arts atlas avi berkdb bitmap-fonts cdr crypt cups
curl dga dvd emacs emboss encode fam flac font-server foomaticdb fortran gdbm
gif gpm gtk gtk2 imagemagick imap imlib java jpeg kde kdeenablefinal libg++
libwww mad maildir mbox mikmod mime motif mozilla mp3 mpeg mule ncurses netcdf
nls nptl ogg oggvobis oggvorbis opengl oss pam pcmcia pdflib perl plotutils png
pnp ppds python qt quicktime readline real scanner sdl slang smime spell sse ssl
svga tcltk tcpd tetex tiff truetype truetype-fonts trusted type1-fonts usb
vorbis win32codecs wxwindows xine xml2 xmms xv xvid zlib linguas_dk userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2005-05-11 20:13:00 UTC
Yes it can. Read the /etc/conf.d/wireless.example file. You need to use a _ rather then the space. My ESSIDs all have space and it's always worked for me.
Comment 2 Jakob Schiotz 2005-05-12 04:59:45 UTC
It probably works if you specify the ESSID with a _ instead of a space, but I have my machine set up to connect to any wireless network, so I do not specify an ESSID anywhere.  That works fine if I use the prism54 driver or the hostap driver, but not if I use the ndiswrapper.  On another net, it works fine, and the only difference seems to be the space in the ESSID.

In an alternative setup, I use wpa_supplicant.  There, I have to specify all networks I want to be able to connect to, encrypted or unencrypted.  Replacing the space with a _ does not work.  But again, it appears to be connected to ndiswrapper, since my other laptop connects fine using the hostap driver and another network card.

Best regards

Jakob
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2005-05-12 11:36:43 UTC
I use any as well. It works. Read the configuration files and check your configs, all I've got to say.
Comment 4 Jakob Schiotz 2005-05-12 13:23:55 UTC
OK, I will experiment.  But I use the stable baselayout, so the file you referred to does not exist.  I will unpack a copy of the latest ~x86 baselayout for inspiration.

/Jakob