No such file or directory [Makefile:66: install_conf] Error 255 Error 2 [Makefile:42: install_conf]

May 15, 2024, 15:46

incognitas0411

Hi, I am following miner installation guide here: https://github.com/maco2035/DiyHeliumHotspots/blob/master/RAK2287/Raspberry%20Pi%204B/Guide.md I came to the line, where I have to Install the config files with comand line "make install_conf" after that I get the error below: pi@raspberrypi:~/sx1302_hal $ make install_conf make install_conf -e -C packet_forwarder make[1]: Entering directory '/home/pi/sx1302_hal/packet_forwarder' ---- Copying packet_forwarder conf files to localhost:/home/pi/sx1302_hal/bin global_conf.json.sx1250.AS923 100% 3186 2.0MB/s 00:00 global_conf.json.sx1250.AS923_1 100% 3932 2.7MB/s 00:00 global_conf.json.sx1250.EU868_D 100% 3932 3.4MB/s 00:00 global_conf.json.sx1250.EU868_E 100% 3932 4.4MB/s 00:00 global_conf.json.sx1250.EU868_F 100% 3932 4.6MB/s 00:00 global_conf.json.sx1250.IN865 100% 3745 3.1MB/s 00:00 global_conf.json.sx1250.IN865_A 100% 3745 3.2MB/s 00:00 global_conf.json.sx1250.KR920 100% 3303 2.3MB/s 00:00 global_conf.json.sx1250.KR920_A 100% 3303 3.1MB/s 00:00 global_conf.json.sx1250.RU864_A 100% 3901 3.5MB/s 00:00 global_conf.json.sx1250.US915 100% 4324 5.3MB/s 00:00 global_conf.json.sx1250.US915_SB2 100% 4324 4.7MB/s 00:00 scp: stat local "global_conf.json.sx1257.": No such file or directory make[1]: [Makefile:66: install_conf] Error 255 make[1]: Leaving directory '/home/pi/sx1302_hal/packet_forwarder' make: * [Makefile:42: install_conf] Error 2 Here is the list of files in the directory: pi@raspberrypi:~/sx1302_hal $ ls bin LICENSE.TXT readme.md util_chip_id libloragw Makefile target.cfg util_net_downlink libtools packet_forwarder tools VERSION

oops.se

oops.se

And in your error the complete filename is missing for the error, it's incomplete. You can check if the file is in the repo https://github.com/helium/sx1302_hal/tree/helium/hotspot/packet_forwarder

incognitas0411

Thank you for your suggestions on how to post a question correctly, will read the help article. I am a new user of Raspberry pi, still learning, hence following the step by step guide will help me learning as well, unfortunately this did not go according to the plan when encountering errors I am stuck. I don't know how to check if the file is in the repo... I would appreciate if you help me here.

oops.se

I would like to help you but the error is still incomplete

oops.se

scp: stat local "global_conf.json.sx1257.": No such file or directory no file extension! and there are several files in the repo that start with that filename

incognitas0411

Due to character limits I had to delete some lines, here you can see the complete file: https://forums.raspberrypi.com/viewtopic.php?t=370821

incognitas0411

I edited my text, see if it is ok now?

incognitas0411

Any idea on how to solve this error? I am stuck here for several days now 😢

oops.se

If you go to https://github.com/helium/sx1302_hal/tree/helium/hotspot/packet_forwarder and look for files that match "global_conf.json.sx1257.* , can you find any?

incognitas0411

Please see a picture. There is no such files there if I am in a correct directory....

oops.se

Are you reading what I wrote?

incognitas0411

Sorry for misunderstanding. As I mentioned previously I am a beginner hence may not understand correctly. I checked the files in the link and there is no such files that includes .sx1257 They all are .sx1250....

oops.se

And there you have the error, post a bug on the github.