I should first add that I have verizon and that I have not contacted
them.  I am willing to contact them and pay a monthly fee if necessary
for the times I am away from normal wifi access (basically two weeks
on a NH island).

I should also add that in all my attempts I have never had
ifconfig report a usb0 entry (or any usbN) and have never had
a /dev/usb0 (or usbN).

Thank you all for your help.  

On Sun, Jun 19 2011, Matthew Finkel wrote:

> Yea, I have the Nexus S, and it's pretty much as close to plug-n-play as
> I've found on linux...
> These are the steps I take in order to get usb tethering to work:
> 1) Plug the phone into the computer via usb cable
> 2) From the Setting->Wireless & netwoks submenu I enable USB Tethering

I do not see a "tethering" option.  I do see "3G mobile hotspot" and "3G
modbile hotspot settings".  These seem to relate to having the phone act
as a wireless access point.  This requires contacting verizon, but does
not seem to be the option in question since it is for wireless access
not usb access.

I do see mobile broadband connect.  When I select it, it does show
that the USB connection has been changed to mobile broadband connect.
But nothing extra appears in dmesg.  I have previously set this option
permanently on the phone for testing (rather than changing to it after
plugging in the usb cable) also with no success.  This is the reason I
feel that I must have some kernel option missing.  I do have the ones
suggested in a forum post (now they are built in, I also tried as
modules).

CONFIG_USB_NET_CDCETHER=y
CONFIG_USB_NET_CDC_EEM=y
CONFIG_USB_ARMLINUX=y
CONFIG_USB_ACM=y
CONFIG_USB_WDM=y

> 3) I wait until the device settles (just monitor dmesg)

There are no changes to dmesg output after I enable mobile connect

> 4) After it's ready, ifconfig will show an available but non-configured
> device (usb0 in my case)
> 5) I run "dhclient usb0" and once it pulls an IP, I'm up and running.
>
>
> When you plug in your phone to tether it, do you see any error messages in
> the logs?

When I plug in the phone dmesg gives

[ 1825.633094] usb usb1: usb auto-resume
[ 1825.633100] ehci_hcd 0000:00:1a.0: resume root hub
[ 1825.653000] hub 1-0:1.0: hub_resume
[ 1825.653018] hub 1-0:1.0: port 1: status 0507 change 0000
[ 1825.653043] hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0000
[ 1825.653048] usb 1-1: usb auto-resume
[ 1825.679038] ehci_hcd 0000:00:1a.0: GetStatus port:1 status 001005 0  ACK 
POWER sig=se0 PE CONNECT
[ 1825.689895] usb 1-1: finish resume
[ 1825.690167] hub 1-1:1.0: hub_resume
[ 1825.690920] ehci_hcd 0000:00:1a.0: reused qh ffff880225c15080 schedule
[ 1825.690929] usb 1-1: link qh256-0001/ffff880225c15080 start 1 [1/0 us]
[ 1825.691112] hub 1-1:1.0: state 7 ports 6 chg 0000 evt 0000
[ 1828.278413] hub 1-1:1.0: hub_suspend
[ 1828.278428] usb 1-1: unlink qh256-0001/ffff880225c15080 start 1 [1/0 us]
[ 1828.278674] usb 1-1: usb auto-suspend
[ 1830.284525] hub 1-0:1.0: hub_suspend
[ 1830.284535] usb usb1: bus auto-suspend
[ 1830.284537] ehci_hcd 0000:00:1a.0: suspend root hub
[ 1841.081945] ISO 9660 Extensions: Microsoft Joliet Level 3
[ 1841.148575] ISOFS: changing to secondary root
[ 6992.873688] hda-intel: IRQ timing workaround is activated for card #0. 
Suggest a bigger bdl_pos_adj.
[20763.850372] hub 2-1:1.0: state 7 ports 8 chg 0000 evt 0004
[20763.850599] hub 2-1:1.0: port 2, status 0101, change 0001, 12 Mb/s
[20763.953937] hub 2-1:1.0: debounce: port 2: total 100ms stable 100ms status 
0x101
[20763.964882] hub 2-1:1.0: port 2 not reset yet, waiting 10ms
[20764.026740] usb 2-1.2: new high speed USB device number 7 using ehci_hcd
[20764.038696] hub 2-1:1.0: port 2 not reset yet, waiting 10ms
[20764.119521] usb 2-1.2: default language 0x0409
[20764.125501] usb 2-1.2: udev 7, busnum 2, minor = 134
[20764.125507] usb 2-1.2: New USB device found, idVendor=0bb4, idProduct=0ff9
[20764.125512] usb 2-1.2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[20764.125516] usb 2-1.2: Product: Android Phone
[20764.125520] usb 2-1.2: Manufacturer: HTC
[20764.125523] usb 2-1.2: SerialNumber: HT05THJ06550
[20764.125645] usb 2-1.2: usb_probe_device
[20764.125648] usb 2-1.2: configuration #1 chosen from 1 choice
[20764.126855] usb 2-1.2: adding 2-1.2:1.0 (config #1, interface 0)
[20764.126919] usb-storage 2-1.2:1.0: usb_probe_interface
[20764.126923] usb-storage 2-1.2:1.0: usb_probe_interface - got id
[20764.126974] scsi6 : usb-storage 2-1.2:1.0
[20764.127048] drivers/usb/core/inode.c: creating file '007'
[20765.127160] scsi 6:0:0:0: Direct-Access     HTC      Android Phone    0100 
PQ: 0 ANSI: 2
[20765.127352] sd 6:0:0:0: Attached scsi generic sg2 type 0
[20765.133013] sd 6:0:0:0: [sdb] Attached SCSI removable disk


Reply via email to