Raspberry Pi rtl8192 access point - RC Groups
Shop our Airplanes Products Drone Products Sales
Thread Tools
This thread is privately moderated by Jack Crossfire, who may elect to delete unwanted replies.
Dec 07, 2012, 05:46 AM
Registered User
Jack Crossfire's Avatar

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
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>

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.
Last edited by Jack Crossfire; Dec 10, 2012 at 01:07 AM.
Sign up now
to remove ads between posts

Thread Tools

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