Hi everyone,
I'm just starting to setup an AMPRNET node and am running into some difficulty setting up a Linux gateway using the rip44d daemon and was hoping someone has some pointers.
I've been following this guide: http://wiki.ampr.org/index.php/Ubuntu_Linux_Gateway_Example and start running into trouble once I try and get the rp daemon running. I've managed to download and extract the latest tar file from: http://www.yo2loj.ro/hamprojects/ampr-ripd-1.13.tgz and it seems to compile and install fine. The next step, according to the guide, is to run ./find_pass.sh but when I do that I get the error:
Tunnel socket: Setting SO_BINDTODEVICE: No such device
I took a look at the contents of the find_pass.sh file and it seems to contain the command ./ampr-ripd -d -i ampr0 so I decided to run ./ampr-ripd -d -i eth0 from the command line and I get the message:
Waiting for RIPv2 broadcasts...
but it never prints out the "secret" password. I am running Debian Jessie as my OS and have registered a gateway on the ampr portal. Just wondering if there's something obvious I'm missing here?
Cheers, Chris VE7ALB in Victoria BC||||
On Tue, Jul 14, 2015 at 3:27 PM, Chris S. Munz-Michielin christopher@ve7alb.ca wrote:
but it never prints out the "secret" password. I am running Debian Jessie as my OS and have registered a gateway on the ampr portal. Just wondering if there's something obvious I'm missing here?
If you run tcpdump -vvv on the interface where you should receive the RIPd IPIP broadcast (usually your raw internet connection) you'll see the RIPd broadcast about every 5 minutes. In the packet decode is the password.
Thanks for the suggestion that worked! I was able to get the plaintext password.
Cheers, Chris
(Please trim inclusions from previous messages) _______________________________________________ _________________________________________ 44Net mailing list 44Net@hamradio.ucsd.edu http://hamradio.ucsd.edu/mailman/listinfo/44net
Hi Chris,
The -i parameter has to point to the IPIP tunnel interface as defined in the previous step for the password search to work. The script uses 'ampr0' as an example according to the example setup in the ampr-ripd package. This has to be adapted to your local setup (e.g. if you use tunl0).
Marius, YO2LOJ
The next step, according to the guide, is to run ./find_pass.sh but when I do that I get the error:
Tunnel socket: Setting SO_BINDTODEVICE: No such device
I took a look at the contents of the find_pass.sh file and it seems to contain the command ./ampr-ripd -d -i ampr0 so I decided to run ./ampr-ripd -d -i eth0 from the command line and I get the message:
Waiting for RIPv2 broadcasts...
but it never prints out the "secret" password. I am running Debian Jessie as my OS and have registered a gateway on the ampr portal. Just wondering if there's something obvious I'm missing here?
Cheers, Chris VE7ALB in Victoria BC||||
Thanks for the suggestion, the second thing I did was try running the command manually while specifying the interface for my Internet connection but it never printed the password. I did manage to get the password by running a tcpdump on the interface and examining the raw packets though.
Cheers, Chris
(Please trim inclusions from previous messages) _______________________________________________ Hi Chris,
The -i parameter has to point to the IPIP tunnel interface as defined in the previous step for the password search to work. The script uses 'ampr0' as an example according to the example setup in the ampr-ripd package. This has to be adapted to your local setup (e.g. if you use tunl0).
Marius, YO2LOJ
44Net mailing list 44Net@hamradio.ucsd.edu http://hamradio.ucsd.edu/mailman/listinfo/44net