Jump to content
IGNORED

Loading files from http server using N driver


tsom

Recommended Posts

I don't know if it's something I'm doing wrong or not...

 

I set up an nginx web server on the raspberry pi I use for my local tnfs server. I've dropped a .bas file into the directory that's served by nginx. I can access the file in a browser at http://raspberrypi.local/eliza.bas - the browser download the file just fine.

 

But, if I try to use the N: driver (by copying the "ndev.com" file to an "autorun.sys" file on a DOS 2.5 disk) and try to access the file using the N: device, it doesn't load. I use the command:

 

LOAD "N:HTTP://RASPBERRYPI.LOCAL/ELIZA.BAS"

 

and it says "Ready", but nothing loads. I've also tried using the IP address, but that doesn't work either. I've captured the debug out using the FujiNet flasher utility. The first one is using the IP address:

[20:56:06]
[20:56:06]CF: 71 4f 04 00 c4
[20:56:06]sioNetwork::sio_process 0x4f 'O': 0x04, 0x00
[20:56:06]sioNetwork::sio_open()
[20:56:06]Deleting existing rateTimer
[20:56:06]ACK!
[20:56:06]<-SIO read 256 bytes
[20:56:06]ACK!
[20:56:06]parseURL: N:HTTP://192.168.7.94/ELIZA.BASIZA.BASiza.basS
[20:56:06]parseURL isValidURL: HTTP://192.168.7.94/ELIZA.BAS
[20:56:06]Open: HTTP://192.168.7.94/ELIZA.BAS
[20:56:06]HEAP CHECK PASSED sioNetwork::allocate_buffers
[20:56:06]fnHttpClient::begin "http://192.168.7.94:80/ELIZA.BAS"
[20:56:06]Creating new rateTimer
[20:56:06]JSON::setProtocol()
[20:56:06]COMPLETE!
[20:56:06]startConnection()
[20:56:06]fnHttpClient::GET
[20:56:06]00101690 _perform
[20:56:08]00101be7 _perform status = 200, length = 9463, chunked = 0
[20:56:08]Result code: 200
[20:56:08]
[20:56:08]CF: 71 53 00 00 c4
[20:56:08]sioNetwork::sio_process 0x53 'S': 0x00, 0x00
[20:56:08]ACK!
[20:56:08]sioNetwork::sio_status()
[20:56:08]Status bytes: f7 24 00 01
[20:56:08]->SIO write 4 bytes
[20:56:08]COMPLETE!
[20:56:08]
[20:56:08]CF: 71 43 00 00 b4
[20:56:08]sioNetwork::sio_process 0x43 'C': 0x00, 0x00
[20:56:08]sioNetwork::sio_close()
[20:56:08]
[20:56:08]ACK!
[20:56:08]COMPLETE!

This is using the actual local domain name (and looking at it, it looks like it's having a problem getting the file?):

 

[20:59:14]
[20:59:14]CF: 71 4f 04 00 c4
[20:59:14]sioNetwork::sio_process 0x4f 'O': 0x04, 0x00
[20:59:14]sioNetwork::sio_open()
[20:59:14]Deleting existing rateTimer
[20:59:14]ACK!
[20:59:14]<-SIO read 256 bytes
[20:59:14]ACK!
[20:59:14]parseURL: N:HTTP://RASPBERRYPI.LOCAL/ELIZA.BASASiza.basS
[20:59:14]parseURL isValidURL: HTTP://RASPBERRYPI.LOCAL/ELIZA.BAS
[20:59:14]Open: HTTP://RASPBERRYPI.LOCAL/ELIZA.BAS
[20:59:14]HEAP CHECK PASSED sioNetwork::allocate_buffers
[20:59:14]fnHttpClient::begin "http://RASPBERRYPI.LOCAL:80/ELIZA.BAS"
[20:59:14]Creating new rateTimer
[20:59:14]JSON::setProtocol()
[20:59:14]COMPLETE!
[20:59:14]startConnection()
[20:59:14]fnHttpClient::GET
[20:59:14]0012f386 _perform
[20:59:14]E (1243165) HTTP_CLIENT: Connection failed, sock < 0
[20:59:14]0012f3d7 _perform status = 0, length = 0, chunked = 0
[20:59:14]Result code: 0
[20:59:14]
[20:59:14]CF: 71 53 00 00 c4
[20:59:14]sioNetwork::sio_process 0x53 'S': 0x00, 0x00
[20:59:14]ACK!
[20:59:14]sioNetwork::sio_status()
[20:59:14]Status bytes: 00 00 00 88
[20:59:14]->SIO write 4 bytes
[20:59:14]COMPLETE!
[20:59:14]
[20:59:14]CF: 71 53 00 00 c4
[20:59:14]sioNetwork::sio_process 0x53 'S': 0x00, 0x00
[20:59:14]ACK!
[20:59:14]sioNetwork::sio_status()
[20:59:14]Status bytes: 00 00 00 88
[20:59:14]->SIO write 4 bytes
[20:59:14]COMPLETE!
[20:59:14]
[20:59:14]CF: 71 43 00 00 b4
[20:59:14]sioNetwork::sio_process 0x43 'C': 0x00, 0x00
[20:59:14]sioNetwork::sio_close()
[20:59:14]
[20:59:14]ACK!
[20:59:14]COMPLETE!

 

I've also tried using the fnc-tools with DOSXL. I try to do a NCD to the address, then an NDIR, but it's blank. I've also found that if I enter the URL/IP with lower case (http://raspberrypi.local/ or http://192.168.7.94/) the NCD returns an SIO error.

 

Thoughts?

 

(I was trying to follow what was done around the 26 minute mark in this video 

 - thought it would be an easy way to load external files.

 

Thanks!

 

John

Link to comment
Share on other sites

42 minutes ago, tsom said:

I don't know if it's something I'm doing wrong or not...

 

I set up an nginx web server on the raspberry pi I use for my local tnfs server. I've dropped a .bas file into the directory that's served by nginx. I can access the file in a browser at http://raspberrypi.local/eliza.bas - the browser download the file just fine.

 

But, if I try to use the N: driver (by copying the "ndev.com" file to an "autorun.sys" file on a DOS 2.5 disk) and try to access the file using the N: device, it doesn't load. I use the command:

 

LOAD "N:HTTP://RASPBERRYPI.LOCAL/ELIZA.BAS"

 

and it says "Ready", but nothing loads. I've also tried using the IP address, but that doesn't work either. I've captured the debug out using the FujiNet flasher utility. The first one is using the IP address:


[20:56:06]
[20:56:06]CF: 71 4f 04 00 c4
[20:56:06]sioNetwork::sio_process 0x4f 'O': 0x04, 0x00
[20:56:06]sioNetwork::sio_open()
[20:56:06]Deleting existing rateTimer
[20:56:06]ACK!
[20:56:06]<-SIO read 256 bytes
[20:56:06]ACK!
[20:56:06]parseURL: N:HTTP://192.168.7.94/ELIZA.BASIZA.BASiza.basS
[20:56:06]parseURL isValidURL: HTTP://192.168.7.94/ELIZA.BAS
[20:56:06]Open: HTTP://192.168.7.94/ELIZA.BAS
[20:56:06]HEAP CHECK PASSED sioNetwork::allocate_buffers
[20:56:06]fnHttpClient::begin "http://192.168.7.94:80/ELIZA.BAS"
[20:56:06]Creating new rateTimer
[20:56:06]JSON::setProtocol()
[20:56:06]COMPLETE!
[20:56:06]startConnection()
[20:56:06]fnHttpClient::GET
[20:56:06]00101690 _perform
[20:56:08]00101be7 _perform status = 200, length = 9463, chunked = 0
[20:56:08]Result code: 200
[20:56:08]
[20:56:08]CF: 71 53 00 00 c4
[20:56:08]sioNetwork::sio_process 0x53 'S': 0x00, 0x00
[20:56:08]ACK!
[20:56:08]sioNetwork::sio_status()
[20:56:08]Status bytes: f7 24 00 01
[20:56:08]->SIO write 4 bytes
[20:56:08]COMPLETE!
[20:56:08]
[20:56:08]CF: 71 43 00 00 b4
[20:56:08]sioNetwork::sio_process 0x43 'C': 0x00, 0x00
[20:56:08]sioNetwork::sio_close()
[20:56:08]
[20:56:08]ACK!
[20:56:08]COMPLETE!

This is using the actual local domain name (and looking at it, it looks like it's having a problem getting the file?):

 


[20:59:14]
[20:59:14]CF: 71 4f 04 00 c4
[20:59:14]sioNetwork::sio_process 0x4f 'O': 0x04, 0x00
[20:59:14]sioNetwork::sio_open()
[20:59:14]Deleting existing rateTimer
[20:59:14]ACK!
[20:59:14]<-SIO read 256 bytes
[20:59:14]ACK!
[20:59:14]parseURL: N:HTTP://RASPBERRYPI.LOCAL/ELIZA.BASASiza.basS
[20:59:14]parseURL isValidURL: HTTP://RASPBERRYPI.LOCAL/ELIZA.BAS
[20:59:14]Open: HTTP://RASPBERRYPI.LOCAL/ELIZA.BAS
[20:59:14]HEAP CHECK PASSED sioNetwork::allocate_buffers
[20:59:14]fnHttpClient::begin "http://RASPBERRYPI.LOCAL:80/ELIZA.BAS"
[20:59:14]Creating new rateTimer
[20:59:14]JSON::setProtocol()
[20:59:14]COMPLETE!
[20:59:14]startConnection()
[20:59:14]fnHttpClient::GET
[20:59:14]0012f386 _perform
[20:59:14]E (1243165) HTTP_CLIENT: Connection failed, sock < 0
[20:59:14]0012f3d7 _perform status = 0, length = 0, chunked = 0
[20:59:14]Result code: 0
[20:59:14]
[20:59:14]CF: 71 53 00 00 c4
[20:59:14]sioNetwork::sio_process 0x53 'S': 0x00, 0x00
[20:59:14]ACK!
[20:59:14]sioNetwork::sio_status()
[20:59:14]Status bytes: 00 00 00 88
[20:59:14]->SIO write 4 bytes
[20:59:14]COMPLETE!
[20:59:14]
[20:59:14]CF: 71 53 00 00 c4
[20:59:14]sioNetwork::sio_process 0x53 'S': 0x00, 0x00
[20:59:14]ACK!
[20:59:14]sioNetwork::sio_status()
[20:59:14]Status bytes: 00 00 00 88
[20:59:14]->SIO write 4 bytes
[20:59:14]COMPLETE!
[20:59:14]
[20:59:14]CF: 71 43 00 00 b4
[20:59:14]sioNetwork::sio_process 0x43 'C': 0x00, 0x00
[20:59:14]sioNetwork::sio_close()
[20:59:14]
[20:59:14]ACK!
[20:59:14]COMPLETE!

 

I've also tried using the fnc-tools with DOSXL. I try to do a NCD to the address, then an NDIR, but it's blank. I've also found that if I enter the URL/IP with lower case (http://raspberrypi.local/ or http://192.168.7.94/) the NCD returns an SIO error.

 

Thoughts?

 

(I was trying to follow what was done around the 26 minute mark in this video 

 - thought it would be an easy way to load external files.

 

Thanks!

 

John

Can you try using the N: handler from atari-apps.irata.online /private/n-handler.atr? The ndev.com that's currently on the config rom disk is broken (very long story, I am in the middle of rewriting ALL of N:)

 

-Thom

Link to comment
Share on other sites

I tried using the n-handler.atr in /private - I copied the autorun.sys file to my disk (I noticed that it is much shorter in length then the one I was using), but when I booted my disk I did not see the #FujiNet Ready prompt. I also tried to boot that n-handler.atr disk, but it would just boot to basic (this is an 800xl), and the system is hung - keypresses don't work. When booted on my dos 2.5 disk, I try to run the N tools on the n-handler disk. I able to do a NCD without error, but trying to run NPWD or NDIR results in BAD LOAD FILE.

Link to comment
Share on other sites

*facepalm*

 

Can you please run the FujiNet flasher, press MONITOR and paste the debugging output here? There is something you're not mentioning happening. It shouldn't be locking up, because it's loading to a known empty spot in memory.

 

I am using this n-handler.atr disk to debug the N: device I am currently re-writing.

 

-Thom

 

Link to comment
Share on other sites

19 hours ago, tschak909 said:

*facepalm*

 

Can you please run the FujiNet flasher, press MONITOR and paste the debugging output here? There is something you're not mentioning happening. It shouldn't be locking up, because it's loading to a known empty spot in memory.

 

I am using this n-handler.atr disk to debug the N: device I am currently re-writing.

 

-Thom

 

Ok. I mounted that disk and rebooted (with the Option key). Here is the output. It dropped to the Ready prompt, I tried to go to DOS, but it just went to the SELF TEST screen.

 

Using '/dev/cu.usbserial-141430' as serial port.
Showing logs:
[11:11:21]
[11:11:21]CF: 70 f2 00 00 63
[11:11:21]sioFuji::sio_process() called
[11:11:21]ACK!
[11:11:21]Fuji cmd: READ DEVICE SLOTS
[11:11:21]->SIO write 304 bytes
[11:11:21]COMPLETE!
[11:11:21]
[11:11:21]CF: 70 f4 00 00 65
[11:11:21]sioFuji::sio_process() called
[11:11:21]ACK!
[11:11:21]Fuji cmd: READ HOST SLOTS
[11:11:21]->SIO write 256 bytes
[11:11:21]COMPLETE!
[11:11:21]
[11:11:21]CF: 70 f2 00 00 63
[11:11:21]sioFuji::sio_process() called
[11:11:21]ACK!
[11:11:21]Fuji cmd: READ DEVICE SLOTS
[11:11:21]->SIO write 304 bytes
[11:11:21]COMPLETE!
[11:11:21]
[11:11:21]CF: 70 f9 03 00 6d
[11:11:21]sioFuji::sio_process() called
[11:11:21]ACK!
[11:11:21]Fuji cmd: MOUNT HOST
[11:11:21]::mount {3} "Atari-apps.Irata.online"
[11:11:21]::mount_local Attempting mount of "Atari-apps.Irata.online"
[11:11:21]::mount_tnfs {3:2} "Atari-apps.Irata.online"
[11:11:21]::mount_tnfs Currently connected to host "Atari-apps.Irata.online"
[11:11:21]COMPLETE!
[11:11:21]
[11:11:21]CF: 70 f8 00 02 6b
[11:11:21]sioFuji::sio_process() called
[11:11:21]ACK!
[11:11:21]Fuji cmd: MOUNT IMAGE
[11:11:21]Selecting '/private/n-handler.atr' from host #3 as r+ on D1:
[11:11:21]fujiHost #3 opening file path "/private/n-handler.atr"
[11:11:22]TNFS open file: "/private/n-handler.atr" (0x0003, 0x01b6)
[11:11:24]Timeout after 2000 milliseconds. Retrying
[11:11:25]TNFS OUT OF ORDER SEQUENCE! RETRYING
[11:11:25]File opened, handle ID: 1, size: 92176, pos: 0
[11:11:25]::get_filesize
[11:11:25]tnfs_lseek currpos=0, pos=0, typ=1
[11:11:25]tnfs_lseek success, new pos=0, response pos=0
[11:11:25]tnfs_lseek currpos=0, pos=0, typ=2
[11:11:25]tnfs_lseek success, new pos=92176, response pos=92176
[11:11:25]tnfs_lseek currpos=92176, pos=0, typ=0
[11:11:25]tnfs_lseek success, new pos=0, response pos=0
[11:11:25]disk MOUNT
[11:11:25]ATR MOUNT
[11:11:25]tnfs_lseek currpos=0, pos=0, typ=0
[11:11:25]tnfs_lseek success, new pos=0, response pos=0
[11:11:25]mounted ATR: paragraphs=5760, sect_size=128, sect_count=720, disk_size=92176
[11:11:25]COMPLETE!
[11:11:25]
[11:11:25]CF: 70 d9 00 02 4c
[11:11:25]sioFuji::sio_process() called
[11:11:25]ACK!
[11:11:25]COMPLETE!
[11:11:27]
[11:11:27]CF: 31 53 00 00 84
[11:11:27]disk sio_process()
[11:11:27]ACK!
[11:11:27]disk STATUS
[11:11:27]response: 0x00, 0xff, 0xfe
[11:11:27]->SIO write 4 bytes
[11:11:27]COMPLETE!
[11:11:27]
[11:11:27]CF: 31 52 01 00 84
[11:11:27]disk sio_process()
[11:11:27]ACK!
[11:11:27]ATR READ
[11:11:27]tnfs_lseek currpos=128, pos=7, typ=0
[11:11:27]_tnfs_cache_seek current=128, destination=7, cache_start=0, cache_end=512
[11:11:27]_tnfs_cache_seek within cached region
[11:11:27]tnfs_lseek currpos=7, pos=16, typ=0
[11:11:27]_tnfs_cache_seek current=7, destination=16, cache_start=0, cache_end=512
[11:11:27]_tnfs_cache_seek within cached region
[11:11:27]->SIO write 128 bytes
[11:11:27]COMPLETE!
[11:11:27]
[11:11:27]CF: 31 52 02 00 85
[11:11:27]disk sio_process()
[11:11:27]ACK!
[11:11:27]ATR READ
[11:11:27]->SIO write 128 bytes
[11:11:27]COMPLETE!
[11:11:27]
[11:11:27]CF: 31 52 03 00 86
[11:11:27]disk sio_process()
[11:11:27]ACK!
[11:11:27]ATR READ
[11:11:27]->SIO write 128 bytes
[11:11:27]COMPLETE!
[11:11:27]
[11:11:27]CF: 31 52 7a 00 fd
[11:11:27]disk sio_process()
[11:11:27]ACK!
[11:11:27]ATR READ
[11:11:27]tnfs_lseek currpos=400, pos=15504, typ=0
[11:11:27]_tnfs_cache_seek current=400, destination=15504, cache_start=0, cache_end=512
[11:11:27]_tnfs_cache_seek outside cached region
[11:11:27]tnfs_lseek success, new pos=15504, response pos=15504
[11:11:27]->SIO write 128 bytes
[11:11:27]COMPLETE!
[11:11:27]
[11:11:27]CF: 31 52 7b 00 fe
[11:11:27]disk sio_process()
[11:11:27]ACK!
[11:11:27]ATR READ
[11:11:27]->SIO write 128 bytes
[11:11:27]COMPLETE!
[11:11:27]
[11:11:27]CF: 31 52 7c 00 ff
[11:11:27]disk sio_process()
[11:11:27]ACK!
[11:11:27]ATR READ
[11:11:27]->SIO write 128 bytes
[11:11:27]COMPLETE!
[11:11:27]
[11:11:27]CF: 31 52 7d 00 01
[11:11:27]disk sio_process()
[11:11:27]ACK!
[11:11:27]ATR READ
[11:11:27]->SIO write 128 bytes
[11:11:27]COMPLETE!
[11:11:27]
[11:11:27]CF: 31 52 7e 00 02
[11:11:27]disk sio_process()
[11:11:27]ACK!
[11:11:27]ATR READ
[11:11:27]->SIO write 128 bytes
[11:11:27]COMPLETE!
[11:11:27]
[11:11:27]CF: 31 52 7f 00 03
[11:11:27]disk sio_process()
[11:11:27]ACK!
[11:11:27]ATR READ
[11:11:27]->SIO write 128 bytes
[11:11:27]COMPLETE!
[11:11:27]
[11:11:27]CF: 31 52 80 00 04
[11:11:27]disk sio_process()
[11:11:27]ACK!
[11:11:27]ATR READ
[11:11:27]->SIO write 128 bytes
[11:11:27]COMPLETE!
[11:11:28]
[11:11:28]CF: 31 52 81 00 05
[11:11:28]disk sio_process()
[11:11:28]ACK!
[11:11:28]ATR READ
[11:11:28]->SIO write 128 bytes
[11:11:28]COMPLETE!
[11:11:28]
[11:11:28]CF: 31 52 82 00 06
[11:11:28]disk sio_process()
[11:11:28]ACK!
[11:11:28]ATR READ
[11:11:28]->SIO write 128 bytes
[11:11:28]COMPLETE!
[11:11:28]
[11:11:28]CF: 31 52 83 00 07
[11:11:28]disk sio_process()
[11:11:28]ACK!
[11:11:28]ATR READ
[11:11:28]->SIO write 128 bytes
[11:11:28]COMPLETE!
[11:11:28]
[11:11:28]CF: 31 52 84 00 08
[11:11:28]disk sio_process()
[11:11:28]ACK!
[11:11:28]ATR READ
[11:11:28]->SIO write 128 bytes
[11:11:28]COMPLETE!
[11:11:28]
[11:11:28]CF: 31 52 85 00 09
[11:11:28]disk sio_process()
[11:11:28]ACK!
[11:11:28]ATR READ
[11:11:28]->SIO write 128 bytes
[11:11:28]COMPLETE!
[11:11:28]
[11:11:28]CF: 31 52 86 00 0a
[11:11:28]disk sio_process()
[11:11:28]ACK!
[11:11:28]ATR READ
[11:11:28]->SIO write 128 bytes
[11:11:28]COMPLETE!
[11:11:28]
[11:11:28]CF: 31 52 87 00 0b
[11:11:28]disk sio_process()
[11:11:28]ACK!
[11:11:28]ATR READ
[11:11:28]->SIO write 128 bytes
[11:11:28]COMPLETE!
[11:11:28]
[11:11:28]CF: 31 52 88 00 0c
[11:11:28]disk sio_process()
[11:11:28]ACK!
[11:11:28]ATR READ
[11:11:28]->SIO write 128 bytes
[11:11:28]COMPLETE!
[11:11:28]
[11:11:28]CF: 31 52 89 00 0d
[11:11:28]disk sio_process()
[11:11:28]ACK!
[11:11:28]ATR READ
[11:11:28]->SIO write 128 bytes
[11:11:28]COMPLETE!
[11:11:28]
[11:11:28]CF: 31 52 8a 00 0e
[11:11:28]disk sio_process()
[11:11:28]ACK!
[11:11:28]ATR READ
[11:11:28]->SIO write 128 bytes
[11:11:28]COMPLETE!
[11:11:29]
[11:11:29]CF: 31 52 8b 00 0f
[11:11:29]disk sio_process()
[11:11:29]ACK!
[11:11:29]ATR READ
[11:11:29]->SIO write 128 bytes
[11:11:29]COMPLETE!
[11:11:29]
[11:11:29]CF: 31 52 8c 00 10
[11:11:29]disk sio_process()
[11:11:29]ACK!
[11:11:29]ATR READ
[11:11:29]->SIO write 128 bytes
[11:11:29]COMPLETE!
[11:11:29]
[11:11:29]CF: 31 52 8d 00 11
[11:11:29]disk sio_process()
[11:11:29]ACK!
[11:11:29]ATR READ
[11:11:29]->SIO write 128 bytes
[11:11:29]COMPLETE!
[11:11:29]
[11:11:29]CF: 31 52 8e 00 12
[11:11:29]disk sio_process()
[11:11:29]ACK!
[11:11:29]ATR READ
[11:11:31]Timeout after 2000 milliseconds. Retrying
[11:11:32]TNFS OUT OF ORDER SEQUENCE! RETRYING
[11:11:32]->SIO write 128 bytes
[11:11:32]COMPLETE!
[11:11:32]
[11:11:32]CF: 31 52 93 00 17
[11:11:32]disk sio_process()
[11:11:32]ACK!
[11:11:32]ATR READ
[11:11:32]tnfs_lseek currpos=18192, pos=18704, typ=0
[11:11:32]_tnfs_cache_seek current=18192, destination=18704, cache_start=18064, cache_end=18576
[11:11:32]_tnfs_cache_seek outside cached region
[11:11:32]tnfs_lseek success, new pos=18704, response pos=18704
[11:11:34]Timeout after 2000 milliseconds. Retrying
[11:11:35]TNFS OUT OF ORDER SEQUENCE! RETRYING
[11:11:35]->SIO write 128 bytes
[11:11:35]COMPLETE!
[11:11:35]
[11:11:35]CF: 31 52 98 00 1c
[11:11:35]disk sio_process()
[11:11:35]ACK!
[11:11:35]ATR READ
[11:11:35]tnfs_lseek currpos=18832, pos=19344, typ=0
[11:11:35]_tnfs_cache_seek current=18832, destination=19344, cache_start=18704, cache_end=19216
[11:11:35]_tnfs_cache_seek outside cached region
[11:11:35]tnfs_lseek success, new pos=19344, response pos=19344
[11:11:35]->SIO write 128 bytes
[11:11:35]COMPLETE!
[11:11:35]
[11:11:35]CF: 31 52 99 00 1d
[11:11:35]disk sio_process()
[11:11:35]ACK!
[11:11:35]ATR READ
[11:11:35]->SIO write 128 bytes
[11:11:35]COMPLETE!
[11:11:35]
[11:11:35]CF: 31 52 9a 00 1e
[11:11:35]disk sio_process()
[11:11:35]ACK!
[11:11:35]ATR READ
[11:11:35]->SIO write 128 bytes
[11:11:35]COMPLETE!
[11:11:36]
[11:11:36]CF: 31 52 9b 00 1f
[11:11:36]disk sio_process()
[11:11:36]ACK!
[11:11:36]ATR READ
[11:11:36]->SIO write 128 bytes
[11:11:36]COMPLETE!
[11:11:36]
[11:11:36]CF: 31 52 9c 00 20
[11:11:36]disk sio_process()
[11:11:36]ACK!
[11:11:36]ATR READ
[11:11:36]->SIO write 128 bytes
[11:11:36]COMPLETE!
[11:11:36]
[11:11:36]CF: 31 52 9d 00 21
[11:11:36]disk sio_process()
[11:11:36]ACK!
[11:11:36]ATR READ
[11:11:36]->SIO write 128 bytes
[11:11:36]COMPLETE!
[11:11:36]
[11:11:36]CF: 31 52 9e 00 22
[11:11:36]disk sio_process()
[11:11:36]ACK!
[11:11:36]ATR READ
[11:11:36]->SIO write 128 bytes
[11:11:36]COMPLETE!
[11:11:36]
[11:11:36]CF: 31 52 9f 00 23
[11:11:36]disk sio_process()
[11:11:36]ACK!
[11:11:36]ATR READ
[11:11:36]->SIO write 128 bytes
[11:11:36]COMPLETE!
[11:11:36]
[11:11:36]CF: 31 52 a0 00 24
[11:11:36]disk sio_process()
[11:11:36]ACK!
[11:11:36]ATR READ
[11:11:36]->SIO write 128 bytes
[11:11:36]COMPLETE!
[11:11:36]
[11:11:36]CF: 31 52 a1 00 25
[11:11:36]disk sio_process()
[11:11:36]ACK!
[11:11:36]ATR READ
[11:11:36]->SIO write 128 bytes
[11:11:36]COMPLETE!
[11:11:36]
[11:11:36]CF: 31 52 a2 00 26
[11:11:36]disk sio_process()
[11:11:36]ACK!
[11:11:36]ATR READ
[11:11:36]->SIO write 128 bytes
[11:11:36]COMPLETE!
[11:11:36]
[11:11:36]CF: 31 52 a3 00 27
[11:11:36]disk sio_process()
[11:11:36]ACK!
[11:11:36]ATR READ
[11:11:36]->SIO write 128 bytes
[11:11:36]COMPLETE!
[11:11:36]
[11:11:36]CF: 31 52 a4 00 28
[11:11:36]disk sio_process()
[11:11:36]ACK!
[11:11:36]ATR READ
[11:11:36]->SIO write 128 bytes
[11:11:36]COMPLETE!
[11:11:36]
[11:11:36]CF: 31 52 a5 00 29
[11:11:36]disk sio_process()
[11:11:36]ACK!
[11:11:36]ATR READ
[11:11:36]->SIO write 128 bytes
[11:11:36]COMPLETE!
[11:11:37]
[11:11:37]CF: 31 52 a6 00 2a
[11:11:37]disk sio_process()
[11:11:37]ACK!
[11:11:37]ATR READ
[11:11:37]->SIO write 128 bytes
[11:11:37]COMPLETE!
[11:11:37]
[11:11:37]CF: 31 52 a7 00 2b
[11:11:37]disk sio_process()
[11:11:37]ACK!
[11:11:37]ATR READ
[11:11:37]->SIO write 128 bytes
[11:11:37]COMPLETE!

and if it helps, here's the config of the device:

image.thumb.png.44349843826bf9f70dd661a74f9fe249.png

Link to comment
Share on other sites

After several reboots trying to get DOS loaded from that disk, I was able to at least try and get a directory listing. Neither using the URL nor the IP worked:

 

[11:27:40]
[11:27:40]CF: 71 4f 06 80 47
[11:27:40]sioNetwork::sio_process 0x4f 'O': 0x06, 0x80
[11:27:40]sioNetwork::sio_open()
[11:27:40]ACK!
[11:27:40]<-SIO read 256 bytes
[11:27:40]ACK!
[11:27:40]parseURL: N:HTTP://RASPBERRYPI.LOCAL/
[11:27:40]parseURL isValidURL: HTTP://RASPBERRYPI.LOCAL/
[11:27:40]Open: HTTP://RASPBERRYPI.LOCAL/
[11:27:40]HEAP CHECK PASSED sioNetwork::allocate_buffers
[11:27:40]fnHttpClient::begin "http://RASPBERRYPI.LOCAL:80/"
[11:27:40]Creating new rateTimer
[11:27:40]JSON::setProtocol()
[11:27:40]COMPLETE!
[11:27:40]startConnection()
[11:27:40]fnHttpClient::PROPFIND
[11:27:40]000501a3 _perform
[11:27:40]E (329225) HTTP_CLIENT: Connection failed, sock < 0
[11:27:40]000501c8 _perform status = 0, length = 0, chunked = 0
[11:27:40]Result code: 0
[11:27:40]
[11:27:40]CF: 71 53 00 00 c4
[11:27:40]sioNetwork::sio_process 0x53 'S': 0x00, 0x00
[11:27:40]ACK!
[11:27:40]sioNetwork::sio_status()
[11:27:40]Status bytes: 00 00 00 88
[11:27:40]->SIO write 4 bytes
[11:27:40]COMPLETE!
[11:27:40]
[11:27:40]CF: 71 43 00 00 b4
[11:27:40]sioNetwork::sio_process 0x43 'C': 0x00, 0x00
[11:27:40]sioNetwork::sio_close()
[11:27:40]
[11:27:40]ACK!
[11:27:40]COMPLETE!
[11:28:14]
[11:28:14]CF: 31 52 69 01 ed
[11:28:14]disk sio_process()
[11:28:14]ACK!
[11:28:14]ATR READ
[11:28:14]tnfs_lseek currpos=31376, pos=46080, typ=0
[11:28:14]_tnfs_cache_seek current=31376, destination=46080, cache_start=30864, cache_end=31376
[11:28:14]_tnfs_cache_seek outside cached region
[11:28:14]tnfs_lseek success, new pos=46080, response pos=46080
[11:28:14]->SIO write 128 bytes
[11:28:14]COMPLETE!
[11:28:14]
[11:28:14]CF: 31 52 6a 01 ee
[11:28:14]disk sio_process()
[11:28:14]ACK!
[11:28:14]ATR READ
[11:28:14]->SIO write 128 bytes
[11:28:14]COMPLETE!
[11:28:14]
[11:28:14]CF: 31 52 e6 00 6a
[11:28:14]disk sio_process()
[11:28:14]ACK!
[11:28:14]ATR READ
[11:28:14]tnfs_lseek currpos=46464, pos=28672, typ=0
[11:28:14]_tnfs_cache_seek current=46464, destination=28672, cache_start=46080, cache_end=46592
[11:28:14]_tnfs_cache_seek outside cached region
[11:28:14]tnfs_lseek success, new pos=28672, response pos=28672
[11:28:14]tnfs_lseek currpos=28800, pos=28672, typ=0
[11:28:14]_tnfs_cache_seek current=28800, destination=28672, cache_start=28672, cache_end=29184
[11:28:14]_tnfs_cache_seek within cached region
[11:28:14]tnfs_lseek currpos=28672, pos=29328, typ=0
[11:28:15]_tnfs_cache_seek current=28672, destination=29328, cache_start=28672, cache_end=29184
[11:28:15]_tnfs_cache_seek outside cached region
[11:28:15]tnfs_lseek success, new pos=29328, response pos=29328
[11:28:15]->SIO write 128 bytes
[11:28:15]COMPLETE!
[11:28:15]
[11:28:15]CF: 31 52 e7 00 6b
[11:28:15]disk sio_process()
[11:28:15]ACK!
[11:28:15]ATR READ
[11:28:15]->SIO write 128 bytes
[11:28:15]COMPLETE!
[11:28:15]
[11:28:15]CF: 31 52 e8 00 6c
[11:28:15]disk sio_process()
[11:28:15]ACK!
[11:28:15]ATR READ
[11:28:15]->SIO write 128 bytes
[11:28:15]COMPLETE!
[11:28:15]
[11:28:15]CF: 31 52 e9 00 6d
[11:28:15]disk sio_process()
[11:28:15]ACK!
[11:28:15]ATR READ
[11:28:15]->SIO write 128 bytes
[11:28:15]COMPLETE!
[11:28:15]
[11:28:15]CF: 31 52 ea 00 6e
[11:28:15]disk sio_process()
[11:28:15]ACK!
[11:28:15]ATR READ
[11:28:15]->SIO write 128 bytes
[11:28:15]COMPLETE!
[11:28:15]
[11:28:15]CF: 31 52 eb 00 6f
[11:28:15]disk sio_process()
[11:28:15]ACK!
[11:28:15]ATR READ
[11:28:15]->SIO write 128 bytes
[11:28:15]COMPLETE!
[11:28:15]
[11:28:15]CF: 31 52 ec 00 70
[11:28:15]disk sio_process()
[11:28:15]ACK!
[11:28:15]ATR READ
[11:28:15]->SIO write 128 bytes
[11:28:15]COMPLETE!
[11:28:15]
[11:28:15]CF: 31 52 ed 00 71
[11:28:15]disk sio_process()
[11:28:15]ACK!
[11:28:15]ATR READ
[11:28:15]->SIO write 128 bytes
[11:28:15]COMPLETE!
[11:28:16]
[11:28:16]CF: 31 52 ee 00 72
[11:28:16]disk sio_process()
[11:28:16]ACK!
[11:28:16]ATR READ
[11:28:16]->SIO write 128 bytes
[11:28:16]COMPLETE!
[11:28:16]
[11:28:16]CF: 31 52 ef 00 73
[11:28:16]disk sio_process()
[11:28:16]ACK!
[11:28:16]ATR READ
[11:28:16]->SIO write 128 bytes
[11:28:16]COMPLETE!
[11:28:16]
[11:28:16]CF: 31 52 f0 00 74
[11:28:16]disk sio_process()
[11:28:16]ACK!
[11:28:16]ATR READ
[11:28:16]->SIO write 128 bytes
[11:28:16]COMPLETE!
[11:28:16]
[11:28:16]CF: 31 52 f1 00 75
[11:28:16]disk sio_process()
[11:28:16]ACK!
[11:28:16]ATR READ
[11:28:16]->SIO write 128 bytes
[11:28:16]COMPLETE!
[11:28:16]
[11:28:16]CF: 31 52 f2 00 76
[11:28:16]disk sio_process()
[11:28:16]ACK!
[11:28:16]ATR READ
[11:28:16]->SIO write 128 bytes
[11:28:16]COMPLETE!
[11:28:16]
[11:28:16]CF: 31 52 f3 00 77
[11:28:16]disk sio_process()
[11:28:16]ACK!
[11:28:16]ATR READ
[11:28:16]->SIO write 128 bytes
[11:28:16]COMPLETE!
[11:28:16]
[11:28:16]CF: 31 52 f4 00 78
[11:28:16]disk sio_process()
[11:28:16]ACK!
[11:28:16]ATR READ
[11:28:16]->SIO write 128 bytes
[11:28:16]COMPLETE!
[11:28:16]
[11:28:16]CF: 31 52 f5 00 79
[11:28:16]disk sio_process()
[11:28:16]ACK!
[11:28:16]ATR READ
[11:28:16]->SIO write 128 bytes
[11:28:16]COMPLETE!
[11:28:29]
[11:28:29]CF: 71 4f 06 80 47
[11:28:29]sioNetwork::sio_process 0x4f 'O': 0x06, 0x80
[11:28:29]sioNetwork::sio_open()
[11:28:29]Deleting existing rateTimer
[11:28:29]ACK!
[11:28:29]<-SIO read 256 bytes
[11:28:30]ACK!
[11:28:30]parseURL: N:HTTP://192.168.7.94/
[11:28:30]parseURL isValidURL: HTTP://192.168.7.94/
[11:28:30]Open: HTTP://192.168.7.94/
[11:28:30]HEAP CHECK PASSED sioNetwork::allocate_buffers
[11:28:30]fnHttpClient::begin "http://192.168.7.94:80/"
[11:28:30]Creating new rateTimer
[11:28:30]JSON::setProtocol()
[11:28:30]COMPLETE!
[11:28:30]startConnection()
[11:28:30]fnHttpClient::PROPFIND
[11:28:30]0005c272 _perform
[11:28:30]0005c3dd _perform status = 405, length = 173, chunked = 0
[11:28:30]Result code: 405
[11:28:30]
[11:28:30]CF: 71 53 00 00 c4
[11:28:30]sioNetwork::sio_process 0x53 'S': 0x00, 0x00
[11:28:30]ACK!
[11:28:30]sioNetwork::sio_status()
[11:28:30]Status bytes: 00 00 00 88
[11:28:30]->SIO write 4 bytes
[11:28:30]COMPLETE!
[11:28:30]
[11:28:30]CF: 71 43 00 00 b4
[11:28:30]sioNetwork::sio_process 0x43 'C': 0x00, 0x00
[11:28:30]sioNetwork::sio_close()
[11:28:30]
[11:28:30]ACK!
[11:28:30]COMPLETE!

 

Link to comment
Share on other sites

I copied the n-handler.atr disk to my local tnfs server to take the internet out of the equation (I'm seeing lots of TIMEOUTS). I can get it to boot, after a couple tried, but when trying to do an NDIR, I am getting FUJINET NOT RESPONDING

 

[11:40:32]
[11:40:32]CF: 71 4f 06 80 47
[11:40:32]sioNetwork::sio_process 0x4f 'O': 0x06, 0x80
[11:40:32]sioNetwork::sio_open()
[11:40:32]Deleting existing rateTimer
[11:40:32]ACK!
[11:40:32]<-SIO read 256 bytes
[11:40:32]ACK!
[11:40:32]parseURL: N:HTTP://192.168.7.94
[11:40:32]parseURL isValidURL: HTTP://192.168.7.94
[11:40:32]Invalid devicespec N:HTTP://192.168.7.94
[11:40:32]ERROR!
[11:40:32]Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
[11:40:32]Core 1 register dump:
[11:40:32]PC      : 0x400dbf41  PS      : 0x00060330  A0      : 0x800e49e8  A1      : 0x3ffe9330  
[11:40:32]A2      : 0x3ffc7b98  A3      : 0x00000000  A4      : 0x3f402bdc  A5      : 0x3ffdd7f0  
[11:40:32]A6      : 0x00000003  A7      : 0x00060023  A8      : 0x00000000  A9      : 0x3ffe92f0  
[11:40:32]A10     : 0x3ffee878  A11     : 0x00000004  A12     : 0x00000000  A13     : 0x0000004f  
[11:40:32]A14     : 0x00000006  A15     : 0x00000080  SAR     : 0x0000001c  EXCCAUSE: 0x0000001c  
[11:40:32]EXCVADDR: 0x00000018  LBEG    : 0x40092e7d  LEND    : 0x40092e8d  LCOUNT  : 0xffffffff  
[11:40:32]
[11:40:32]ELF file SHA256: 472c51e9a9c79b52
[11:40:32]
[11:40:32]Backtrace: 0x400dbf3e:0x3ffe9330 0x400e49e5:0x3ffe9350 0x400d28e7:0x3ffe9370 0x40095bed:0x3ffe9390
[11:40:32]
[11:40:32]Rebooting...
[11:40:33][11:40:33]
[11:40:33]--~--~--~--
[11:40:33]FujiNet 0.5.593c91f8 2020-11-20 02:05:40 Started @ 3
[11:40:33]Starting heap: 4086648
[11:40:33]PsramSize 3932108
[11:40:33]himem phys 4456448
[11:40:33]himem free 4456448
[11:40:33]himem reserved 262144
[11:40:33]FujiNet Hardware v1.0
[11:40:33]SPIFFS mounted.
[11:40:33]SD mounted.
[11:40:33]fnConfig::load
[11:40:33]Found copy of config file on SD - copying that to SPIFFS
[11:40:33]copy_file "/fnconfig.ini" -> "/fnconfig.ini"
[11:40:34]copy_file copied 576 bytes
[11:40:34]fnConfig::load read 576 bytes from config file
[11:40:34]WIFI_EVENT_STA_START
[11:40:34]WiFi connect attempt to SSID "Salem"
[11:40:34]esp_wifi_connect returned 0
[11:40:34]disk MOUNT
[11:40:34]ATR MOUNT
[11:40:34]mounted ATR: paragraphs=5760, sect_size=128, sect_count=720, disk_size=0
[11:40:34]Creating a default printer using FS_SDFAT storage and type 10
[11:40:34]SSH client initialized.
[11:40:34]ModemSniffer::ModemSniffer(FS_SDFAT)
[11:40:34]SIO SETUP
[11:40:34]Set HSIO baud from 0 to 79526 (index 4), alt=80611
[11:40:34]Available heap: 3956972
[11:40:34]Setup complete @ 555 (552ms)
[11:40:34]WIFI_EVENT_STA_CONNECTED
[11:40:36]IP_EVENT_STA_GOT_IP
[11:40:36]Obtained IP address: 192.168.7.95
[11:40:36]SNTP client start
[11:40:36]Starting web server on port 80
[11:40:36]SNTP time sync event: Sun Nov 29, 11:40:37 2020 -0500

Followed by trying another NDIR, all I get is SYSTEM ERROR

 

[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:40]
[11:42:40]CF: 31 52 69 01 ed
[11:42:40]FujiNet CONFIG boot
[11:42:40]
[11:42:40]CF: 31 52 69 01 ed
[11:42:40]FujiNet CONFIG boot
[11:42:40]
[11:42:40]CF: 31 52 69 01 ed
[11:42:40]FujiNet CONFIG boot
[11:42:40]
[11:42:40]CF: 31 52 69 01 ed
[11:42:40]FujiNet CONFIG boot
[11:42:40]
[11:42:40]CF: 31 52 69 01 ed
[11:42:40]FujiNet CONFIG boot
[11:42:40]
[11:42:40]CF: 31 52 69 01 ed
[11:42:40]FujiNet CONFIG boot
[11:42:40]
[11:42:40]CF: 31 52 69 01 ed
[11:42:40]FujiNet CONFIG boot
[11:42:40]
[11:42:40]CF: 31 52 69 01 ed
[11:42:40]FujiNet CONFIG boot
[11:42:40]
[11:42:40]CF: 31 52 69 01 ed
[11:42:40]FujiNet CONFIG boot

 

Link to comment
Share on other sites

4 hours ago, tsom said:

I copied the n-handler.atr disk to my local tnfs server to take the internet out of the equation (I'm seeing lots of TIMEOUTS). I can get it to boot, after a couple tried, but when trying to do an NDIR, I am getting FUJINET NOT RESPONDING

 


[11:40:32]
[11:40:32]CF: 71 4f 06 80 47
[11:40:32]sioNetwork::sio_process 0x4f 'O': 0x06, 0x80
[11:40:32]sioNetwork::sio_open()
[11:40:32]Deleting existing rateTimer
[11:40:32]ACK!
[11:40:32]<-SIO read 256 bytes
[11:40:32]ACK!
[11:40:32]parseURL: N:HTTP://192.168.7.94
[11:40:32]parseURL isValidURL: HTTP://192.168.7.94
[11:40:32]Invalid devicespec N:HTTP://192.168.7.94
[11:40:32]ERROR!
[11:40:32]Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
[11:40:32]Core 1 register dump:
[11:40:32]PC      : 0x400dbf41  PS      : 0x00060330  A0      : 0x800e49e8  A1      : 0x3ffe9330  
[11:40:32]A2      : 0x3ffc7b98  A3      : 0x00000000  A4      : 0x3f402bdc  A5      : 0x3ffdd7f0  
[11:40:32]A6      : 0x00000003  A7      : 0x00060023  A8      : 0x00000000  A9      : 0x3ffe92f0  
[11:40:32]A10     : 0x3ffee878  A11     : 0x00000004  A12     : 0x00000000  A13     : 0x0000004f  
[11:40:32]A14     : 0x00000006  A15     : 0x00000080  SAR     : 0x0000001c  EXCCAUSE: 0x0000001c  
[11:40:32]EXCVADDR: 0x00000018  LBEG    : 0x40092e7d  LEND    : 0x40092e8d  LCOUNT  : 0xffffffff  
[11:40:32]
[11:40:32]ELF file SHA256: 472c51e9a9c79b52
[11:40:32]
[11:40:32]Backtrace: 0x400dbf3e:0x3ffe9330 0x400e49e5:0x3ffe9350 0x400d28e7:0x3ffe9370 0x40095bed:0x3ffe9390
[11:40:32]
[11:40:32]Rebooting...
[11:40:33][11:40:33]
[11:40:33]--~--~--~--
[11:40:33]FujiNet 0.5.593c91f8 2020-11-20 02:05:40 Started @ 3
[11:40:33]Starting heap: 4086648
[11:40:33]PsramSize 3932108
[11:40:33]himem phys 4456448
[11:40:33]himem free 4456448
[11:40:33]himem reserved 262144
[11:40:33]FujiNet Hardware v1.0
[11:40:33]SPIFFS mounted.
[11:40:33]SD mounted.
[11:40:33]fnConfig::load
[11:40:33]Found copy of config file on SD - copying that to SPIFFS
[11:40:33]copy_file "/fnconfig.ini" -> "/fnconfig.ini"
[11:40:34]copy_file copied 576 bytes
[11:40:34]fnConfig::load read 576 bytes from config file
[11:40:34]WIFI_EVENT_STA_START
[11:40:34]WiFi connect attempt to SSID "Salem"
[11:40:34]esp_wifi_connect returned 0
[11:40:34]disk MOUNT
[11:40:34]ATR MOUNT
[11:40:34]mounted ATR: paragraphs=5760, sect_size=128, sect_count=720, disk_size=0
[11:40:34]Creating a default printer using FS_SDFAT storage and type 10
[11:40:34]SSH client initialized.
[11:40:34]ModemSniffer::ModemSniffer(FS_SDFAT)
[11:40:34]SIO SETUP
[11:40:34]Set HSIO baud from 0 to 79526 (index 4), alt=80611
[11:40:34]Available heap: 3956972
[11:40:34]Setup complete @ 555 (552ms)
[11:40:34]WIFI_EVENT_STA_CONNECTED
[11:40:36]IP_EVENT_STA_GOT_IP
[11:40:36]Obtained IP address: 192.168.7.95
[11:40:36]SNTP client start
[11:40:36]Starting web server on port 80
[11:40:36]SNTP time sync event: Sun Nov 29, 11:40:37 2020 -0500

Followed by trying another NDIR, all I get is SYSTEM ERROR

 


[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:36]
[11:42:36]CF: 31 52 69 01 ed
[11:42:36]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:37]
[11:42:37]CF: 31 52 69 01 ed
[11:42:37]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:38]
[11:42:38]CF: 31 52 69 01 ed
[11:42:38]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:39]
[11:42:39]CF: 31 52 69 01 ed
[11:42:39]FujiNet CONFIG boot
[11:42:40]
[11:42:40]CF: 31 52 69 01 ed
[11:42:40]FujiNet CONFIG boot
[11:42:40]
[11:42:40]CF: 31 52 69 01 ed
[11:42:40]FujiNet CONFIG boot
[11:42:40]
[11:42:40]CF: 31 52 69 01 ed
[11:42:40]FujiNet CONFIG boot
[11:42:40]
[11:42:40]CF: 31 52 69 01 ed
[11:42:40]FujiNet CONFIG boot
[11:42:40]
[11:42:40]CF: 31 52 69 01 ed
[11:42:40]FujiNet CONFIG boot
[11:42:40]
[11:42:40]CF: 31 52 69 01 ed
[11:42:40]FujiNet CONFIG boot
[11:42:40]
[11:42:40]CF: 31 52 69 01 ed
[11:42:40]FujiNet CONFIG boot
[11:42:40]
[11:42:40]CF: 31 52 69 01 ed
[11:42:40]FujiNet CONFIG boot
[11:42:40]
[11:42:40]CF: 31 52 69 01 ed
[11:42:40]FujiNet CONFIG boot

 

The FujiNet crashed here, due to a devicespec it didn't like, if you look closely, there's only an address, with no endpoint.

 

Are you trying to do a directory on a web server that doesn't have WEBDAV?

-Thom

 

Link to comment
Share on other sites

45 minutes ago, tschak909 said:

The FujiNet crashed here, due to a devicespec it didn't like, if you look closely, there's only an address, with no endpoint.

 

Are you trying to do a directory on a web server that doesn't have WEBDAV?

-Thom

 

Ohhhhhh! that may be it! Duh! I was trying to load files but that didn't, so I figured if I could at least get a listing to make sure it's talking to the web server. 

 

Off to look up how to install WEBDAV on the raspberry pi / nginx. Will report back.

 

Trying to load the .bas file, I was able to successfully load it (yay!) but had to use the IP address (LOAD "N:HTTP://192.168.7.94/ELIZA.BAS"). However, using the name failed (LOAD "N:HTTP://RASPBERRYPI.LOCAL/ELIZA.BAS"). (that domain name does resolve fine on my network - and my tnfs host slot uses that name just fine.) Here's the output from trying to load the file:

Using '/dev/cu.usbserial-141410' as serial port.
Showing logs:
[17:06:22]
[17:06:22]CF: 71 4f 04 00 c4
[17:06:22]sioNetwork::sio_process 0x4f 'O': 0x04, 0x00
[17:06:22]sioNetwork::sio_open()
[17:06:22]Deleting existing rateTimer
[17:06:22]ACK!
[17:06:22]<-SIO read 256 bytes
[17:06:22]ACK!
[17:06:22]parseURL: N:HTTP://RASPBERRYPI.LOCAL/ELIZA.BAS
[17:06:22]parseURL isValidURL: HTTP://RASPBERRYPI.LOCAL/ELIZA.BAS
[17:06:22]Open: HTTP://RASPBERRYPI.LOCAL/ELIZA.BAS
[17:06:22]HEAP CHECK PASSED sioNetwork::allocate_buffers
[17:06:22]fnHttpClient::begin "http://RASPBERRYPI.LOCAL:80/ELIZA.BAS"
[17:06:22]Creating new rateTimer
[17:06:22]JSON::setProtocol()
[17:06:22]COMPLETE!
[17:06:22]startConnection()
[17:06:22]fnHttpClient::GET
[17:06:22]0002ff13 _perform
[17:06:22]E (197625) HTTP_CLIENT: Connection failed, sock < 0
[17:06:22]0002ff3e _perform status = 0, length = 0, chunked = 0
[17:06:22]Result code: 0
[17:06:22]
[17:06:22]CF: 71 53 00 00 c4
[17:06:22]sioNetwork::sio_process 0x53 'S': 0x00, 0x00
[17:06:22]ACK!
[17:06:22]sioNetwork::sio_status()
[17:06:22]Status bytes: 00 00 00 88
[17:06:22]->SIO write 4 bytes
[17:06:22]COMPLETE!
[17:06:22]
[17:06:22]CF: 71 43 00 00 b4
[17:06:22]sioNetwork::sio_process 0x43 'C': 0x00, 0x00
[17:06:22]sioNetwork::sio_close()
[17:06:22]
[17:06:22]ACK!
[17:06:22]COMPLETE!

This is me just accessing the server to pick a disk image to mount, to show it resolves:

 

Using '/dev/cu.usbserial-141410' as serial port.
Showing logs:
[17:12:16]
[17:12:16]CF: 70 f9 01 00 6b
[17:12:16]sioFuji::sio_process() called
[17:12:16]ACK!
[17:12:16]Fuji cmd: MOUNT HOST
[17:12:16]::mount {1} "raspberrypi.local"
[17:12:16]::mount_local Attempting mount of "raspberrypi.local"
[17:12:16]::mount_tnfs {1:0} "raspberrypi.local"
[17:12:16]Calling TNFS::begin
[17:12:16]Resolving hostname "raspberrypi.local"
[17:12:16]Resoled to address 192.168.7.94
[17:12:16]TNFS mount raspberrypi.local[192.168.7.94]:16384
[17:12:16]TNFS mount successful. session: 0x7ccd, version: 0x0102, min_retry: 1000ms
[17:12:16]vfs_tnfs_register "/tnfs0x3ffed0a8" @ 0x3ffed0a8 = 0 "ESP_OK"
[17:12:16]COMPLETE!
[17:12:16]
[17:12:16]CF: 70 f7 01 00 69
[17:12:16]sioFuji::sio_process() called
[17:12:16]ACK!
[17:12:16]Fuji cmd: OPEN DIRECTORY
[17:12:16]<-SIO read 256 bytes
[17:12:16]ACK!
[17:12:16]Opening directory: "/", pattern: ""
[17:12:16]::dir_open {1:2} "/", pattern ""
[17:12:16]::dir_open actual path = "/"
[17:12:16]TNFS open directory: sortopts=0x00 diropts=0x00 maxresults=0x0000 pattern="" path="/"
[17:12:16]Directory opened, handle ID: 0, entries: 6
[17:12:16]COMPLETE!
[17:12:16]
[17:12:16]CF: 70 e4 00 00 55
[17:12:16]sioFuji::sio_process() called
[17:12:16]ACK!
[17:12:16]Fuji cmd: SET DIRECTORY POSITION
[17:12:16]::dir_seek {1:2} 0
[17:12:16]COMPLETE!
[17:12:16]
[17:12:16]CF: 70 f6 24 00 8b
[17:12:16]sioFuji::sio_process() called
[17:12:16]ACK!
[17:12:16]Fuji cmd: READ DIRECTORY ENTRY (max=36)
[17:12:16]::dir_nextfile {1:2}
[17:12:16]tnfs_readdirx resp_count=6, dirpos=0, status=1
[17:12:16]tnfs_readdirx cached 6 entries
[17:12:16]	_readdirx_fill_response: dir: Yes, size: 4096, mtime: 2020-11-27 20:40:38, ctime: 2020-11-27 20:40:38 "action"
[17:12:16]::read_direntry "action"
[17:12:16]->SIO write 36 bytes
[17:12:16]COMPLETE!
[17:12:16]
[17:12:16]CF: 70 f6 24 00 8b
[17:12:16]sioFuji::sio_process() called
[17:12:16]ACK!
[17:12:16]Fuji cmd: READ DIRECTORY ENTRY (max=36)
[17:12:16]::dir_nextfile {1:2}
[17:12:16]tnfs_readdirx responding from cached entry
[17:12:16]	_readdirx_fill_response: dir: Yes, size: 4096, mtime: 2020-10-26 10:05:08, ctime: 2020-10-26 10:05:08 "misc-apps"
[17:12:16]::read_direntry "misc-apps"
[17:12:16]->SIO write 36 bytes
[17:12:16]COMPLETE!
[17:12:16]
[17:12:16]CF: 70 f6 24 00 8b
[17:12:16]sioFuji::sio_process() called
[17:12:16]ACK!
[17:12:16]Fuji cmd: READ DIRECTORY ENTRY (max=36)
[17:12:16]::dir_nextfile {1:2}
[17:12:16]tnfs_readdirx responding from cached entry
[17:12:16]	_readdirx_fill_response: dir: no, size: 133136, mtime: 2020-11-07 18:10:22, ctime: 2020-11-07 18:10:22 "action.atr"
[17:12:16]::read_direntry "action.atr"
[17:12:16]->SIO write 36 bytes
[17:12:16]COMPLETE!
[17:12:16]
[17:12:16]CF: 70 f6 24 00 8b
[17:12:16]sioFuji::sio_process() called
[17:12:16]ACK!
[17:12:16]Fuji cmd: READ DIRECTORY ENTRY (max=36)
[17:12:16]::dir_nextfile {1:2}
[17:12:16]tnfs_readdirx responding from cached entry
[17:12:16]	_readdirx_fill_response: dir: no, size: 133136, mtime: 2020-11-28 11:10:25, ctime: 2020-11-28 11:10:25 "blank.atr"
[17:12:16]::read_direntry "blank.atr"
[17:12:16]->SIO write 36 bytes
[17:12:16]COMPLETE!
[17:12:16]
[17:12:16]CF: 70 f6 24 00 8b
[17:12:16]sioFuji::sio_process() called
[17:12:16]ACK!
[17:12:16]Fuji cmd: READ DIRECTORY ENTRY (max=36)
[17:12:16]::dir_nextfile {1:2}
[17:12:16]tnfs_readdirx responding from cached entry
[17:12:16]	_readdirx_fill_response: dir: no, size: 133136, mtime: 2020-10-23 19:00:41, ctime: 2020-10-23 19:00:41 "dev2.atr"
[17:12:16]::read_direntry "dev2.atr"
[17:12:16]->SIO write 36 bytes
[17:12:16]COMPLETE!
[17:12:16]
[17:12:16]CF: 70 f6 24 00 8b
[17:12:16]sioFuji::sio_process() called
[17:12:16]ACK!
[17:12:16]Fuji cmd: READ DIRECTORY ENTRY (max=36)
[17:12:16]::dir_nextfile {1:2}
[17:12:16]tnfs_readdirx responding from cached entry
[17:12:16]	_readdirx_fill_response: dir: no, size: 92176, mtime: 2020-11-29 11:36:38, ctime: 2020-11-29 11:38:04 "n-handler.atr"
[17:12:16]::read_direntry "n-handler.atr"
[17:12:16]->SIO write 36 bytes
[17:12:16]COMPLETE!
[17:12:16]
[17:12:16]CF: 70 f6 24 00 8b
[17:12:16]sioFuji::sio_process() called
[17:12:16]ACK!
[17:12:16]Fuji cmd: READ DIRECTORY ENTRY (max=36)
[17:12:16]::dir_nextfile {1:2}
[17:12:16]tnfs_readdirx returning EOF based on cached value
[17:12:16]Reached end of of directory
[17:12:16]->SIO write 36 bytes
[17:12:16]COMPLETE!
[17:12:17]
[17:12:17]CF: 70 f5 01 00 67
[17:12:17]sioFuji::sio_process() called
[17:12:17]ACK!
[17:12:17]Fuji cmd: CLOSE DIRECTORY
[17:12:17]COMPLETE!
[17:12:22]
[17:12:22]CF: 70 f7 01 00 69
[17:12:22]sioFuji::sio_process() called
[17:12:22]ACK!
[17:12:22]Fuji cmd: OPEN DIRECTORY
[17:12:22]<-SIO read 256 bytes
[17:12:22]ACK!
[17:12:22]Opening directory: "/", pattern: ""
[17:12:22]::dir_open {1:2} "/", pattern ""
[17:12:22]::dir_open actual path = "/"
[17:12:22]TNFS open directory: sortopts=0x00 diropts=0x00 maxresults=0x0000 pattern="" path="/"
[17:12:22]Directory opened, handle ID: 0, entries: 6
[17:12:22]COMPLETE!
[17:12:22]
[17:12:22]CF: 70 e4 05 00 5a
[17:12:22]sioFuji::sio_process() called
[17:12:22]ACK!
[17:12:22]Fuji cmd: SET DIRECTORY POSITION
[17:12:22]::dir_seek {1:2} 5
[17:12:22]COMPLETE!
[17:12:22]
[17:12:22]CF: 70 f6 80 00 e7
[17:12:22]sioFuji::sio_process() called
[17:12:22]ACK!
[17:12:22]Fuji cmd: READ DIRECTORY ENTRY (max=128)
[17:12:22]::dir_nextfile {1:2}
[17:12:22]tnfs_readdirx resp_count=1, dirpos=5, status=1
[17:12:22]tnfs_readdirx cached 1 entries
[17:12:22]	_readdirx_fill_response: dir: no, size: 92176, mtime: 2020-11-29 11:36:38, ctime: 2020-11-29 11:38:04 "n-handler.atr"
[17:12:22]::read_direntry "n-handler.atr"
[17:12:22]->SIO write 128 bytes
[17:12:22]COMPLETE!
[17:12:23]
[17:12:23]CF: 70 f5 01 00 67
[17:12:23]sioFuji::sio_process() called
[17:12:23]ACK!
[17:12:23]Fuji cmd: CLOSE DIRECTORY
[17:12:23]COMPLETE!
[17:12:23]
[17:12:23]CF: 70 f2 00 00 63
[17:12:23]sioFuji::sio_process() called
[17:12:23]ACK!
[17:12:23]Fuji cmd: READ DEVICE SLOTS
[17:12:23]->SIO write 304 bytes
[17:12:23]COMPLETE!
[17:12:24]
[17:12:24]CF: 70 f1 00 00 62
[17:12:24]sioFuji::sio_process() called
[17:12:24]ACK!
[17:12:24]Fuji cmd: WRITE DEVICE SLOTS
[17:12:24]<-SIO read 304 bytes
[17:12:24]ACK!
[17:12:24]fnConfig::save
[17:12:24]fnConfig::save not dirty, not saving
[17:12:24]COMPLETE!
[17:12:24]
[17:12:24]CF: 70 e2 00 00 53
[17:12:24]sioFuji::sio_process() called
[17:12:24]ACK!
[17:12:24]<-SIO read 256 bytes
[17:12:25]ACK!
[17:12:25]Fuji cmd: SET DEVICE SLOT 0x00/00/00 FILENAME: /n-handler.atr
[17:12:25]fnConfig::save
[17:12:25]fnConfig::save not dirty, not saving
[17:12:25]COMPLETE!
[17:12:25]
[17:12:25]CF: 70 f7 01 00 69
[17:12:25]sioFuji::sio_process() called
[17:12:25]ACK!
[17:12:25]Fuji cmd: OPEN DIRECTORY
[17:12:25]<-SIO read 256 bytes
[17:12:25]ACK!
[17:12:25]Opening directory: "/", pattern: ""
[17:12:25]::dir_open {1:2} "/", pattern ""
[17:12:25]::dir_open actual path = "/"
[17:12:25]TNFS open directory: sortopts=0x00 diropts=0x00 maxresults=0x0000 pattern="" path="/"
[17:12:25]Directory opened, handle ID: 0, entries: 6
[17:12:25]COMPLETE!
[17:12:25]
[17:12:25]CF: 70 e4 00 00 55
[17:12:25]sioFuji::sio_process() called
[17:12:25]ACK!
[17:12:25]Fuji cmd: SET DIRECTORY POSITION
[17:12:25]::dir_seek {1:2} 0
[17:12:25]COMPLETE!
[17:12:25]
[17:12:25]CF: 70 f6 24 00 8b
[17:12:25]sioFuji::sio_process() called
[17:12:25]ACK!
[17:12:25]Fuji cmd: READ DIRECTORY ENTRY (max=36)
[17:12:25]::dir_nextfile {1:2}
[17:12:25]tnfs_readdirx resp_count=6, dirpos=0, status=1
[17:12:25]tnfs_readdirx cached 6 entries
[17:12:25]	_readdirx_fill_response: dir: Yes, size: 4096, mtime: 2020-11-27 20:40:38, ctime: 2020-11-27 20:40:38 "action"
[17:12:25]::read_direntry "action"
[17:12:25]->SIO write 36 bytes
[17:12:25]COMPLETE!
[17:12:25]
[17:12:25]CF: 70 f6 24 00 8b
[17:12:25]sioFuji::sio_process() called
[17:12:25]ACK!
[17:12:25]Fuji cmd: READ DIRECTORY ENTRY (max=36)
[17:12:25]::dir_nextfile {1:2}
[17:12:25]tnfs_readdirx responding from cached entry
[17:12:25]	_readdirx_fill_response: dir: Yes, size: 4096, mtime: 2020-10-26 10:05:08, ctime: 2020-10-26 10:05:08 "misc-apps"
[17:12:25]::read_direntry "misc-apps"
[17:12:25]->SIO write 36 bytes
[17:12:25]COMPLETE!
[17:12:25]
[17:12:25]CF: 70 f6 24 00 8b
[17:12:25]sioFuji::sio_process() called
[17:12:25]ACK!
[17:12:25]Fuji cmd: READ DIRECTORY ENTRY (max=36)
[17:12:25]::dir_nextfile {1:2}
[17:12:25]tnfs_readdirx responding from cached entry
[17:12:25]	_readdirx_fill_response: dir: no, size: 133136, mtime: 2020-11-07 18:10:22, ctime: 2020-11-07 18:10:22 "action.atr"
[17:12:25]::read_direntry "action.atr"
[17:12:25]->SIO write 36 bytes
[17:12:25]COMPLETE!
[17:12:25]
[17:12:25]CF: 70 f6 24 00 8b
[17:12:25]sioFuji::sio_process() called
[17:12:25]ACK!
[17:12:25]Fuji cmd: READ DIRECTORY ENTRY (max=36)
[17:12:25]::dir_nextfile {1:2}
[17:12:25]tnfs_readdirx responding from cached entry
[17:12:25]	_readdirx_fill_response: dir: no, size: 133136, mtime: 2020-11-28 11:10:25, ctime: 2020-11-28 11:10:25 "blank.atr"
[17:12:25]::read_direntry "blank.atr"
[17:12:25]->SIO write 36 bytes
[17:12:25]COMPLETE!
[17:12:25]
[17:12:25]CF: 70 f6 24 00 8b
[17:12:25]sioFuji::sio_process() called
[17:12:25]ACK!
[17:12:25]Fuji cmd: READ DIRECTORY ENTRY (max=36)
[17:12:25]::dir_nextfile {1:2}
[17:12:25]tnfs_readdirx responding from cached entry
[17:12:25]	_readdirx_fill_response: dir: no, size: 133136, mtime: 2020-10-23 19:00:41, ctime: 2020-10-23 19:00:41 "dev2.atr"
[17:12:25]::read_direntry "dev2.atr"
[17:12:25]->SIO write 36 bytes
[17:12:25]COMPLETE!
[17:12:25]
[17:12:25]CF: 70 f6 24 00 8b
[17:12:25]sioFuji::sio_process() called
[17:12:25]ACK!
[17:12:25]Fuji cmd: READ DIRECTORY ENTRY (max=36)
[17:12:25]::dir_nextfile {1:2}
[17:12:25]tnfs_readdirx responding from cached entry
[17:12:25]	_readdirx_fill_response: dir: no, size: 92176, mtime: 2020-11-29 11:36:38, ctime: 2020-11-29 11:38:04 "n-handler.atr"
[17:12:25]::read_direntry "n-handler.atr"
[17:12:25]->SIO write 36 bytes
[17:12:25]COMPLETE!
[17:12:25]
[17:12:25]CF: 70 f6 24 00 8b
[17:12:25]sioFuji::sio_process() called
[17:12:25]ACK!
[17:12:25]Fuji cmd: READ DIRECTORY ENTRY (max=36)
[17:12:25]::dir_nextfile {1:2}
[17:12:25]tnfs_readdirx returning EOF based on cached value
[17:12:25]Reached end of of directory
[17:12:25]->SIO write 36 bytes
[17:12:25]COMPLETE!
[17:12:25]
[17:12:25]CF: 70 f5 01 00 67
[17:12:25]sioFuji::sio_process() called
[17:12:25]ACK!
[17:12:25]Fuji cmd: CLOSE DIRECTORY
[17:12:25]COMPLETE!

Thanks for the help. Now to get the n-handler "out there", usable on other dos's :)

Link to comment
Share on other sites

Tried to save a simple basic program. It didn't show an error, but it also didn't save. And the "parseUrl" step in the debugger looks ... odd:
 

[17:27:41]
[17:27:41]CF: 71 4f 08 00 c8
[17:27:41]sioNetwork::sio_process 0x4f 'O': 0x08, 0x00
[17:27:41]sioNetwork::sio_open()
[17:27:41]Deleting existing rateTimer
[17:27:41]ACK!
[17:27:41]<-SIO read 256 bytes
[17:27:41]ACK!
[17:27:41]parseURL: N:HTTP://192.168.7.94/TESTING.BASLTALSLGLGLGLMNDLDLCNKKKC
[17:27:41]parseURL isValidURL: HTTP://192.168.7.94/TESTING.BAS
[17:27:41]Open: HTTP://192.168.7.94/TESTING.BAS
[17:27:41]HEAP CHECK PASSED sioNetwork::allocate_buffers
[17:27:41]fnHttpClient::begin "http://192.168.7.94:80/TESTING.BAS"
[17:27:41]Creating new rateTimer
[17:27:41]JSON::setProtocol()
[17:27:41]COMPLETE!
[17:27:41]CS: 1	PCS: 0
[17:27:41]
[17:27:41]CF: 71 57 45 00 0e
[17:27:41]sioNetwork::sio_process 0x57 'W': 0x45, 0x00
[17:27:41]sioNetwork::sio_write() 69 bytes
[17:27:41]ACK!
[17:27:41]<-SIO read 69 bytes
[17:27:41]ACK!
[17:27:41]COMPLETE!
[17:27:41]
[17:27:41]CF: 71 43 00 00 b4
[17:27:41]sioNetwork::sio_process 0x43 'C': 0x00, 0x00
[17:27:41]sioNetwork::sio_close()
[17:27:41]
[17:27:41]ACK!
[17:27:41]putPos is 69
[17:27:41]fnHttpClient::PROPFIND
[17:27:41]0002f7ae _perform
[17:27:41]0002f7f2 _perform status = 404, length = 169, chunked = 0
[17:27:41]fnHttpClient::begin "http://192.168.7.94:80"
[17:27:41]fnHttpClient::PROPFIND
[17:27:41]0002f7f5 _perform
[17:27:41]0002f804 _perform status = 405, length = 173, chunked = 0
[17:27:41]fnHttpClient::begin "http://192.168.7.94:80/TESTING.BAS"
[17:27:41]fnHttpClient::PUT
[17:27:41]0002f807 _perform
[17:27:41]0002f816 _perform status = 404, length = 169, chunked = 0
[17:27:41]COMPLETE!

Looking at the nginx log, it looks like it's trying to do a PUT to save the file:

192.168.7.95 - - [29/Nov/2020:17:35:36 -0500] "PROPFIND /TEST.BAS HTTP/1.1" 404 169 "-" "ESP32 HTTP Client/1.0"
192.168.7.95 - - [29/Nov/2020:17:35:36 -0500] "PROPFIND / HTTP/1.1" 405 173 "-" "ESP32 HTTP Client/1.0"
192.168.7.95 - - [29/Nov/2020:17:35:36 -0500] "PUT /TEST.BAS HTTP/1.1" 404 169 "-" "ESP32 HTTP Client/1.0"

I could be wrong, but a PUT usually assumes a resource already exists - this is a new file so I would think a POST would be more appropriate operation?

Edited by tsom
Link to comment
Share on other sites

you are wrong. PUT does not assume a resource exists. PUT is a write operation that does not send data back. In order to save to an HTTP server, it needs to accept PUT requests. For what is happening here, POST is not appropriate, and would not be able to be processed by the Atari, anyway.

 

A unique aspect of the PUT on #FujiNet is that the entire request is buffered onto the device, and then sent in one go.

 

-Thom

Link to comment
Share on other sites

31 minutes ago, tschak909 said:

you are wrong. PUT does not assume a resource exists. PUT is a write operation that does not send data back. In order to save to an HTTP server, it needs to accept PUT requests. For what is happening here, POST is not appropriate, and would not be able to be processed by the Atari, anyway.

 

A unique aspect of the PUT on #FujiNet is that the entire request is buffered onto the device, and then sent in one go.

 

-Thom

I stand corrected :)

I finally got things working, I'm able to SAVE and LOAD a basic program over to my RPi. I had to install and configure WEBDAV and had to play the permission game to get things working. Some notes:

 

  • ** SAVE and LOAD (using the n-handler) don't seem to resolve host names (raspberrypi.local). I have to use the IP address (192.168.7.94)
  • I have my TNFS server running on the Pi and serving out of the /tnfs directory. That directory has tnfs:tnfs group and owner
  • Before installing WEBDAV, I was able to LOAD a file (using the IP) from the Nginx web server, out of it's default root folder (/var/www/html). But I could not save anything to that directory.
  • Installing WEBDAV I had initially had it point to my /tnfs directory. Part of it's configuration is it defines a temp directory where it buffers uploads(client_body_temp_path /tmp/nginx/client-bodies; ) I used the directions here to set it up: https://starbeamrainbowlabs.com/blog/article.php?article=posts%2F237-WebDav-Nginx-Setup.html Modifying the config appropriately.
  • I ended up  setting up the temp directory for webdav as /nginx/client-bodies, giving the group, owner as www-data:www-data. 
  • I also changed the port for WEBDAV to 6502 - I think keeping it as 80 may have confused things(?)
  • I was getting the errors in the error.log for nginx ("/nginx/client-bodies/0000000001" to "/tnfs/TEST.BAS" failed (13: Permission denied), client: 192.168.7.95, server: , request: "PUT /TEST.BAS HTTP/1.1", host: "192.168.7.94")
  • I realized it wasn't due to the temp directory/file, but it was trying to move the uploaded temp data to my /tnfs directory, and the www-data user doesn't have permission, so I did the nuclear option of setting /tnfs to 777 (read and write by everyone). That got webdav to be able to upload.
  • From the FujiNet logs (above) I see where it is validating the URL - not sure if there's an issue here:
    [17:27:41]parseURL: N:HTTP://192.168.7.94/TESTING.BASLTALSLGLGLGLMNDLDLCNKKKC
    [17:27:41]parseURL isValidURL: HTTP://192.168.7.94/TESTING.BAS

I may have something mis-configured (first webdav I've set up), but it seems to be working. I may play around a little more.

 

Thanks again! (I am really loving the FujiNet!)

 

Link to comment
Share on other sites

Np.

 

very strange that hostname resolution isn't working for you, as it works great for me. (My primary router handles local hostname resolution)

 

All I ask for right now, is ... a lot... of patience. The N: handler is undergoing a massive overhaul, and is happening here:

https://github.com/FujiNetWIFI/fujinet-platformio/tree/network-rewrite

 

I am spending every present waking moment working on this section of the firmware.

 

-Thom

Link to comment
Share on other sites

14 minutes ago, tschak909 said:

Np.

 

very strange that hostname resolution isn't working for you, as it works great for me. (My primary router handles local hostname resolution)

 

All I ask for right now, is ... a lot... of patience. The N: handler is undergoing a massive overhaul, and is happening here:

https://github.com/FujiNetWIFI/fujinet-platformio/tree/network-rewrite

 

I am spending every present waking moment working on this section of the firmware.

 

-Thom

Completely understand about the rewrite. It's strange, the CONFIG can resolve the hostname just fine (I can see the "resolving hostname" step in the debugger", but the n-handler "OPEN" doesn't seem to)

Link to comment
Share on other sites

Hi,

 

Going back to the host name resolution (as I'm looking at the latest post about using FujiNet for games), Doing a simple OPEN/PRINT/CLOSE while looking at the debug output I can see it's not able to resolve the host:

[15:48:53]
[15:48:53]CF: 71 4f 0c 00 cc
[15:48:53]sioNetwork::sio_process 0x4f 'O': 0x0c, 0x00
[15:48:53]sioNetwork::sio_open()
[15:48:53]Deleting existing rateTimer
[15:48:53]ACK!
[15:48:53]<-SIO read 256 bytes
[15:48:53]ACK!
[15:48:53]parseURL: N:UDP://RASPBERRYPI.LOCAL:6500
[15:48:53]parseURL isValidURL: UDP://RASPBERRYPI.LOCAL:6500
[15:48:53]Open: UDP://RASPBERRYPI.LOCAL:6500
[15:48:53]HEAP CHECK PASSED sioNetwork::allocate_buffers
[15:48:53]networkProtocolUDP::ctor
[15:48:53]networkProtocolUDP::OPEN RASPBERRYPI.LOCAL:6500 
[15:48:53]Port: 6500
[15:48:53]Creating new rateTimer
[15:48:53]JSON::setProtocol()
[15:48:53]COMPLETE!
[15:49:05]
[15:49:05]CF: 71 57 03 00 cb
[15:49:05]sioNetwork::sio_process 0x57 'W': 0x03, 0x00
[15:49:05]sioNetwork::sio_write() 3 bytes
[15:49:05]ACK!
[15:49:05]<-SIO read 3 bytes
[15:49:05]ACK!
[15:49:05]networkProtocolUDP::write 3 bytes to dest: RASPBERRYPI.LOCAL port 6500
[15:49:05]Resolving hostname "RASPBERRYPI.LOCAL"
[15:49:05]Name failed to resolve
[15:49:05]Output:  48 49 9b
[15:49:05]COMPLETE!
[15:49:15]
[15:49:15]CF: 71 43 00 00 b4
[15:49:15]sioNetwork::sio_process 0x43 'C': 0x00, 0x00
[15:49:15]sioNetwork::sio_close()
[15:49:15]
[15:49:15]ACK!
[15:49:15]COMPLETE!
[15:49:15]networkProtocolUDP::dtor

 

I'm going simple commands of

 

OPEN #1,12,0,"N:UDP://RASPBERRYPI.LOCAL:6500"

PRINT #1;"HI"

CLOSE #1

 

Using the IP address works fine. I think the root of the problem is the "raspberrypi.local" name is resolved using mDNS. The RPi has a service that will resolve it, and my Mac can resolve it (doing ping's or 'ssh'), but I maybe the FujiNet doesn't resolve with mDNS? My Wifi router (Eero) I don't believe has the capability to define DNS entries, so I guess I'm stuck with direct IP addresses now.

 

Mounting a disk image using the name works fine:

[17:12:16]Fuji cmd: MOUNT HOST
[17:12:16]::mount {1} "raspberrypi.local"
[17:12:16]::mount_local Attempting mount of "raspberrypi.local"
[17:12:16]::mount_tnfs {1:0} "raspberrypi.local"
[17:12:16]Calling TNFS::begin
[17:12:16]Resolving hostname "raspberrypi.local"
[17:12:16]Resoled to address 192.168.7.94
[17:12:16]TNFS mount raspberrypi.local[192.168.7.94]:16384
[17:12:16]TNFS mount successful. session: 0x7ccd, version: 0x0102, min_retry: 1000ms

So guessing it's in the N-Handler. (yes, I know, being rewritten, had bugs, etc :) )

 

Carry on.

Link to comment
Share on other sites

On 12/5/2020 at 7:19 PM, tschak909 said:

the N: handler is essentially a pass-through to code in the firmware, and the firmware uses exactly the same classes to resolve.

 

We are not using MDNS to resolve, but we could. Yet another thing on the to-do list.

-Thom

 

One thing I just noticed is the case of the host names - resolving the host slot is all lower case, resolving from the OPEN call is upper.  I haven’t tested it, but wonder is that’s causing an issue..?

Link to comment
Share on other sites

17 hours ago, tschak909 said:

seeing as DNS is supposed to be case insensitive? that would be _VERY_ weird.

 

-Thom

 

I did a quick test, opening using upper and lower case and it does seem to be case sensitive. Lower case resolved, upper case does not:\


[16:36:15]
[16:36:15]CF: 71 4f 0c 00 cc
[16:36:15]sioNetwork::sio_process 0x4f 'O': 0x0c, 0x00
[16:36:15]sioNetwork::sio_open()
[16:36:15]Deleting existing rateTimer
[16:36:15]ACK!
[16:36:15]<-SIO read 256 bytes
[16:36:15]ACK!
[16:36:15]parseURL: N:UDP://RASPBERRYPI.LOCAL:6500
[16:36:15]parseURL isValidURL: UDP://RASPBERRYPI.LOCAL:6500
[16:36:15]Open: UDP://RASPBERRYPI.LOCAL:6500
[16:36:15]HEAP CHECK PASSED sioNetwork::allocate_buffers
[16:36:15]networkProtocolUDP::ctor
[16:36:15]networkProtocolUDP::OPEN RASPBERRYPI.LOCAL:6500 
[16:36:15]Port: 6500
[16:36:15]Creating new rateTimer
[16:36:15]JSON::setProtocol()
[16:36:15]COMPLETE!
[16:36:17]
[16:36:17]CF: 71 57 06 00 ce
[16:36:17]sioNetwork::sio_process 0x57 'W': 0x06, 0x00
[16:36:17]sioNetwork::sio_write() 6 bytes
[16:36:17]ACK!
[16:36:17]<-SIO read 6 bytes
[16:36:17]ACK!
[16:36:17]networkProtocolUDP::write 6 bytes to dest: RASPBERRYPI.LOCAL port 6500
[16:36:17]Resolving hostname "RASPBERRYPI.LOCAL"
[16:36:17]Name failed to resolve
[16:36:17]Output:  48 45 4c 4c 4f 9b
[16:36:17]COMPLETE!
[16:36:20]
[16:36:20]CF: 71 43 00 00 b4
[16:36:20]sioNetwork::sio_process 0x43 'C': 0x00, 0x00
[16:36:20]sioNetwork::sio_close()
[16:36:20]
[16:36:20]ACK!
[16:36:20]COMPLETE!
[16:36:20]networkProtocolUDP::dtor

 

Edited by tsom
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...