OK I have managed to get usbnet to work by the clumsy expedient of
stopping and starting it a second time in the start stanza
of /etc/init.d/networking...
Tim
On Thu, 2008-03-13 at 12:39 +0100, Tim Redfern wrote:
> Hi I don't know whether anyone else uses usbnet on oe,
>
> however:
>
> as configured it doesnt work (just for me?) - although the interface
> initialises and thinks its ok.
>
> if i add these lines to the relevant section
> of /etc/network/interfaces/
>
> pre-up /sbin/modprobe g_ether;/sbin/modprobe
> gumstix_gadget
> post-down /sbin/modprobe -r g_ether
>
> :: similar to the way it used to have to be configured for buildroot::
>
> now, it works, but only the SECOND time the interface is initialised!
> (either through an auto enty or manually via ifup).
>
> This, unfortuneately is no use- I need to take away the console board.
>
> can anyone think of a reason why the usbnet gadget would only work the
> SECOND time it is initialised?
>
> Tim
>
> On Wed, 2008-03-12 at 18:20 +0100, Tim Redfern wrote:
> > Hi I just installed openbedded basic image for connex.. great.. very
> > impressed.
> >
> > However usbnet isn't working for me..
> >
> > If I start the usb0 interface either with ifup, or by adding an auto
> > entry to /etc/init.d/interfaces , it comes up at the default static
> > address, and my pc (ubuntu 7.10, uses usbnet sucessfully with buildroot
> > gumstix) detects it, bringing up its own usb0 interface, which I can
> > configure as before, however it just doesnt work- pings are not replied.
> >
> > However if I manually remove and restart the g_ether module on the
> > gumstix, and restart the usb0 interface, it works perfectly as before, i
> > can ping and ssh in.
> >
> > Would seem to be some weird timing thing with the startup sequence?
> >
> > Has anyone had success with usbnet on oe?
> >
> > Tim
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > gumstix-users mailing list
> > gumstix-users@...
> > https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
|