problem to switch between wifi AP and wifi client in read-on - Raspberry Pi Forums


hello, need please.
before made raspbian read-only (witn union-fs) used these command switch between access point , wifi clinet:
ap:

code: select all

cp /etc_org/network/interfaces_ap /etc_org/network/interfaces && systemctl stop wpa_supplicant.service && systemctl start hostapd.service && systemctl start udhcpd.service && systemctl disable wpa_supplicant.service && systemctl enable hostapd.service && systemctl enable udhcpd.service && shutdown -r 
wifi client:

code: select all

cp /etc_org/network/interfaces_wpa /etc_org/network/interfaces && systemctl disable hostapd.service && systemctl disable udhcpd.service && systemctl enable wpa_supplicant.service && systemctl stop hostapd.service && systemctl stop udhcpd.service && systemctl start wpa_supplicant.service && shutdown -r 
works great when made raspbian read-only system unionfs not able switch wifi client mode anymore. (before made read only, ap mode selected).

please idea how can make working on read system too?
p.s. used steps http://blog.pi3g.com/2014/04/make-raspb ... read-only/

change commands use "etc" instead of "etc_org"
system not read per se.
union you've set work normal read-write system, except writes done in volatile ram layer, changes not persistent.


raspberrypi



Comments