View previous topic :: View next topic |
Author |
Message |
amps2volts Junior Member
Joined: 05 May 2011 Posts: 3 Location: USA, Massachusetts
|
Posted: Mon May 23, 2011 10:09 am Post subject: How to start netatalk? |
|
|
I have been looking at all the documentation and forums on anything about netatalk on here. I have used freeNAS and napp-it so pretty familiar on setting up a AFP share. On SMS via webmin, I make a share with a directory and add a user to the share. I click "Start Netatalk Service" nothing happens just sits there. The apples see the windows shares ok from smaba. I tried reinstalling SMS 1.6 native with almost every package thinking maybe it was messing something like berkeley database witch. Did nothing though.
I'm a dummy when it comes to compelling installing and configuring netatalk. Is there some little thing I just need to change in the main config file or something?
If anybody could help me out that would be great. |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Mon May 23, 2011 5:12 pm Post subject: |
|
|
To start netatalk use the /etc/rc.d/rc.atalk startup script.
By default is disabled just make it executable with
Code: | chmod +x /etc/rc.d/rc.atalk |
and start it with
Code: | /etc/rc.d/rc.atalk start |
Webmin's module for netatalk it's not the best and it's better and easier to configure it manual by editing existing entries in
/etc/netatalk/AppleVolumes.default
/etc/netatalk/afpd.conf
It's quite simple configs.
You can additionally install avahi from extra and enable appropriate services so Apple Macs can see SMS with bonjour.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
amps2volts Junior Member
Joined: 05 May 2011 Posts: 3 Location: USA, Massachusetts
|
Posted: Thu May 26, 2011 6:03 am Post subject: |
|
|
Cool thanks. I will give that a try. Yeah seams like a lot of things are kind of glitchy in webmin on any OS. Hmm does avahi control how the shares connect to the computer? It says im wiki it does "Service Discovery"? Because I seem to have same issue in some other OS's in finder.
In free nas and linux the share connects in finder as this icon, Then when you try to mount the share in final cut pro or photo shop for example it disconnects from finder and fails.
In napp-it / solaris the computer connects with this icon and everything is all fine in final cut pro or photo shop acts like a drive in computer and stays connected in finder.
What in the world is the difference between the icons. Can I replicate this in SMS? |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Thu May 26, 2011 7:20 am Post subject: |
|
|
You can do it easily, just install avahi from extra and start the daemons
Code: | /etc/rc.d/rc.avahidaemon start
/etc/rc.d/rc.avahidnsconfd start |
You can make an entry of those to in rc.local to automatically start at boot.
To enable a service rename service.tmpl to service e.g. rename
/etc/avahi/services/afp.service.tmpl
to
/etc/avahi/services/afp.service
afp.service looks like
Code: | <?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_afpovertcp._tcp</type>
<port>548</port>
</service>
<service>
<type>_device-info._tcp</type>
<port>0</port>
<txt-record>model=Xserve</txt-record>
</service>
</service-group> |
By default SMS looks like your old napp-it, but you can change the icon by simple altering
Code: | <txt-record>model=Xserve</txt-record> |
for instance you can put instead of Xserve
PowerBook
PowerMac
Macmini
iMac
MacBook
MacBookPro
MacBookAir
MacPro
AppleTV1,1
AirPort
and you can specify even the model e.g. iMac3,1 is not the same as iMac7,1 and so on.
You can disable smb.service by renaming
/etc/avahi/services/smb.service
to
/etc/avahi/services/smb.service.tmpl
and restart the daemons for changes to apply.
SMS services for avahi are
Code: | afp.service.tmpl
cups.service.tmpl
http.service
nfs.service.tmpl
rfb.service.tmpl
smb.service |
If you enable vnc in SMS and enable rfb.service you will get the "Share Screen" button option on your Macs.
If you need any help let me know.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
amps2volts Junior Member
Joined: 05 May 2011 Posts: 3 Location: USA, Massachusetts
|
Posted: Sun May 29, 2011 6:01 am Post subject: |
|
|
Ok wow thanks for detailed reply on how to do everything. I will give it a try let you know how it works out and if I have any issues. I'm all stressed busy designing network for 74 people Never did so many people. |
|
Back to top |
|
|