Tips, get allocated device IP for mac OS X Internet share

Short story, I’m updating a Laird gateway connected to my mac book and using the Wifi connection to reach Internet. I need to get the allocated IP to access it using the web UI.

I found two ways (only one working) on Internet:

[~] ping 192.168.2.255

This way, you can get different devices responding to the ping broadcast and list the addresses. I’ve got nothing interesting but it’s good to know.

[~] arp -i bridge100 -a
? (192.168.2.5) at (incomplete) on bridge100 ifscope [bridge]
? (192.168.2.9) at xx:xx:xx:xx:44:dd on bridge100 ifscope [bridge]
? (192.168.2.99) at (incomplete) on bridge100 ifscope [bridge]

Here we have a device responding on 192.168.2.9 where the Laird is.

Download Arduino 1.5.8 Beta for Mac Os X

arduino_logoAfter having update my Mac Os X, the java 6 have been removed and unfortunately Arduino request to use it. Personally I’m not really happy to install this not even more supported version of Java on my machine.

I was looking for the 1.5.8 Beta made for Java 7. I was not able to download it as the download stops in the middle even if I have a really good transfer rate at the beginning.

It seems that there is no mirror for Arduino (waouhou !! what that sh*t ?!?) and it seems this download problem is not really new. Here is the solution obtained from here. Use command line curl program:

curl -LOGC - http://arduino.cc/download.php?f=/arduino-1.5.8-macosx-java7.zip

The last step to be able to use it is to install Java from java.com

Go angular.js on mac os X from scratch

To go angular.js on Mac Os X from scratch, you need to do a couple of installation task ; After spending a full afternoon I can tell you it is not as easy as on Linux but now it works. Hope these line will help you to fire it in less than 15 minutes.

Continue reading

Promiscious mode wifi capture on iMac with Atheros 5416

Sound a old hardware, but as it is not the first time I have issue to dump (tcpdump or wireshark) wifi connection on promiscuous mode, I prefer to write it once of all … It is not working !!!

If any of you have a solution to make it works, I’ll be happy to update this post. For the others, I expect you will loss less time searching and trying.

I’ve try to change the rights on the /dev/bfp* devices

I’ve try to use tcpdump -i en1 host xx.xx.xx.xx instead of wireshark

And at the end, I finally just got the broadcast traffic and the local traffic.