[[+content_image]]
D
D
Dganic2011-11-05 12:55:46
linux
Dganic, 2011-11-05 12:55:46

Realtek rtl8191su hostapd linux creating hotspot?

I have a nettop with a realtek rtl8191su WiFi card , OS: ArchLinux (well, in principle, it doesn’t matter which linux distribution), sof: hostapd lsmod
output:

[[email protected] ~]$ lsmod<br/>
Module Size Used by<br/>
appletalk 26298 0 <br/>
ipx 20395 0 <br/>
p8022 1171 1 ipx<br/>
psnap 1973 2 appletalk,ipx<br/>
llc 3761 2 p8022,psnap<br/>
p8023 1068 1 ipx<br/>
ipv6 290983 16 <br/>
nvidia 11695959 40 <br/>
snd_hda_codec_hdmi 22092 4 <br/>
iTCO_wdt 12717 0 <br/>
snd_hda_intel 22122 1 <br/>
r8712u 169296 0 <br/>
iTCO_vendor_support 1929 1 iTCO_wdt<br/>
snd_hda_codec 77927 2 snd_hda_codec_hdmi,snd_hda_intel<br/>
joydev 9895 1 <br/>
usbhid 35256 0 <br/>
hid 81635 1 usbhid<br/>
pcspkr 1819 0 <br/>
evdev 9530 4 <br/>
snd_hwdep 6325 1 snd_hda_codec<br/>
i2c_i801 8187 0 <br/>
psmouse 55192 0 <br/>
intel_agp 10904 0 <br/>
intel_gtt 14423 1 intel_agp<br/>
snd_pcm 73952 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec<br/>
r8169 42643 0 <br/>
mii 3995 1 r8169<br/>
serio_raw 4294 0 <br/>
processor 24256 0 <br/>
snd_timer 19416 1 snd_pcm<br/>
i2c_core 20133 2 nvidia,i2c_i801<br/>
snd 57818 7 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer<br/>
soundcore 6146 1 snd<br/>
snd_page_alloc 7121 2 snd_hda_intel,snd_pcm<br/>
button 4470 0 <br/>
ext4 370462 1 <br/>
mbcache 5817 1 ext4<br/>
jbd2 71074 1 ext4<br/>
crc16 1297 1 ext4<br/>
sd_mod 28307 2 <br/>
uhci_hcd 23084 0 <br/>
ahci 21217 1 <br/>
libahci 18885 1 ahci<br/>
libata 173297 2 ahci,libahci<br/>
scsi_mod 131546 2 sd_mod,libata<br/>
ehci_hcd 39543 0 <br/>
usbcore 142576 5 r8712u,usbhid,uhci_hcd,ehci_hcd

hostapd config: /etc/hostapd/hostapd.conf:
interface=wlan0<br/>
driver=nl80211<br/>
logger_syslog=-1<br/>
logger_syslog_level=2<br/>
logger_stdout=-1<br/>
logger_stdout_level=2<br/>
dump_file=/tmp/hostapd.dump<br/>
#ctrl_interface=/var/run/hostapd<br/>
#ctrl_interface_group=0<br/>
ssid=dganic-htpc<br/>
country_code=RU<br/>
hw_mode=g<br/>
channel=11<br/>
beacon_int=100<br/>
dtim_period=2<br/>
max_num_sta=255<br/>
rts_threshold=2347<br/>
fragm_threshold=2346<br/>
macaddr_acl=0<br/>
wpa=2<br/>
wpa_passphrase=50177011aa<br/>
wpa_pairwise=TKIP CCMP<br/>
rsn_pairwise=CCMP

On startup it crashes:
[[email protected] ~]$ sudo hostapd -dd  /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
nl80211: 'nl80211' generic netlink not found
nl80211 driver initialization failed.

Can someone tell me how to fight?

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
4
4dmonster, 2011-11-06
@4dmonster

In the config driver=nl80211, and among lsmod there is no such driver.
maybe it will work like this: driver=r8712u
or (hardly) like this: driver=hostap
does wi-fi work in general? On which module?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question