USB tethering issues
martin.xu at intel.com
Wed Jan 26 02:05:54 PST 2011
> -----Original Message-----
> From: connman-bounces at connman.net
> [mailto:connman-bounces at connman.net] On Behalf Of Marcel Holtmann
> Sent: Tuesday, January 25, 2011 7:49 PM
> To: connman at connman.net
> Subject: RE: USB tethering issues
> Hi Guillaume,
> > > > I'm currently trying to test the USB tethering with connman-0.65.
> > > > I'm facing some issues and I'll appreciate your help.
> > >
> > > Before going further into debugging this issue, could you please add
> > > some debug in rtnl.c/read_uevent() to see which file it's reading, and what
> > > DEVTYPE say in the interface uevent file.
> > > Also, looking at /sys/class/net/usb0/uevent would be helpful, once you have
> > > plugged your ethernet USB dongle.
> > >
> > I've re-started my test with connman-0.67. The only changes that I've did in
> the code are the adding of traces in rtnl.c/read_uevent as suggested by
> > Please find the traces (-d "*") attach to this email.
> > We can see on it that nothing occurs when I run the enable-tethering script
> and that the bridge is never created :(
> if the bridge does not get created, then no wonder that Tethering does
> not work.
> Can you check with brctl (part of bridge-utils) that bridge support is
> available. Also check /sys/modem/bridge/ or lsmod that the either the
> bridge support is compiled in or loaded as module.
> You might just have a kernel without bridge support by accident. I think
> we used to have a MeeGo bug open for that, but that got fixed. Same
> applies for having a kernel with proper set of netfilter modules for IP
> forwarding and masquerading.
MeeGo tethering feature is still be blocked by kernel bridge support.
I have filed the bug.
In the bug, I attached my config to enable the bridge. When working on the feature I recompiled the kernel with bridge support, and tethering works fine.
More information about the connman