{"action":"created","issue":{"url":"https://api.github.com/repos/wb2osz/direwolf/issues/100","repository_url":"https://api.github.com/repos/wb2osz/direwolf","labels_url":"https://api.github.com/repos/wb2osz/direwolf/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/wb2osz/direwolf/issues/100/comments","events_url":"https://api.github.com/repos/wb2osz/direwolf/issues/100/events","html_url":"https://github.com/wb2osz/direwolf/issues/100","id":228565583,"node_id":"MDU6SXNzdWUyMjg1NjU1ODM=","number":100,"title":"dw-start.sh script isseu ","user":{"login":"PD0RBO","id":28691396,"node_id":"MDQ6VXNlcjI4NjkxMzk2","avatar_url":"https://avatars1.githubusercontent.com/u/28691396?v=4","gravatar_id":"","url":"https://api.github.com/users/PD0RBO","html_url":"https://github.com/PD0RBO","followers_url":"https://api.github.com/users/PD0RBO/followers","following_url":"https://api.github.com/users/PD0RBO/following{/other_user}","gists_url":"https://api.github.com/users/PD0RBO/gists{/gist_id}","starred_url":"https://api.github.com/users/PD0RBO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PD0RBO/subscriptions","organizations_url":"https://api.github.com/users/PD0RBO/orgs","repos_url":"https://api.github.com/users/PD0RBO/repos","events_url":"https://api.github.com/users/PD0RBO/events{/privacy}","received_events_url":"https://api.github.com/users/PD0RBO/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2017-05-14T19:55:36Z","updated_at":"2018-10-14T23:52:23Z","closed_at":null,"author_association":"NONE","body":"Just putting it out there, I'm a novice regarding Linux at configuring level.\r\n\r\nI've got Direwolf and RTL-SDR running on a Orange Pi Zero and ARMbian.\r\n\r\nRunning the .sh is giving me:\r\n$ ./dw-start.sh\r\nDirewolf in CLI mode start up\r\nThere is a screen on:\r\n        3727.direwolf   (05/14/2017 07:17:06 PM)        (Detached)\r\n1 Socket in /var/run/screen/S-usr.\r\n-----------------------\r\n$\r\n\r\nDirewolf and rtl_fm don't seem to be running from there.\r\n\r\nIn the script I already changed 'screen -d -m -S' into '-dmS'\r\n\r\nMaking a detached screen and running rtl_fm and direwolf from there works just fine.\r\n"},"comment":{"url":"https://api.github.com/repos/wb2osz/direwolf/issues/comments/429674018","html_url":"https://github.com/wb2osz/direwolf/issues/100#issuecomment-429674018","issue_url":"https://api.github.com/repos/wb2osz/direwolf/issues/100","id":429674018,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTY3NDAxOA==","user":{"login":"dirkbeer","id":6425332,"node_id":"MDQ6VXNlcjY0MjUzMzI=","avatar_url":"https://avatars3.githubusercontent.com/u/6425332?v=4","gravatar_id":"","url":"https://api.github.com/users/dirkbeer","html_url":"https://github.com/dirkbeer","followers_url":"https://api.github.com/users/dirkbeer/followers","following_url":"https://api.github.com/users/dirkbeer/following{/other_user}","gists_url":"https://api.github.com/users/dirkbeer/gists{/gist_id}","starred_url":"https://api.github.com/users/dirkbeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirkbeer/subscriptions","organizations_url":"https://api.github.com/users/dirkbeer/orgs","repos_url":"https://api.github.com/users/dirkbeer/repos","events_url":"https://api.github.com/users/dirkbeer/events{/privacy}","received_events_url":"https://api.github.com/users/dirkbeer/received_events","type":"User","site_admin":false},"created_at":"2018-10-14T23:52:23Z","updated_at":"2018-10-14T23:52:23Z","author_association":"NONE","body":"I had the same problem on a Raspberry Pi. Another solution is to replace\r\n\r\n`DWCMD=\"bash -c 'rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1 -'\"`\r\n \r\nwith a function:\r\n\r\n`dwcmd() {\r\n   bash -c 'rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1 -'\r\n}`\r\n\r\nand to replace\r\n\r\n`$SCREEN -d -m -S direwolf $DWCMD >> $LOGFILE`\r\n\r\nwith\r\n\r\n`$SCREEN -d -m -S direwolf $(dwcmd) >> $LOGFILE`\r\n\r\nThis is the better/safer way to implement things according to [https://stackoverflow.com/questions/43752854/bash-pipe-character-in-variable-for-command-substitution](url)\r\n\r\nKX3F"}}
{"actor":{"display_login":"dirkbeer"}}