[求助]skyeye下与主机无法route,无法建立NFS
主机为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 得到
# ifconfig
eth0 Link encap:EthernetHWaddr 00:E0:4C:3E:C7:D2
inet addr:192.168.1.105Bcast:255.255.255.255Mask:255.255.255.0
inet6 addr: fe80::2e0:4cff:fe3e:c7d2/64 Scope:Link
UP BROADCAST RUNNING MULTICASTMTU:1500Metric: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.1Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNINGMTU:16436Metric: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:EthernetHWaddr 9A:7B:EE:C6:88:1C
inet addr:10.0.0.1Bcast:10.255.255.255Mask:255.0.0.0
inet6 addr: fe80::987b:eeff:fec6:881c/64 Scope:Link
UP BROADCAST RUNNING MULTICASTMTU:1500Metric: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, 麻烦大家了 要不把你们建立NFS的步骤详细讲一下好吧,自己摸索实在是费时间啊,欢迎加我QQ380470974 交流 谢谢
好像ftp倒不难
直接在 uClinux 里面使用 ftp 的命令行工具就可以。宿主机的 ftp 服务配好就行了。
ftp 要 get 到 /tmp 目录,其他目录不能写。
然后 chmod 一下,就应该能运行了。
我不知道 skyeye 里面的程序如何 ctrl-c 下来,
你知道吗?
可否交流一下?
页:
[1]