LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1174|回复: 0

关于连接USB 和设置tftp的问题

[复制链接]
发表于 2005-5-9 12:41:53 | 显示全部楼层 |阅读模式
我在Mandrave LE 2005下面设置tftp,按照说明上的:
9.3.1) Installing USB Ethernet on host,
# tar xzf usbhost.tgz
# cd usb
# make
# rmmod usbnet
# insmod usbdnet.o

NOTE: Remove kernel module "usbnet.o" before installing
kernel module "usbdnet.o".


9.3.2) Configuring USB Ethernet

EACH TIME after reseting the PXA255 development platform, you
will enter BLOB command line (by stopping the
autoboot progress).

Now configure the USB Ethernet.

- Reset USB
Unplug the USB cable, and plug-in again

- Configure USB Ethernet device on host

% ifconfig -a

You should find Ethernet interface named "usb0".

% ifconfig usb0 192.1.1.1

- Configure USB Ethernet device on the PXA255 development platform

BLOB has following default configuration,
* IP address : 192.1.1.2
* Default TFTP server : 192.1.1.1

If you want to change the configuration, use command "ifconfig" on the
BLOB command line. Note, the new configuration is not permanant before
BLOB because it doesn't have a flash area to store the configuration.

我找不到usbhost.tgz这个文件,但是usbdnet.o我下载下来了,可是insmod usbdnet.o的时候出现如下错误:insmod: error inserting 'usbdnet.o': -1 Invalid module format。
我想可能系统里面已经自带了这个文件,就直接设置。
用USB 线连接上开发板和我的本本,然后使用:modprobe usbnet,然后ifconfig -a,但是确没有发现新的USB 设备,即找不到USB0.
我的开发板在windows上可以发现新硬件,USB应该没有什么问题的。
请大家帮帮忙阿!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表