Connect to E680i on linux

Linux: gentoo
Kernel: 2.6.15

Confirm your kernel support usblan, acm modem and usbnet zaurus feature.
In my linux config files: /usr/src/linux/.config files:
CONFIG_USB_BELKIN=y
CONFIG_USB_NET_ZAURUS = m
CONFIG_USB_ACM = m

Connect the e680i on the computer with usb link.
# modprobe cdc_acm

Thus you can find the Motorola modem device on you /dev directory. My device file name  is /dev/ttyACM0. If you can't find the device name, you can use "dmesg" command to find more information.

#dmesg
usb 2-2: new full speed USB device using uhci_hcd and address 6
cdc_acm 2-2:1.0: ttyACM0: USB ACM device

#echo at+mode=99 > /dev/ttyACM0

The e680 will switch to usbd mode. and config the ip address. Maybe the usblan driver on window can send the ip address to e680i, so it can get the ip address "169.254.142.2". The e680i usblan driver on linux is "Zaurus" witch is the standard driver. I found that the files on e680i /etc/hotplug/network_fd.agent can setup the ip address as 192.168.1.2 . so we can config the usblan's ip as "192.168.1.1" on our PC.

#modprobe zaurus

Load the zaurus usb net driver.

#ifconfig -a

Confirm the zaurus usbnet interface name. On my laptop is "usb0"

#ifconfig usb0 192.168.1.1

#telnet 192.168.1.2
Trying 192.168.1.2...
Connected to e680i.
Escape character is '^]'.

MontaVista Linux Consumer Electronics Edition 3.0
Linux/armv5tel 2.4.20_mvlcee30-mainstone


(none) login:



Login as root. You can enter the e680i .

Have fun.
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值