Step 4 – SSH Access

23 10 2012

I’ve been using the serial access since I got it working but that involves RDPing to another machine that has the serial port and is connected to the BeagleBoard-xm. Entirely doable but not ideal.

I tried to SSH (using PuTTY) to the IP of the Beagleboard-xm on port 22 and it failed. Well today I figured out that SSH is running on port 222. So there you have it.  Now I can use SSH for most of the config from my main laptop.

That is nice.


Step 3.3 – No Idea What I Did….

22 10 2012

Well I was looking for those other scripts and found how to locate the ‘nodesetup’ command.  I rand:

whereis nodesetup

and it told me it lived in:

nodesetup: /usr/local/sbin

So I hopped over there and found the following executable options:

  1. firsttime
  2. modconfig
  3. netsetup
  4. nodesetup
  5. poff
  6. pon
  7. savenode
  8. sethost
  9. svast

Everything but poff, pon, and svast seemed to make some sense. Poff and pon seemed to start and stop something… so I’ll avoid them… but svast couldn’t make head or tails of it.  So I ran it thinking there would be some user interaction that I could bail on..Well I was wrong.

The thing ran, and ran and ran and extracted files …. I have no idea what it did.

UPDATE: I know what it did now. It looks like it tar’ed and gziped a boatload of files on the node.  I checked the file output and the creation time is when I expected (about 15 minutes ago).  So I didn’t harm anything. In fact I might just have made a backup of my entire important system? I’m still not sure what svast stands for.

I expect ast = asterisk so what is sv. Still unclear but feeling better about not screwing up or replacing a boatload of files I just created.

Step 3.3 – Successful/Correct Register with AllStarLink

22 10 2012

Well those forum emails did me in!

Somehow I wasn’t registered again with the AllStarLink sometime today? Anyway, got home logged in as root on the serial cable and typed in:


And sure enough up came the node setup script! Easy-Peasy (how do you actually spell that?!).  The biggest thing that I didn’t realize but luckily had already setup is in the node information on the AllStarLink Portal the settings for the Server on the Network Configuration tab that read:

hostname and type are in fact for your local server (ie – beagleboard). Luckily for me I had already put in the same hostname I was using and DHCP was already set so when I ran nodesetup and it downloaded those settings it didn’t change anything. Excellent!

So now supposedly I can use the portal to configure the AllStarNode.  I think my next step is to locate and explore the scripts that are clearly included in pickle linux (along with Limey and ACID I presume) to see what other options are out there.  Of course I’ll post what I find.

Mailing List References

22 10 2012

Ok it is time to regroup….

So for all of us (me included) who want to build an AllStar Node the references are scattered.

Tonight I found the mailing list archives @:

But there isn’t an easy search.
So I followed these directions:
To get the whole list into Thunberbird to view, sort, and search.
As I’m on Windows I did:
1) Download all the monthly .gz files
2) Bulk un .gzip them into a single folder
3) TRICKY PART: Renamed each *.txt file to *.ck file because as it turns out the .txt files at this point are still containers that need extracting!
4) Bulk extracted the .ck files into another folder
5) navigated down the entire file path to the folder that has all the TRUE *.txt files in it
6) Ran “copy *.txt  bigtextfile.txt”
7) THEN followed the directions in how to import them into Thunderbird (NOTE ABOUT THUNDERBIRD — you have to setup one email account in Thunderbird for the proper folders to show up to follow those directions)
More or less this gives me a place to search when I have a specific question.  So far I searched and sorted by any post that has the work Beagleboard in it.  What that gave me was a set of commands that I wasn’t aware of to run.  Not all the answers but a lot more questions when they are appropriate.  At this point I *think* I’ve discovered the script I need to run to configure the node and do all this registration, etc that I’ve been trying to manually do. So that one thing if it pans out is worth it!

Step 3.2 – Register with the AllStarLink Network

21 10 2012

So I am hoping that if I can register with the AllStarNetwork some of my configuration can be done via their webpage.  So I found this page on their FAQ:

And made the changes using the following commands:

cd /etc/asterisk

pico iax.conf

Scrolled down to the line about registration and edited it to read:

Ctrl-O to “Output file” or better known as Save

it asks for the file name I left the default of iax.conf since I wanted to overwrite it.

Hit enter


Ctrl-X to exit

Now I have to restart the asterisks service…Google anyone?

Didn’t find it right away so I did what any Windows guy would do: reboot.

I issued the command “reboot -n”

I logged back in and I honestly have no idea to know if the registration worked or not….

So the other post on the FAQ about Allstar Link How-To talked about how to configure publishing my node stats online.  I want to enable this to basically see if it will help me determine what is going on!

This post:

I looked at the two options (For ACID vs Limey Linux) and the only difference appears to the be location of the command ‘wget’ I used cd and ls to determine in pickle it is located at the same location as ACID.

so I ran pico /etc/asterisk/rpt.conf (which essentially is the file the allstarnode website edits and creates and downloads for you)

I changed the line that said [9999] CHange this to your node number (so I did)

And then I scrolled down to the section that says

*** Stauts Reporting ***

And uncommented (deleted the  semi-colons at he beginning of the 2 lines) the 2 lines under ACID.

Ctrl-O to save again and then rebooted again.

My status page still says nothing. Oh well for now. I think I need to stop working on this for a while because my partner and I are leaving the house soon.

UPDATE: I edited out the A at the begining of the node number for the registration page.  Just to see if it changed anything. Doesn’t appear to but I also suspect I need to get the ports working for the admin tool webpage to work as well.

UPDATE 2: WAIT! I now appear on the node page for allstar. So I think it worked! Ok now maybe I can work on the configuration from the web page. Of course I also need to get a radio hooked up to the LOX board to even start testing….

UPDATE 3:  I read some more documentation that did say the A in front of the node number was needed so I changed it back.  I also found what ports need to be open for AllStar which is 4569 UDP per this article:

So I went ahead and created a port forward for my device with  4569 (I’m using a Buffalo Router with dd-wrt as the firmware (not the stock firmware) and it is behind a cable modem that is NOT a router. So I’m singled NATed).

I’m hoping this will allow me to use the web interface now to make changes ::fingers crossed::

Step 3.1 – Initial Linux Configuration

21 10 2012

So now that I have console I logged in using the default user name / password (root / pickle) and it to told me it was my first time logging in and did I want to run the first time login script and change some things. I said yes and the first thing it did was ask me to change my password. So I typed in a password…. and it wouldn’t take it.

passwd: Authentication token manipulation error

Over and over.  One thing indicated the drive was mounted read only and since I know the microSD card was physically writable (its how I got the image on their in the first place) I did what any Windows man would do: reboot! And sure enough this time it worked fine.

So I reset the root password, changed the hostname, and set it to DHCP for IP addressing.

Rebooted and logged back in…. and now…..

I have a console session and no idea what to do next. So at this point I’m poking through the file system to see if I can find a script a place to bind it to the allstar network so I can use the web to configure some of it….

But I’m in.

Step 2 – Getting Pickle Linux Booting – Attempt 2.5

21 10 2012


So today I mounted the BeagleBoard-xm to the LOX board. It was quite the adventure in dexterity.  Nothing complicated just the screws and mounting hardware kept moving around.

Once I got that all done I plugged in the 12 V power supply to the LOX board and it powered the Beagleboard-xm successfully.  IRonically all that work I did trying to get the exact 5V to test the BeagleBoard were moot in the long run because the folks that make the LOX board put a voltage regulator on the LOX board that accepts 6-40 volts! GOOD WORK GUYS!

The next portion of getting the board officially booted was to get a console session.  According to the pickle linux site that is a matter of using PuTTY and a straight through serial cable.  Long story short is it took me 3 trips to work to find a straight through serial cable to work but setting PuTTY up with the following configuration gave me a console login!

PuTTY Config

That fired up and I saw a Login! BOOT SUCCESS!