03.05.2024, 03:57 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]
Letzte Änderung am 2006-09-26 07:05:49 von bluewater

Löschungen:
WARNING: (05/08/2006) this applies to older version of Kanotix, in later versions, "/media" replaces "/mnt" in some places be careful



Editiert am 2006-09-25 08:24:23 von bluewater

Erweiterungen:
WARNING: (05/08/2006) this applies to older version of Kanotix, in later versions, "/media" replaces "/mnt" in some places be careful


Löschungen:
WARNING: (05/08/2006) this applies to older version of Kanotix, in later versions, "/media" replaces "/mnt"



Editiert am 2006-08-20 04:18:05 von Richard proofing

Erweiterungen:
WARNING: (05/08/2006) this applies to older version of Kanotix, in later versions, "/media" replaces "/mnt"
Someone told me a, supposedly, simple solution: the NFS-kernel-server.
My laptop and desktop are both connected to a router, which gives them the IPs:
  1. mount-points, where I can find the data of the respective computers.
In my case I decided to make "/mnt/desktop" on the notebook for the data of the desktop
and "/mnt/notebook" for the notebooks data on the desktop. As su on the desktop I did:
mkdir /mnt/notebook
// and then changed to the notebook, and did the following: 
mkdir /mnt/desktop

So I made a little script for starting and stopping this service only when i need it:
#!/bin/bash
If I don't need the connection any more I stop the connection. For that I've created the script **nfsstop**, as follows: 
#!/bin/bash
Here the difference between the files, on both computers, is the umount-line only.
This script is also made executable and copied to /usr/local/bin/ ready to be used when I do nfsstop as su.
Once again, a rerun:
Two days later
(for Poorman's Install or from CD and a persistent Home
Just a tip, if you have a /home/knoppix/dist/bin anyways, you can add your own scripts there executable and start them as a simple command from the shell.


Löschungen:
WARNING ( 05/08/2006) this applies to older version of Kanotix, in the later versions of Kanotix "/media" replaces "/mnt"
Someone told me a (supposed) simple solution, the nfs-kernel-server.
My laptop and desktop are both connected to a router. My friendly router gave them an IP:
  1. a mount-point, where I can find data of the respective other computer.
In my case I decided to take /mnt/desktop on the notebook for the data of the desktop and there I did /mnt/notebook for having the notebooks data on the desktop.
As su on the desktop I did:
mkdir /mnt/notebook

on the notebook:
mkdir /mnt/desktop

So I made a little script for starting and stopping this service only when i need it.
#!/bin/bash
If I don't need the connection any more I stop the connection. For that I've created the script **nfsstop** 
#!/bin/bash
Here the difference between the files on both computers is the umount-line only.
This script too is executable and copied to /usr/local/bin/ waiting to be used when I do nfsstop as su.
Once again very short:
Two days **
(for poormans installs or from CD and persistent Home)
Just a tip, if you have a /home/knoppix/dist/bin anyways, you can add your own scripts there executable and start them as a simple command from the shell.



Editiert am 2006-08-20 04:07:09 von Richard proofing

Erweiterungen:

Nfs-Kernel-Server Howto

My laptop and desktop are both connected to a router. My friendly router gave them an IP:
/ 192.168.xx.xx(rw,no_root_squash,no_subtree_check,sync) 192.168.xx.xy(rw,no_root_squash,no_subtree_check,sync)
# this line is needed only once if you don't need to delete /etc/exports
As for the laptop it does not know about the script that I made for it too. Only the sequence of the IPs in line seven is changed and instead of "notebook", "desktop" is mounted using it's IP.
The echo-commands I just did is to see what is happening.
# if you need portmap, don't stop it
The names of the little "programs" are of your choice. Only don't give them a name already used by another program or script. Such would cause problems.
  1. edit the scripts to put in your own IPs and mountpoints
That's it. I had to run the script twice on that computer I started with, as the connection to the second was not yet possible, as the second computer at that time did not know about that. The scripts have to be run on both computers.
Two days **
It is easily done if you have installed a program with Kano's scripts.
I had Opera installed that way. I had it in my /home/knoppix folder.
The main folder is /home/knoppix/dist.
Inside it you will find the /home/knoppix/dist/bin/ where you have to put the executable files.
The mountpoints should also be in your persistent home now, as when booting you would not have them anymore in /mnt.
Just a tip, if you have a /home/knoppix/dist/bin anyways, you can add your own scripts there executable and start them as a simple command from the shell.
Native english people, please be so kind as to check this howto.

Löschungen:

Nfs-Kernel-Server Howto

My laptop and desktop are both connected to a router. My friendly router gave them an IP:
/ 192.168.xx.xx(rw,no_root_squash,no_subtree_check,sync) 192.168.xx.xy(rw,no_root_squash,no_subtree_check,sync)
# this line is needed only once if you dont need to delete /etc/exports
As for the laptop it does not know about the script that I made for it too. Only the sequence of the IPs in line seven is changed and instead of "notebook", "desktop" is mounted using it's IP. The echo-commands I just did is to see what is happening.
# if you need portmap, dont stop it
The names of the little "programs" are of your choice. Only don't give them a name already used by another program or script. Such would cause problems...
  1. edit the scripts with your own IPs and mountpoints
That's it. I had to run the script twice on that computer I started with, as the connection to the second was not yet possible, as the second computer at that time did not know about that. The scripts have to run on both computers.
--
Two days later:
It is easily done if you have installed a program with Kano's scripts. I had opera installed that way. I had it in my /home/knoppix folder. The main folder is /home/knoppix/dist. Inside it you will find the /home/knoppix/dist/bin/ where you have to put the executable files. The mountpoints should also be in your persistent home now, as when booting you would not have them anymore in /mnt.
Just a tip, if you have a /home/knoppix/dist/bin anyways you can add your own scripts there executable and start them as a simple command from the shell.

Native english people, be so kind to check this howto...



Editiert am 2006-08-05 09:29:13 von bluewater Added Waring re /mnt and /media as media is now used

Erweiterungen:

Nfs-Kernel-Server Howto

WARNING ( 05/08/2006) this applies to older version of Kanotix, in the later versions of Kanotix "/media" replaces "/mnt"


Löschungen:

Nfs-Kernel-Server Howto WARNING ( 05/08/2006) this applies to older version of Kanotix, in the later versions of Kanotix "/media" replaces "/mnt"




Editiert am 2006-08-05 09:23:16 von bluewater

Erweiterungen:

Nfs-Kernel-Server Howto WARNING ( 05/08/2006) this applies to older version of Kanotix, in the later versions of Kanotix "/media" replaces "/mnt"



Löschungen:

Nfs-Kernel-Server Howto




Editiert am 2006-06-26 02:06:39 von FantaC

Erweiterungen:
If I don't need the connection any more I stop the connection. For that I've created the script nfsstop

Löschungen:
If I don't need the connection no more I stop the connection. For that i've created the script nfsstop


Editiert am 2006-06-23 19:36:52 von piper

Erweiterungen:
And as I want you to really have it simple, I wrote down how to manage that. My laptop and desktop are both connected to a router. My friendly router gave them an IP:
I found that the connection unnecessarily slows down my systems at boot and shutdown.
So I made a little script for starting and stopping this service only when i need it.
# for a CD or poormans install you would need it
This is the script I run on my desktop. I've named it nfsstart, made it executable with chmod +x and copied it to /usr/local/bin/ . Now as su in a shell I simply do nfsstart and it would run.
As for the laptop it does not know about the script that I made for it too. Only the sequence of the IPs in line seven is changed and instead of "notebook", "desktop" is mounted using it's IP. The echo-commands I just did is to see what is happening.
The first lines in full, are stolen from Kano's scripts, from "#" to "fi", it controls if I did the script as su (a must).
It is easily done if you have installed a program with Kano's scripts. I had opera installed that way. I had it in my /home/knoppix folder. The main folder is /home/knoppix/dist. Inside it you will find the /home/knoppix/dist/bin/ where you have to put the executable files. The mountpoints should also be in your persistent home now, as when booting you would not have them anymore in /mnt.


Löschungen:
And as I want you to really have it simple, I write down here how to manage that.
My laptop and my desktop both are connected to a router.My friendly router gave them an IP:
I found that the connection unnecessarily slow down my systems at boot and shutdown.
So I made some little scripts for starting and stopping this service only when i need it.
# for a CD or poor man´s install you would need it
This script is run on my desktop. I've named it nfsstart, made it executable with chmod +x and copied it to /usr/local/bin/ . Now as su in a shell I simply do nfsstart and it would run.
As the laptop would not know about that I made a script for it too. Only the sequence of the IPs in line seven is changed and instead of "notebook" "desktop" is mounted using it's IP. The echo-commands I just did to see what is happening.
The first lines fully stolen from Kano's scripts, from "#" to "fi", it controls if I did the script as su (a must).
It is easily done if you have installed a program with Kano's scripts. I had the opera installed that way and so I had in my /home/knoppix some folders. The main folder is /home/knoppix/dist.
Inside it you find the /home/knoppix/dist/bin/ where u have to put the executable files.
The mountpoints also should in your persistent home now, as when booting you would not have them no more in /mnt.



Editiert am 2006-06-23 18:15:16 von cokeinthebottle made some corrections and cleaning


Editiert am 2006-06-23 18:14:57 von cokeinthebottle made some corrections and cleaning

Erweiterungen:
I found that the connection unnecessarily slow down my systems at boot and shutdown.

Löschungen:
I found zhat the connection unnecessarily slow down my systems at boot and shutdown.


Editiert am 2006-06-23 17:59:18 von cokeinthebottle

Erweiterungen:
My laptop and my desktop both are connected to a router.My friendly router gave them an IP:
I needed the following:
  1. The IPs for telling /etc/exports who should deal with whom....
  2. a running nfs-kernel-server that is like so many things started by /etc/init.d/xx start
  3. the portmap daemon has to run too, if not already active
  4. a mount-point, where I can find data of the respective other computer.
As su on the desktop I did:
mkdir /mnt/notebook

on the notebook:
mkdir /mnt/desktop

I found zhat the connection unnecessarily slow down my systems at boot and shutdown.
So I made some little scripts for starting and stopping this service only when i need it.
This script is run on my desktop. I've named it nfsstart, made it executable with chmod +x and copied it to /usr/local/bin/ . Now as su in a shell I simply do nfsstart and it would run.
If I don't need the connection no more I stop the connection. For that i've created the script nfsstop
This script too is executable and copied to /usr/local/bin/ waiting to be used when I do nfsstop as su.
--
Two days later:
Just a tip, if you have a /home/knoppix/dist/bin anyways you can add your own scripts there executable and start them as a simple command from the shell.


Löschungen:
My laptop and my desktop both are connected to a router, to have the choice using the net with both of them.
My friendly router gave them an IP:
(x and y are fakes here. I don´t know who would read this here, and it would be too simple for someone knowing my real IPs.)
I needed the IPs for telling
/etc/exports
who should deal with whom....
also i needed a running nfs-kernel-server
that is like so many things started by /etc/init.d/xx start
the portmap daemon has to run too, if not already active
And I need a mount-point, where I can find data of the respective other computer.
As su on the desktop I did: mkdir /mnt/notebook
on the notebook: mkdir /mnt/desktop
Practising the connection I found it could unnecessarily slow down my systems at boot and shutdown.
So I made some little scripts for starting and stopping this service.
This script I run on my desktop. I named it nfsstart, made it executable with chmod +x and copied it to /usr/local/bin/ . Now as su in a shell I simply do nfsstart and it would run.
If I don't need the connection no more I stop it so:
This script too is executable and copied to /etc/local/bin/ waiting to be used when I do nfsstop as su.
Two days later:
Just a tip, if you have a /home/knoppix/dist/bin anyways you can add your own scripts there executable and start them as a simple command from the shell.



Editiert am 2006-06-23 17:48:48 von cokeinthebottle

Erweiterungen:
I wanted to connect my laptop and my desktop computer for exchanging files.
My laptop and my desktop both are connected to a router, to have the choice using the net with both of them.
And I need a mount-point, where I can find data of the respective other computer.
In my case I decided to take /mnt/desktop on the notebook for the data of the desktop and there I did /mnt/notebook for having the notebooks data on the desktop.
This script I run on my desktop. I named it nfsstart, made it executable with chmod +x and copied it to /usr/local/bin/ . Now as su in a shell I simply do nfsstart and it would run.
  1. give the computers a mountpoint (both should have one, if you want a connection in both directions)
  2. edit the scripts with your own IPs and mountpoints
  3. make the scripts executable and copy or move them to /usr/local/bin/
That's it. I had to run the script twice on that computer I started with, as the connection to the second was not yet possible, as the second computer at that time did not know about that. The scripts have to run on both computers.
So I changed in the scripts /mnt to /home/knoppix and find the content of my other computer now in /home/knoppix/desktop respectively /home/knoppix/notebook.


Löschungen:
I wanted to connect my laptop and my desktopcomputer for exchanging files.
My laptop and my desktopcomputer both are connected to a router, to have the choice using the Net with both of them.
And I need a mout-point, where I can find data of the respective other computer.
In my case I decided to take /mnt/desktop on the notebook for the data of the desktopcomputer and there I did /mnt/notebook for having the notebooks data on the desktop.
This script I run on my desktopcomputer. I made it as nfsstart, made it executable with chmod +x and copied it to /usr/local/bin/ . Now as su in a shell I simply do nfsstart and it would run.
1. give the computers a mountpoint (both should have one, if you want a connection in both directions)
2. edit the scripts with your own IPs and mountpoints
3. make the scripts executable and copy or move them to /usr/local/bin/ (no .sh, so they can run as command from a shell)
That's it. I had to run the script twice on that computer I started with, as the connection to the second was not jet possible, as the second computer at that time did not know about that. The scripts have to run on both computers.
So I changed in the scripts /mnt to /home/knoppix and find the content of my other computer now in /home/knoppix/desktopcomputer respectively /home/knoppix/notebook.



Editiert am 2006-06-18 13:06:13 von x-un-i some cleanup

Erweiterungen:

Nfs-Kernel-Server Howto


I wanted to connect my laptop and my desktopcomputer for exchanging files.
Not a real network, just for copying files from one to the other.

Someone told me a (supposed) simple solution, the nfs-kernel-server.
And as I want you to really have it simple, I write down here how to manage that.

Lets go.

My laptop and my desktopcomputer both are connected to a router, to have the choice using the Net with both of them.

My friendly router gave them an IP:

192.168.xx.xx and 192.168.xx.xy
(x and y are fakes here. I don´t know who would read this here, and it would be too simple for someone knowing my real IPs.)

I needed the IPs for telling

/etc/exports

who should deal with whom....

also i needed a running nfs-kernel-server

that is like so many things started by /etc/init.d/xx start

the portmap daemon has to run too, if not already active

And I need a mout-point, where I can find data of the respective other computer.
In my case I decided to take /mnt/desktop on the notebook for the data of the desktopcomputer and there I did /mnt/notebook for having the notebooks data on the desktop.
As su on the desktop I did: mkdir /mnt/notebook
on the notebook: mkdir /mnt/desktop


Practising the connection I found it could unnecessarily slow down my systems at boot and shutdown.
So I made some little scripts for starting and stopping this service.


#!/bin/bash
if [ $(id -u) != 0 ]; then
echo Error: You must be root to run this script!
exit 1
fi
cat <<EOT > /etc/exports
/        192.168.xx.xx(rw,no_root_squash,no_subtree_check,sync) 192.168.xx.xy(rw,no_root_squash,no_subtree_check,sync)
EOT
# this line is needed only once if you dont need to delete /etc/exports  
# so you can do that manually and take out the line here
# for a CD or poor man´s 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.xx.xy:/ /mnt/notebook
echo Notebook mounted 



This script I run on my desktopcomputer. I made it as nfsstart, made it executable with chmod +x and copied it to /usr/local/bin/ . Now as su in a shell I simply do nfsstart and it would run.

As the laptop would not know about that I made a script for it too. Only the sequence of the IPs in line seven is changed and instead of "notebook" "desktop" is mounted using it's IP. The echo-commands I just did to see what is happening.

The first lines fully stolen from Kano's scripts, from "#" to "fi", it controls if I did the script as su (a must).

If I don't need the connection no more I stop it so:

#!/bin/bash
if [ $(id -u) != 0 ]; then
echo Error: You must be root to run this script!
exit 1
fi
umount /mnt/notebook
echo Notebook umounted
# if you need portmap, dont stop it
/etc/init.d/portmap stop
/etc/init.d/nfs-kernel-server stop
echo Kernel Server stopped


Here the difference between the files on both computers is the umount-line only.

This script too is executable and copied to /etc/local/bin/ waiting to be used when I do nfsstop as su.

The names of the little "programs" are of your choice. Only don't give them a name already used by another program or script. Such would cause problems...

Once again very short:
1. give the computers a mountpoint (both should have one, if you want a connection in both directions)
2. edit the scripts with your own IPs and mountpoints
3. make the scripts executable and copy or move them to /usr/local/bin/ (no .sh, so they can run as command from a shell)


That's it. I had to run the script twice on that computer I started with, as the connection to the second was not jet possible, as the second computer at that time did not know about that. The scripts have to run on both computers.


Two days later:
(for poormans installs or from CD and persistent Home)
It is easily done if you have installed a program with Kano's scripts. I had the opera installed that way and so I had in my /home/knoppix some folders. The main folder is /home/knoppix/dist.

Inside it you find the /home/knoppix/dist/bin/ where u have to put the executable files.
The mountpoints also should in your persistent home now, as when booting you would not have them no more in /mnt.
So I changed in the scripts /mnt to /home/knoppix and find the content of my other computer now in /home/knoppix/desktopcomputer respectively /home/knoppix/notebook.

Just a tip, if you have a /home/knoppix/dist/bin anyways you can add your own scripts there executable and start them as a simple command from the shell.

Native english people, be so kind to check this howto...


Löschungen:

Nfs-Kernel-Server Howto

I wanted to connect my laptop and my desktopcomputer for exchanging files.
Not a real network, just for copying files from one to the other.
Someone told me a (supposed) simple solution, the nfs-kernel-server.
And as I want you to really have it simple, I write down here how to manage that.
Lets go.
My laptop and my desktopcomputer both are connected to a router, to have the choice using the Net with both of them.
My friendly router gave them an IP:
192.168.xx.xx and 192.168.xx.xy
(x and y are fakes here. I don´t know who would read this here, and it would be too simple for someone knowing my real IPs.)
I needed the IPs for telling
/etc/exports
who should deal with whom....
also i needed a running nfs-kernel-server
that is like so many things started by /etc/init.d/xx start
the portmap daemon has to run too, if not already active
And I need a mout-point, where I can find data of the respective other computer.
In my case I decided to take /mnt/desktop on the notebook for the data of the desktopcomputer and there I did /mnt/notebook for having the notebooks data on the desktop.
As su on the desktop I did: mkdir /mnt/notebook
on the notebook: mkdir /mnt/desktop
Practising the connection I found it could unnecessarily slow down my systems at boot and shutdown.
So I made some little scripts for starting and stopping this service.
:code:#!/bin/bash
if [ $(id -u) != 0 ]; then
echo Error: You must be root to run this script!
exit 1
fi
cat
EOT > /etc/exports
/ 192.168.xx.xx(rw,no_root_squash,no_subtree_check,sync) 192.168.xx.xy(rw,no_root_squash,no_subtree_check,sync)
EOT
# this line is needed only once if you dont need to delete /etc/exports
# so you can do that manually and take out the line here
# for a CD or poor man´s 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.xx.xy:/ /mnt/notebook
echo Notebook mounted :code:
This script I run on my desktopcomputer. I made it as nfsstart, made it executable with chmod +x and copied it to /usr/local/bin/ . Now as su in a shell I simply do nfsstart and it would run.
As the laptop would not know about that I made a script for it too. Only the sequence of the IPs in line seven is changed and instead of "notebook" "desktop" is mounted using it´s IP. The echo-commands I just did to see what is happening.
The first lines fully stolen from Kano´s scripts, from "#" to "fi", it controls if I did the script as su (a must).
If I don´t need the connection no more I stop it so:
:code:#!/bin/bash
if [ $(id -u) != 0 ]; then
echo Error: You must be root to run this script!
exit 1
fi
umount /mnt/notebook
echo Notebook umounted
# if you need portmap, dont stop it
/etc/init.d/portmap stop
/etc/init.d/nfs-kernel-server stop
echo Kernel Server stopped:code:
Here the difference between the files on both computers is the umount-line only.
This script too is executable and copied to /etc/local/bin/ waiting to be used when I do nfsstop as su.
The names of the little "programs" are of your choice. Only don´t give them a name already used by another program or script. Such would cause problems...
Once again very short:
1. give the computers a mountpoint (both should have one, if you want a connection in both directions)
2. edit the scripts with your own IPs and mountpoints
3. make the scripts executable and copy or move them to /usr/local/bin/ (no .sh, so they can run as command from a shell)
That´s it. I had to run the script twice on that computer I started with, as the connection to the second was not jet possible, as the second computer at that time did not know about that. The scripts have to run on both computers.
Two days later:
(for poormans installs or from CD and persistent Home)
It is easily done if you have installed a program with Kano´s scripts. I had the opera installed that way and so I had in my /home/knoppix some folders. The main folder is /home/knoppix/dist.
Inside it you find the /home/knoppix/dist/bin/ where u have to put the executable files.
The mountpoints also should in your persistent home now, as when booting you would not have them no more in /mnt.
So I changed in the scripts /mnt to /home/knoppix and find the content of my other computer now in /home/knoppix/desktopcomputer respectively /home/knoppix/notebook.
Just a tip, if you have a /home/knoppix/dist/bin anyways you can add your own scripts there executable and start them as a simple command from the shell.
Native english people, be so kind to check this howto...
:de: NfsKernelServer


älteste bekannte Version dieser Seite wurde bearbeitet am 2004-07-14 14:26:16 von DerEinzigWahreMipooh [ ]

Nfs-Kernel-Server Howto


I wanted to connect my laptop and my desktopcomputer for exchanging files.
Not a real network, just for copying files from one to the other.

Someone told me a (supposed) simple solution, the nfs-kernel-server.
And as I want you to really have it simple, I write down here how to manage that.

Lets go.

My laptop and my desktopcomputer both are connected to a router, to have the choice using the Net with both of them.

My friendly router gave them an IP:

192.168.xx.xx and 192.168.xx.xy
(x and y are fakes here. I don´t know who would read this here, and it would be too simple for someone knowing my real IPs.)

I needed the IPs for telling

/etc/exports

who should deal with whom....

also i needed a running nfs-kernel-server

that is like so many things started by /etc/init.d/xx start

the portmap daemon has to run too, if not already active

And I need a mout-point, where I can find data of the respective other computer.
In my case I decided to take /mnt/desktop on the notebook for the data of the desktopcomputer and there I did /mnt/notebook for having the notebooks data on the desktop.
As su on the desktop I did: mkdir /mnt/notebook
on the notebook: mkdir /mnt/desktop


Practising the connection I found it could unnecessarily slow down my systems at boot and shutdown.
So I made some little scripts for starting and stopping this service.


:code:#!/bin/bash
if [ $(id -u) != 0 ]; then
echo Error: You must be root to run this script!
exit 1
fi
cat
EOT > /etc/exports
/ 192.168.xx.xx(rw,no_root_squash,no_subtree_check,sync) 192.168.xx.xy(rw,no_root_squash,no_subtree_check,sync)
EOT
# this line is needed only once if you dont need to delete /etc/exports
# so you can do that manually and take out the line here
# for a CD or poor man´s 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.xx.xy:/ /mnt/notebook
echo Notebook mounted :code:


This script I run on my desktopcomputer. I made it as nfsstart, made it executable with chmod +x and copied it to /usr/local/bin/ . Now as su in a shell I simply do nfsstart and it would run.

As the laptop would not know about that I made a script for it too. Only the sequence of the IPs in line seven is changed and instead of "notebook" "desktop" is mounted using it´s IP. The echo-commands I just did to see what is happening.

The first lines fully stolen from Kano´s scripts, from "#" to "fi", it controls if I did the script as su (a must).

If I don´t need the connection no more I stop it so:

:code:#!/bin/bash
if [ $(id -u) != 0 ]; then
echo Error: You must be root to run this script!
exit 1
fi
umount /mnt/notebook
echo Notebook umounted
# if you need portmap, dont stop it
/etc/init.d/portmap stop
/etc/init.d/nfs-kernel-server stop
echo Kernel Server stopped:code:

Here the difference between the files on both computers is the umount-line only.

This script too is executable and copied to /etc/local/bin/ waiting to be used when I do nfsstop as su.

The names of the little "programs" are of your choice. Only don´t give them a name already used by another program or script. Such would cause problems...

Once again very short:
1. give the computers a mountpoint (both should have one, if you want a connection in both directions)
2. edit the scripts with your own IPs and mountpoints
3. make the scripts executable and copy or move them to /usr/local/bin/ (no .sh, so they can run as command from a shell)


That´s it. I had to run the script twice on that computer I started with, as the connection to the second was not jet possible, as the second computer at that time did not know about that. The scripts have to run on both computers.


Two days later:
(for poormans installs or from CD and persistent Home)
It is easily done if you have installed a program with Kano´s scripts. I had the opera installed that way and so I had in my /home/knoppix some folders. The main folder is /home/knoppix/dist.

Inside it you find the /home/knoppix/dist/bin/ where u have to put the executable files.
The mountpoints also should in your persistent home now, as when booting you would not have them no more in /mnt.
So I changed in the scripts /mnt to /home/knoppix and find the content of my other computer now in /home/knoppix/desktopcomputer respectively /home/knoppix/notebook.

Just a tip, if you have a /home/knoppix/dist/bin anyways you can add your own scripts there executable and start them as a simple command from the shell.

Native english people, be so kind to check this howto...

:de: NfsKernelServer
Letzte Revision :
Letzter Editor :
Eigentümer :
 
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.