Day 11 of 30DaysOfCreativity - Radio PI part 4

Nikolaus Gradwohl2013-06-11T05:53:23+00:00

Today I managed to get the wlan part of the raspberry pi based car radio for my friends typ 3 wilson working. I used a R8187U based wlan stick from belkin (Belkin N150 WLAN USB-Adapter) and configured an ad-hoc network. I initially intended to create a wlan access point like described here, but I hostapd didn´t want to cooperate :-/

wilson access point

to start the ad-hoc network at boot I changed /etc/network/interfaces to look like this

auto lo wlan0

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet static
address 192.168.1.1
netmask 255.255.255.0
wireless-mode ad-hoc
wireless-essid WILSON
wireless-channel 1
wireless-enc off
wireless-ap auto

I also installed dnsmasq to use it as a dhcp server. In the file /etc/dnsmasq.conf I changed the device to wlan0 and the dhcp_range looks like this

dhcp-range=192.168.1.2,192.168.1.150,12h

Now I can connect my IOS devices to the wilson´s WLAN and stream music to the airplay client I´ve installed in part 2

Tweet This! submit to reddit Digg! Tags: | no comments | no trackbacks

See also:

Day 30 of 30DaysOfCreativity - RadioPI interface module
Day 28 of 30daysofcreativity - testing the radiopi software
Day 27 of 30daysofcreativity - testing the amp module
Day 26 of 30DaysOfCreativity - prototyping the controls
Day 24 of 30DaysOfCreativity - a breadboard arduino

Trackbacks

Comments

Leave a response

Leave a comment