Public bug reported:

When I switch on Internet Sharing with an HTC Diamond phone (WM 6.1) a
cannot do a dhcp.

Here's the relevant message in dmesg

[   16.373061] rndis_host 2-4:1.0:  dev can't take 1558 byte packets
(max 1536)

This bug have been sent 1 year ago to the synce mailing list but no fix
has been commited since ubuntu 8.04

I have found a fix to use my phone, but I think it isn't a clean one :

If you compile rndis_host.c  and comment the " goto fail " line this :

        if (tmp < dev->hard_mtu) {
                dev_err(&intf->dev,
                        "PATCHED !!! dev can't take %u byte packets (max %u)\n",
                        dev->hard_mtu, tmp);
                /* goto fail; */
        }

and remove the original driver :

sudo rm
/lib/modules/2.6.28-13-generic/kernel/drivers/net/usb/rndis_host.ko

It works !

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
HibernationDevice: RESUME=UUID=586ecc37-d256-43f6-9009-f8e5abe91634
MachineType: Dell Inc. Latitude E4200
Package: linux-image-2.6.28-13-generic 2.6.28-13.44
ProcCmdLine: root=UUID=e5f42db9-d5e5-40b6-bf75-401871f45cd6 ro quiet splash
ProcEnviron:
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.28-13.44-generic
SourcePackage: linux

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
RNDIS : Internet Sharing not work with HTC Diamond
https://bugs.launchpad.net/bugs/391169
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to