RasppleII / a2server

AppleTalk server for Apple II computers
Other
31 stars 8 forks source link

update supported OS warnings on A2SERVER install #27

Closed IvanExpert closed 8 years ago

IvanExpert commented 8 years ago

A2SERVER (and maybe A2CLOUD) dutifully checks to see if it knows about what verson of Debian or Raspbian you're about to install on and warns you if it doesn't. I have no idea if it's up to date or even overkill.

knghtbrd commented 8 years ago

My gut says overkill for A2SERVER now that kernel fiddling isn't necessary. Probably better to determine whether your kernel has DDP support. Not 100% on how to do that.

IvanExpert commented 8 years ago

probably something along the lines of "modprobe appletalk" and see whether it's in lsmod after that.

pneubauer commented 8 years ago

AppleTalk could be built into the kernel rather than a module, so the "lsmod" check could miss support. How about a short program that tries to create a DDP socket? If socket creation succeeds, then the kernel must support DDP.

See http://man7.org/linux/man-pages/man7/ddp.7.html.

knghtbrd commented 8 years ago

If there isn't already one, I suppose we could add a tool to test for ddp support in our netatalk distribution?

Joseph

knghtbrd commented 8 years ago

FWIW I did commit 9de61e5 which is the temporary fix to this problem. Leaving the issue open until it's properly addressed, however.

knghtbrd commented 8 years ago

I think we've got this one covered now, by b5496b5 if not by earlier 9de61e5.