![]() |
hostapd
Hi, I'm trying to setup Access Point on my laptop using hostapd
I'm using Debian squeeze and using RT2860STA. this is my hostapd config file: Code:
interface=wlan0Code:
root@debian:~# /etc/init.d/hostapd restartCode:
rt28xx_close call RT28xxPciAsicRadioOff fail!Code:
root@debian:~# iwconfig wlan0 mode master |
Hi,
My first impression is that your card doesn't support master mode. Which driver are you using? If its te RT2860sta from staging, then this doesn't surprise me, and I advise you to change to the rt2x00 drivers (rt2800usb or rt2800pci, depending on the type of your card) Serafean |
I know that the driver does not support master mode, but I cannot use rt2x00
tried modprobe -r rt2860sta and modprobe rt2x00pci but after doing so, wlan is not recognized anymore, any suggestions? forgot to mention, my hardware is "RaLink RT3090 Wireless 802.11n 1T/1R PCIe" |
I have this precise card in my laptop, and it works pretty good with the rt2x00 drivers (kernel 2.6.39). The precise module you need to load is called rt2800pci. Check your distro's (what is your distro btw?) module blacklist (usually /etc/modprobe.d/[filename].conf). if you find a line
Code:
blacklist rt2800pciSerafean |
Thanks for your reply, as I mentioned, I use Debian Squeeze
There is no blacklist rt2800pci in modprobe configuration, and by blacklisting rt2860sta my hardware wont be recognized any more also I don't have rt2800pci module: Code:
root@debian:~# modinfo rt2800pci |
Sorry, I hadn't realized Debian Squeeze had such an old kernel... it uses the 2.6.32 kernel (if I found correctly). To check that, you can run "uname -r".
the easiest way it to install compat-wireless. Unfortunately, it isn't a package. You'll need to install the build-essentials and linux-headers packages. Then download the compat-wireless sources, and follow the instructions (download link on the same page). The page I linked is for 'stable' sources, I suggest you download what will be included with the 3.0 kernel. Hope this finally gets you up and running. Serafean |
Thanks, my problem is solved now
although it has some problems, but it does what I need, thanks for your help |
Quote:
I'm getting: Code:
root@FitPC4:~# iwconfig ra0 mode master |
| All times are GMT -5. The time now is 09:05 PM. |