RolandJuno
Active member
Did some more testing, and it seems there's another issue?Unfortunately, I don't see any change from before. Log attached.
I'm now having issues using Mini VMac LToUDP to browse netatalk's afpd (running on the same server). This used to work so I'm not sure when it stopped working. I can see the AFP share in the Chooser, select it, login with username/password, and select a share. It mounts on the desktop but double-clicking it causes the system to hang and eventually say the server unexpectedly closed after some time.
I reverted back to all previous name_information.py versions as well as the repo from a few weeks ago. None will let me mount a AFP share on Mini VMac LToUDP from netatalk on the same RaspberryPi as TashRouter. Maybe there's something else going on with my network? I tried reverting things back to the suggestions that @NJRoadfan gave me too.
Below are my settings. I'm not sure what's going on now.
$ ifconfig -a
eth0: flags=4675<UP,BROADCAST,RUNNING,ALLMULTI,MULTICAST> mtu 1500
inet 192.168.1.232 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::87a3:6294:9ff3:63d9 prefixlen 64 scopeid 0x20<link>
ether 00:e0:4c:68:2d:d6 txqueuelen 1000 (Ethernet)
RX packets 48130 bytes 8371043 (7.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 18085 bytes 3471245 (3.3 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 793 bytes 43399 (42.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 793 bytes 43399 (42.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tap0: flags=4611<UP,BROADCAST,ALLMULTI,MULTICAST> mtu 1500
inet6 fe80::a495:1dff:fe4c:5b0a prefixlen 64 scopeid 0x20<link>
ether a6:95:1d:4c:5b:0a txqueuelen 1000 (Ethernet)
RX packets 1709 bytes 105490 (103.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 260 bytes 20897 (20.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.216 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::9bc8:ae76:6310:7f67 prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:12:a5:c0 txqueuelen 1000 (Ethernet)
RX packets 23328 bytes 6258876 (5.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 139 bytes 22766 (22.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
atalkd.conf:
eth0 -seed -phase 2 -net 2 -addr 2.222 -zone "EtherTalk Network"
tap0 -seed -phase 2 -net 3 -addr 3.14 -zone "EtherTalk Network"
router.py:
import logging
import time
import tashrouter.netlog
from tashrouter.port.ethertalk.tap import TapPort
from tashrouter.port.localtalk.ltoudp import LtoudpPort
from tashrouter.port.localtalk.tashtalk import TashTalkPort
from tashrouter.router.router import Router
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(levelname)s: %(message)s')
tashrouter.netlog.set_log_str_func(logging.debug) # comment this line for speed and reduced spam
router = Router('router', ports=(
LtoudpPort(seed_network=5, seed_zone_name=b'LToUDP Network'),
TashTalkPort(serial_port='/dev/ttyAMA0', seed_network=6, seed_zone_name=b'LocalTalk Network'),
TapPort(tap_name='tap0', hw_addr=b'\xAA\xBB\xCC\xDD\x11\x22'),
))
print('router away!')
router.start()
try:
while True: time.sleep(1)
except KeyboardInterrupt:
router.stop()
npblkup:
$ lookupall
EtherTalk Network zone:
pizero:ProDOS16 Image 3.14:3
pizero:Apple //e Boot 3.14:3
MacIPpi:AFPServer 3.14:131
LocalTime:TimeLord 3.14:129
pizero:Apple //gs 3.14:3
HP LaserJet 4000 Series:SNMP Agent 2.128:8
HP LaserJet 4000 Series:LaserWriter 2.128:157
HP LaserJet 4000 Series:HP LaserJet 2.128:158
HP LaserJet 4000 Series:HP Zoner Responder 2.128:156
LToUDP Network zone:
mini vmac:SNMP Agent 5.97:8
mini vmac:PPCToolBox 5.97:252
mini vmac: Macintosh 5.97:253
mini vmac:Workstation 5.97:4
LocalTalk Network zone: