View previous topic :: View next topic |
Author |
Message |
dinomyte66 n00b
Joined: 12 Aug 2005 Posts: 48
|
Posted: Mon Sep 05, 2005 8:42 pm Post subject: [PARTIALLY SOLVED] WPA Supplicant & Wireless Problem |
|
|
Hi,
Can't seem to get my wireless to work using WPA supplicant. I followed the docs on gentoo.org and the WIKI HOWTOs and scoured these forums now for two days but still no luck. I'm at a loss, please help. The error that I recieve is the following:
Code: | homebase ~ # /etc/init.d/net.eth0 start
* Starting eth0
* Starting wpa_supplicant on eth0 ...
ioctl[SIOCSIWPMKSA]: Operation not supported [ ok ]
* Starting wpa_cli on eth0 ... [ ok ]
* Failed to configure eth0 in the background [ !! ]
homebase ~ # |
my wpa_suppilicant.conf:
Code: | ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
network={
ssid="<removed>"
psk="<removed>"
priority=5
} |
my conf.d/net:
Code: | modules_eth0=( "wpa_supplicant" )
wpa_supplicant_eth0="-Dipw"
wpa_timeout_eth0=15
config_eth0=( "dhcp" ) |
my lsmod:
Code: | homebase ~ # lsmod
Module Size Used by
ieee80211_crypt_tkip 10436 0
ieee80211_crypt_ccmp 7460 0
ieee80211_crypt_wep 5284 0
ipw2200 169928 0
firmware_class 10464 1 ipw2200
ieee80211 45988 1 ipw2200
ieee80211_crypt 6568 5 ieee80211_crypt_tkip,ieee80211_crypt_ccmp,ieee80211_crypt_wep,ipw2200,ieee80211 |
my init.d:
Code: | homebase ~ # ls -l /etc/init.d/
lrwxrwxrwx 1 root root 6 Aug 31 10:43 net.eth0 -> net.lo
lrwxrwxrwx 1 root root 18 Aug 27 20:17 net.eth1 -> /etc/init.d/net.lo |
my emerge --info:
Code: | homebase ~ # emerge --info
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.12.0_pre6
dev-lang/python: 2.3.5, 2.4.1-r1
sys-apps/sandbox: 1.2.12
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
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
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/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://128.213.5.34/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups curl eds emboss encode fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY |
any help would be greatly appreciated,
Dino
Last edited by dinomyte66 on Mon Sep 05, 2005 11:55 pm; edited 1 time in total |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
dinomyte66 n00b
Joined: 12 Aug 2005 Posts: 48
|
Posted: Mon Sep 05, 2005 9:25 pm Post subject: |
|
|
I doubled the timeout to 30 seconds but get the same result/error. How would i enable debugging?
Thanks,
Dino |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
dinomyte66 n00b
Joined: 12 Aug 2005 Posts: 48
|
Posted: Mon Sep 05, 2005 10:44 pm Post subject: |
|
|
after
Code: | emerge --debug net-wireless/wpa_supplicant
|
when i code
Code: | wpa_supplicant -ieth0 -c/etc/wpa_supplicant.conf -Dipw -dd |
all it does is hang at the following
Code: | homebase~# wpa_supplicant -ieth0 -c/etc/wpa_supplicant.conf -Dipw -dd
ioctl[SIOCSIWPMKSA]:Operation not supported |
Am i not doing something correctly?
Dino |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
dinomyte66 n00b
Joined: 12 Aug 2005 Posts: 48
|
Posted: Mon Sep 05, 2005 11:55 pm Post subject: |
|
|
as per usual UberLord, you da man!
The debug output showed a mismatch in my SSID that I don't think I would of caught without actually the debug pointing it out.
I still can't get the wireless to work on bootup. The only way I can get it to work is as follows:
Once fully booted:
1- kill the wpa_supplicant pid
2- /etc/init.d/net.eth0 stop
3- press the wireless radio kill switch on my laptop
4- /etc/init.d/net.eth0 start (result = wireless radio kill switch is on must be turned off)
5- press the wireless radio kill switch again on my laptop
6- /etc/init.d/net.eth0 start
and BOOM! I get an ip address from my dhcp server and all is well.
Any ideas where I need to look to get this working upon bootup??
Thanks for your help thus far UberLord,
Dino |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
|