"ext Andrea Grandi" <[EMAIL PROTECTED]> writes:

> When I try to do this on my PC, I get these errors:
>
> 1) I bring up usb0 on tablet using the control panel applet
>
> 2) I connect the usb cable to both PC and tablet
>
> 3) I do this:
>
> [EMAIL PROTECTED]:/home/andy80# ifup usb0
> usb0: ERROR while getting interface flags: No such device
> SIOCSIFADDR: No such device
> usb0: ERROR while getting interface flags: No such device
> SIOCSIFNETMASK: No such device
> SIOCSIFBRDADDR: No such device
> usb0: ERROR while getting interface flags: No such device
> usb0: ERROR while getting interface flags: No such device
> Failed to bring up usb0.

Did you get these errors from from your PC or tablet? I didn't quite
understand that.

I'm guessing that you did that on your PC and it happened because
cdc_ether module was missing.

> The device should be ok: g_ether module is loaded and usb0 interface
> (with ip 192.168.2.15) is up.
> I think the problem is my Ubuntu, because if I try to bring up the
> same module, I get this error:
>
> [EMAIL PROTECTED]:/home/andy80# modprobe g_ether
> FATAL: Error inserting g_ether
> (/lib/modules/2.6.24-19-generic/kernel/drivers/usb/gadget/g_ether.ko):
> No such device

g_ether is the gadget side driver, you shouldn't use that on your PC.
On PC side you should use cdc_ether module. On my debian box it's
loaded automatically, but I don't why it didn't happen for you. Try
reinserting USB cable, for example.

Outputs from 'ifconfig -a', 'lsmod' and 'dmesg', both from the PC and
the tablet, help diagnose the problem better.

-- 
Kalle Valo
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to