Linux

elinks on BeagleBone

installing and running elinks – the text mode browser – on a BeagleBone

BeagleBone is great!

BeagleBone running great

BeagleBone running great

install elinks:

wget http://www.elinks.cz/download/elinks-current-stable.tar.gz
tar - xzvf elinks-current-stable.tar.gz
cd elinks-0.11-20130125 (better press tab after elinks, the last part is the date)
./configure
make && make install

and finally get to google:

browsing the net: BeagleBone running elinks

browsing the net: BeagleBone running elinks

 

More BeagleBone linux

More Angstrom tools:

systemd, is a system and service manager, a initd replacement

systemd uses journal instead of syslog

journalctl – a “/var/log/messages” replacement

configuration file: /etc/systemd/journald.conf

journalctl can be used in conjuction with grep

opkg – the package manager, a ipkg fork

page: http://code.google.com/p/opkg/
download: http://code.google.com/p/opkg/downloads/list

updating the system :  opkg update (?)
package information: opkg info <package name>
install packages:  opkg install <package name>    (ex. samba, a good way to build windows networks)

top  – shows running tasks

top with no arguments  – shows all tasks

top -p <pid> –shows only that specific pid

nmap on BeagleBone

Installing nmap on BeagleBone

Maybe the best network scan tool available, the powerful nmap is also free.

http://nmap.org/

Install sequence:

wget http://nmap.org/dist/nmap-6.25.tgz
cd nmap-6.25
./configure
make
make install

The install procedure takes some time (>20 minutes)
To get the basic help run nmap without arguments.

nmap on BeagleBone

nmap on BeagleBone

the make step is displaying 2 errors but is ok, make install shows 1 error but it works.

BeagleBone running Matt’s traceroute – mtr

Installing mtr on a Beaglebone/Angstrom

mtr(former Matt’s traceroute) is a mix of traceroute and ping, I use it often in network diagnose. Running it on BeagleBone simplifies many things.

As a usual source install:

wget ftp://ftp.bitwizard.nl/mtr/mtr-0.82.tar.gz
tar -xzvf mtr-0.82.tar.gz
cd mtr-0.82
./configure
make
make install

well… cursesX is not available… but is ok, I don’t want to run X.

mtr running on BeagleBone

mtr running on BeagleBone

Some links:

mtr: http://www.bitwizard.nl/mtr
some wikipedia thoughts about mtr: http://en.wikipedia.org/wiki/MTR_(software)
Angstrom Distribution: http://www.angstrom-distribution.org/
Beagle Bone: http://beagleboard.org/bone
Element14 Beagle Bone Doc: http://www.element14.com/community/docs/DOC-45028/l/beaglebone-720mhz-arm-cortex-a8-neon-gpu-256-mib-ddr2-ethernet

mc on beaglebone

Midnight Commander 4.6.1 running on BeagleBone with Angstrom Distribution.

BeagleBone is a linux box. So get all the classic linux tools!

Midnight Commander on BeagleBone

Midnight Commander on BeagleBone

mc aka Midnight Commander is a visual file manager (orthodox file manager) used in console work. It is released under under GNU GPL.

For those who are not familiar with mc it is a product in the line of nc – Norton Commander, Path Minder, dn – Dos Navigator, far, Windows Commander / Total Commander.

mc v4.6.1 runs smooth on BeagleBone/Angstrom, mc v4.8.1.7 needs the S-Lang Library (http://s-lang.org) so I skipped it.

Installing mc from source is simple but it takes some time for every step, is not like installing it on a server but you have enough time to read the full output without redirecting it to a file 🙂

wget http://www.midnight-commander.org/downloads/mc-4.6.1.tar.gz
tar -xzvf mc-4.6.1.tar.gz
cd mc-4.6.1
./configure
make
make install

Useful Links:

Angstrom Distribution: http://www.angstrom-distribution.org/
BeagleBone: http://beagleboard.org/bone
Element14 BeagleBone Doc: http://www.element14.com/community/docs/DOC-45028/l/beaglebone-720mhz-arm-cortex-a8-neon-gpu-256-mib-ddr2-ethernet

Later edit:

http://feeds.angstrom-distribution.org/feeds/v2012.12/ipk/eglibc/armv7a-vfp-neon/base/mc_4.8.4-r0.2_armv7a-vfp-neon.ipk

opkg install mc

Yocto Project – Embedded Linux

It’s not an embedded Linux distribution – it creates a custom one for you.

The Yocto Project is an open source collaboration project that provides templates, tools and methods to help you create custom Linux-based systems for embedded products regardless of the hardware architecture.

http://www.yoctoproject.org

Download Mirror: http://mirrors.kernel.org/yocto/yocto/yocto-1.1.1/poky-denzil-7.0.tar.bz2

Board Support Packages: http://www.yoctoproject.org/download/all?keys=&download_type=1&download_version=

$ git clone git://git.yoctoproject.org/poky.git
RSS EETimes Semiconductor News
  • Silicon Labs to Acquire Sigma Designs December 13, 2017
    Deal focused on Z-Wave technology; Silicon Labs intends to divest or shutter other product lines.
  • Karamba Says It Can Protect CAN December 13, 2017
    Thus far, Trillium has been the sole voice promoting 30-year-old CAN bus protection. Now Karamba Security is in the game, claiming it better because SafeCAN authenticates a CAN bus-based network with "zero network overhead."
  • IoT Markets to Watch in 2018 December 13, 2017
    Predictive maintenance and asset tracking are two big IoT markets to watch in 2018 because they will provide real efficiencies and improved safety.
AdZone