Setting up AP on Rasberry Pi

Development on core packages and the distribution goes on in here.

Setting up AP on Rasberry Pi

Postby MrGreen » Sat Sep 14, 2013 11:16 am

Did not have much luck with my other usb wifi dongle (see viewtopic.php?f=7&t=6100). Decided to buy a different make and model. Trying to get hostapd working posting all information I can think of, anything else please ask.

$this->bbcode_second_pass_code('', '[archpi@alarmpi ~]$ lsmod
Module Size Used by
nfsd 229251 13
arc4 1708 2
rt2800usb 14984 0
rt2800lib 55575 1 rt2800usb
rt2x00usb 11228 1 rt2800usb
rt2x00lib 42538 3 rt2x00usb,rt2800lib,rt2800usb
mac80211 438030 3 rt2x00lib,rt2x00usb,rt2800lib
spidev 5240 0
cfg80211 189657 2 mac80211,rt2x00lib
crc_ccitt 1554 1 rt2800lib
leds_gpio 2283 0
led_class 3594 2 leds_gpio,rt2x00lib
spi_bcm2708 4852 0
i2c_bcm2708 3931 0
snd_bcm2835 16369 0
snd_pcm 77460 1 snd_bcm2835
snd_page_alloc 5185 1 snd_pcm
snd_timer 19798 1 snd_pcm
snd 58423 3 snd_bcm2835,snd_timer,snd_pcm
bcm2708_rng 1029 0
rng_core 3864 1 bcm2708_rng
ipv6 297976 0
[archpi@alarmpi ~]$ lsusb
Bus 001 Device 004: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. LAN9500 Ethernet 10/100 Adapter / SMSC9512/9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[archpi@alarmpi ~]$ sudo hostapd ~/hostapd-test.conf
Configuration file: /home/archpi/hostapd-test.conf
Line 5: invalid/unknown driver 'nl80211 '
1 errors found in configuration file '/home/archpi/hostapd-test.conf'
[archpi@alarmpi ~]$ more hostapd-test.conf
interface=wlan0
ssid=MyAP
hw_mode=g
channel=1
driver=nl80211
[archpi@alarmpi ~]$
')

Could do with some help getting my Pi to work as a stand alone server for in my car (media player)... am I doing anything wrong or missing something?
MrGreen
 
Posts: 54
Joined: Sun Dec 25, 2011 12:55 pm

Re: Setting up AP on Rasberry Pi

Postby WarheadsSE » Sat Sep 14, 2013 2:17 pm

Are there spaces in the Driver line, as indicated by the output?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Setting up AP on Rasberry Pi

Postby MrGreen » Sat Sep 14, 2013 2:19 pm

Will check, am trying to set up wifi on raspbain but its turning into a real pain.
MrGreen
 
Posts: 54
Joined: Sun Dec 25, 2011 12:55 pm

Re: Setting up AP on Rasberry Pi

Postby MrGreen » Sat Sep 14, 2013 2:24 pm

$this->bbcode_second_pass_code('', 'Configuration file: /home/archpi/hostapd-test.conf
nl80211: Failed to set interface wlan0 into AP mode
nl80211 driver initialization failed.
')

After removing spaces from driver line :oops:
MrGreen
 
Posts: 54
Joined: Sun Dec 25, 2011 12:55 pm

Re: Setting up AP on Rasberry Pi

Postby MrGreen » Sat Sep 14, 2013 2:51 pm

Yet I get

$this->bbcode_second_pass_code('', ' iwconfig
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on

lo no wireless extensions.

eth0 no wireless extensions.

ifb0 no wireless extensions.

ifb1 no wireless extensions.
')
MrGreen
 
Posts: 54
Joined: Sun Dec 25, 2011 12:55 pm

Re: Setting up AP on Rasberry Pi

Postby MrGreen » Sat Sep 14, 2013 6:39 pm

Found this guide on the web that seems to be working (even though its under Raspbian)

http://www.rpiblog.com/2012/12/turn-ras ... ccess.html

Back to testing
MrGreen
 
Posts: 54
Joined: Sun Dec 25, 2011 12:55 pm


Return to Arch Linux ARM

Who is online

Users browsing this forum: No registered users and 29 guests