HobbyKing.com New Products Flash Sale
Reply
Thread Tools
This thread is privately moderated by Jack Crossfire, who may elect to delete unwanted replies.
Old Dec 07, 2012, 04:46 AM
Registered User
Jack Crossfire's Avatar
Calif*
Joined Sep 2006
2,122 Posts
Discussion
Raspberry Pi rtl8192 access point

It doesn't work on the stock image, but there is an easy solution.


Go to http://esrlabs.com/android-transport...-raspberry-pi/ in which a buried link currently goes to
http://esrlabs.com/downloads/esrlabs...2012-10-02.zip
a magic image with versions of the networking tools which work with the rtl8192.

The serial port login is pi & passwd is raspberry.

Once that's flashed & booted, disable all the android crap & CPU hogs.

vi /etc/init.d/mdnsd
vi /etc/init.d/atc

They use dnsmasq for DHCP. Edit /etc/dnsmasq.conf to fix the IP address range.

Their networking is configured in /etc/init.d/ap. Change it to a useful IP address & bring up eth0 here.

Change hostapd to a useful ssid & encryption.

vi /etc/hostapd/hostapd.conf



This image doesn't have a useful kernel. To get runtime CPU frequency scaling & the full 512MB of RAM, you need to overwrite the /boot directory with the /boot directory from the latest image.

Mount the latest image on your desktop.

parted <image file>
unit
b
print
quit

mount -o offset=<offset in bytes of 1st partition> <image file> /mnt
scp -a /mnt/boot/* pi:/boot

The following directories aren't needed: /usr/share/doc /usr/share/icons /usr/share/scratch

Better yet, make all these changes in the ESR image.


That gives a screaming 900Mhz ARM with 512MB of RAM & full iPad compatible access point so you can make your aircraft talk to apps.

In other news, the stock image met its goal of a standalone autopilot which can be powered on anywhere with batteries suitable for the pi's 1.5A 12V requirement & flown at the press of a button.

Raspberry Pi flies Blade MCX (2 min 33 sec)



It's fortuitous that someone invested the time to make an rtl8192 access point work on the raspberry pi, but there was so much demand for such a feature, the odds were good that someone would do it. It's too bad the changes didn't make it into the main branch.
Jack Crossfire is offline Find More Posts by Jack Crossfire
RCG Plus Member
Last edited by Jack Crossfire; Dec 10, 2012 at 12:07 AM.
Reply With Quote
Sign up now
to remove ads between posts
Reply

Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion Raspberry Pi for multi rotor 360walt Multirotor Talk 15 Apr 15, 2013 09:33 AM
Discussion Raspberry pi discussion. chaosdestro0 Multirotor Talk 1 Feb 19, 2012 01:41 PM
New Product Raspberry Pi $35 Capture device or more? CzechPilot FPV Talk 6 Jan 27, 2012 02:52 PM
Discussion Raspberry Pi - Autopilot game changer? CenTexFlyer UAV - Unmanned Aerial Vehicles 10 Sep 17, 2011 04:27 PM