Maak je eigen igate / digipeater

Het opzetten van een eigen igate / digipeater is niet zo’n erg moeilijk klusje. Er zijn vele voorbeelden te vinden op het internet met een Raspberry PI, een oude windows of linux machine.
PI1TWE-2 en PI1SGM-2 draaien het programma aprx op een ASUS WL500Gp router. Deze routers zijn via marktplaats of hamradio beurzen voor een prikje op de kop te tikken.
Hier een neknopte beschrijving hoe je zoiets in elkaar zet.
Benodigdheden:
1 x ASUS WL500
1 x TNC met een USB aanlsuiting. (dat kan een oude TNC2S zijn met een USB naar Serieel adapter kabeltje, een TNC-X of zelfs een software modem zoasl direwolff met een USB audio dongeltje (de laatste is dan allen als igate (ontvanger) in te zetten.
144 Mhz TX/RX, zoals een oude Bosch KF162, of een telecar.
Dit artikel gaat er vanuit dat je de aansluiting tussen radio en TNC wel voor elkaar krijgt.

Openwrt & aprx installation on an ASUS router using Windows.

Download firmware
The firmware file is available here: http://www.pa0esh.nl/wordpress/?page_id=19&wpfb_cat=88#wpfb-cat-88
If you have a old grey modem, use the 8.09 version. If you have the white WL500gP then use the 14.07 (Barrier_breaker) or the latest 15.05 (chalmr_chaos) version.

The firmware name ends on trx for the ASUS WL500 series. For Linksys routers, use the bin files.
Configure the 10/100 network interface of your PC to a fixed IP address of 192.168.1.5.

Schermafdruk 2015-02-08 11.32.23

Connect the PC LAN socket to LAN1 (one of network ports) on the router.

Press the Restore button (the recessed black button on the back) on the router and turn on the router (connect the power).

black_knob

If everything is connected correctly the LED for the LAN1 interface and the power LED flash in tandem. You can now ping the router to make sure that everything is connected correctly and that the router network is available.
ping -t -w 10 192.168.1.1
Transfer the firmware file using tftp :
tftp -i 192.168.1.1 PUT {name – of – the – firmware.trx}

tftp
Whilst the firmware file is being transferred the LAN interface LED will flicker but the power LED stops flashing (i.e. it is solidly on or off).
You must wait 5-6 minutes; go grab a coffee or a beer!
If you restart the router before the 6 minutes has elapsed, there is a chance that the firmware will not have loaded properly. In this situation you have “bricked” your router. It is dead, it has ceased to be. There is nothing more you can do to save it. Be patient! I take no responsibility, if something goes wrong !
The best way to make sure that the 6 minutes has elapsed is by using the TFTP programme time – there is no substitute for a clock. Again, better late than sorry……
• restart the router (disconnect the power pack, wait 5 seconds and plug it back in) then wait another 30 seconds for the router to boot.
• connect to the router using Putty (via a fixed IP address 192.168.1.1 on the LAN port). Note: Select “telnet” when starting Putty.
You should get the welcome screen for the current version of Openwrt……
I have used the CHAOS CALMER version as an example. The imgage sits in the directory 15.05.

BusyBox v1.23.2 (2015-12-26 13:48:13 CET) built-in shell (ash)

_______ ________ __
| |.—–.—–.—–.| | | |.—-.| |_
| – || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
—————————————————–
CHAOS CALMER (Chaos Calmer, r48140)
—————————————————–
* 1 1/2 oz Gin Shake with a glassful
* 1/4 oz Triple Sec of broken ice and pour
* 3/4 oz Lime Juice unstrained into a goblet.
* 1 1/2 oz Orange Juice
* 1 tsp. Grenadine Syrup
—————————————————–
root@PA0ESH-10:~#

 

set root password
Use the passwd command to set root account password. You will need this password in the future to if you want to access the router by SSH. Once the password is set you can’t get back in using telnet so make sure you keep an note of it. Many people write the password on the router itself to be safe!
To change the password:
root@OpenWrt: /# passwd Changing password for roots
New passwords: xxxxx password: too weak Retype password: Password for roots changed by roots root@OpenWrt: /#
As you can see, the passwd program suggested that the selected password was too weak, even though it ultimately accepted it. It would be better to use a stronger password.

You can now also access the router through a web interface. Point your browser to the address 192.168.1.1 and you will ne show the welcome page of the web interface.

DNS settings
It has shown over time, that setting the google DNS servers in OpenWrt helps a lot to solve internet connection problems.
Therefore, under the network tab, set the DNS servers as 8.8.8.8 and 8.8.4.4

Connect your router to the Internet .
Once the root password is set, the WAN interface (individual network interface on the back) can be connected with the local area network (DSL and/or WLAN routing). If the router is attached to the local area network by DHCP, the router will get an IP address from the existing DSL or WLAN source. (Be sure that the internet modem or router has DHCP activated.)
You can test whether the DHCP has been successful and whether the router is connecting to the Internet by pinging a known address:
root@OpenWrt: ~# ping – C 5 www.google.com
If you see answers, then all is well.
Congratulations, open WRT with aprx 2.8.2-12 or later is now installed and operational.

Do not forget to configure the aprx.conf file in /etc. See the website of aprx on google groups for more inf

231total visits,7visits today