Using NFS to share files with iBook
I used YaST to set up SUSE 9.2 as an NFS server. /etc/exports now has this entry:
/home/ *(ro,root_squash,sync) Machelp says to type in the network address for the server to connect. How do I find out what this is? I tried 192.168.0.2 and that didn't work. Machelp also says "To connect to an NFS server, type the DNS name and pathname like this: nfs://DNSname/pathname How do I find out what my DNSname and pathname are? |
ifconfig -a from a command prompt will list the network info for each network adaptor...
you can use the ip address assigned to the primary network adaptor to connect to it. #ifconfig -a eth0 Link encap:Ethernet HWaddr 00:E0:81:29:56:8F inet addr:10.196.143.205 Bcast:10.196.143.255 Mask:255.255.255.0 inet6 addr: fe80::2e0:81ff:fe29:568f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:34593354 errors:0 dropped:0 overruns:7 frame:0 TX packets:50370039 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2811648955 (2681.3 Mb) TX bytes:3266119092 (3114.8 Mb) eth1 Link encap:Ethernet HWaddr 00:E0:81:29:56:8E 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) Base address:0x2000 Memory:f5020000-f5040000 using the above example... nfs://10.196.143.205/home would get you there. |
I used ifconfig to get the 192.168.0.2 address I mentioned at the beginning of the thread.
When I type nfs://192.168.0.2/home I get: could not connect to the server because the name or password is not correct |
All times are GMT -5. The time now is 05:50 AM. |