True USB plug and play experience

David Reyes Samblas Martinez david at tuxbrain.com
Tue Oct 20 14:22:26 CEST 2009


ok some trial and error and it works
MacAddres is the on reported in the host though dmesg (for example,
you can also obtain it though ifconfig) and the uuid, seems arbitrary
mean while you use the same in all the scripts
Thanks  Lazlo :)

David Reyes Samblas Martinez
http://www.tuxbrain.com
Open ultraportable & embedded solutions
Openmoko, Openpandora,  Arduino
Hey, watch out!!! There's a linux in your pocket!!!




2009/10/20 David Reyes Samblas Martinez <david at tuxbrain.com>:
> Hi Lazlo
> I was trying to follow your tutorial of USB plug and play but I have a doubt,
> How did you find the UUID and the MacAddress? last  one I guess if the
> HWaddr of usb0 interface if you do Ifconfig from the freerunner  but I
> don't know where start to find the UUID thing.
> Regards and thanks a lot for the Tutorial :)
>
> David Reyes Samblas Martinez
> http://www.tuxbrain.com
> Open ultraportable & embedded solutions
> Openmoko, Openpandora,  Arduino
> Hey, watch out!!! There's a linux in your pocket!!!
>
>
>
>
> 2009/10/16 Laszlo KREKACS <laszlo.krekacs.list at gmail.com>:
>> Dear list,
>>
>> I have using my laptop+2 Freerunners since more than a
>> month now with this setup.
>>
>> I have written down this tutorial, because I have promised
>> to Paul Fertser:-)
>>
>> http://wiki.openmoko.org/wiki/User:Klaszlo#True_plug-and-play_experience_using_usb_networking
>>
>> It is working fine with ubuntu 9.04(jaunty), but I have difficulty
>> with 8.10 (intrepid) my gf's laptop, maybe
>> it is dependent on the Networkmanager version, maybe my
>> memory is a little bit fuzzy, as I setup a month ago originally.
>> So please test it and report.
>>
>> What are the achieved features you may ask, here it goes:
>> * manually assigned IP to the freerunner (no DHCP wait)
>> * each freerunner recognised and separate name is assigned to it. (ie.
>> when I plug my freerunner in my laptop, it displays "Laci's moko")
>> * a script is executed when the freerunner is plugged in
>>  (it set up the iptables rule currently for the network, but it will
>>  (in the future) also auto-sync some stuff with my laptop))
>> * I can access the internet from the freerunner without problem (no
>> need any manual command typed in the terminal)
>> * Each freerunner is recognised individually, and the appropriate part
>> of the script is executed
>>
>>
>> Please respect this work, as it took several days,
>> and some heavy help from NetworkManager's developers (namely dcbw,
>> asac and NoelJB)
>> to fully setup and debug it. It had various problems and headaches.
>>
>>
>> I hope you enjoy using it, and report back how is it going.
>> I personally love the plug and play experience.
>>
>> Best regards,
>>  Laszlo
>>
>> _______________________________________________
>> Openmoko community mailing list
>> community at lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>>
>



More information about the community mailing list