分类: LINUX
2006-06-02 19:48:27
Bus 001 Device 006: ID 22b8:3802 Motorola PCS C330/A780 GSM Phone Bus 001 Device 003: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam Bus 001 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 005 Device 001: ID 0000:0000 |
echo MotNet > /proc/motusbd |
blueice:~# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:50:8D:D1:64:4C inet addr:192.168.1.210 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::250:8dff:fed1:644c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:515 errors:0 dropped:0 overruns:0 frame:0 TX packets:184 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:69421 (67.7 KiB) TX bytes:18637 (18.2 KiB) Interrupt:177 Base address:0xb000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:17035 errors:0 dropped:0 overruns:0 frame:0 TX packets:17035 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:20847754 (19.8 MiB) TX bytes:20847754 (19.8 MiB) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) usb0 Link encap:Ethernet HWaddr E6:CA:62:C6:3F:4C BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) |
blueice:/lib/modules# ifconfig eth0 down blueice:/lib/modules# ifconfig usb0 192.168.1.1 blueice:/lib/modules# telnet 192.168.1.2 Trying 192.168.1.2... Connected to 192.168.1.2. Escape character is '^]'. MontaVista Linux Consumer Electronics Edition 3.0 Linux/armv5tel 2.4.20_mvlcee30-mainstone (none) login: root Linux 192.168.1.11 2.4.20_mvlcee30-mainstone #7 Fri Feb 13 15:39:51 CST 2004 armv5tel unknown MontaVista Linux Consumer Electronics Edition 3.0 \[\033[01;34m\]\W \$ \[\033[00m\]bash ~ # ifconfig -a lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:51539607564 errors:0 dropped:0 overruns:0 frame:0 TX packets:51539607564 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3710851744608 (864.0 b) TX bytes:0 (0.3221223136 ) usbl0 Link encap:Ethernet HWaddr 12:60:98:DA:DC:FC inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:279172874305 errors:0 dropped:0 overruns:0 frame:0 TX packets:154618822692 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:15191299329489 (3.4 Kb) TX bytes:0 (6.3221223136 ) ~ # exit exit \[\033[01;34m\]\W \$ \[\033[00m\]exit Connection closed by foreign host. |
blueice:/lib/modules# lsusb Bus 003 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 005 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 001 Device 005: ID 22b8:600c Motorola PCS A768i GSM Phone Bus 001 Device 001: ID 0000:0000 Bus 001 Device 003: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam |