PyRadmon install and set up on Raspberry Pi (Wheezy Raspbian)
6 years 11 months ago #3736
by jhackeur
Replied by jhackeur on topic PyRadmon install and set up on Raspberry Pi (Wheezy Raspbian)
My bad.... Indeed, working fine now!
Thanks !!
Thanks !!
Please Log in or Create an account to join the conversation.
5 years 10 months ago #4229
by jnissen
Replied by jnissen on topic PyRadmon install and set up on Raspberry Pi (Wheezy Raspbian)
Transitioned to a Raspberry Pi Model 3B. The WiFi seems to be significantly more stable with both 2.4GHz and 5GHz bands supported. The good news is the Python program transitioned without any edits at all.
Please Log in or Create an account to join the conversation.
5 years 10 months ago #4242
by pilovis
Replied by pilovis on topic PyRadmon install and set up on Raspberry Pi (Wheezy Raspbian)
Tested on Raspberry Pi1 model B, if you launch it on foreground (/usr/bin/python /root/PyRadmon.py), it works,
but if you launch it in background (/usr/bin/python /root/PyRadmon.py > /dev/null 2>&1 &), the program stops sending any data and dies after a while.
Also if you launch it on startup (/etc/rc.local), the program stays in background, but it does not send data at all.
but if you launch it in background (/usr/bin/python /root/PyRadmon.py > /dev/null 2>&1 &), the program stops sending any data and dies after a while.
Also if you launch it on startup (/etc/rc.local), the program stays in background, but it does not send data at all.
Please Log in or Create an account to join the conversation.
- ThibmoRozier
- Offline
- Elite Member
5 years 10 months ago - 5 years 10 months ago #4243
by ThibmoRozier
Replied by ThibmoRozier on topic PyRadmon install and set up on Raspberry Pi (Wheezy Raspbian)
That's a rather odd way of running stuff on the background..
Maybe you should look into services. Not sure what you have, but look at either SystemD service scripts or use the good old /etc/init.d/ script
Let me have a look..
Let me have a look..
Last edit: 5 years 10 months ago by ThibmoRozier.
Please Log in or Create an account to join the conversation.
5 years 10 months ago #4244
by pilovis
Replied by pilovis on topic PyRadmon install and set up on Raspberry Pi (Wheezy Raspbian)
It seems I have found a solution:
crontab -e
@reboot /usr/bin/python /root/PyRadmon.py > /dev/null 2>&1
crontab -e
@reboot /usr/bin/python /root/PyRadmon.py > /dev/null 2>&1
Please Log in or Create an account to join the conversation.
5 years 10 months ago - 5 years 10 months ago #4245
by pilovis
Replied by pilovis on topic PyRadmon install and set up on Raspberry Pi (Wheezy Raspbian)
No way, it doesn't work, it only works if you launch it in foreground, it doesn't matter if you launch it as a service, from /etc/rc.local or from crontab @startup, it simply dies after a few seconds.
I tested both, 1.2.0 and 1.3.0 versions.
I tested both, 1.2.0 and 1.3.0 versions.
Last edit: 5 years 10 months ago by pilovis.
Please Log in or Create an account to join the conversation.
Moderators: Gamma-Man
Time to create page: 0.282 seconds