RPi + Runeaudio +Wifi as Accesspoint

Raspberry Pi related support

RPi + Runeaudio +Wifi as Accesspoint

Postby Stino » 10 Mar 2015, 18:34

I'd like to make a portable DAP with the RPI and a dac connected via I2S with it's own USB dongle for storage and a battery. Connect to the RPI via a phone or tablet via Wifi. So the wireless interface is only there for control not to stream content.

Therefor I'd like to configure an Accesspoint on top of the Runeaudio image. The question is, will this work or will it mess up Runeaudio?

This instruction looks good:
https://learn.adafruit.com/setting-up-a ... l-software

Any suggestions?
Stino
 
Posts: 17
Joined: 26 May 2014, 15:09

Re: RPi + Runeaudio +Wifi as Accesspoint

Postby cmh714 » 11 Mar 2015, 03:34

cmh714
 
Posts: 276
Joined: 04 May 2014, 03:06

Re: RPi + Runeaudio +Wifi as Accesspoint

Postby BAZA » 11 Mar 2015, 10:51

It's my own way to setting Wireless LAN 802.11N -Realtek RTL8188CU chip used on RuneAudio.
I was modified two files related netwoork profile.
In Putty program SSH conected.

1.
cd / ↓
cd /usr/lib/network ↓
nano globals↓
.
.
done < find -L " )"
#This line texts revised like bottom texts -122nd line rows or nearby in terminal.
.
.
done
find -L " "
# Remove last syntex )

ctrl + o ↓
ctrl + x ​↓

2.
cd /↓
cd /usr/bin↓
nano wifi-menu↓
.
.
done < < (list_profiles)
#This line texts revised like bottom texts - 62nd line rows or nearby in terminal.
.
.
done < "list_profiles"
ctrl + o ↓
ctrl + x ​↓
3.
sh wifi-menu -o↓
http://blog.naver.com/inatec/220297176237
#OK and SAVE on screen.
4.
ls /etc/netctl↓
# Identify Wireless Network Profile Name "wlan0-iptime" (iptime : MyWirelessNetwork)
5.
netctl start wlan0-iptime↓
6.
shutdown -r now↓
# It will reboot.
7.
Chrome Browser > Rune Audio > "MENU" dropdown menu . "Network" button click.
8.
Scanning work processed. Wire network and wireless network Conected. Setting finished.

"MENU" > "Turn off" > "REBOOT"

9.
# In Putty program SSH conected

ifconfig ↓

# Check wireless IP address.

"MENU" > "Turn off" > "POWER OFF"

# Remove Ethernet -wire network line.
# Power on.

10.
Chrome > "http:// "Wireless IP address" > Play Rune Audio'UI

Fin. Thanks!
BAZA
 
Posts: 1
Joined: 10 Mar 2015, 05:11

Re: RPi + Runeaudio +Wifi as Accesspoint

Postby Stino » 11 Mar 2015, 15:38

Great to read this will work, I'll give it a go.

Thanks guys.
Stino
 
Posts: 17
Joined: 26 May 2014, 15:09

Re: RPi + Runeaudio +Wifi as Accesspoint

Postby JoJoWhatsUp » 09 Aug 2016, 16:09

The introduction from BAZA is to set WLAN in a strange way (maybe for an older version of runeAudio)

It would be a great feature, if the rune-audio dev. team will implement the access-point (dhcp-server) in the webinterface.

best regards
jojo
JoJoWhatsUp
 
Posts: 1
Joined: 09 Aug 2016, 16:03

Re: RPi + Runeaudio +Wifi as Accesspoint

Postby johnbanks » 10 Aug 2016, 14:23

I second that request.

But this looks promising ...

https://bbs.archlinux.org/viewtopic.php?pid=1269258
johnbanks
 
Posts: 124
Joined: 11 Jun 2014, 00:16

Re: RPi + Runeaudio +Wifi as Accesspoint

Postby hondagx35 » 10 Aug 2016, 15:00

Hi all,

i have a first demo running on my RP2 with latest image.
It works like this:
- after booting the system tests if an IP address is assigned on one of the interfaces (eth and wlan).
- if no IP is assigned the system starts an AccessPoint (AP) on interface wlan0.
- wlan does not switch back to station mode until you reboot
- you can not scan the nearby APs while in this mode (technical reason)

Is this what you like to have, or do you need more?
Should we start the AP even if an IP is assigned to ethernet?
Do we need the AP "bridged" or "NATed" over ethernet?

Please let me know your opinion.

Frank
User avatar
hondagx35
 
Posts: 2690
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: RPi + Runeaudio +Wifi as Accesspoint

Postby johnbanks » 10 Aug 2016, 22:46

Frank ...

Firstly thx for being so responsive and for all you do on the forum and in developing RuneAudio.

My inclination is to keep things as simple as possible – at lot of users will want RuneAudio in a car or holiday home, etc without wifi. So no internet sharing and no music streamed over a network but just from a USB stick or drive. And probably no need even for a security passphrase.

The following link is informative ...

https://wiki.archlinux.org/index.php/Software_access_point

It gives a good reminder that your wireless adaptor must support AP operating mode and perhaps for using a NATed arrangement.

Keeping it simple & user friendly suggests to me there should be a separate ‘non streaming’ image in addition to the current ‘streaming’ image.

Hope this helps

PS: the link above refers to the create_ap script used by cmh714 in his procedure which I’ll try over the next few days:

http://www.runeaudio.com/forum/hostapd-configuration-wifi-hotspot-setup-t567.html
johnbanks
 
Posts: 124
Joined: 11 Jun 2014, 00:16

Re: RPi + Runeaudio +Wifi as Accesspoint

Postby hondagx35 » 10 Aug 2016, 23:16

Hi johnbanks,

My inclination is to keep things as simple as possible – at lot of users will want RuneAudio in a car or holiday home, etc without wifi. So no internet sharing and no music streamed over a network but just from a USB stick or drive.

So my solution should be the way to go.

hondagx35 wrote:It works like this:
- after booting the system tests if an IP address is assigned on one of the interfaces (eth and wlan).
- if no IP is assigned the system starts an AccessPoint (AP) on interface wlan0.
- wlan does not switch back to station mode until you reboot
- you can not scan the nearby APs while in this mode (technical reason)


No need for fancy scripts and other tweaks.
Tested on RP2/3 with latest image (modified) and with these wifi dongles:
- EDIMAX EW-7811UN
- D-LINK DWL-G122
- RP3 integrated wifi

I'll post a howto very soon.

Frank
User avatar
hondagx35
 
Posts: 2690
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: RPi + Runeaudio +Wifi as Accesspoint

Postby dror » 12 Aug 2016, 15:34

Do we need the AP "bridged" or "NATed" over ethernet?


Yes we DO NaTed ! :lol: :lol:
dror
 
Posts: 94
Joined: 03 Dec 2015, 10:14

support RuneAudio Donate with PayPal

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 0 guests