|
主机为fc4,我用的testsuit里 testsuite/at91/uclinux_cs8900a/ 这个例子什么也没改动
主机上已建立了NFS
/home/Jerry/share *(rw,no_root_squash)
然后重启了NFS
/etc/rc.d/init.d/portmap start
/etc/rc.d/init.d/nfs start
运行skyeye
skyeye -c skyeye.conf -e linux
ping是通的
/> ping 10.0.0.1 -c 4
PING 10.0.0.1 (10.0.0.1): 56 data bytes
64 bytes from 10.0.0.1: icmp_seq=0 ttl=64 time=0.-5 ms
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.-5 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.-5 ms
64 bytes from 10.0.0.1: icmp_seq=3 ttl=64 time=0.-5 ms
--- 10.0.0.1 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.-5/107374181.9/0.0 ms
mount 主机时出现如下错误:
/> mount -o nolock 10.0.0.1:/home/Jerry/share /mnt
mount: RPC: Unable to receive; errno = No route to host
mount: nfsmount failed: Bad file descriptor
nfs warning: mount version newer than kernel
NFS: mount program didn't pass remote address!
mount: Mounting 10.0.0.1:/home/Jerry/share on /mnt failed: Invalid argument
pid 15: failed 256
/>
另外主机在主机上用ifconfig 得到
[root@localhost uclinux_cs8900a]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:4C:3E:C7:D2
inet addr:192.168.1.105 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4cff:fe3e:c7d2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1354 errors:0 dropped:0 overruns:0 frame:0
TX packets:1431 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:560432 (547.2 KiB) TX bytes:282873 (276.2 KiB)
Interrupt:11 Base address:0xe800
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:1670 errors:0 dropped:0 overruns:0 frame:0
TX packets:1670 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1577604 (1.5 MiB) TX bytes:1577604 (1.5 MiB)
tap0 Link encap:Ethernet HWaddr 9A:7B:EE:C6:88:1C
inet addr:10.0.0.1 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::987b:eeff:fec6:881c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 b) TX bytes:432 (432.0 b)
不知大家遇到过这样的错误没有,弄了好长时间,搜索了很多地方找不到答案,
顺便问一下怎样与主机建立FTP连接,我的也不行.刚接触skyeye, 麻烦大家了 |
|