Hasn't been done on linux yet. Online on Windows
Hi,
How do I telnet to E6 when it is connected as USBLAN device from Linux
Due to some reason, my Linux box is not able to detect the usb0 interface.
dmesg | tail -6
[ 3879.699845] usb 5-1: new full speed USB device using uhci_hcd and address 4
[ 3879.863817] usb 5-1: configuration #1 chosen from 1 choice
[ 3879.869812] cdc_acm 5-1:1.0: ttyACM0: USB ACM device
[ 3903.643266] usb 5-1: USB disconnect, address 4
[ 3903.883126] usb 5-1: new full speed USB device using uhci_hcd and address 5
[ 3904.046415] usb 5-1: configuration #1 chosen from 1 choice
and
cat /proc/bus/usb/devices
T: Bus=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=02(comm.) Sub=02 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=22b8 ProdID=6027 Rev= 0.00
S: Manufacturer=Motorola
S: Product=Motorola USBLAN
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=02(comm.) Sub=0a Prot=00 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=03(Int.) MxPS= 16 Ivl=10ms
It can detect the phone connected as usblan but cannot get the interface to come up.
Please help me.
~Debankur
Moto Rokr E6 user
Hasn't been done on linux yet. Online on Windows
I'm so cool, I had the E6 before the E2 launched! Wait. Never mind...
Load this kernel modules using modprobe:
usbnet
cdc-acm
If someone who succeded in telneting the E6 from linux could explain exactly how he did, it could be great and useful to many people.
Thx
Finally got the USBLAN to work ..
Check if the modules are available in the kernel:
lsmod | grep usb
usbnet 19720 2 zaurus,cdc_ether
usb_storage 72256 0
libusual 17936 1 usb_storage
usbhid 26592 0
hid 27392 1 usbhid
scsi_mod 142348 5 usb_storage,sg,sr_mod,sd_mod,libata
mii 6528 2 usbnet,e100
usbcore 134280 11 zaurus,cdc_ether,usbnet,cdc_acm,uvcvideo,usb_storage,libusual,usbhid,ehci_hcd,uhci_hcd
Now follow the steps.
1. connect the E6 in USB modem mode.
2. do a dmesg | tail -10, u see ,
[26071.322038] usb 5-8: USB disconnect, address 7
[26091.491287] usb 5-8: new high speed USB device using ehci_hcd and address 8
[26091.633514] usb 5-8: configuration #1 chosen from 1 choice
[26092.056581] cdc_acm 5-8:1.0: ttyACM0: USB ACM device
[26092.057201] usbcore: registered new interface driver cdc_acm
[26092.057337] drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
3. type this : echo "AT+mode=13" > /dev/ttyACM0
4. do a dmesg | tail -10, u see,
[26091.633514] usb 5-8: configuration #1 chosen from 1 choice
[26092.056581] cdc_acm 5-8:1.0: ttyACM0: USB ACM device
[26092.057201] usbcore: registered new interface driver cdc_acm
[26092.057337] drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
[26298.289296] usb 5-8: USB disconnect, address 8
[26298.529143] usb 5-8: new high speed USB device using ehci_hcd and address 9
[26298.662842] usb 5-8: configuration #1 chosen from 1 choice
[26298.740451] usbcore: registered new interface driver cdc_ether
[26298.748772] usb0: register 'zaurus' at usb-0000:00:1d.7-8, pseudo-MDLM (BLAN) device, 66:1e:72:aa:78:92
[26298.749360] usbcore: registered new interface driver zaurus
5. Now enable the interface using, (should be root when u do this)
ifconfig usb0 192.168.1.1 netmask 255.255.255.0 mtu 900
6. see if the interface is active
ifconfig
usb0 Link encap:Ethernet HWaddr 66:1E:72:AA:78:92
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:900 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:1013 (1013.0 b)
7. See if the ip is pingable.
ping 192.168.1.2
PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data.
64 bytes from 192.168.1.2: icmp_seq=1 ttl=64 time=4.84 ms
64 bytes from 192.168.1.2: icmp_seq=2 ttl=64 time=0.985 ms
64 bytes from 192.168.1.2: icmp_seq=3 ttl=64 time=1.17 ms
But still if I try to connect via telnet, it gives,
telnet 192.168.1.2
Trying 192.168.1.2...
telnet: Unable to connect to remote host: Connection refused
What I think is, there is no Telnet demon running. Is there a way we can start a telnet demon on the phone ?
~ Debankur
F/W : 02P (no firmware updates)
Wow... that's alot of work... Once could get VMware Player for linux, run a Windows OS virtually and do it I bet.
I'm so cool, I had the E6 before the E2 launched! Wait. Never mind...
I think that there should be a telnet demon running on the OS before u can connect it from a host using telnet . Correct me if I am wrong.
Also, I don't have a license for any Windows OS. So, I will need to stick to Linux unless off course Mico$oft window$ become open sourcesome day
I will look in how to start a telnet demon on the E6 .. but first let me start searching the forum before I start digging in .
~Debankur
Finally got the Telnet and ssh working on Linux![]()
What I could guess is that the firmware installed on the E6 when I bought it never had a telnet/ssh demon running in it. Now, after flashing it with "AhMan Hybrid 08p" (thanks a lot AhMan) got the telnet and ssh demons to work.
Now, a ps wax on the phone shows
362 ? Ss 0:00 /usr/sbin/inetd
365 ? Ss 0:00 /usr/sbin/smbd -D -l /dev/null
379 ? S 0:00 in.telnetd: 192.168.1.1
processes running.
So, I guess the firmware update resolved all the connectivity problems I was facing.
Ones again thanks a lot AhMan![]()
~Debankur
F/W .08P Hybrid
can any body help me to know what is USB NET function in Moto Rokr E6 , how can i use this option in setup...
what can i do from usb net option? plz help me frnds.. my email id is durgeshsinghpatna@gmail.com ... i will be greatful to you..
thanks in advance frnds...
can any body help me to know what is USB NET function in Moto Rokr E6 , how can i use this option in setup...
what can i do from usb net option? plz help me frnds.. my email id is durgeshsinghpatna@gmail.com ... i will be greatful to you..
thanks in advance frnds...