A2SERVER - fully functional netatalk

Anything about Mac emulation that does not belong in the above categories.

Moderators: Cat_7, Ronald P. Regensburg

User avatar
adespoton
Forum All-Star
Posts: 4345
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: A2SERVER - fully functional netatalk

Post by adespoton »

that-ben wrote: Thu Jan 07, 2021 1:41 pm I finally snapped and went for a SCSI to SD card adapter. It's cute, it's small, no cables, no Mac disassembly. Real floppy drive remains as is, functional. It's like a FloppyEmu, except almost twice cheaper and it's one huge hard drive instead of a bunch of floppy disk images. I almost prefer it this way. If I want to dual boot, I can just use an old 1GB, 1$ SD card (and still have 100% of the 68000 software library on it!). I know, I know, it's not going to have TCP/IP, but that doesn't matter. I'm not going for this on a Plus. I'd do it on a SE/30 tough, but I don't have one. This is my next target. I should have bought one (or ten) when I saw them for sale for 40$ 20 years ago.

Thanks for participating in this discussion.
Did you see the other thread about enabling ARA over a null modem cable? That might be more up your alley for getting the Plus networked; it's how I did it back in the 90s. The SCSI2SD is going to be WAY better for storing/transferring files, but it looks like using the null cable and ARA is a pretty cheap way to get a LocalTalk bridge and networking on the Plus. You could even netboot (not needed with the SD, but still) !
User avatar
that-ben
Granny Smith
Posts: 141
Joined: Tue Nov 10, 2015 7:50 pm

Re: A2SERVER - fully functional netatalk

Post by that-ben »

adespoton wrote: Thu Jan 07, 2021 5:12 pm Did you see the other thread about enabling ARA over a null modem cable?
I have not, but I'll probably be interested at some point over the next months, tough I want to reiterate that I am NOT going for the web surfing thing with a Mac Plus. I'm not THAT patient. I'll only go for this with a SE/30 or faster.

BTW, I want to mention that I also now have an old Mac US Robotics 14.4k modem that probably still works. I have the DB-25 to DB-8 cable that goes with it. It's definitely from the time period so I think it could be compatible with the Mac Plus under System 7. I just have no idea how to hook it up to make it work or if it would even be beneficial compared to just splicing a NULL cable together and using that to connect to my iMac G3 or something. The problem is that AppleTalk is NOT compatible with SERIAL to USB adapters, so even if I made a NULL modem cable to hook up to my iMac G3, I think AppleTalk would not work.
User avatar
adespoton
Forum All-Star
Posts: 4345
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: A2SERVER - fully functional netatalk

Post by adespoton »

that-ben wrote: Sat Jan 09, 2021 9:55 pm
adespoton wrote: Thu Jan 07, 2021 5:12 pm Did you see the other thread about enabling ARA over a null modem cable?
I have not, but I'll probably be interested at some point over the next months, tough I want to reiterate that I am NOT going for the web surfing thing with a Mac Plus. I'm not THAT patient. I'll only go for this with a SE/30 or faster.

BTW, I want to mention that I also now have an old Mac US Robotics 14.4k modem that probably still works. I have the DB-25 to DB-8 cable that goes with it. It's definitely from the time period so I think it could be compatible with the Mac Plus under System 7. I just have no idea how to hook it up to make it work or if it would even be beneficial compared to just splicing a NULL cable together and using that to connect to my iMac G3 or something. The problem is that AppleTalk is NOT compatible with SERIAL to USB adapters, so even if I made a NULL modem cable to hook up to my iMac G3, I think AppleTalk would not work.
AppleTalk won't work, but Apple Remote Access does; it tunnels AppleTalk over serial. That's the point of the other thread.

As for the modem, if it's the one I think it is, I used to use the exact modem with my Mac Plus, so it'll definitely work. I don't even remember having to play with the dip switches on the back or setting any special AT commands to get it to work -- just fire up ZTerm or Claris Works, or set up MacTCP and one of the SLIP control panels, and it should work.
User avatar
that-ben
Granny Smith
Posts: 141
Joined: Tue Nov 10, 2015 7:50 pm

Re: A2SERVER - fully functional netatalk

Post by that-ben »

adespoton wrote: Mon Jan 11, 2021 4:14 pm AppleTalk won't work, but Apple Remote Access does; it tunnels AppleTalk over serial. That's the point of the other thread.
As for the modem, if it's the one I think it is, [...] set up MacTCP and one of the SLIP control panels, and it should work.
Thank you for replying. That is very interesting indeed so yes, I'm definitely interested if you could post the link here, please.

I'm sorry, but I know next to nothing about ISDN modems. I grew up with only 1 Mac that had a modem hooked up to a phone line, but I did not set it up and soon after, we got cable, so it was all Ethernet. If you think this could work, then how exactly can I make use of it if I do not have a land phone line anymore? Is there a way to like hook the 2 Macs through that 14.4k modem? If you have pointers for me or links to instructions on how to set up a network mainly for files sharing (but perhaps TCP/IP sharing/cascading/DHCP if someone knows?) between the Mac Plus hooked to a real modem hooked to a G3.

Mac Plus <--> US Robotics 14.4k modem <--> iMac G3's 56k modem.

Then inside Mac OS 9 on the G3, via some software, I could emulate or share a TCP/IP connection or host a DHCP server for attributing the Plus an IP or something? Sorry for my n00bness! I literally will be installing a 14.4k modem for the first time!

BTW guys I'm making a brand new RTS game for 68000 (512K, Plus, Classic, SE) using THINK Pascal 4. I cannot wait for that SCSI2SD adapter to arrive to try it out on real hardware. Meanwhile, it runs perfectly fine under Mini vMac (with the Mac Plus ROM, not the MacII ROM) https://www.macintoshrepository.org/345 ... -old-macs-
User avatar
adespoton
Forum All-Star
Posts: 4345
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: A2SERVER - fully functional netatalk

Post by adespoton »

that-ben wrote: Mon Jan 11, 2021 9:30 pm
adespoton wrote: Mon Jan 11, 2021 4:14 pm AppleTalk won't work, but Apple Remote Access does; it tunnels AppleTalk over serial. That's the point of the other thread.
As for the modem, if it's the one I think it is, [...] set up MacTCP and one of the SLIP control panels, and it should work.
Thank you for replying. That is very interesting indeed so yes, I'm definitely interested if you could post the link here, please.

I'm sorry, but I know next to nothing about ISDN modems. I grew up with only 1 Mac that had a modem hooked up to a phone line, but I did not set it up and soon after, we got cable, so it was all Ethernet. If you think this could work, then how exactly can I make use of it if I do not have a land phone line anymore? Is there a way to like hook the 2 Macs through that 14.4k modem? If you have pointers for me or links to instructions on how to set up a network mainly for files sharing (but perhaps TCP/IP sharing/cascading/DHCP if someone knows?) between the Mac Plus hooked to a real modem hooked to a G3.

Mac Plus <--> US Robotics 14.4k modem <--> iMac G3's 56k modem.

Then inside Mac OS 9 on the G3, via some software, I could emulate or share a TCP/IP connection or host a DHCP server for attributing the Plus an IP or something? Sorry for my n00bness! I literally will be installing a 14.4k modem for the first time!

BTW guys I'm making a brand new RTS game for 68000 (512K, Plus, Classic, SE) using THINK Pascal 4. I cannot wait for that SCSI2SD adapter to arrive to try it out on real hardware. Meanwhile, it runs perfectly fine under Mini vMac (with the Mac Plus ROM, not the MacII ROM) https://www.macintoshrepository.org/345 ... -old-macs-
This is where the null modem cable comes in. If you take the TX line on one end of the phone cable and swap it with the RX line, you can directly plug the two modems together, take them off hook, and then dial null from the old machine and set the iMac to share its internet over the modem port (or, just use ZTerm or Claris Works to listen for a call one one side and make the null call on the other). The result is communication :) The next step is to do the same thing using Apple Remote Access, listening on the one computer and "calling" in with the other. In this case, you can create a null modem profile in Open Transport on the newer iMac, and then use that to "call" the older Mac that's running ARA Server, listening on the modem port.

viewtopic.php?t=10962

viewtopic.php?p=68834
mkinn
Space Cadet
Posts: 7
Joined: Sun Mar 31, 2024 10:43 pm

Re: A2SERVER - fully functional netatalk

Post by mkinn »

Just bought a Pi 2B with a 32Gb SD disk, installed Wheezy, Jessie, and Stretch, each time running the 3 lines from GitHub 1.5.2 to install A2SERVER, but each time, it ends up preventing a full reboot after the script finishes and rebooting, emergency mode, root access locked, nothing running.
I manually typed these 3 lines into the command line, with a Pi $ login, not root.
I am a relative newcomer to Pi and about a 30% functional Raspian user. I got tightvncserver running, with a free RealVNC viewer client on Win10, but even after installing and configuring autocutsel, I could not copy and paste into terminal window command prompt from web pages or Win10 windows.
I used this quote from Mabam's post:

export A2SERVER_SCRIPT_URL=https://raw.githubusercontent.com/Raspp ... ver/1.5.2/

export A2SERVER_BINARY_URL=${A2SERVER_SCRIPT_URL}files

wget -O setup ${A2SERVER_SCRIPT_URL}setup/index.txt; source setup

and it works, with few red warnings during the execution of the script.
I will gladly pay anyone who has a working Pi SD card for an image that works, and will purchase a newer version pi if necessary to get a working Pi A2server.
I will gladly mail my entire Pi and card to you if you want. Please reply by Private msg if you can help me! $$$
mkinn
Space Cadet
Posts: 7
Joined: Sun Mar 31, 2024 10:43 pm

Re: A2SERVER - fully functional netatalk

Post by mkinn »

Just wanted to see TightVNC server running on the Pi, but not for A2SERVER stuff.
Finally figured how to configure SSH from Raspi-config, so now using SSH, which allows logging, but still no luck getting it to install correctly, it fails and exits with compilation failed, and when you reboot, same thing every time, you can't login. Just need a working image for Jessie or Stretch on a Pi 2B, please help! I will pay $$.
Here are the last few pages from the install log where it fails with MANY 404 file not found errors. Seems easy to fix. no?

Err:1 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libpcrecpp0v5 armhf 2:8.39-3
404 Not Found [IP: 93.93.128.193 80]

0% [Working]

Err:2 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libsepol1-dev armhf 2.6-2
404 Not Found [IP: 93.93.128.193 80]

0% [Working]

Err:3 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libpcre32-3 armhf 2:8.39-3
404 Not Found [IP: 93.93.128.193 80]

0% [Working]

Err:4 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libpcre3-dev armhf 2:8.39-3
404 Not Found [IP: 93.93.128.193 80]

0% [Working]

Err:5 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libselinux1-dev armhf 2.6-3
404 Not Found [IP: 93.93.128.193 80]

0% [Working]

Err:6 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libfuse-dev armhf 2.9.7-1+deb9u2
404 Not Found [IP: 93.93.128.193 80]

0% [Working]

Err:7 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libglib2.0-dev armhf 2.50.3-2
404 Not Found [IP: 93.93.128.193 80]

0% [Working]

Err:8 http://raspbian.raspberrypi.org/raspbian stretch/main armhf libattr1-dev armhf 1:2.4.47-2
404 Not Found [IP: 93.93.128.193 80]

0% [Working]

E: Failed to fetch http://raspbian.raspberrypi.org/raspbia ... _armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbia ... _armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbia ... _armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbia ... _armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbia ... _armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbia ... _armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbia ... _armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbia ... _armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
cleaning
Package fuse was not found in the pkg-config search path.
Perhaps you should add the directory containing `fuse.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fuse' found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
Package fuse was not found in the pkg-config search path.
Perhaps you should add the directory containing `fuse.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fuse' found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
ciopfs build options:
CFLAGS = -DFUSE_USE_VERSION=26 -DHAVE_GLIB -DVERSION="0.4" -DNDEBUG -Os
LDFLAGS = -lulockmgr -lattr
CC = cc
Package fuse was not found in the pkg-config search path.
Perhaps you should add the directory containing `fuse.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fuse' found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
CC ciopfs.c
[01m[Kciopfs.c:52:18:[m[K [01;31m[Kfatal error: [m[Kfuse.h: No such file or directory
#include <fuse.h>
[01;31m[K^[m[K
compilation terminated.
Makefile:15: recipe for target 'ciopfs.o' failed
make: *** [ciopfs.o] Error 1
mv: cannot stat 'ciopfs': No such file or directory
sudo: ciopfs: command not found
grep: /usr/local/etc/netatalk/AppleVolumes.default: No such file or directory

That's just the last page or so. I have the entire install log, if anybody wants it. Thanks!
mkinn
Space Cadet
Posts: 7
Joined: Sun Mar 31, 2024 10:43 pm

Re: A2SERVER - fully functional netatalk

Post by mkinn »

Well, no luck and no help setting up A2server on my pi 2B so far, so I bought a Mac Mini, upgraded to Big Sur, (Monterrey won't support Oracle Virtualbox) installed Virttualbox, and tried to download A2SERVER.OVA or the A2SERVER+A2CLOUD virtual machine from appleii.ivanx.com/a2server/a2server_virtualbox.html, and it failed, 404 not found on this server error.
Google search found nowhere else to find this file, so no A2SERVER on Mac mini, either. Is this thread now dead, or has anybody else tried to do anything about this in the last few years? Thank you Apple for dropping Appletalk from modern distros, which would REALLY BE EASIER than doing all this, but ANYTHING is MUCH BETTER than NOTHING!!! PLEASE HELP! On behalf of the ENTIRE APPLE II community, PLEASE HELP!!!

I don't give up easily, but I don't know Linux, C programming, or networking protocols well enough to even try to understand all the stuff under the hood, I'd just like to USE this machine with newer Mac's! You never know WHAT someone might come up with being able to network ewverything Apple from 1979 to the present, and think of the educational opportunities for young people to learn where it all began and to see how it all developed over the years.
It's REALLY COOL to see floppies, modems, scanners, and 30 year old laser printers all networked and working with modern pc's. Museum quality stuff, really makes you think out of the box to see how they used to do it with all the memory/cost/hardware limitations. Not to mention the fun of going to an actual PC store and purchasing hardware and software in a box, unlike just downloading it by clicking on an icon. You had to save up and wait for it, and the result of that waiting was worth it! (Mostly)
User avatar
mabam
Forum All-Star
Posts: 502
Joined: Wed Apr 10, 2013 9:32 am

Re: A2SERVER - fully functional netatalk

Post by mabam »

Hi mkinn!

My banana pi with A2SERVER is seven years old by now and still running. I never updated it as I'm sure it would break both, AppleTalk in my kernel and my A2SERVER installation and I probably couldn't set everything up again with a recent Debian version on my seven year old hardware.

However, as Ivan Drucker writes on https://appleii.ivanx.com/a2server/, NJRoadfan has updated A2SERVER at https://github.com/NJRoadfan/a2server. According to https://github.com/NJRoadfan/a2server/releases it should run on Debian Buster and Bullseye, the latter one still being supported.

mkinn wrote: Wed Apr 03, 2024 1:31 am I used this quote from Mabam's post:

export A2SERVER_SCRIPT_URL=https://raw.githubusercontent.com/Raspp ... ver/1.5.2/

export A2SERVER_BINARY_URL=${A2SERVER_SCRIPT_URL}files

wget -O setup ${A2SERVER_SCRIPT_URL}setup/index.txt; source setup

and it works, with few red warnings during the execution of the script.

Instead of above, get a Raspberry Pi OS version based on Debian Bullseye from https://www.raspberrypi.com/software/operating-systems/ (scroll down to "Raspberry Pi OS (Legacy)"). The Raspberry Pi 2B is capable of running that.
Then try this (the first line is adapted to NJRoadfan's updated github repository):

Code: Select all

export A2SERVER_SCRIPT_URL=https://raw.githubusercontent.com/NJRoadfan/a2server/1.5.5/

export A2SERVER_BINARY_URL=${A2SERVER_SCRIPT_URL}files

wget -O setup ${A2SERVER_SCRIPT_URL}setup/index.txt; source setup
mkinn
Space Cadet
Posts: 7
Joined: Sun Mar 31, 2024 10:43 pm

Re: A2SERVER - fully functional netatalk

Post by mkinn »

That worked! I followed the instructions, installed Bullseye, used Putty to log in to SSH, and then pasted these commands in, one at a time:

export A2SERVER_SCRIPT_URL=https://raw.githubusercontent.com/NJRoa ... ver/1.5.5/

export A2SERVER_BINARY_URL=${A2SERVER_SCRIPT_URL}files

wget -O setup ${A2SERVER_SCRIPT_URL}setup/index.txt; source setup

and I now have a working A2SERVER! Thank you mabam VERY, VERY MUCH! I have been trying for a solid month, and thanks to your instructions, i can now proceed with MANY other projects on my network! There are NO instructions on Github on how to use the files, but you provided them! Maybe NJRoadfan could simply add this to the Readme or post a separate file on this procedure that ACTUALLY DOES WORK!
I will figure out the best way to post an image of my SD disc online so anyone can simply download it, copy it to their SD card, insert it into a working Pi 2B, and off they go. No long, complicated bunch of Linux obstacles. Hmm...
But now, I do not understand how to log in to the a2server or access all the commands you get from a2server-help. I'm logged in as user1, PW apple2 into the 2B Pi bash shell, and all the Linux commands do work, but I don't understand how to log into the a2server console.
There's no real manual for us newbies, no tutorials. Maybe I'll make one when I figure this all out. I set up Samba for Win10 access, but it doesn't show up in Network. I'd really like to use the commands, but I'm not able to figure out how to do it. Frustrating! Can't find anything anywhere on the internet in the way of a newbie tutorial. Oh well, I'll keep reading and trying...
Once again, many thanks and REAL RELIEF for the response and subsequent success!
mkinn
Space Cadet
Posts: 7
Joined: Sun Mar 31, 2024 10:43 pm

Re: A2SERVER - fully functional netatalk

Post by mkinn »

Update, I found it! I could not find A2SERVER from the Network icon in Explorer, until I saw this on Ivan's site:
on Windows, type the IP address following \\ in an Explorer window. Voilà! Then, I mapped the A2files folder to drive Z:, and selected Reconnect at Login. Now I can share file with Win10! Next, I will try and get a 4Tb HDD connected to my Pi for a shared NAS for Apple II, Mac's and Win10!
I'm really not concerned with the access or transfer speed, just very excited to be able to even do it at all!
Next, the MOST EXCITING THING I've found in Apple II world is this: https://sheumann.github.io/VNCviewGS/ a VNC viewer for the IIGs!
Once it's networked, you can view almost ANYTHING you can do on another computer, you can now see on your IIGs! PDF files, artwork, video's, it BOGGLES the MIND! Once again, THANKS to this entire community! Very exciting! I cannot wait to share this with my students and fellow enthusiasts!
User avatar
mabam
Forum All-Star
Posts: 502
Joined: Wed Apr 10, 2013 9:32 am

Re: A2SERVER - fully functional netatalk

Post by mabam »

Glad it worked for you.

mkinn wrote: Wed May 01, 2024 2:47 am Next, I will try and get a 4Tb HDD connected to my Pi for a shared NAS for Apple II, Mac's and Win10!

Be very careful sharing a volume via both, AFP and samba, especially when using both to have Macs connect to your server. Netatalk 2.x handles resource forks and the like different than macOS connected via Samba, which can result in a complete mess, see also this warning:
https://www.emaculation.com/doku.php/ap ... mba_shares
mkinn
Space Cadet
Posts: 7
Joined: Sun Mar 31, 2024 10:43 pm

Re: A2SERVER - fully functional netatalk

Post by mkinn »

Good advice! I have not, and now, will not set up samba on Bullseye, only on a2server.
I still don't know how to log in to a2erver or use the commands, for example, to mount the external USB drive to /media/AppleDesktop or /media/AppleDouble, or create other folders on the server, or use any other commands from a2server-help. No documentation for us newbie's!
I use Putty to log in to the Pi as user1, password apple2. I will, of course add security as soon as I learn how. I'm relying on my router and firewall to protect us now.
mkinn
Space Cadet
Posts: 7
Joined: Sun Mar 31, 2024 10:43 pm

Re: A2SERVER - fully functional netatalk

Post by mkinn »

Question, how do I correctly log in to the a2server console? Please be specific, with examples.
I'm using putty on Win10 to a wired eth0 SSH connection on the pi 2B with a2server installed and working.
I can create folders using a mapped drive Z:, copy to and read from them using windows explorer.
I get nothing back when i type showip or showmac, a2files-share or a2files-unshare.
a2server-help command shows the usual:
A2SERVER commands:
(note: new commands may be added; use a2server-setup to refresh)

a2server-help: show this list of commands
a2server-setup: set up network boot, Windows access, Farallon fix,
refresh command list
a2server-version: see installed version of A2SERVER
a2server-update: check for update to A2SERVER

system-shutdown: shut down the server
system-restart: shut down and restart the server

Raspberry Pi commands, if you're using one:
raspi-config: utilize all space on RPi SD card & other options
raspbian-update : update Raspbian operating system
rasppleii-update : update Raspbian OS, A2CLOUD, A2SERVER, Apple II Pi

welcome-message-edit: change the welcome message

showip: show the current ethernet IP address of the server
showmac: show the MAC (Ethernet hardware) address of the server
showip-wifi: show the current wifi IP address of the server
showmac-wifi: show the MAC (wifi hardware) address of the server
ifreset: reset all network interfaces (requires restart)

netatalk-stop: stop the netatalk service until reboot
netatalk-start: start the netatalk service
netatalk-restart: restart the netatalk service
netatalk-off: disable the netatalk service (even after reboot)
netatalk-on: enable the netatalk service

bonjour-off: disable advertisement of shared folders to OS X
bonjour-on : enable advertisement of shared folders to OS X
(these are automatically set by the netatalk commands above)

netatalk-router-on: use netatalk in router mode (default)
netatalk-router-off: use netatalk in node mode
(use if there is an AppleTalk router such as a GatorBox present)

netatalk-eth: use wired ethernet interface for netatalk (default)
netatalk-wifi: use wifi interface for netatalk
note: if an interface isn't available, netatalk will be reset with
router mode off; use "netatalk-router-on" to correct this if needed

appletalk-off: disable AppleTalk networking (even after reboot)
appletalk-on : enable AppleTalk networking

environment variables:
$NETATALK: directory containing netatalk configuration files
$A2FILES : directory containing A2FILES shared volume
$GSFILES : directory containing GSFILES shared volume

netboot-gsos: set the current user to netboot into GS/OS (default)
netboot-gsos-guest: set guests to netboot into GS/OS
netboot-p8: set the current user to netboot into ProDOS 8
netboot-p8-guest: set guests to netboot into ProDOS 8 (default)
note: when a IIgs is set to network boot into GS/OS, using the Network
control panel or the NETBOOT.GSOS utility, guests will behave like
registered users, and ignore the netboot setting of the guest user

guest-off: disallow guest access to A2SERVER
guest-on: allow guest access to A2SERVER (default)
note: by default, Guest access is the only way to network boot into
ProDOS 8. For registered user boot into ProDOS 8, type "netboot-p8"

samba-off: disable Windows file sharing (even after reboot)
samba-on: enable Windows file Sharing
samba-stop: stop Windows file sharing until reboot
samba-start: start Windows file sharing
samba-restart: stop and restart Windows file sharing

a2files-share: disable the A2FILES shared volume
a2files-unshare: enable the A2FILES shared volume

nulib2: create, extract, and work with NuFX (ShrinkIt) archive files
unar: extract other archive files (multiformat)
lsar: list contents of other archive files (multiformat)

afptype: set the ProDOS type/auxtype or Mac OS type/creator of a file
afpsync: register files introduced outside of AFP with netatalk
mkatinit: set up network boot configuration files
cppo: catalog and copy files from ProDOS image file (slow, but works)
(add -h to show help for the above four commands, e.g. "afptype -h")
I would like to be able to use all these commands, and maybe create a Youtube video of exactly how to accomplish all that, as well as working with some of these tools on the actual files, in a very basic and simple way for newbie's like me who are just getting the hang of all this. :???:
User avatar
mabam
Forum All-Star
Posts: 502
Joined: Wed Apr 10, 2013 9:32 am

Re: A2SERVER - fully functional netatalk

Post by mabam »

mkinn wrote: Thu May 02, 2024 5:05 am Question, how do I correctly log in to the a2server console? Please be specific, with examples.
I'm using putty on Win10 to a wired eth0 SSH connection on the pi 2B with a2server installed and working.
I can create folders using a mapped drive Z:, copy to and read from them using windows explorer.
I get nothing back when i type showip or showmac, a2files-share or a2files-unshare.
a2server-help command shows the usual:
[…]

I would like to be able to use all these commands, and maybe create a Youtube video of exactly how to accomplish all that, as well as working with some of these tools on the actual files, in a very basic and simple way for newbie's like me who are just getting the hang of all this. :???:

In the guide about how to build an AppleTalk NAS which I wrote a couple of years ago, I described how to fix “showip” and “showmac” if using a different LAN port on the Pi:
https://www.emaculation.com/doku.php/ap ... l_a2server

I’m afraid that doesn’t fix your issue, though. You’d probably better raise an issue at https://github.com/NJRoadfan/a2server/issues.
Post Reply