I configured my mobile phone to share all it's connectivity (gprs,
wifi) via usb, i.e., act as a usb router (including a dhcp server).

When I attach it to a linux machine, dmesg says:

usb 2-2: new high speed USB device using ehci_hcd and address 14
cdc_acm 2-2:1.6: This device cannot do calls on its own. It is not a modem.
cdc_acm 2-2:1.6: ttyACM0: USB ACM device
cdc_ether 2-2:1.8: usb0: register 'cdc_ether' at usb-0000:00:1d.7-2,
CDC Ethernet Device, da:fc:05:9a:bd:95

then I simply do "ifconfig usb0 up; dhcpcd usb0" and I have connectivity.

When I attach it to a native plan9 machine and run "usb/ether -D", I
get the following output:

usb/ether: fsioproc pid 212
<- Tversion tag 65535 msize 8216 version '9P2000'
-> Rversion tag 65535 msize 8192 version '9P2000'
<- Tauth tag 6 afid 299 uname glenda aname
-> Rerror tag 6 ename permission denied
<- Tattach tag 6 fid 299 afid -1 uname glenda aname
-> Rattach tag 6 qid (000000000000000 0 d)
usb/ether: startdevs: opening #0 /dev/usb/ep5.0
usb/ether: devmain: no data from device
usb/ether: no unhandled devices found

When I run "usb/usbd", I get:
...
usb/usbd: /dev/usb/ep5.0: no port information

I am pretty much out of ideas here.

Any help?

--

benthor

Reply via email to