====== Hackers Hub ====== Hackers Hub is a private hub of GMRS Radios for trusted family, friends, and individuals known to the group. Operating around the United States, it is a tight-knit group of nerds who love to dabble in radio. ===== Node Setup ===== While the process isn't perfected yet, the node setup is pretty straight forward. We're using an image obtained by another GMRS group and modifying it to be our own. If you have issues contact malware or gibby for assistance. The walkthrough below isn't exhaustive but its a good start. Having some knowledge in linux and how computers work will be helpful. ==== Initial Config ==== * Download GMRS Image from here [[https://www.gmrslive.com/index.php/downloads/]] * Burn to SDcard, [[https://etcher.balena.io/]] if you need something to do that for you * Boot and ssh in * default user/pass is root:root, default SSH port is 222 * First Time? Yes * Yes * Change root password? * Change as needed * Configure asterisk * Yes * Change timezone? * Change as needed * Change hostname? * Change as needed * Change IP? * Change as needed * Change SSH port? * Change as needed **REBOOT** ==== Asterisk Menu Config ==== login with root / new password * First time astrisk configuration? * yes * Enter node number? * This is the number given to you from gibby, NOT A NODE NUMBER FROM GMRSLIVE OR ANYWHERE ELSE * Node number change? * Yes * Node number type/is this a private node? * Yo * Re-enter your node number * Select CW or Voice: change to your preference * CW is morse code and Voice is a robot woman reading things out * Set Bind port * leave to 4569 unless you wish to change it * Duplex Setting * Semi-half * Enter node password * leave blank * IAXRPT password, do you want to configure a password? * No * Review Simple USB Config? * No * Restart Asterisk? * Yes ==== Asterisk Bash Config ==== Enter bash shell ''#crontab -e'' enter your zipcode before $NODE1 i.e.: ''00 0-23 * * * (source /usr/local/etc/allstar.env ; /usr/bin/nice -19 /usr/bin/perl /usr/local/sbin/saytime.pl 60606 $NODE1 > /dev/null)'' Navigate to the astrisk directory ''#cd /etc/asterisk'' Editing the rpt: ''/etc/asterisk/rpt.conf '' Validate the config: ''[1998] => [AssignedNodeNumber]'' If 1998 is still present, find/replace 1998 with your assigned node number. In nano, this can be done using the CTL+\ command, 1998, NODENUMBER, A If needed, add node definitions for all the other nodes on your local network. For example, the server node is 1500, and my other node is 1501. Example: ''[nodes]'' ''1000 = radio@127.0.0.1/1000,NONE ; This is the node number assigned to you. Replace 1000 with your number number i.e., if you are node 1188 the line should look like: 1188 = radio@127.0.0.1/1188,NONE'' ''1500 = radio@:4569/1500,NONE ; This is the Hackers Hub Ensure 1500 is added, it is how you connect to the hub '' save/exit Edit iax.conf comment out the following line to show: '';register => 1998:@register.gmrslive.com'' save/exit edit manager.conf make the following changes: ''webenabled = yes'' '';bindaddr = 127.0.0.1 ; Local interface only!'' ''bindaddr = 0.0.0.0 ; Not secure'' ''secret = SUPERMONPASSWORD'' ; Alphanumeric, no more than 8 characters, no specials Navigate to sbin /usr/local/sbin/astdb.php Edit the astdb.php file Change the url path from ''http://register.gmrslive.com/cgi-bin/privatenodes.txt to http://domain/privatenodes.txt'' Execute astdb.php ''#./astdb.php'' ==== Supermon Config ==== Navigate to the supermon directory ''#cd /srv/http/supermon/'' edit allmon.ini make the following changes ''[1998]'' => ''[YOUR NODE NUMBER]'' ''passwd = SUPERMONPASSWORD'' ; Alphanumeric, no more than 8 characters, no specials ''[1999]'' stanza: menu=no ''[All Nodes]'' Stanza: nodes=YOURNODENUMBER ''[lsNodes]'' Stanza: ''url="/cgi-bin/lsnodes_web?node=YOURNODENUMBER"'' ''[GMRS Live Status]'' Stanza: menu=no ''[GMRS Live Facebook]'' Stanza: menu=no Enter the command: ''# astres.sh'' While not needed, you can edit ''common.inc'' and ''global.inc'' to you liking. These are purely for visuals on the supermon page. issue the following command in the web directory: ''#htpasswd -cB .htpasswd admin'' ; Alphanumeric, no more than 8 characters, no specials ''enter the supermon admin password'' CTRl+D Setup wifi to your liking. if needed (option 7) **REBOOT AND PLUGIN RADIO HAT DURING THE REBOOT** ==== Radio Config ==== Install dependencies for serial interface for SRFRS ''pacman -Sy python-pyserial'' ''git clone https://github.com/jumbo5566/SRFRS.git'' ''#cd SRFRS'' ''python srfrs.py radio --frequency 462.6750 --squelch 2 --ctcss 141.3'' ;set the above to your desired freq, squelch and ctcss tones, make sure its not on a freq being used locally! ''python srfrs.py volume --level 8'' ;set to your desired volume level exit to main menu select option 12 change the following ''J) Change COSFROM Mode (currently "usbinvert")'' ''L) Change CTCSSFROM Mode (currently "ppinvert") '' set radio to frequency above & configure ctcss tone blip TX, you'll hear the radio module give you a beep acknowledgement ==== Supermon Finalization ==== Open a browser and navigate to the rpi's IP address: http://IP/supermon and click login. You will want to click on the node number after you've successfully logged in for it to load the buttons. In the connect text box, enter 1500, check Permanent, click connect You are now connected to the Hacker Hub, say hello