The strange thing is, that the USB Adapter is working like a charm on SystemRescueCd-x86-2.3.1. As SystemRescueCd is also Gentoo based, I am sure that it is also working with the default Gentoo build. I think we forgot an USB driver module.
Loko123
Well please enlighten me thenGusar wrote:But of course you are. Which makes it very, very obvious what the issue is.gentooP4 wrote:Gusar, yes I am.
Please see below DONAHUE, thanks for you continued assistance!DONAHUE wrote:everything except ifconfig says it works
does not fit with the lsmod result. modprobe for an already installed module should just return with no printed output.modprobe ath9k_htc returns, FATAL module not found
reboot and as soon as upand post urlCode: Select all
dmesg | wgetpaste
when convenient boot mint and compare dmesg
time for the drill or blow $20 on a not netgear not atheros not broadcom dongle. I'd send you my broadcom chip netgear packaged dongle ... but ... it has no linux driver ... not even one that doesn't work ...
Code: Select all
dmesg | wgetpaste
lsmod | wgetpaste
wgetpaste /usr/src/linux/.configSorry... :$ I forgot to mention, that it is also necessary to compile some modules. I'll attach it as code.DONAHUE wrote:@ Loko123 could youand post url's so gentooP4 could compare?Code: Select all
dmesg | wgetpaste lsmod | wgetpaste wgetpaste /usr/src/linux/.config
@ P4 the dmesg looks good also but ..
Code: Select all
[*] Networking support --->
-*- Wireless
<*> cfg80211 - wireless configuration API
[*] enable powersave by default
[*] cfg80211 wireless extensions compatibility
[*] Wireless extensions sysfs files
<M> Common routines for IEEE802.11 drivers
<M> Generic IEEE 802.11 Networking Stack (mac80211)
[*] Minstrel
[*] Minstrel 802.11n support
Device Drivers --->
Generic Driver Options --->
[*] Prevent firmware from being built
-*- Userspace firmware loading support
[*] Include in-kernel firmware blobs in kernel binary
[*] Network device support --->
[*] Wireless LAN --->
<M> Atheros Wireless Cards --->
<M> Atheros HTC based wireless cards support
Code: Select all
emerge wgetpaste
dmesg | wgetpaste
lsmod | wgetpaste
wgetpaste /usr/src/linux/.configNot that obvious. What is the issue you see?But of course you are. Which makes it very, very obvious what the issue is.
could be the magic bullet[*] Minstrel
[*] Minstrel 802.11n support
should not matter unless you told the kernel to build in some ath9k firmware in the line[*] Include in-kernel firmware blobs in kernel binary
which would expose the line( ) External firmware blobs to build into the kernel binary
(firmware) Firmware blobs root directory (NEW)
Code: Select all
[*] Minstrel 802.11n supportCode: Select all
-*- MinstrelThe light is now flashing intermittently but the application doesn't manage to connect.Linux Sea wrote:Using wpa_supplicant for WPA Encrypted Networks
The wpa_supplicant tool is a software component which controls the wireless connection between
your system and an access point. A major advantage of wpa_supplicant over the previously described
wireless tools is its support for WPA/WPA2.
Before you can use wpa_supplicant, you first need to install it:Accessing a Wireless NetworkCode: Select all
# emerge -a wpa_supplicant
You need to configure your wpa_supplicant to support the wireless network(s) you want to access.
Suppose that your home network is called "home" and is a secured (WPA) environment with key
"myHomeKey" and at your work there is a wireless network called "CompanyGuests", secured (WPA)
environment with key "myCompanyKey" and a third network at your local computer club called
"hobby", not secured, then the following wpa_supplicant.conf configuration could work:You can copy/paste the resulting information in wpa_supplicant.conf and remove theCode: Select all
ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel network={ ssid="home" ***I updated this of course*** psk="myHomeKey" ***and this one** }
(commented) plain-text key information.
If your wireless card is found by Linux (and its powered on), then running the following command
will activate the wpa_supplicant on top of it (assume the wireless interface is called wlan0):One interesting option is the -D option: with this you select the wireless driver to use. With -Dwext,Code: Select all
# wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
we use the Linux wireless extensions (which is quite generic). In certain cases you might need to use a
different driver - the Internet has many resources on how to configure your specific wireless network
card with Linux if the Linux wireless extensions don't work.
Of course, once the configuration file is finished, you can use Gentoo's networking scripts as well.
First, edit /etc/conf.d/net to use wpa_supplicant:To have the wireless support active when you boot up your system, enable the net.wlan0 init script.Code: Select all
modules="wpa_supplicant" wpa_supplicant_wlan0="-Dwext"
If /etc/init.d/net.wlan0 doesn't exist yet, first create it:Next, add the net.wlan0 init script to the default runlevel:Code: Select all
# cd /etc/init.d # ln -s net.lo net.wlan0Code: Select all
# rc-update add net.wlan0 default
Code: Select all
emerge wpa_supplicantCode: Select all
cat /etc/conf.d/net
ls /etc/init.d/net*
rc-update show
cat /etc/wpa_supplicant/wpa_supplicant.conf Code: Select all
hayden@sidcup ~ $ cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0=( "dhcp" )
modules="wpa_supplicant"
wpa_supplicant_wlan0="-Dwext"Code: Select all
hayden@sidcup ~ $ ls /etc/init.d/net*
/etc/init.d/net.eth0 /etc/init.d/net.wlan0 /etc/init.d/network
/etc/init.d/net.lo /etc/init.d/netmountCode: Select all
hayden@sidcup ~ $ sudo rc-update show
alsasound | boot
bootmisc | boot
consolefont | boot
consolekit | default
dbus | default
devfs | sysinit
device-mapper | boot
dmesg | sysinit
fsck | boot
hostname | boot
hwclock | boot
keymaps | boot
killprocs | shutdown
local | default nonetwork
localmount | boot
modules | boot
mount-ro | shutdown
mtab | boot
net.eth0 | default
net.lo | boot
net.wlan0 | default
netmount | default
procfs | boot
root | boot
savecache | shutdown
swap | boot
sysctl | boot
syslog-ng | default
termencoding | boot
udev | sysinit
udev-postmount | default
urandom | boot
vixie-cron | default
xdm | default Code: Select all
hayden@sidcup ~ $ cat /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="BThub3-4RGK"
proto=WPA2
psk="my password goes here"
}
#network={
#ssid="CompanyGuests"
#psk="myCompanyKey"
#}
#network={
#ssid="hobby"
#key_mgmt=NONE
#}It is the wrong place.Not quite in the same directory, does this matter?
Code: Select all
mv /etc/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf
nano /etc/wpa_supplicant/wpa_supplicant.confafter ctrl_interface_group=wheelupdate_config=1
ap_scan=1
Code: Select all
/etc/init.d/net.wlan0 restartYou might try matching it or using wpa_gui if your performance is still problematic.network={
ssid="myssid"
psk="my psk"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
}