H34dl3ss wrote:
> Hi!
> Sorry to resurrect this old thread, but it is pretty much the same issue
> I'm dealing with.
>
> I have a mobile setup of a squeezebox standalone server.
> It is providing a wifi access point.
> The intention is to use the pcp client with the mobile server
> occasionally, but also use the local server on regular basis.
>
> I entered this into the wpa_supplicant.conf
>
> >
Code:
--------------------
> > network={
> ssid="Network1"
> psk="password1"
> key_mgmt=WPA-PSK
> auth_alg=OPEN
> priority=2
> }
> network={
> ssid="Network2"
> psk="password2"
> key_mgmt=WPA-PSK
> auth_alg=OPEN
> priority=1
> }
> network={
> ssid="Network3"
> psk="password3"
> key_mgmt=WPA-PSK
> auth_alg=OPEN
> priority=3
> }
--------------------
> >
>
> It seems the priority=1 is ignored.
> Instead Network1 (priority=2) is picked.
> Here's the log.
>
> >
Code:
--------------------
> > Starting piCorePlayer setup...
> Loading pCP function files and pCP configuration file...Done.
> Checking for boot codes on mmcblk0p1...
> Trying to mount /dev/mmcblk0p1.
> Checking for ssh...found, ssh will start.
> Checking for netusb... newpcp.cfg not found on mmcblk0p1.
> Setting piCorePlayer repository...Done.
> Generating drop-down list...Done.
> Starting wifi...
> Starting WiFi on wlan0...
> udhcpc: started, v1.30.1
> udhcpc: sending discover
> udhcpc: sending discover
> udhcpc: sending select for 192.168.178.70
> udhcpc: lease of 192.168.178.70 obtained, lease time 864000
> deleting routers
> route: SIOCDELRT: No such process
> adding dns 192.168.178.5
> Done.
--------------------
> >
>
> Any advice is very appreciated!
>
> Edit:
> Of course, when deleting Network1 from the config, Network2 (mobile
> AP) will be connected.
> Both Networks work, but the "priority" is not respected at start-up.
I want to set my piCorePlayer up so its first priority is to connect to
my home Wi-fi, but if not available (i.e. when travelling with no Wi-fi)
it becomes its own hotspot for my phone to connect to 10.10.10.1 and
control it. I've successfully achieved both these manually in pCP, but
is there a way to alter the quoted example wpa_supplicant.conf code - or
another way - to achieve this?
Thanka
My setup:
- LMS 8.1.1 running in Docker container on Synology D218+ connected to
Wi-Fi router via LAN cable
- 1 x Squeezebox Touch, 2 x Squeezebox Radios, 1 x Squeezebox
Receiver, plus Squeeze Player and Squeeze Ctrl Android apps on Samsung
Galaxy Tab S5e and Samsung Galaxy A40 - all connecting over Wi-Fi
- LMS library either ALAC Apple Lossless (scanned in on iTunes) or
ACC/M4A 256kbps downloads from iTunes
------------------------------------------------------------------------
AndyTwizzle's Profile: http://forums.slimdevices.com/member.php?userid=53445
View this thread: http://forums.slimdevices.com/showthread.php?t=109341
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix