I'm attempting to turn my Raspberry Pi into a wireless access point, just for the fun of it

Here's a link to my blog on how I'm doing it so far.
http://sirlagz.net/?p=589
Please feel free to leave any feedback

Yep, That's one of the planned end results of this experimentsimplesi wrote:You might fancy looking at making it a simple bridge as well while your busy
e.g Download Raspbian onto a card - stick a script in the same manner as http://www.raspberrypi.org/phpBB3/viewt ... lit=edimax onto it and then Robert is a non immediate relative of you
Simon
Indeed I did buy it online, so I don't know if there's a specific brand name to it.bredman wrote:Well done. A lot of people are looking for this.
Any chance that you could link to your blog from the RPi tutorials wiki?
http://elinux.org/RPi_Tutorials
What is the brand name and product number of your WiFi device? It can be difficult to find out the chipset within a device. Did you buy it online?
Sounds funrecantha wrote:I'm trying to do the same thing. My plan is to get it so my old PDA with touchscreen can wifi connect to the Pi without the need for them both to connect to a wifi router for connectivity.
Easily. You only need Part 1 of my guide to do that actually.erniesthings wrote:With this capability, I think I can build an inexpensive portable wifi streaming media server/nas.
I've been wanting to build something like a CloudFTP or Seagate GoFlex Satellite, but with more flexibility and customization options.
Add usb HD (powered by hub), set up samba share, ftp server, OpenDAAP or GNUMP3d.
Connect with iPad or computer for streaming media on the go.
Code: Select all
Bus 001 Device 007: ID 0ace:1215 ZyDAS ZD1211B 802.11g
Code: Select all
pi@raspberrypi ~ $ hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Line 3: invalid/unknown driver 'nl80211 # The driver that is being used by the WiFi adapter, this could be different for everyone'
Line 8: invalid SSID 'RaspAP # First up, the SSID or Network name. This is what other devices will see when they try to connect.'
Line 9: unknown hw_mode 'g # I'm setting this to Wireless G mode. A, B, and G are available here.'
4 errors found in configuration file '/etc/hostapd/hostapd.conf'
Code: Select all
Module Size Used by
snd_bcm2835 21485 0
snd_pcm 82208 1 snd_bcm2835
snd_seq 59808 0
snd_timer 21905 2 snd_seq,snd_pcm
snd_seq_device 6920 1 snd_seq
snd 57668 5 snd_seq_device,snd_timer,snd_seq,snd_pcm,snd_bcm2835
snd_page_alloc 5383 1 snd_pcm
arc4 1319 2
zd1211rw 60598 0
mac80211 253889 1 zd1211rw
cfg80211 180459 2 mac80211,zd1211rw
evdev 8922 0
Try using driver zd1211rw or madwifi instead ?Faperdaper wrote:It seems my Pi has trouble with the nl80211 driver. I've tried other available drivers as well but still getting the same error. I read some of the documentation of hostapd and I think I do need this driver, maybe there is some trick I have to do with my Pi to make it work. Another option was compiling the program myself and installing the nl80211 driver, but that didn't work out for me either. During the compile process it said there were some files missing that were in the libnl-1.0pre8 package.
My wifi usb stick (drivers were already installed it seemed, because it was working pretty much out of the box)The errors I gotCode: Select all
Bus 001 Device 007: ID 0ace:1215 ZyDAS ZD1211B 802.11g
Output of lsmodCode: Select all
pi@raspberrypi ~ $ hostapd /etc/hostapd/hostapd.conf Configuration file: /etc/hostapd/hostapd.conf Line 3: invalid/unknown driver 'nl80211 # The driver that is being used by the WiFi adapter, this could be different for everyone' Line 8: invalid SSID 'RaspAP # First up, the SSID or Network name. This is what other devices will see when they try to connect.' Line 9: unknown hw_mode 'g # I'm setting this to Wireless G mode. A, B, and G are available here.' 4 errors found in configuration file '/etc/hostapd/hostapd.conf'
I'm using Raspbian.Code: Select all
Module Size Used by snd_bcm2835 21485 0 snd_pcm 82208 1 snd_bcm2835 snd_seq 59808 0 snd_timer 21905 2 snd_seq,snd_pcm snd_seq_device 6920 1 snd_seq snd 57668 5 snd_seq_device,snd_timer,snd_seq,snd_pcm,snd_bcm2835 snd_page_alloc 5383 1 snd_pcm arc4 1319 2 zd1211rw 60598 0 mac80211 253889 1 zd1211rw cfg80211 180459 2 mac80211,zd1211rw evdev 8922 0
Thanks
I installed the zd1211rw driver already, but it still didn't seem to work. I think my chipset isn't compatible with madwifi, but I could try it though.SirLagz wrote:Try using driver zd1211rw or madwifi instead ?
I used the exact same config file as in your article so I think that should be all good.SirLagz wrote:Also, it looks like you may have some errors in the configuration file...
For some reason, there seems to be a ' in front of nl80211, as well as RaspAP and gFaperdaper wrote:Code: Select all
pi@raspberrypi ~ $ hostapd /etc/hostapd/hostapd.conf Configuration file: /etc/hostapd/hostapd.conf Line 3: invalid/unknown driver 'nl80211 # The driver that is being used by the WiFi adapter, this could be different for everyone' Line 8: invalid SSID 'RaspAP # First up, the SSID or Network name. This is what other devices will see when they try to connect.' Line 9: unknown hw_mode 'g # I'm setting this to Wireless G mode. A, B, and G are available here.' 4 errors found in configuration file '/etc/hostapd/hostapd.conf'
I think that is because the error handler is just quoting where the error was found, because there are none of them in my .conf fileSirLagz wrote:For some reason, there seems to be a ' in front of nl80211, as well as RaspAP and gFaperdaper wrote:Code: Select all
pi@raspberrypi ~ $ hostapd /etc/hostapd/hostapd.conf Configuration file: /etc/hostapd/hostapd.conf Line 3: invalid/unknown driver 'nl80211 # The driver that is being used by the WiFi adapter, this could be different for everyone' Line 8: invalid SSID 'RaspAP # First up, the SSID or Network name. This is what other devices will see when they try to connect.' Line 9: unknown hw_mode 'g # I'm setting this to Wireless G mode. A, B, and G are available here.' 4 errors found in configuration file '/etc/hostapd/hostapd.conf'
Perhaps that is causing the issue ?
Thanks, that worked!bredman wrote:It looks like the config file is trying to parse the contents of the comments (after #).
Try removing # and all the text to the end of the line.