GQ Electronics Technical Support Forum Active Users: / Visits Today:
Highest Active Users:
GQ Electronics Technical Support Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 GQ Electronics Forums
 1.Geiger Counter World Map(www.GMCmap.com)
 Bash script stopped working.
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

Mercator

Netherlands
2 Posts

Posted - 08/27/2025 :  20:40:46  Show Profile  Reply with Quote
My homebrew geigerounter, built around a RPI zero uses a bash script to send the data to GMC. Worked allright until some unspecified moment. I recently found out about that. The string in the script was:

exec=`wget -O /dev/null "h_t_t_p://www.GMCmap.com/log2.asp?AID=XXXXX&GID=XXXXXXXXXXX&CPM=$line&ACPM=$gem&uSV=$sievert"`

Had to change it to:

exec=$(curl -s "h_t_t_p://www.GMCmap.com/log2.asp?AID=XXXXX&GID=XXXXXXXXXXX&CPM=$line&ACPM=$gem&uSV=$sievert" -o /dev/null)

If some other tinkerer has had the same problem, try using this approach.

(BTW remove the underscores)
   Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
GQ Electronics Technical Support Forum © Copyright since 2011 Go To Top Of Page
Generated in 0.07 sec. Snitz's Forums 2000