tsom Posted April 3, 2021 Share Posted April 3, 2021 I suppose it could just be the N-Handler still not quite ready, I was able to do this, but I'm having a problem loading a Basic file from my local TNFS server. My FujiNet device is up to date. I'm issuing the command: LOAD "N:TNFS://tnfs.local/READTIME.BAS It chugs for a little bit and returns with no errors. But the file isn't loaded. Here is the output from the debugger: (Here is the first attempt, where I forgot to put the URL in lower case - upper case doesn't resolve the IP address - separate problem - returns an ERROR 138) Using '/dev/cu.usbserial-141430' as serial port. Showing logs: [17:24:31] [17:24:31]CF: 71 4f 00 c4 [17:24:31]4 0sioNewrk::sio_roce: 0x04, 0x00 [17:24:31]topss 0x4f 'O'eork:en( [17:24:31]topss 0x4f 'O'eork:en( [17:24:31]sioNtw:sio_op) [17:24:31]K! [17:24:31]ACDeling exis ateTim [17:24:31]ACDeling exis ateTim [17:24:31]ettingrer [17:24:31]<-IOred 256 ye [17:24:31]<-IOred 256 ye Serial port closed! [17:24:31]ACK! [17:24:31]sioNetwork::parseURL(N:TNFS://TNFS.LOCAL/SHOWTIME.BAS) [17:24:31]sioNetwork::parseURL transformed to (N:TNFS://TNFS.LOCAL/SHOWTIME.BAS, TNFS://TNFS.LOCAL/SHOWTIME.BAS) [17:24:31]Parse and instantiate protocol: N:TNFS://TNFS.LOCAL/SHOWTIME.BAS [17:24:31]NetworkProtocol::ctor() [17:24:31]NetworkProtocolTNFS::ctor [17:24:31]sioNetwork::open_protocol() - Protocol TNFS opened. [17:24:31]Resolving hostname "TNFS.LOCAL" [17:24:31]Name failed to resolve [17:24:31]Failed to send packet - retrying [17:24:32]Resolving hostname "TNFS.LOCAL" [17:24:32]Name failed to resolve [17:24:32]Failed to send packet - retrying [17:24:33]Resolving hostname "TNFS.LOCAL" [17:24:33]Name failed to resolve [17:24:33]Failed to send packet - retrying [17:24:34]Resolving hostname "TNFS.LOCAL" [17:24:34]Name failed to resolve [17:24:34]Failed to send packet - retrying [17:24:35]Resolving hostname "TNFS.LOCAL" [17:24:35]Name failed to resolve [17:24:35]Failed to send packet - retrying [17:24:36]Retry attempts failed [17:24:36]NetworkProtocolTNFS::mount(TNFS.LOCAL,/SHOWTIME.BAS) - -1 [17:24:36]Protocol unable to make connection. Error: 138 [17:24:36]NetworkProtocolTNFS::dtor [17:24:36]NetworkProtocol::dtor() [17:24:36]ERROR! [17:24:36] [17:24:36]CF: 71 4f 04 00 c4 [17:24:36]sioNetwork::sio_process 0x4f 'O': 0x04, 0x00 [17:24:36]sioNetwork::sio_open() [17:24:36] [17:24:36]ACK! [17:24:36]<-SIO read 256 bytes [17:24:36]ACK! [17:24:36]sioNetwork::parseURL(N:TNFS://TNFS.LOCAL/SHOWTIME.BAS) [17:24:36]sioNetwork::parseURL transformed to (N:TNFS://TNFS.LOCAL/SHOWTIME.BAS, TNFS://TNFS.LOCAL/SHOWTIME.BAS) [17:24:36]Parse and instantiate protocol: N:TNFS://TNFS.LOCAL/SHOWTIME.BAS [17:24:36]NetworkProtocol::ctor() [17:24:36]NetworkProtocolTNFS::ctor [17:24:36]sioNetwork::open_protocol() - Protocol TNFS opened. [17:24:36]Resolving hostname "TNFS.LOCAL" [17:24:36]Name failed to resolve [17:24:36]Failed to send packet - retrying [17:24:37]Resolving hostname "TNFS.LOCAL" [17:24:37]Name failed to resolve [17:24:37]Failed to send packet - retrying [17:24:38]Resolving hostname "TNFS.LOCAL" [17:24:38]Name failed to resolve [17:24:38]Failed to send packet - retrying [17:24:39]Resolving hostname "TNFS.LOCAL" [17:24:39]Name failed to resolve [17:24:39]Failed to send packet - retrying [17:24:40]Resolving hostname "TNFS.LOCAL" [17:24:41]Name failed to resolve [17:24:41]Failed to send packet - retrying [17:24:42]Retry attempts failed [17:24:42]NetworkProtocolTNFS::mount(TNFS.LOCAL,/SHOWTIME.BAS) - -1 [17:24:42]Protocol unable to make connection. Error: 138 [17:24:42]NetworkProtocolTNFS::dtor [17:24:42]NetworkProtocol::dtor() [17:24:42]ERROR! [17:24:42] [17:24:42]CF: 71 53 00 00 c4 [17:24:42]sioNetwork::sio_process 0x53 'S': 0x00, 0x00 [17:24:42]ACK! [17:24:42]sioNetwork::sio_status_local(0) [17:24:42]->SIO write 4 bytes [17:24:42]COMPLETE! [17:24:42] [17:24:42]CF: 71 53 00 00 c4 [17:24:42]sioNetwork::sio_process 0x53 'S': 0x00, 0x00 [17:24:42]ACK! [17:24:42]sioNetwork::sio_status_local(0) [17:24:42]->SIO write 4 bytes [17:24:42]COMPLETE! [17:24:42] [17:24:42]CF: 71 43 00 00 b4 [17:24:42]sioNetwork::sio_process 0x43 'C': 0x00, 0x00 [17:24:42]sioNetwork::sio_close() [17:24:42]ACK! [17:24:42]COMPLETE! Then using the lowercase of the URL: Using '/dev/cu.usbserial-141430' as serial port. Showing logs: [17:26:12] [17:26:12]CF: 71 00 [17:26:12]4f 04 c4sioNetrk::sx4f'O': 0x, [17:26:12]oNetwork:sioe( [17:26:12]wosio_proces 0 04 0x00si:o_pn) [17:26:12]ACK! [17:26:12]oNetwork:sioe( [17:26:12]<S5s [17:26:12]<S5s Serial port closed! [17:26:12]ACK! [17:26:12]sioNetwork::parseURL(N:TNFS://tnfs.local/SHOWTIME.BAS) [17:26:12]sioNetwork::parseURL transformed to (N:TNFS://tnfs.local/SHOWTIME.BAS, TNFS://tnfs.local/SHOWTIME.BAS) [17:26:12]Parse and instantiate protocol: N:TNFS://tnfs.local/SHOWTIME.BAS [17:26:12]NetworkProtocol::ctor() [17:26:12]NetworkProtocolTNFS::ctor [17:26:12]sioNetwork::open_protocol() - Protocol TNFS opened. [17:26:12]Resolving hostname "tnfs.local" [17:26:12]Resolved to address 192.168.7.94 [17:26:13]NetworkProtocolTNFS::mount(tnfs.local,/SHOWTIME.BAS) - 0 [17:26:13]NetworkProtocolFS::resolve(/SHOWTIME.BAS,/,SHOWTIME.BAS) [17:26:13]Resolving hostname "tnfs.local" [17:26:13]Resolved to address 192.168.7.94 [17:26:13]NetworkProtocolTNFS::stat(F: 1186, M: 33261, D: 113, L: 1) - 0 [17:26:13]Resolved to TNFS://tnfs.local/SHOWTIME.BAS [17:26:13]Resolving hostname "tnfs.local" [17:26:13]Resolved to address 192.168.7.94 [17:26:13]TNFS open file: "/SHOWTIME.BAS" (0x0001, 0x0000) [17:26:13]Resolving hostname "tnfs.local" [17:26:13]Resolved to address 192.168.7.94 [17:26:13]File opened, handle ID: 0, size: 1186, pos: 0 [17:26:13]NetworkProtocolTNFS::open_file_handle(mode: 1 perms 0) - 0 [17:26:13]COMPLETE! [17:26:13]NetworkProtocolFS::read_file(512) [17:26:13]Resolving hostname "tnfs.local" [17:26:13]Resolved to address 192.168.7.94 [17:26:13]NetworkProtocolTNFS::read_file_handle(B: 512, A: 512, T: 0) [17:26:13]NetworkProtocol::read(512) [17:26:13] [17:26:13]CF: 71 53 00 00 c4 [17:26:13]sioNetwork::sio_process 0x53 'S': 0x00, 0x00 [17:26:13]ACK! [17:26:13]sioNetwork::sio_status_channel(0) [17:26:13]PROTOCOL [17:26:13]sio_status_channel() - BW: 512 E: 1 [17:26:13]->SIO write 4 bytes [17:26:13]COMPLETE! [17:26:13] [17:26:13]CF: 71 52 7f 00 43 [17:26:13]sioNetwork::sio_process 0x52 'R': 0x7f, 0x00 [17:26:13]sioNetwork::sio_read( 127 bytes) [17:26:13]ACK! [17:26:13]NetworkProtocolFS::read_file(127) [17:26:13]NetworkProtocol::read(127) [17:26:13]->SIO write 127 bytes [17:26:13]COMPLETE! [17:26:13] [17:26:13]CF: 71 53 00 00 c4 [17:26:13]sioNetwork::sio_process 0x53 'S': 0x00, 0x00 [17:26:13]ACK! [17:26:13]sioNetwork::sio_status_channel(0) [17:26:13]PROTOCOL [17:26:13]sio_status_channel() - BW: 385 E: 1 [17:26:13]->SIO write 4 bytes [17:26:13]COMPLETE! [17:26:13] [17:26:13]CF: 71 52 7f 00 43 [17:26:13]sioNetwork::sio_process 0x52 'R': 0x7f, 0x00 [17:26:13]sioNetwork::sio_read( 127 bytes) [17:26:13]ACK! [17:26:13]NetworkProtocolFS::read_file(127) [17:26:13]NetworkProtocol::read(127) [17:26:13]->SIO write 127 bytes [17:26:13]COMPLETE! [17:26:13] [17:26:13]CF: 71 53 00 00 c4 [17:26:13]sioNetwork::sio_process 0x53 'S': 0x00, 0x00 [17:26:13]ACK! [17:26:13]sioNetwork::sio_status_channel(0) [17:26:13]PROTOCOL [17:26:13]sio_status_channel() - BW: 258 E: 1 [17:26:13]->SIO write 4 bytes [17:26:13]COMPLETE! [17:26:13] [17:26:13]CF: 71 52 7f 00 43 [17:26:13]sioNetwork::sio_process 0x52 'R': 0x7f, 0x00 [17:26:13]sioNetwork::sio_read( 127 bytes) [17:26:13]ACK! [17:26:13]NetworkProtocolFS::read_file(127) [17:26:13]NetworkProtocol::read(127) [17:26:13]->SIO write 127 bytes [17:26:13]COMPLETE! [17:26:13] [17:26:13]CF: 71 53 00 00 c4 [17:26:13]sioNetwork::sio_process 0x53 'S': 0x00, 0x00 [17:26:13]ACK! [17:26:13]sioNetwork::sio_status_channel(0) [17:26:13]PROTOCOL [17:26:13]sio_status_channel() - BW: 131 E: 1 [17:26:13]->SIO write 4 bytes [17:26:13]COMPLETE! [17:26:13] [17:26:13]CF: 71 52 7f 00 43 [17:26:13]sioNetwork::sio_process 0x52 'R': 0x7f, 0x00 [17:26:13]sioNetwork::sio_read( 127 bytes) [17:26:13]ACK! [17:26:13]NetworkProtocolFS::read_file(127) [17:26:13]NetworkProtocol::read(127) [17:26:13]->SIO write 127 bytes [17:26:13]COMPLETE! [17:26:13] [17:26:13]CF: 71 53 00 00 c4 [17:26:13]sioNetwork::sio_process 0x53 'S': 0x00, 0x00 [17:26:13]ACK! [17:26:13]sioNetwork::sio_status_channel(0) [17:26:13]PROTOCOL [17:26:13]sio_status_channel() - BW: 4 E: 1 [17:26:13]->SIO write 4 bytes [17:26:13]COMPLETE! [17:26:13] [17:26:13]CF: 71 52 04 00 c7 [17:26:13]sioNetwork::sio_process 0x52 'R': 0x04, 0x00 [17:26:13]sioNetwork::sio_read( 4 bytes) [17:26:13]ACK! [17:26:13]NetworkProtocolFS::read_file(4) [17:26:13]NetworkProtocol::read(4) [17:26:13]->SIO write 4 bytes [17:26:13]COMPLETE! [17:26:13]NetworkProtocolFS::read_file(512) [17:26:13]Resolving hostname "tnfs.local" [17:26:13]Resolved to address 192.168.7.94 [17:26:13]NetworkProtocolTNFS::read_file_handle(B: 512, A: 512, T: 0) [17:26:13]NetworkProtocol::read(512) [17:26:13] [17:26:13]CF: 71 53 00 00 c4 [17:26:13]sioNetwork::sio_process 0x53 'S': 0x00, 0x00 [17:26:13]ACK! [17:26:13]sioNetwork::sio_status_channel(0) [17:26:13]PROTOCOL [17:26:13]sio_status_channel() - BW: 512 E: 1 [17:26:13]->SIO write 4 bytes [17:26:13]COMPLETE! [17:26:13] [17:26:13]CF: 71 52 7f 00 43 [17:26:13]sioNetwork::sio_process 0x52 'R': 0x7f, 0x00 [17:26:13]sioNetwork::sio_read( 127 bytes) [17:26:13]ACK! [17:26:13]NetworkProtocolFS::read_file(127) [17:26:13]NetworkProtocol::read(127) [17:26:13]->SIO write 127 bytes [17:26:13]COMPLETE! [17:26:13] [17:26:13]CF: 71 53 00 00 c4 [17:26:13]sioNetwork::sio_process 0x53 'S': 0x00, 0x00 [17:26:13]ACK! [17:26:13]sioNetwork::sio_status_channel(0) [17:26:13]PROTOCOL [17:26:13]sio_status_channel() - BW: 385 E: 1 [17:26:13]->SIO write 4 bytes [17:26:13]COMPLETE! [17:26:13] [17:26:13]CF: 71 52 7f 00 43 [17:26:13]sioNetwork::sio_process 0x52 'R': 0x7f, 0x00 [17:26:13]sioNetwork::sio_read( 127 bytes) [17:26:13]ACK! [17:26:13]NetworkProtocolFS::read_file(127) [17:26:13]NetworkProtocol::read(127) [17:26:13]->SIO write 127 bytes [17:26:13]COMPLETE! [17:26:14] [17:26:14]CF: 71 53 00 00 c4 [17:26:14]sioNetwork::sio_process 0x53 'S': 0x00, 0x00 [17:26:14]ACK! [17:26:14]sioNetwork::sio_status_channel(0) [17:26:14]PROTOCOL [17:26:14]sio_status_channel() - BW: 258 E: 1 [17:26:14]->SIO write 4 bytes [17:26:14]COMPLETE! [17:26:14] [17:26:14]CF: 71 52 7f 00 43 [17:26:14]sioNetwork::sio_process 0x52 'R': 0x7f, 0x00 [17:26:14]sioNetwork::sio_read( 127 bytes) [17:26:14]ACK! [17:26:14]NetworkProtocolFS::read_file(127) [17:26:14]NetworkProtocol::read(127) [17:26:14]->SIO write 127 bytes [17:26:14]COMPLETE! [17:26:14] [17:26:14]CF: 71 53 00 00 c4 [17:26:14]sioNetwork::sio_process 0x53 'S': 0x00, 0x00 [17:26:14]ACK! [17:26:14]sioNetwork::sio_status_channel(0) [17:26:14]PROTOCOL [17:26:14]sio_status_channel() - BW: 131 E: 1 [17:26:14]->SIO write 4 bytes [17:26:14]COMPLETE! [17:26:14] [17:26:14]CF: 71 52 7f 00 43 [17:26:14]sioNetwork::sio_process 0x52 'R': 0x7f, 0x00 [17:26:14]sioNetwork::sio_read( 127 bytes) [17:26:14]ACK! [17:26:14]NetworkProtocolFS::read_file(127) [17:26:14]NetworkProtocol::read(127) [17:26:14]->SIO write 127 bytes [17:26:14]COMPLETE! [17:26:14] [17:26:14]CF: 71 53 00 00 c4 [17:26:14]sioNetwork::sio_process 0x53 'S': 0x00, 0x00 [17:26:14]ACK! [17:26:14]sioNetwork::sio_status_channel(0) [17:26:14]PROTOCOL [17:26:14]sio_status_channel() - BW: 4 E: 1 [17:26:14]->SIO write 4 bytes [17:26:14]COMPLETE! [17:26:14] [17:26:14]CF: 71 52 04 00 c7 [17:26:14]sioNetwork::sio_process 0x52 'R': 0x04, 0x00 [17:26:14]sioNetwork::sio_read( 4 bytes) [17:26:14]ACK! [17:26:14]NetworkProtocolFS::read_file(4) [17:26:14]NetworkProtocol::read(4) [17:26:14]->SIO write 4 bytes [17:26:14]COMPLETE! [17:26:14]NetworkProtocolFS::read_file(162) [17:26:14]Resolving hostname "tnfs.local" [17:26:14]Resolved to address 192.168.7.94 [17:26:14]Resolving hostname "tnfs.local" [17:26:14]Resolved to address 192.168.7.94 [17:26:14]NetworkProtocolTNFS::read_file_handle(B: 162, A: 162, T: 0) [17:26:14]NetworkProtocol::read(162) [17:26:14] [17:26:14]CF: 71 53 00 00 c4 [17:26:14]sioNetwork::sio_process 0x53 'S': 0x00, 0x00 [17:26:14]ACK! [17:26:14]sioNetwork::sio_status_channel(0) [17:26:14]PROTOCOL [17:26:14]sio_status_channel() - BW: 162 E: 136 [17:26:14]->SIO write 4 bytes [17:26:14]COMPLETE! [17:26:14] [17:26:14]CF: 71 52 7f 00 43 [17:26:14]sioNetwork::sio_process 0x52 'R': 0x7f, 0x00 [17:26:14]sioNetwork::sio_read( 127 bytes) [17:26:14]ACK! [17:26:14]NetworkProtocolFS::read_file(127) [17:26:14]NetworkProtocol::read(127) [17:26:14]->SIO write 127 bytes [17:26:14]COMPLETE! [17:26:14] [17:26:14]CF: 71 53 00 00 c4 [17:26:14]sioNetwork::sio_process 0x53 'S': 0x00, 0x00 [17:26:14]ACK! [17:26:14]sioNetwork::sio_status_channel(0) [17:26:14]PROTOCOL [17:26:14]sio_status_channel() - BW: 35 E: 136 [17:26:14]->SIO write 4 bytes [17:26:14]COMPLETE! [17:26:14] [17:26:14]CF: 71 43 00 00 b4 [17:26:14]sioNetwork::sio_process 0x43 'C': 0x00, 0x00 [17:26:14]sioNetwork::sio_close() [17:26:14]ACK! [17:26:14]NetworkProtocolTNFS::close_file_handle(0) - 0 [17:26:14]NetworkProtocolTNFS::umount() [17:26:14]Resolving hostname "tnfs.local" [17:26:14]Resolved to address 192.168.7.94 [17:26:14]COMPLETE! [17:26:14]NetworkProtocolTNFS::dtor [17:26:14]NetworkProtocol::dtor() No errors, but the file doesn't load. The file does exist. FWIW, here's the output that's in /var/log/syslog: Apr 3 17:21:28 tnfs tnfsd[342]: 192.168.7.125 s=e146 c=01 q=04 | REQUEST cmd=0x01 TNFS_UMOUNT Apr 3 17:21:28 tnfs tnfsd[342]: 192.168.7.125 s=e146 c=01 q=04 | Unmounting Apr 3 17:21:28 tnfs tnfsd[342]: Freeing session ID index 9 Apr 3 17:26:14 tnfs tnfsd[342]: 192.168.7.125 s=00 c=00 q=00 | REQUEST cmd=0x00 TNFS_MOUNT Apr 3 17:26:14 tnfs tnfsd[342]: 192.168.7.125 s=00 c=00 q=00 | TNFS_MOUNT Apr 3 17:26:14 tnfs tnfsd[342]: Looking for existing sessions with IP 192.168.7.125 Apr 3 17:26:14 tnfs tnfsd[342]: Allocating new session for 0x00 Apr 3 17:26:14 tnfs tnfsd[342]: Allocated new session for 0x7c Apr 3 17:26:14 tnfs tnfsd[342]: validate_dir: Path='/tnfs/' Apr 3 17:26:14 tnfs tnfsd[342]: validate_dir: Directory OK Apr 3 17:26:14 tnfs tnfsd[342]: 192.168.7.125 s=7c c=00 q=00 | Mounted / OK, SID=7c Apr 3 17:26:14 tnfs tnfsd[342]: 192.168.7.125 s=7c c=24 q=01 | REQUEST cmd=0x24 TNFS_STAT Apr 3 17:26:14 tnfs tnfsd[342]: stat: bufsz=14 buf=/SHOWTIME.BAS Apr 3 17:26:14 tnfs tnfsd[342]: stat: path=/tnfs/SHOWTIME.BAS Apr 3 17:26:14 tnfs tnfsd[342]: stat: OK Apr 3 17:26:14 tnfs tnfsd[342]: 192.168.7.125 s=7c c=24 q=02 | REQUEST cmd=0x24 TNFS_STAT Apr 3 17:26:14 tnfs tnfsd[342]: stat: bufsz=14 buf=/SHOWTIME.BAS Apr 3 17:26:14 tnfs tnfsd[342]: stat: path=/tnfs/SHOWTIME.BAS Apr 3 17:26:14 tnfs tnfsd[342]: stat: OK Apr 3 17:26:14 tnfs tnfsd[342]: 192.168.7.125 s=7c c=29 q=03 | REQUEST cmd=0x29 TNFS_OPEN Apr 3 17:26:14 tnfs tnfsd[342]: filename: /SHOWTIME.BAS Apr 3 17:26:14 tnfs tnfsd[342]: flags: 1 Apr 3 17:26:14 tnfs tnfsd[342]: mode: 0 Apr 3 17:26:14 tnfs tnfsd[342]: open: fd=8 Apr 3 17:26:14 tnfs tnfsd[342]: 192.168.7.125 s=7c c=21 q=04 | REQUEST cmd=0x21 TNFS_READ Apr 3 17:26:15 tnfs tnfsd[342]: 192.168.7.125 s=7c c=21 q=05 | REQUEST cmd=0x21 TNFS_READ Apr 3 17:26:15 tnfs tnfsd[342]: 192.168.7.125 s=7c c=21 q=06 | REQUEST cmd=0x21 TNFS_READ Apr 3 17:26:15 tnfs tnfsd[342]: 192.168.7.125 s=7c c=21 q=07 | REQUEST cmd=0x21 TNFS_READ Apr 3 17:26:15 tnfs tnfsd[342]: EOF Apr 3 17:26:16 tnfs tnfsd[342]: 192.168.7.125 s=7c c=01 q=08 | REQUEST cmd=0x01 TNFS_UMOUNT Apr 3 17:26:16 tnfs tnfsd[342]: 192.168.7.125 s=7c c=01 q=08 | Unmounting Apr 3 17:26:16 tnfs tnfsd[342]: Freeing session ID index 9 I attempted to save a small "hello world" program (10 PRINT "HELLO WORLD"). The file was created on the server, but it's empty: Using '/dev/cu.usbserial-141430' as serial port. Showing logs: [17:30:11] [17:30:11]CF: 71 8 00 c8 [17:30:11]sioNetwor::siopcess4fO': x, [17:30:11]4f 0k_ro 0x '0080x00sioNetwork::sio_open( [17:30:11]) [17:30:11]4f 0k_ro 0x '0080x00sioNetwork::sio_open( [17:30:11]CK! [17:30:11]eigextng atmer [17:30:11]eigextng atmer [17:30:11]ADeltn isireTi [17:30:11]rd 25 bes [17:30:12]<-SIO ea6ytCK! [17:30:12]twprse/tnfs.local/LL.BAS) [17:30:12]AsioNeork::aURL(N:TNFS:/HEOsioNewrp t (N:TFS:/s.laH, TNFS:f.clHLL. [17:30:12]nrl: :TNFS/nf.lclLO.AS [17:30:12]tok::arseURL transformedoN/tnfocl/ELLO.BAS//tnsloa/EOBAS)Parse and instatiate potocoN:/tsoa/HELBNetrrt:tr) [17:30:12]okrtcoTF:co [17:30:12]wokPoocol:co(NetwrPoolNS:trsioNetwr:oe_rcl rtclTF pnd [17:30:12]ok:pnpotoo()-Pooo NSoee.Resovn snm "n.cl [17:30:12]ok:pnpotoo()-Pooo NSoee.Resovn snm "n.cl Serial port closed! [17:30:12]Resolved to address 192.168.7.94 [17:30:12]NetworkProtocolTNFS::mount(tnfs.local,/HELLO.BAS) - 0 [17:30:12]NetworkProtocolFS::resolve(/HELLO.BAS,/,HELLO.BAS) [17:30:12]Resolving hostname "tnfs.local" [17:30:12]Resolved to address 192.168.7.94 [17:30:12]NetworkProtocolTNFS::stat(F: 1, M: 1, D: 113, L: 0) - 2 [17:30:12]TNFS open directory: sortopts=0x00 diropts=0x00 maxresults=0x0000 pattern="*" path="/" [17:30:12]Resolving hostname "tnfs.local" [17:30:12]Resolved to address 192.168.7.94 [17:30:12]Directory opened, handle ID: 0, entries: 12 [17:30:12]NetworkProtocolTNFS::open_dir_handle(/, *) - 0 [17:30:12]Resolving hostname "tnfs.local" [17:30:12]Resolved to address 192.168.7.94 [17:30:12]tnfs_readdirx resp_count=12, dirpos=0, status=1 [17:30:12]tnfs_readdirx cached 12 entries [17:30:12] _readdirx_fill_response: dir: Yes, size: 4096, mtime: 2021-03-07 10:56:27, ctime: 2021-03-07 10:56:27 "action" [17:30:12]NetworkProtocolTNFS::read_dir_entry(N: action, F: 4096, M: 1, D: 1, L: 0) - 0 [17:30:12]current entry "action" crunched entry "ACTION" [17:30:12]tnfs_readdirx responding from cached entry [17:30:12] _readdirx_fill_response: dir: Yes, size: 4096, mtime: 2021-04-03 16:21:16, ctime: 2021-04-03 16:21:16 "Dev" [17:30:12]NetworkProtocolTNFS::read_dir_entry(N: Dev, F: 4096, M: 1, D: 1, L: 0) - 0 [17:30:12]current entry "Dev" crunched entry "DEV" [17:30:12]tnfs_readdirx responding from cached entry [17:30:12] _readdirx_fill_response: dir: Yes, size: 4096, mtime: 2021-01-16 17:58:26, ctime: 2021-01-16 17:58:26 "misc-apps" [17:30:12]NetworkProtocolTNFS::read_dir_entry(N: misc-apps, F: 4096, M: 1, D: 1, L: 0) - 0 [17:30:12]current entry "misc-apps" crunched entry "MISCAPPS" [17:30:12]tnfs_readdirx responding from cached entry [17:30:12] _readdirx_fill_response: dir: no, size: 133136, mtime: 2021-02-02 17:51:13, ctime: 2021-02-02 17:51:13 "action.atr" [17:30:12]NetworkProtocolTNFS::read_dir_entry(N: action.atr, F: 133136, M: 1, D: 0, L: 0) - 0 [17:30:12]current entry "action.atr" crunched entry "ACTION.ATR" [17:30:12]tnfs_readdirx responding from cached entry [17:30:12] _readdirx_fill_response: dir: no, size: 133136, mtime: 2020-11-28 11:40:25, ctime: 2021-01-16 17:56:14 "blank.atr" [17:30:12]NetworkProtocolTNFS::read_dir_entry(N: blank.atr, F: 133136, M: 1, D: 0, L: 0) - 0 [17:30:12]current entry "blank.atr" crunched entry "BLANK.ATR" [17:30:12]tnfs_readdirx responding from cached entry [17:30:12] _readdirx_fill_response: dir: no, size: 133136, mtime: 2021-01-19 17:25:39, ctime: 2021-01-19 17:25:39 "dev2.atr" [17:30:12]NetworkProtocolTNFS::read_dir_entry(N: dev2.atr, F: 133136, M: 1, D: 0, L: 0) - 0 [17:30:12]current entry "dev2.atr" crunched entry "DEV2.ATR" [17:30:12]tnfs_readdirx responding from cached entry [17:30:12] _readdirx_fill_response: dir: no, size: 9463, mtime: 2020-11-29 18:36:47, ctime: 2021-01-16 17:56:19 "ELIZA.BAS" [17:30:12]NetworkProtocolTNFS::read_dir_entry(N: ELIZA.BAS, F: 9463, M: 1, D: 0, L: 0) - 0 [17:30:12]current entry "ELIZA.BAS" crunched entry "ELIZA.BAS" [17:30:12]tnfs_readdirx responding from cached entry [17:30:12] _readdirx_fill_response: dir: no, size: 92176, mtime: 2020-11-29 12:06:38, ctime: 2021-01-16 17:56:27 "n-handler.atr" [17:30:12]NetworkProtocolTNFS::read_dir_entry(N: n-handler.atr, F: 92176, M: 1, D: 0, L: 0) - 0 [17:30:12]current entry "n-handler.atr" crunched entry "NHANDLER.ATR" [17:30:12]tnfs_readdirx responding from cached entry [17:30:12] _readdirx_fill_response: dir: no, size: 92176, mtime: 2020-12-05 15:36:24, ctime: 2021-01-16 17:56:27 "oilwells.atr" [17:30:12]NetworkProtocolTNFS::read_dir_entry(N: oilwells.atr, F: 92176, M: 1, D: 0, L: 0) - 0 [17:30:12]current entry "oilwells.atr" crunched entry "OILWELLS.ATR" [17:30:12]tnfs_readdirx responding from cached entry [17:30:12] _readdirx_fill_response: dir: no, size: 67596, mtime: 2020-12-18 16:35:34, ctime: 2021-01-16 17:56:28 "s3loader.xex" [17:30:12]NetworkProtocolTNFS::read_dir_entry(N: s3loader.xex, F: 67596, M: 1, D: 0, L: 0) - 0 [17:30:12]current entry "s3loader.xex" crunched entry "S3LOADER.XEX" [17:30:12]tnfs_readdirx responding from cached entry [17:30:12] _readdirx_fill_response: dir: no, size: 1186, mtime: 2021-02-02 16:52:03, ctime: 2021-02-02 16:52:03 "SHOWTIME.BAS" [17:30:12]NetworkProtocolTNFS::read_dir_entry(N: SHOWTIME.BAS, F: 1186, M: 1, D: 0, L: 0) - 0 [17:30:12]current entry "SHOWTIME.BAS" crunched entry "SHOWTIME.BAS" [17:30:12]tnfs_readdirx responding from cached entry [17:30:12] _readdirx_fill_response: dir: no, size: 92176, mtime: 2021-02-02 16:52:18, ctime: 2021-02-02 16:52:18 "work.atr" [17:30:12]NetworkProtocolTNFS::read_dir_entry(N: work.atr, F: 92176, M: 1, D: 0, L: 0) - 0 [17:30:12]current entry "work.atr" crunched entry "WORK.ATR" [17:30:12]tnfs_readdirx returning EOF based on cached value [17:30:12]NetworkProtocolTNFS::read_dir_entry(N: work.atr, F: 92176, M: 1, D: 0, L: 0) - 33 [17:30:12]Resolving hostname "tnfs.local" [17:30:12]Resolved to address 192.168.7.94 [17:30:12]NetworkProtocolTNFS::close_dir_handle() - 0 [17:30:12]Resolved to TNFS://tnfs.local/HELLO.BAS [17:30:12]Resolving hostname "tnfs.local" [17:30:12]Resolved to address 192.168.7.94 [17:30:12]TNFS open file: "/HELLO.BAS" (0x0302, 0x01ff) [17:30:12]Resolving hostname "tnfs.local" [17:30:12]Resolved to address 192.168.7.94 [17:30:12]File opened, handle ID: 0, size: 0, pos: 0 [17:30:12]NetworkProtocolTNFS::open_file_handle(mode: 770 perms 511) - 0 [17:30:12]COMPLETE! [17:30:12] [17:30:12]CF: 71 53 00 00 c4 [17:30:12]sioNetwork::sio_process 0x53 'S': 0x00, 0x00 [17:30:12]ACK! [17:30:12]sioNetwork::sio_status_channel(0) [17:30:12]PROTOCOL [17:30:12]sio_status_channel() - BW: 0 E: 136 [17:30:12]->SIO write 4 bytes [17:30:12]COMPLETE! [17:30:12] [17:30:12]CF: 71 43 00 00 b4 [17:30:12]sioNetwork::sio_process 0x43 'C': 0x00, 0x00 [17:30:12]sioNetwork::sio_close() [17:30:12]ACK! [17:30:12]NetworkProtocolTNFS::close_file_handle(0) - 0 [17:30:12]NetworkProtocolTNFS::umount() [17:30:12]Resolving hostname "tnfs.local" [17:30:12]Resolved to address 192.168.7.94 [17:30:12]COMPLETE! [17:30:12]NetworkProtocolTNFS::dtor [17:30:12]NetworkProtocol::dtor() Quote Link to comment Share on other sites More sharing options...
tsom Posted April 3, 2021 Author Share Posted April 3, 2021 * sigh * Nevermind. I (dumbly) didn't bother updating my work disk that I was using with the latest version of the N Handler. Once I did that, I'm able to read my files. Though it does still have the issue of not being able to resolve UPPER CASE Url's Using '/dev/cu.usbserial-141430' as serial port. Showing logs: [17:51:05] [17:51:05]71 0 c4 [17:51:05]CF: 4f 040sioNetwork::io_proces 04f ': 4 00 [17:51:05]rk::sio_op [17:51:05]ACK! [17:51:05]rk::sio_op [17:51:05]ssx'O0x0,0xsioNetwoen() [17:51:05]<-SIO re256 bs Serial port closed! [17:51:05]<-SIO re256 bs [17:51:05]ACK! [17:51:05]sioNetwork::parseURL(N:TNFS://TNFS.LOCAL/SHOWTIME.BAS) [17:51:05]sioNetwork::parseURL transformed to (N:TNFS://TNFS.LOCAL/SHOWTIME.BAS, TNFS://TNFS.LOCAL/SHOWTIME.BAS) [17:51:05]Parse and instantiate protocol: N:TNFS://TNFS.LOCAL/SHOWTIME.BAS [17:51:05]NetworkProtocol::ctor() [17:51:05]NetworkProtocolTNFS::ctor [17:51:05]sioNetwork::open_protocol() - Protocol TNFS opened. [17:51:05]Resolving hostname "TNFS.LOCAL" [17:51:05]Name failed to resolve [17:51:05]Failed to send packet - retrying [17:51:06]Resolving hostname "TNFS.LOCAL" [17:51:06]Name failed to resolve [17:51:06]Failed to send packet - retrying [17:51:07]Resolving hostname "TNFS.LOCAL" [17:51:07]Name failed to resolve [17:51:07]Failed to send packet - retrying [17:51:08]Resolving hostname "TNFS.LOCAL" [17:51:08]Name failed to resolve [17:51:08]Failed to send packet - retrying [17:51:09]Resolving hostname "TNFS.LOCAL" [17:51:09]Name failed to resolve [17:51:09]Failed to send packet - retrying [17:51:10]Retry attempts failed [17:51:10]NetworkProtocolTNFS::mount(TNFS.LOCAL,/SHOWTIME.BAS) - -1 [17:51:10]Protocol unable to make connection. Error: 138 [17:51:10]NetworkProtocolTNFS::dtor [17:51:10]NetworkProtocol::dtor() [17:51:10]ERROR! [17:51:10] [17:51:10]CF: 71 4f 04 00 c4 [17:51:10]sioNetwork::sio_process 0x4f 'O': 0x04, 0x00 [17:51:10]sioNetwork::sio_open() [17:51:10] [17:51:10]ACK! [17:51:10]<-SIO read 256 bytes [17:51:10]ACK! [17:51:10]sioNetwork::parseURL(N:TNFS://TNFS.LOCAL/SHOWTIME.BAS) [17:51:10]sioNetwork::parseURL transformed to (N:TNFS://TNFS.LOCAL/SHOWTIME.BAS, TNFS://TNFS.LOCAL/SHOWTIME.BAS) [17:51:10]Parse and instantiate protocol: N:TNFS://TNFS.LOCAL/SHOWTIME.BAS [17:51:10]NetworkProtocol::ctor() [17:51:10]NetworkProtocolTNFS::ctor [17:51:10]sioNetwork::open_protocol() - Protocol TNFS opened. [17:51:10]Resolving hostname "TNFS.LOCAL" [17:51:10]Name failed to resolve [17:51:10]Failed to send packet - retrying [17:51:11]Resolving hostname "TNFS.LOCAL" [17:51:11]Name failed to resolve [17:51:11]Failed to send packet - retrying [17:51:12]Resolving hostname "TNFS.LOCAL" [17:51:12]Name failed to resolve [17:51:12]Failed to send packet - retrying [17:51:13]Resolving hostname "TNFS.LOCAL" [17:51:13]Name failed to resolve [17:51:13]Failed to send packet - retrying [17:51:14]Resolving hostname "TNFS.LOCAL" [17:51:14]Name failed to resolve [17:51:14]Failed to send packet - retrying [17:51:15]Retry attempts failed [17:51:15]NetworkProtocolTNFS::mount(TNFS.LOCAL,/SHOWTIME.BAS) - -1 [17:51:15]Protocol unable to make connection. Error: 138 [17:51:15]NetworkProtocolTNFS::dtor [17:51:15]NetworkProtocol::dtor() [17:51:15]ERROR! [17:51:15] [17:51:15]CF: 71 53 00 00 c4 [17:51:15]sioNetwork::sio_process 0x53 'S': 0x00, 0x00 [17:51:15]ACK! [17:51:15]sioNetwork::sio_status_local(0) [17:51:15]->SIO write 4 bytes [17:51:15]COMPLETE! [17:51:16] [17:51:16]CF: 71 43 00 00 b4 [17:51:16]sioNetwork::sio_process 0x43 'C': 0x00, 0x00 [17:51:16]sioNetwork::sio_close() [17:51:16]ACK! [17:51:16]COMPLETE! Quote Link to comment Share on other sites More sharing options...
tschak909 Posted April 4, 2021 Share Posted April 4, 2021 8 hours ago, tsom said: * sigh * Nevermind. I (dumbly) didn't bother updating my work disk that I was using with the latest version of the N Handler. Once I did that, I'm able to read my files. Though it does still have the issue of not being able to resolve UPPER CASE Url's Using '/dev/cu.usbserial-141430' as serial port. Showing logs: [17:51:05] [17:51:05]71 0 c4 [17:51:05]CF: 4f 040sioNetwork::io_proces 04f ': 4 00 [17:51:05]rk::sio_op [17:51:05]ACK! [17:51:05]rk::sio_op [17:51:05]ssx'O0x0,0xsioNetwoen() [17:51:05]<-SIO re256 bs Serial port closed! [17:51:05]<-SIO re256 bs [17:51:05]ACK! [17:51:05]sioNetwork::parseURL(N:TNFS://TNFS.LOCAL/SHOWTIME.BAS) [17:51:05]sioNetwork::parseURL transformed to (N:TNFS://TNFS.LOCAL/SHOWTIME.BAS, TNFS://TNFS.LOCAL/SHOWTIME.BAS) [17:51:05]Parse and instantiate protocol: N:TNFS://TNFS.LOCAL/SHOWTIME.BAS [17:51:05]NetworkProtocol::ctor() [17:51:05]NetworkProtocolTNFS::ctor [17:51:05]sioNetwork::open_protocol() - Protocol TNFS opened. [17:51:05]Resolving hostname "TNFS.LOCAL" [17:51:05]Name failed to resolve [17:51:05]Failed to send packet - retrying [17:51:06]Resolving hostname "TNFS.LOCAL" [17:51:06]Name failed to resolve [17:51:06]Failed to send packet - retrying [17:51:07]Resolving hostname "TNFS.LOCAL" [17:51:07]Name failed to resolve [17:51:07]Failed to send packet - retrying [17:51:08]Resolving hostname "TNFS.LOCAL" [17:51:08]Name failed to resolve [17:51:08]Failed to send packet - retrying [17:51:09]Resolving hostname "TNFS.LOCAL" [17:51:09]Name failed to resolve [17:51:09]Failed to send packet - retrying [17:51:10]Retry attempts failed [17:51:10]NetworkProtocolTNFS::mount(TNFS.LOCAL,/SHOWTIME.BAS) - -1 [17:51:10]Protocol unable to make connection. Error: 138 [17:51:10]NetworkProtocolTNFS::dtor [17:51:10]NetworkProtocol::dtor() [17:51:10]ERROR! [17:51:10] [17:51:10]CF: 71 4f 04 00 c4 [17:51:10]sioNetwork::sio_process 0x4f 'O': 0x04, 0x00 [17:51:10]sioNetwork::sio_open() [17:51:10] [17:51:10]ACK! [17:51:10]<-SIO read 256 bytes [17:51:10]ACK! [17:51:10]sioNetwork::parseURL(N:TNFS://TNFS.LOCAL/SHOWTIME.BAS) [17:51:10]sioNetwork::parseURL transformed to (N:TNFS://TNFS.LOCAL/SHOWTIME.BAS, TNFS://TNFS.LOCAL/SHOWTIME.BAS) [17:51:10]Parse and instantiate protocol: N:TNFS://TNFS.LOCAL/SHOWTIME.BAS [17:51:10]NetworkProtocol::ctor() [17:51:10]NetworkProtocolTNFS::ctor [17:51:10]sioNetwork::open_protocol() - Protocol TNFS opened. [17:51:10]Resolving hostname "TNFS.LOCAL" [17:51:10]Name failed to resolve [17:51:10]Failed to send packet - retrying [17:51:11]Resolving hostname "TNFS.LOCAL" [17:51:11]Name failed to resolve [17:51:11]Failed to send packet - retrying [17:51:12]Resolving hostname "TNFS.LOCAL" [17:51:12]Name failed to resolve [17:51:12]Failed to send packet - retrying [17:51:13]Resolving hostname "TNFS.LOCAL" [17:51:13]Name failed to resolve [17:51:13]Failed to send packet - retrying [17:51:14]Resolving hostname "TNFS.LOCAL" [17:51:14]Name failed to resolve [17:51:14]Failed to send packet - retrying [17:51:15]Retry attempts failed [17:51:15]NetworkProtocolTNFS::mount(TNFS.LOCAL,/SHOWTIME.BAS) - -1 [17:51:15]Protocol unable to make connection. Error: 138 [17:51:15]NetworkProtocolTNFS::dtor [17:51:15]NetworkProtocol::dtor() [17:51:15]ERROR! [17:51:15] [17:51:15]CF: 71 53 00 00 c4 [17:51:15]sioNetwork::sio_process 0x53 'S': 0x00, 0x00 [17:51:15]ACK! [17:51:15]sioNetwork::sio_status_local(0) [17:51:15]->SIO write 4 bytes [17:51:15]COMPLETE! [17:51:16] [17:51:16]CF: 71 43 00 00 b4 [17:51:16]sioNetwork::sio_process 0x43 'C': 0x00, 0x00 [17:51:16]sioNetwork::sio_close() [17:51:16]ACK! [17:51:16]COMPLETE! Upper case URLs I can do nothing about, the DNS resolver on your router is doing something very dumb. -Thom 1 Quote Link to comment Share on other sites More sharing options...
tsom Posted April 4, 2021 Author Share Posted April 4, 2021 5 hours ago, tschak909 said: Upper case URLs I can do nothing about, the DNS resolver on your router is doing something very dumb. -Thom The odd thing is, upper case urls for the hosts resolve just fine, it’s just when using the N device in this situation. I’ll keep digging... Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted April 12, 2021 Share Posted April 12, 2021 try turning off your routers DNS and DNS cache... if you can conversely, if they're already off, turn them on If you have your own DNS, you may have a little work to do. Quote Link to comment Share on other sites More sharing options...
tsom Posted April 12, 2021 Author Share Posted April 12, 2021 It's probably because I'm using mDNS to get to the local server (It's an Eero system). Resolving TNFS.LOCAL fails, but tifs.local works. But... if I enter uppercase TNFS.LOCAL for the host slot, it finds the server fine. Weird. Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted April 12, 2021 Share Posted April 12, 2021 oh wow, I would never user multicast DNS for any of this stuff, I steer clear of it. It's been an issue for too many people over the years, I'd check out some Eero forums for ideas. It really can clog up a network and grind stuff to a halt depending on what all you have in use... 1 Quote Link to comment Share on other sites More sharing options...
tschak909 Posted April 12, 2021 Share Posted April 12, 2021 We can support mDNS queries, I should probably try to at least advertise the FujiNet as a host on the local network. -Thom Quote Link to comment Share on other sites More sharing options...
tschak909 Posted April 16, 2021 Share Posted April 16, 2021 @tsom I have just added the following commit, which starts mDNS and sets hostname and advertises the HTTP service for the FujiNet, the commit is here: https://github.com/FujiNetWIFI/fujinet-platformio/commit/7bd530719a05a2e40d42fbcb99a1e2e63cc40f7b So it will show up in the next build. -Thom 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.