我正在工作站上安装 Ubuntu 14.10。
由于我没有 wifi 卡,所以我使用华为 mate 进行 USB 网络共享。手机是 Android kitkat 4.4.2
Network-Manager 正确设置了连接,奇怪的是下载速度最高可达 40KB/秒。实际上,无论是在手机上还是在 PC 上,都没有其他进程占用带宽。在 Fedora 20 上也发生了同样的事情。在 Windows 上,连接速度为 300 KB/秒,在 OSX 和手机上也是如此。
ubuntu@ubuntu:~$ lsusb
Bus 002 Device 005: ID 046b:ff10 American Megatrends, Inc. Virtual Keyboard and Mouse
Bus 002 Device 004: ID 046b:ff01 American Megatrends, Inc.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 12d1:1050 Huawei Technologies Co., Ltd.
Bus 001 Device 002: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub</code>
ubuntu@ubuntu:~$ dmesg | grep usb
[ 0.728139] usbcore: registered new interface driver usbfs
[ 0.728149] usbcore: registered new interface driver hub
[ 0.728169] usbcore: registered new device driver usb
[ 4.401783] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 4.401785] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.401786] usb usb1: Product: EHCI Host Controller
[ 4.401788] usb usb1: Manufacturer: Linux 3.16.0-23-generic ehci_hcd
[ 4.401789] usb usb1: SerialNumber: 0000:00:1a.7
[ 4.417772] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 4.417774] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.417775] usb usb2: Product: EHCI Host Controller
[ 4.417777] usb usb2: Manufacturer: Linux 3.16.0-23-generic ehci_hcd
[ 4.417778] usb usb2: SerialNumber: 0000:00:1d.7
[ 4.418210] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 4.418211] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.418213] usb usb3: Product: UHCI Host Controller
[ 4.418214] usb usb3: Manufacturer: Linux 3.16.0-23-generic uhci_hcd
[ 4.418216] usb usb3: SerialNumber: 0000:00:1a.0
[ 4.418573] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 4.418575] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.418576] usb usb4: Product: UHCI Host Controller
[ 4.418578] usb usb4: Manufacturer: Linux 3.16.0-23-generic uhci_hcd
[ 4.418579] usb usb4: SerialNumber: 0000:00:1a.1
[ 4.418949] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[ 4.418951] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.418953] usb usb5: Product: UHCI Host Controller
[ 4.418954] usb usb5: Manufacturer: Linux 3.16.0-23-generic uhci_hcd
[ 4.418955] usb usb5: SerialNumber: 0000:00:1a.2
[ 4.419282] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[ 4.419284] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.419285] usb usb6: Product: UHCI Host Controller
[ 4.419287] usb usb6: Manufacturer: Linux 3.16.0-23-generic uhci_hcd
[ 4.419288] usb usb6: SerialNumber: 0000:00:1d.0
[ 4.419646] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[ 4.419648] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.419650] usb usb7: Product: UHCI Host Controller
[ 4.419651] usb usb7: Manufacturer: Linux 3.16.0-23-generic uhci_hcd
[ 4.419652] usb usb7: SerialNumber: 0000:00:1d.1
[ 4.419964] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
[ 4.419966] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.419968] usb usb8: Product: UHCI Host Controller
[ 4.419969] usb usb8: Manufacturer: Linux 3.16.0-23-generic uhci_hcd
[ 4.419971] usb usb8: SerialNumber: 0000:00:1d.2
[ 4.713933] usb 1-2: new high-speed USB device number 2 using ehci-pci
[ 4.846849] usb 1-2: New USB device found, idVendor=0781, idProduct=5567
[ 4.846852] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.846854] usb 1-2: Product: Cruzer Blade
[ 4.846855] usb 1-2: Manufacturer: SanDisk
[ 4.846856] usb 1-2: SerialNumber: 200602658113ECA114C5
[ 4.855864] usb-storage 1-2:1.0: USB Mass Storage device detected
[ 4.856401] scsi6 : usb-storage 1-2:1.0
[ 4.856464] usbcore: registered new interface driver usb-storage
[ 4.864329] usbcore: registered new interface driver uas
[ 5.274102] usb 2-5: new high-speed USB device number 4 using ehci-pci
[ 5.423086] usb 2-5: New USB device found, idVendor=046b, idProduct=ff01
[ 5.423091] usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5.423094] usb 2-5: Product: Generic Hub
[ 5.423097] usb 2-5: Manufacturer: American Megatrends Inc.
[ 5.423100] usb 2-5: SerialNumber: serial
[ 5.662242] usb 6-1: new full-speed USB device number 2 using uhci_hcd
[ 5.827741] usb 6-1: New USB device found, idVendor=045e, idProduct=0745
[ 5.827746] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5.827749] usb 6-1: Product: Microsoft® Nano Transceiver v2.0
[ 5.827752] usb 6-1: Manufacturer: Microsoft
[ 5.864027] usbcore: registered new interface driver usbhid
[ 5.864028] usbhid: USB HID core driver
[ 5.871817] input: Microsoft Microsoft® Nano Transceiver v2.0 as /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0/0003:045E:0745.0001/input/input5
[ 5.872188] hid-generic 0003:045E:0745.0001: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Microsoft® Nano Transceiver v2.0] on usb-0000:00:1d.0-1/input0
[ 5.872497] input: Microsoft Microsoft® Nano Transceiver v2.0 as /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.1/0003:045E:0745.0002/input/input6
[ 5.872886] hid-generic 0003:045E:0745.0002: input,hidraw1: USB HID v1.11 Mouse [Microsoft Microsoft® Nano Transceiver v2.0] on usb-0000:00:1d.0-1/input1
[ 5.890899] input: Microsoft Microsoft® Nano Transceiver v2.0 as /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.2/0003:045E:0745.0003/input/input7
[ 5.891462] hid-generic 0003:045E:0745.0003: input,hiddev0,hidraw2: USB HID v1.11 Device [Microsoft Microsoft® Nano Transceiver v2.0] on usb-0000:00:1d.0-1/input2
[ 6.198401] usb 7-2: new low-speed USB device number 2 using uhci_hcd
[ 6.579518] usb 7-2: New USB device found, idVendor=046d, idProduct=c517
[ 6.579523] usb 7-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6.579527] usb 7-2: Product: USB Receiver
[ 6.579529] usb 7-2: Manufacturer: Logitech
[ 6.636661] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.1/usb7/7-2/7-2:1.0/0003:046D:C517.0004/input/input8
[ 6.637063] logitech 0003:046D:C517.0004: input,hidraw3: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:1d.1-2/input0
[ 6.637392] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.1/usb7/7-2/7-2:1.1/0003:046D:C517.0005/input/input9
[ 6.638350] logitech 0003:046D:C517.0005: input,hiddev0,hidraw4: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:1d.1-2/input1
[ 6.694710] usb 2-5.1: new low-speed USB device number 5 using ehci-pci
[ 6.799956] usb 2-5.1: New USB device found, idVendor=046b, idProduct=ff10
[ 6.799961] usb 2-5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6.799965] usb 2-5.1: Product: Virtual Keyboard and Mouse
[ 6.799967] usb 2-5.1: Manufacturer: American Megatrends Inc.
[ 6.799970] usb 2-5.1: SerialNumber: serial
[ 6.801779] input: American Megatrends Inc. Virtual Keyboard and Mouse as /devices/pci0000:00/0000:00:1d.7/usb2/2-5/2-5.1/2-5.1:1.0/0003:046B:FF10.0006/input/input10
[ 6.802069] hid-generic 0003:046B:FF10.0006: input,hidraw5: USB HID v1.10 Keyboard [American Megatrends Inc. Virtual Keyboard and Mouse] on usb-0000:00:1d.7-5.1/input0
[ 6.803148] input: American Megatrends Inc. Virtual Keyboard and Mouse as /devices/pci0000:00/0000:00:1d.7/usb2/2-5/2-5.1/2-5.1:1.1/0003:046B:FF10.0007/input/input11
[ 6.803525] hid-generic 0003:046B:FF10.0007: input,hidraw6: USB HID v1.10 Mouse [American Megatrends Inc. Virtual Keyboard and Mouse] on usb-0000:00:1d.7-5.1/input1
[ 11.103742] usb 1-3: new high-speed USB device number 3 using ehci-pci
[ 11.237479] usb 1-3: New USB device found, idVendor=12d1, idProduct=1052
[ 11.237484] usb 1-3: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 11.237487] usb 1-3: Product: Android
[ 11.237490] usb 1-3: Manufacturer: Android
[ 11.237493] usb 1-3: SerialNumber: 022DHQ2134003728
[ 20.327669] usb 1-3: USB disconnect, device number 3
[ 20.602629] usb 1-3: new high-speed USB device number 4 using ehci-pci
[ 20.735780] usb 1-3: New USB device found, idVendor=12d1, idProduct=1050
[ 20.735786] usb 1-3: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 20.735789] usb 1-3: Product: Android
[ 20.735792] usb 1-3: Manufacturer: Android
[ 20.735794] usb 1-3: SerialNumber: "Present":-)
[ 20.793308] usbcore: registered new interface driver cdc_ether
[ 20.809230] rndis_host 1-3:1.0 usb0: register 'rndis_host' at usb-0000:00:1a.7-3, RNDIS device, 82:85:cc:e9:7d:d5
[ 20.809252] usbcore: registered new interface driver rndis_host
正如您所看到的,我正在安装,但是以这样的速度,它花了很长时间
接受
答案1
免责声明:这不是使用现有设置的解决方案,但它可能会很有效
您是否尝试过使用应用程序掌上网络+? PdaNet+ 包含 PdaNet 和 FoxFi。大约一年来我都没有使用过它们,但当我出差并且仍然拥有无限数据(使用 Verizon)时,FoxFi 帮助我将手机用作热点,而无需支付任何额外的热点费用。我每月使用超过 60 GB,而带宽也不受限制。在 LTE 上,我的速度超过 25 mbps。
笔记:PdaNet+ 和 FoxFi 仅适用于 Android 手机,但我知道您已经可以使用了。此外,如果您的手机无法支持热点功能,您也可以使用 USB 网络共享功能与 PdaNet+ 连接
您可以在这里获取该应用程序:掌上网络+
答案2
好吧,我想到了一些问题,但我打算尝试一下。
当您说在 Windows 中获得了很快的速度时,是使用同一台计算机吗?
您是否启用了 UFW 等防火墙?
sudo ufw status
会告诉您是否启用。如果启用了,请尝试禁用它,看看速度是否提高sudo ufw disable
。
我认为真正的问题是
在您的日志中,您连接了一堆 USB 设备,而 USB 的带宽有限。我在用手机,所以在写这篇文章时看不到您的帖子,但我想我看到了几个不同的 USB 驱动器,以及一个键盘和鼠标和某种 USB 蓝牙设备。
拔掉除键盘、鼠标和电话之外的所有 USB,然后看看是否能获得更好的速度。
我想我也在某处看到过 USB 集线器,如果是这样,那么手机是连接到集线器还是 PC 上的实际 USB 端口?