作者Sand.bbs@bbs.ee.nthu.edu.tw (I wonder....) 看板: linux
標題Re: [問題] 嵌入式平台mount問題
時間星星站 (2008/04/25 Fri 14:10:26)
※ 引述《jiunkuenwang.bbs@ptt.cc (心禪)》之銘言:
> ※ 引述《jiunkuenwang (心禪)》之銘言:
> : 請教諸位高手
> : 我們要在Embeded Linux下 mount一NFS的Server
> : 所下的指令為
> : route add default gw XXX.XXX.XXX.XXX
> : mount -t nfs -o nolock,rsize=1024,wsize=1024 XXX.XXX.XXX.XXX:/home/amos /mnt
> : 但輸入指令 數分鐘後出現
> : mount: RPC: Unable to receive; errno = Connection refused
> : 在NFS的Server上的exports設定為
> : /home/amos XXX.XXX.XXX.0/24(rw,root_squash,sync)
> : 我們也試過在另一台普通的Linux Server上進行mount
> : 並不會有這樣的錯誤
> : 請問原因為何?
> 經過再一次的嘗試後
> Embeded Linux可以ping出去 也可以讓其他主機ping進來
> 但是依然無法進行mount
> 是我們哪一個環節搞錯了呢!?
> 請教各位~ 感恩~
同樣的設定嗎?
embedded linux 跟 desktop 的 linux 只是size的大小不同
有幾點可以check 一下
1. kernel 有支援NFS 嗎?
2. 該embedded linux system 有沒有跑iptables 之類的東西
最好是能直接抓packet 看看是出了什麼問題
--
If thou wouldst make progress, be content to seem foolish and void of
understanding with respect to outward things. Care not to be thought
to know anything. If any should make account of thee, distrust thyself.
Epictetus
--
★ Origin: 清華電機星星站 <bbs.ee.nthu.edu.tw>
※ Author: Sand From:220-132-117-169.HINET-IP.hinet.net