Hi pintilie_luci,
[QUOTE=pintilie_luci;14942]Hi, there, I know that drivers from Windows won’t work for Linux, (it was just an example about Windows 7 access point…). Anyway, I found this on the ath5k website, and I think, this might be usefull!
Enabling ath5k:
To enable ath5k in the kernel configuration, you must first enable mac80211: (HOW to enable MAC80211?, this explanantion is not as relevant as possible for me :D)
Networking support —>
Wireless —>
cfg80211 - wireless configuration API
Generic IEEE 802.11 Networking Stack (mac80211)
Please note that in older kernels there was another 802.11 networking stack: (what kernels, what stacks???)
< > Generic IEEE 802.11 Networking Stack
You do not need this. This option enables the old SoftMAC which is already removed from newer kernels. You can still safely enable this though. (What is SoftMAC?)
You can then enable ath5k in the kernel configuration under
Device Drivers —>
[*] Network device support —>
Wireless LAN —>
Atheros Wireless Cards —>
Atheros 5xxx wireless cards support
To try the driver you can do something like this:
modprobe ath5k
sudo ip link set wlan%d up (now, if I input this commands the error occurs and it says “Invalid Argument” “Set: Mode”)
sudo iwconfig wlan%d essid any
Make sure you get auth’d and then assoc’d (Wlan mode is Master)
Then either set an IP manually or get it via DHCP (The Wlan is bridged with a static ip assigned to the bridge)
ping gw
Final conclusion: I don’t know anything about how to make things operate in MASTER MODE, I don’t know anything, and I forgot even what I already knew! I’m totally lost in all this explanations… What I finally understood is that: 1. This card uses ath5k driver (and an Atheros chip). 2. It needs hostapd “suite” software (daemon) to operate in master mode. 3. The ath5k driver is a mac80211 based driver (in hostapd therms). 4. I need to install hostapd on Suse Linux Server Enterprise 11 i586 SP1 (with the bridge configuration an the wlan card in Master mode) and I don’t know how!
Final question: Can You please tell me exactly (with details) how to install HOSTAPD WITH DEPENDENCIES. If you can tell me how to install from a repository (I think it can be possible from openSuse reponsitories, but, I don’t know the links from openSuse repositories, can you provide them? with the hostapd dependencies of course!)
Anyway Thanks for reply![/QUOTE]
seems you’re doing the deep-dive
I recommend that you try to get your card into master mode via a current openSUSE release, probably via the Live DVD (to avoid installing openSUSE on your machine). Once you got your adapter into master mode there, it’s time to check if and how you could port the required pieces (car ddriver, hostapd) to SLES.
Can You please tell me exactly (with details) how to install HOSTAPD WITH DEPENDENCIES. If you can tell me how to install from a repository (I think it can be possible from openSuse reponsitories, but, I don’t know the links from openSuse repositories, can you provide them? with the hostapd dependencies of course!)
I had already checked software.opensuse.org for hostapd packages for SLES, but there’s no such thing. Trying to cross-install openSUSE packages (in terms of “compiled for an openSUSE install”) requires almost as much understanding as does preparing and recompiling the source packages, which I feel would be quite a challenge to you ATM.
BTW, it’s the driver that needs to support “master mode”, which is what currently seems to fail for your hardware/driver combo. hostapd just contains the tools to then operate the “WLAN access point” (encryption, access lists etc) via the card.
As you are running SLES - do you have a support subscription for your installation? It’d probably be quicker to issue a service request with official SUSE support, although I still doubt that running an AP is officially supported for SLES. But they’d know and tell you, either that you cannot or how you’d run the AP
Regards,
Jens