Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
How to start netatalk?
View previous topic :: View next topic  
Author Message
amps2volts
Junior Member


Joined: 05 May 2011
Posts: 3
Location: USA, Massachusetts

PostPosted: Mon May 23, 2011 10:09 am    Post subject: How to start netatalk? Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Mon May 23, 2011 5:12 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
amps2volts
Junior Member


Joined: 05 May 2011
Posts: 3
Location: USA, Massachusetts

PostPosted: Thu May 26, 2011 6:03 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Thu May 26, 2011 7:20 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
amps2volts
Junior Member


Joined: 05 May 2011
Posts: 3
Location: USA, Massachusetts

PostPosted: Sun May 29, 2011 6:01 am    Post subject: Reply with quote

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 Sad Never did so many people.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional