21 notes

Find MAC address of computers on a Network using nmap

allthingstechnical:

Find all mac address of machines on a LAN network using nmap by running the following command in a Linux terminal as root:

$ sudo nmap -sP 192.168.1.*
1 note

XBee-XBee

What I want:

  • establish a low power 100m wireless connection between Internet and arduino for a foo bar machine
  • playing around with zigbee protocol; it was mentioned in http://cre.fm/cre116

What I use:

  • 1 x Arduino Uno
  • 1x Arduino Ethernet
  • 2x XBee-Shield with XBee S2 (chip antenna)

How it works:

I received both of my devices with router/ end device firmware uploaded. I don’t get a connection from one XBee to another until I realized that it is necessary to change one XBee role to coordinator.

On the hardware side this can be done by means of the Uno circuit:

  • remove the Uno cpu
  • plug in the XBee-Shield
  • use your normal usb-arduino connection (for me it ends on the laptop side under /dev/ttyACM0)
  • for my first attempts I used cutecom (a serial terminal); play around with some AT commands.

The point with this AT* commands is that you start the session with

+++

and no line end. Than you have about 5s to change the line end to CR line end and execute the next command. The 5s are adjustable …

The XBee manual (pdf, ~150 pages) contains a complete command reference.

To upload the firmware linux guys no longer have to wine X-CTU. One can use the really nice and free

moltosenso_network_manager_iron

which can be downloaded from moltosenso.com. I got trouble with the version 0.9x but on 19th march they came up with the version 1.0. Again, to build .rpm out of the provided .dep I used alien -r as described her.

Two remarks on the upload process:

  A version is reported as "ABCD". Digits ABC 
  are the main release number and D is the revision 
  number from the main release. 
  "B" is a variant designator. The following variants 
   exist in ZNet 2.5 firmware:

  Module Firmware
  * “0" - Coordinator, AT Command Mode (AP=0) 
  * “1" - Coordinator, API Mode (AP=1,2) 
  * “2" - Router / End Device AT Command Mode (AP=0) 
  * “3" - Router / End Device API Mode (AP=1,2) 

After uploading the firmware (I also uploaded the latest router /end device firmware) you have to change at least the destination address (ATDL and ATDH) of the end device to the coordinators ATSH and ATSL. Adapt the channels, baud rate and network id (ATCH, ATBD and ATID) on both devices.

I learned a lot from this tutorial: http://vimeo.com/3508123 so many thanks to @tellart

HTH

2 notes

Sir would you please kill your self …

Sir would you please kill your self …

33 notes

XBee config works with moltosenso IRON

Network Manager IRON 1.0.0 available since 19/03/2012

——8<——————————————————————

moltosenso Network Manager™ IRON 1.0.0 is now available at the Download page, providing escaped API, automatic check for updates and more.

Check it out!

——8<——————————————————————

done!

and it works like charm after some hours of fight with old version 0.9.

It seems to be a real linux alternative to the M$ X-CTU.

The company provides a .deb version. With my opensuse I say:

  zypper in alien # 0.0 zypper in alien
  alien -r  moltosenso-network-manager-iron_1.0-0_i386.deb
  rpm -Uhv moltosenso-network-manager-iron-1.0-1.i386.rpm

A big THX to Giulio from moltosenso support!

1 note

1 note

computerkunst:

Linux file system layout

computerkunst:

Linux file system layout

12 notes

Enom ∞ Infini: Why You No Rsync!

enom:

rsync -Prn /local/dir/ /external/dir

-P = show progress and allow partial transfers
-r = traverse directories recursively
-n = dry run

So this is supposed to show me a dry run on updating files from /local/dir to /external/dir. The key here is /local/dir/ (notice the trailing slash) as it…

24 notes

$&gt; sudo obey

$> sudo obey

(via opentumble)

28 notes

wactbnotes

Today I searched an old post. I used the tumblr search without success …

So I’ve started a new blog with some couchdb, git, node.js stuff I wrote last months. This kind of posts I will dump there.

Leave a comment on

wactbnotes

or do it here. The blog is hosted on

http://www.iriscouch.com/

It’s a couchapp. Comments?

I relay hope Wittgenstein will approve.

4 notes

When You Write Your Essays in Programming Languages

able2extract:

When You Write Your Essays in Programming Languages

37 notes