...
After launching the start command, the netatalk service needs some time to initialize the network. So be patient (sometimes it takes a minute).
How to disconnect a client ("Sganciare un Devil")
To disconnect a client, we need the process id of his connection and then we have to kill it. We can obtain all process ids with the following command:
Code Block | ||
---|---|---|
| ||
root@vldafneafp:~# ps -fe | grep devil | grep afpd
devil204 12132 22674 0 nov22 ? 00:00:02 /usr/sbin/afpd -U uams_dhx2.so,uams_clrtxt.so -g nobody -c 50 -n console100
devil364 12138 22674 0 nov22 ? 00:00:06 /usr/sbin/afpd -U uams_dhx2.so,uams_clrtxt.so -g nobody -c 50 -n console100
devil367 12139 22674 0 nov22 ? 00:00:00 /usr/sbin/afpd -U uams_dhx2.so,uams_clrtxt.so -g nobody -c 50 -n console100
devil366 12140 22674 0 nov22 ? 00:00:00 /usr/sbin/afpd -U uams_dhx2.so,uams_clrtxt.so -g nobody -c 50 -n console100
devil365 12142 22674 0 nov22 ? 00:00:00 /usr/sbin/afpd -U uams_dhx2.so,uams_clrtxt.so -g nobody -c 50 -n console100
devil386 12519 22674 0 nov22 ? 00:00:17 /usr/sbin/afpd -U uams_dhx2.so,uams_clrtxt.so -g nobody -c 50 -n console100
devil391 23568 22674 0 nov16 ? 00:00:39 /usr/sbin/afpd -U uams_dhx2.so,uams_clrtxt.so -g nobody -c 50 -n console100
devil385 23574 22674 0 nov16 ? 00:00:07 /usr/sbin/afpd -U uams_dhx2.so,uams_clrtxt.so -g nobody -c 50 -n console100
|
The first number after the devil number is the process id to kill to disconnect that devil from AFP shares. In this example, if I want to disconnect the devil391, I have to kill the process id 23568 with the following command:
Code Block | ||
---|---|---|
| ||
root@vldafneafp:~# kill -9 23568 |