View previous topic :: View next topic |
Author |
Message |
Belinus n00b
Joined: 05 Sep 2003 Posts: 26
|
Posted: Fri Mar 19, 2004 4:57 pm Post subject: Accepting connections from older Macs |
|
|
I need to be able to have older Macs (running MacOS8 or 9) be able to connect to my Gentoo box so some image files can be copied.
I have compiled AppleTalk support into the kernel. Is there anything else I need to do beyond that? |
|
Back to top |
|
|
swenp n00b
Joined: 29 Feb 2004 Posts: 11 Location: Cologne / Germany
|
Posted: Fri Mar 19, 2004 10:37 pm Post subject: |
|
|
Yes, you need to emerge netatalk. This will make your gentoo box to act as a apple-talk server. Dont mind to ask if you have further questions.
Swen |
|
Back to top |
|
|
Belinus n00b
Joined: 05 Sep 2003 Posts: 26
|
Posted: Wed Apr 07, 2004 7:41 pm Post subject: |
|
|
Ok, I finally got netatalk on the system. So far though nothing I do can get it to show up on the chooser.
atalkd.conf looks like this:
Code: | #eth0 -phase 2 -net 1000-1999 -addr 1155.174 -zone "Computer Division"
eth0 -phase 2 -net 0-65534 -addr 65280.46 -zone "Computer Division" |
netatalk.conf
Code: | # Appletalk configuration
# Change this to increase the maximum number of clients that can connect:
AFPD_MAX_CLIENTS=20
# Change this to set the machine's atalk name and zone.
# NOTE: if your zone has spaces in it, you're better off specifying
# it in afpd.conf
ATALK_ZONE="Computer Division"
ATALK_NAME=`echo ${HOSTNAME}|cut -d. -f1`
# specify this if you don't want guest, clrtxt, and dhx
# available options: uams_guest.so, uams_clrtxt.so, uams_dhx.so,
# uams_randnum.so
#AFPD_UAMLIST="-U uams_clrtxt.so,uams_randnum.so"
# Change this to set the id of the guest user
AFPD_GUEST=nobody
# Set which daemons to run (papd is dependent upon atalkd):
ATALKD_RUN=yes
PAPD_RUN=yes
AFPD_RUN=yes
TIMELORD_RUN=no
# Control whether the daemons are started in the background
ATALK_BGROUND=yes |
And I haven othing set in afpd.conf at the moment. Any help you can give me will be greatly appreciated. |
|
Back to top |
|
|
swenp n00b
Joined: 29 Feb 2004 Posts: 11 Location: Cologne / Germany
|
|
Back to top |
|
|
Belinus n00b
Joined: 05 Sep 2003 Posts: 26
|
Posted: Sat Apr 10, 2004 5:02 pm Post subject: |
|
|
I figured it out. I brain farted on gentoo's using /etc/init.d/atalk as opposed to rc.atalk.
It's working fine now except for a bug in it. Whenever I stop the service I have to delete /etc/netatalk/atalk.conf or else I cannot restart the service because the address will be reported in use. I submitted a bug to bugzilla for it so hopefully someone will be able to fix it.
Do you know how to mount AppleTalk shares/printers? |
|
Back to top |
|
|
swenp n00b
Joined: 29 Feb 2004 Posts: 11 Location: Cologne / Germany
|
Posted: Sun Apr 11, 2004 9:39 am Post subject: |
|
|
For older macs there was afpfs, but unfortunately its not maintained anymore. Maybe you could get a ftp server running on your mac and mount the ftp-drive. I never tried it myself, but a search with "ftp lufs" brings some hints.
Swen |
|
Back to top |
|
|
lazloman Guru
Joined: 27 Dec 2003 Posts: 343 Location: Skokie, Il. USA
|
Posted: Wed Apr 14, 2004 4:00 pm Post subject: |
|
|
Do you want to mount shares from an Appletalk client? If so, just starting netatalk will allow users to connect to their home directories. If you want to setup more shares, just add the shares and the chooser name to the /etc/atalk/AppleVolumes.default. If you need to print to an AppleTalk printer, you'll need to setup /etc/atalk/papd.conf and restart netatalk. I hope this was clear, I'm not sure that I'm answering your question. _________________ Gentoo x86
2x Dell Optiplex GX200
"My Break-Dancing days are over, but there's always the Funky Chicken."
--The Full Monty |
|
Back to top |
|
|
Belinus n00b
Joined: 05 Sep 2003 Posts: 26
|
Posted: Wed Apr 14, 2004 6:45 pm Post subject: |
|
|
Printer actually.
If I need to access the AppleShares I have physical access or FTP access to the machines. |
|
Back to top |
|
|
lazloman Guru
Joined: 27 Dec 2003 Posts: 343 Location: Skokie, Il. USA
|
Posted: Wed Apr 14, 2004 7:14 pm Post subject: |
|
|
Well then here you go:
http://freespace.virgin.net/andrew.foakes/linux/Netatalk.html
This link discusses how to setup a printer. Its been a while since I've used netatalk to print, but I seem to remember that it worked pretty well with my LW 630, although I think some PDF's had problems. _________________ Gentoo x86
2x Dell Optiplex GX200
"My Break-Dancing days are over, but there's always the Funky Chicken."
--The Full Monty |
|
Back to top |
|
|
|