| View previous topic :: View next topic |
| Author |
Message |
lucid insanity n00b

Joined: 17 Aug 2012 Posts: 7
|
Posted: Mon Jan 21, 2013 9:02 pm Post subject: Wpa_supplicant issues |
|
|
I am currently unable to get my wireless to work. I am trying to use wpa_supplicant to manage my connection. My wireless adapter is a TP-LINK TL-WN722N.
I have verified that my wireless adapter is recognized by running which (abridged) returns | Code: | wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether f4:ec:38:85:5a:6f txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 |
running | Code: | | /etc/init.d/net.wlan0 start | gives the following output | Code: | Bringing up interface wlan0
Starting wpa_supplicant on wlan0...
ioctl[SIOCSIWPMKSA]:Invalid argument
ioctl[SIOCSIWMODE]: Invalid argument
ioctl[SIOCGIWRANGE]:Invalid argument
ioctl[SIOCGIWMODE]:Invalid argument
ioctl[SIOCSIWAP]: Invalid argument
ioctl[IEEE80211_IOCTL_SETPARAM]:Invalid argument
ioctl[SIOCGIWMODE]:Invalid argument
ioctl[SIOCSIWAP]:Invalid argument
Failed to initialize driver interface
start-stop-daemon: failed to start '/usr/sbin/wpa_supplicant'
ERROR: net.wlan0 failed to start |
here is the contents of my /etc/conf.d/net file | Code: | config_wlan0="dhcp"
modules="wpa_supplicant"
wpa_supplicant_wlan0="Dmadwifi" |
and here is the contents of the wpa_supplicant.conf file | Code: | ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
network={
key_mgmt=NONE
priority=-999
} |
Any suggestions? |
|
| Back to top |
|
 |
DONAHUE Watchman


Joined: 09 Dec 2006 Posts: 5271 Location: Goose Creek SC
|
Posted: Tue Jan 22, 2013 12:12 am Post subject: |
|
|
I would | Code: | | emerge linux-firmware | I associate lots of siocs errors with missing firmware.
If that does no good:
edit /etc/conf.d/net
| Quote: | dns_servers="8.8.8.8 "
modules_wlan0="wpa_supplicant"
#wpa_supplicant_wlan0="-Dwext" ONE
#wpa_supplicant_wlan0="-Dnl80211" OR THE OTHER
wpa_timeout_wlan0=15
iwconfig_wlan0_mode="Managed"
#config_wlan0="192.168.1.4 netmask 255.255.255.0 broadcast 192.168.1.255"
#routes_wlan0="default gw 192.168.1.1" ONE
#config_eth0="dhcp nodns"
#dhcpcd_eth0="-t 10" OR THE OTHER | use your ip's if
recent changes to openrc and udev and dhcp may cause mistimed service startups. _________________ Defund the FCC. |
|
| Back to top |
|
 |
666threesixes666 Apprentice


Joined: 31 May 2011 Posts: 270
|
Posted: Tue Jan 22, 2013 2:22 am Post subject: |
|
|
networkmanager with avahi dhcpcd resolvconf use flags & broadcom firmware cutter did me wonders.... for my atheros card it was as easy as networkmanager with the use flags.... wicd setup my wireless equally as well though it did have tendencies to break randomly on me where network manager stayed solid with the use flags.... i also use nm-applet to manage network manager id only stay your course with setting up the back ends like that if your running a server (and at that point should be running wire anyways)
mkultra@mkultra ~/Downloads $ cat /etc/conf.d/net
#Generated by NetworkManager
bla bla bla bla bla bla bla auto done 4 me =) |
|
| Back to top |
|
 |
wcg Guru

Joined: 06 Jan 2009 Posts: 551
|
Posted: Fri Jan 25, 2013 10:52 pm Post subject: |
|
|
| Quote: |
wpa_supplicant_wlan0="Dmadwifi"
|
Should that be
| Code: |
wpa_supplicant_wlan0="-Dmadwifi"
|
(Do you need to supply the dash in front of the "-D[driver]"
option to wpa_supplicant?) _________________ TIA |
|
| Back to top |
|
 |
BillWho Veteran


Joined: 03 Mar 2012 Posts: 1576 Location: US
|
Posted: Sat Jan 26, 2013 12:36 am Post subject: |
|
|
lucid insanity,
My /etc/conf.d/net file contains:
| Code: | modules="wpa_supplicant"
wpa_supplicant_wlan0="-Dnl80211 -c/etc/wpa_supplicant/wpa_supplicant.conf" |
_________________ Good luck
Since installing gentoo, my life has become one long emerge  |
|
| Back to top |
|
 |
|