RaspberryConnect / AutoHotspot-Installer

For the RaspberryPi computers. Allows switching between a Raspberry Pi Access Point and Wifi Network connection without a reboot.
GNU General Public License v3.0
69 stars 24 forks source link

tar (child): xz: Cannot exec: No such file or directory #24

Open LiminalD opened 4 months ago

LiminalD commented 4 months ago

When I run this command after downloading the repository: tar -xvJf AutoHotspot-Setup.tar.xz

I get the following response:

tar (child): xz: Cannot exec: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now

What am I doing wrong?

RaspberryConnect commented 4 months ago

Hi LiminalID

It seems it's an issue with the archive file. The xz file is just an archive of the AutoHotspot-Setup folder also in the repository. So you can just CD into that, then cd Autohotspot and then run sudo autohotspot-setup.sh

Otherwise you can use the instructions to download the archive from my website. https://www.raspberryconnect.com/projects/65-raspberrypi-hotspot-accesspoints/183-raspberry-pi-automatic-hotspot-and-static-hotspot-installer

I'm not able to sort the archive out for a week or so but these other two methods will work. Thanks for pointing this out.