28.03.2024, 15:52 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
spottyrover
Titel: I am trying to use 2 kano boxes for file sharing  BeitragVerfasst am: 04.12.2006, 14:39 Uhr



Anmeldung: 11. Apr 2005
Beiträge: 137

I am trying to use 2 kano boxes for file sharing
1800 box has kano 2005-4 (i think) 3800 64X2 has kano 2006 easter
I have a netgear wgt624 router (in the 3800 64X2) and a netgear wg311t pci adapter in the 1800+ box
I can ping both boxes
from what i have found on the net i have it set up as from http://kanotix.com/index.php?module=pnW ... elServerEN

1800+ (client) 192.168.3
made a directory to mount the 64X2
changed the fstab 192.168.1.2:/media /mnt/64X2

64x2 box (server)192.168.1.2
made a directory to mount the 1800+
changed the fstab 192.168.1.3:/media /mnt/

a script file i am using on the 64X2 is
cat <<EOT > /etc/exports
/ 192.168.1.2(rw,no_root_squash,no_subtree_check,sync) 192.168.1.2(rw,no_root_squash,no_subtree_check,sync)
EOT

# this line is needed only once if you don't need to delete /etc/exports
# so you can do that manually and take out the line here
# for a CD or poormans install you would need it
echo exports set
/etc/init.d/portmap start # (if it was not running already)
/etc/init.d/nfs-kernel-server start
echo NFS-Server startet
mount -t nfs 192.168.1.3:/ /mnt/1800-plus_cpu
echo 1800-plus mounted

the results I get is
nfsstart.sh
exports set
Starting portmap daemon....
Exporting directories for NFS kernel daemon...exportfs: duplicated export entries:
exportfs: 192.168.1.2:/
exportfs: 192.168.1.2:/
done.
Starting NFS kernel daemon: nfsd mountd.
NFS-Server startet
1800-plus mounted



a script file i am using on the 1800-plus is
cat <<EOT > /etc/exports
/ 192.168.1.3(rw,no_root_squash,no_subtree_check,sync)
EOT

# this line is needed only once if you don't need to delete /etc/exports
# so you can do that manually and take out the line here
# for a CD or poormans install you would need it
echo exports set
/etc/init.d/portmap start # (if it was not running already)
/etc/init.d/nfs-kernel-server start
echo NFS-Server startet
mount -t nfs 192.168.1.2:/ /mnt/64X2
echo 64X2 mounted

the results I get is
nfsstart.sh
exports set
not running portmap daemon. already running
Exporting directories for NFS kernel daemon...
done.
Starting NFS kernel daemon: nfsd mountdNFS-Server started
mount: 192.168.1.2:/ failed, reason given by server: permission denied
64X2 mounted

am I on the right track and what am i doing wrong

thanks for the help

Dave
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
mzilikazi
Titel:   BeitragVerfasst am: 06.12.2006, 14:39 Uhr
Team Member
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
Ask yourself this question: Do you really need to export the entire / filesystem or is a specific directory enough?
I would forget about that script you're trying to run and just get nfs working first then you can tinker with customizations and such.

Some nfs basics:

You can find out what is being exported like so:
Code:
$ su
# showmount -e


Are all services running as required?
Code:
# rpcinfo -p


Can you actually mount those shares on the nfs server itself?
Code:
# mkdir test
# mount 192.168.1.2:/ test


An example from my own nfs server:
Code:
root@slave:/home/glenn# showmount -e
Export list for slave:
/home                   192.168.11.107/255.255.255.0
/opt/ltsp-4.2/i386      192.168.11.107/255.255.255.0
/var/opt/ltsp/swapfiles 192.168.11.107/255.255.255.0


So we see that there are 3 directories exported.
Let's try to mount one of them.

Code:
root@slave:/home/glenn# mount 192.168.11.107:/home test
root@slave:/home/glenn# ls test
glenn  nick
root@slave:/home/glenn#


Voila! So now we can manually try and mount that share on another machine. Once you get past all of this then try setting it up so that everything is automounted for you. If you have further problems please post your complete /etc/exports and the output of showmount -e.

_________________
Ubuntu - An ancient African word for "Can't install Debian"
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
spottyrover
Titel:   BeitragVerfasst am: 10.12.2006, 12:13 Uhr



Anmeldung: 11. Apr 2005
Beiträge: 137

thanks for the info
sorry not to get back to you sooner but had some problems

I realised that i had to set the the ip address on the server static as it kept changing between the two pcs so some times it worked and some times i was confused
It works fine with kano easter but not the 2006-1 rc4 ( the one with vdr) so i will stick with the easter vervion for now

thanks again
Dave
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
spottyrover
Titel:   BeitragVerfasst am: 10.12.2006, 12:17 Uhr



Anmeldung: 11. Apr 2005
Beiträge: 137

thanks for the info
sorry not to get back to you sooner but had some problems

I realised that i had to set the the ip address on the server static as it kept changing between the two pcs so some times it worked and some times i was confused
It works fine with kano easter but not the 2006-1 rc4 ( the one with vdr) so i will stick with the easter vervion for now

thanks again
Dave
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
spottyrover
Titel:   BeitragVerfasst am: 10.12.2006, 13:09 Uhr



Anmeldung: 11. Apr 2005
Beiträge: 137

thanks for the info
sorry not to get back to you sooner but had some problems

I realised that i had to set the the ip address on the server static as it kept changing between the two pcs so some times it worked and some times i was confused
It works fine with kano easter but not the 2006-1 rc4 ( the one with vdr) so i will stick with the easter vervion for now

thanks again
Dave
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.