2008.12 and USB network Ubuntu Intrepid
Pander
pander at users.sourceforge.net
Mon Dec 22 23:11:00 CET 2008
What complete set of configuration changes and shell scripts are you
using? Please update the Wiki if it is out of date because once I got it
running and now (because I'm not a networking/iptables crack) it is not
anymore. Thanks.
Simon Kagstrom wrote:
> On Mon, 22 Dec 2008 02:51:35 -0800 (PST)
> Bernt <bernt at trash-mail.com> wrote:
>
>>> On FR I've installed 2008.12 and on my laptop Ubuntu Interpid with
>>> wicd.
>>>
>> I have to use `sudo ifdown usb0` and `sudo ifup usb0`
>> every time I reboot or unplugged the usb cable from my freerunner.
>> It's not so nice, but you can give it a try until there is a solution
>> again for automatic reconnect.
>
> Probably there is some proper fix to get this running "cleanly", but I
> resorted to a simple script that simply configures the interface when I
> plug in the freerunner. It's found below and I just start it manually
> once after logging in.
>
> // Simon
>
>
> #!/bin/sh
>
> echo "Starting ifcfg daemon"
> while [ 1 ]; do
> tail -F /var/log/kern.log | grep -lq "usb0: register 'cdc_ether'"
> if [ $? -eq 0 ]; then
> echo "Setting up usb0"
> /sbin/ifconfig usb0 192.168.0.200
> else
> sleep 1
> fi
> done
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
More information about the community
mailing list