Page 2 of 8

Re: Unable to Switch Back to 'rpi-ro'

Posted: Sat Feb 02, 2019 10:32 am
by M1DNS
Guys if ur running a wired connection.
Try turning off pistar setup AP.
I've noticed recently if running wired the pi obvs isn't seeing a WiFi connection
and I believe pistar AP is holding the OS open to RW.


Were looking into this currently.

Andrew M1DNS, (Mod)


Re: Unable to Switch Back to 'rpi-ro'

Posted: Sat Feb 02, 2019 1:56 pm
by K9DJN
M1DNS wrote: Sat Feb 02, 2019 10:32 am Guys if ur running a wired connection.
Try turning off pistar setup AP.
I've noticed recently if running wired the pi obvs isn't seeing a WiFi connection
and I believe pistar AP is holding the OS open to RW.


Were looking into this currently.

Andrew M1DNS, (Mod)
Agree wholeheartedly on this. I saw the same thing when I flashed a new image and didn't turn the Auto AP feature off. I use wired connections exclusively to my hot spots, so no need for wireless.

Re: Unable to Switch Back to 'rpi-ro'

Posted: Sat Feb 02, 2019 2:17 pm
by KE0FHS
I never use a wired connection, but my hotspots are all opening in rw mode. I definitely leave Auto AP enabled, but I also use it occasionally.

Re: Unable to Switch Back to 'rpi-ro'

Posted: Sun Feb 17, 2019 5:45 pm
by W4JEW
Very interesting! I will try this and report back with my findings.


Sent from my iPhone using Tapatalk Pro

Re: Unable to Switch Back to 'rpi-ro'

Posted: Mon Feb 18, 2019 9:44 am
by PE1BVU
Hi all,

Tried this on my RPI 2b+ with DVMEGA Single HAT and a on my RPI Zero-W with Chinese single Jumbo HAT (running POCSAG).
After reboot the OS stays in "rpi-ro" after manual update or editing some files over SSH.

Seems to be the culprit....

pi-star_firewall-setting.jpg
pi-star_firewall-setting.jpg (48.32 KiB) Viewed 17698 times
pi-star_ssh.jpg
pi-star_ssh.jpg (74.19 KiB) Viewed 17698 times

I'll check my hotspots comming weeks to see if it's a stable fix.

73's
Adri

Re: Unable to Switch Back to 'rpi-ro'

Posted: Tue Feb 19, 2019 5:04 am
by PE1BVU
Update:
All of my hotspots "survived" the nightly update! They all remain in "ro" mode and i can manualy "rpi-rw" and "rpi-ro" as much as i wish.

note:
As soon as i install / restart samba on one of the hotspots the problem is back... but i can live without samba.
I used samba to view the log-files, using my windows-box but i can do that over ssh with a small script.

Anyway, thanks everyone for the tips, the "Auto AP" is the solution for me and gives me a more secure feeling
on accidental power outages during mobile operation.

73's
Adri

Re: Unable to Switch Back to 'rpi-ro'

Posted: Tue Feb 19, 2019 2:30 pm
by KE0FHS
Good detective work, Adri. Thank you!

Re: Unable to Switch Back to 'rpi-ro'

Posted: Wed Feb 20, 2019 1:12 am
by AF4FA
I went into SSH this afternoon and did a pistar-update.
The following is what I saw on the screen.
This was after the debian lists showed

Reading package Lists... Done
could not get lock /var/lib/dpkg/lock- open (11: resource temporarily unavailable)
unable to lock the administration directory (/var/lib/dpkg), is another process using it?

after the rest of the updates were done the system remained in rw mode and would not go into ro mode no matter what I tried

Re: Unable to Switch Back to 'rpi-ro'

Posted: Wed Feb 20, 2019 1:54 am
by KE0FHS
AF4FA wrote: Wed Feb 20, 2019 1:12 am I went into SSH this afternoon and did a pistar-update.
The following is what I saw on the screen.
This was after the debian lists showed

Reading package Lists... Done
could not get lock /var/lib/dpkg/lock- open (11: resource temporarily unavailable)
unable to lock the administration directory (/var/lib/dpkg), is another process using it?

after the rest of the updates were done the system remained in rw mode and would not go into ro mode no matter what I tried
When that has happened to me previously, I was able to get past it by powering off my hotspot, then powering it back on, and then re-running a Pi-Star Update followed by a Pi-Star Upgrade.

Re: Unable to Switch Back to 'rpi-ro'

Posted: Wed Feb 20, 2019 2:26 am
by AF4FA
[/quote]

When that has happened to me previously, I was able to get past it by powering off my hotspot, then powering it back on, and then re-running a Pi-Star Update followed by a Pi-Star Upgrade.
[/quote]

I tried all that but it would not go back to ro mode. I had to rebuild the sd card from scratch.