Airiana icon indicating copy to clipboard operation
Airiana copied to clipboard

installation fails in latest bookworm raspbian

Open dcolens opened this issue 2 years ago • 5 comments

this is FYI, I tried installing on the latest Rapbian OS (bookworm), the installation fails for a couple of reasons:

  1. /boot/config.txt and cmdline moved under /boot/firmware/ in bookworm this breaks the install script that
  2. it is no longer possible to run pip install outside a venv (see https://www.raspberrypi.com/documentation/computers/os.html#python-on-raspberry-pi)

To Reproduce Steps to reproduce the behavior:

  1. install bookworm on RPI
  2. clone airiana repo
  3. run python3 install.py

tested on

  • Device: RPI3
  • OS: bookworm

dcolens avatar Dec 23 '23 15:12 dcolens

I managed to install, I made the following changes:

  1. updated path for config.txt and cmdline.txt (/boot/firmware)
  2. create venv in airiana's folder
  3. sourced venv and ran installer (while it said install completed, many steps failed)
  4. pip install minimalmodbus progressbar requests pyModbusTCP setuptools pytest pyephem numpy because pip install --user fails
  5. sudo apt-get install libopenblas-dev (required for numpy to load properly)
  6. udpate the systemfiles python path to use the one from venv
  7. create latlong.json file in airiana folder (without it, it would not start)

I think that's about it, hope this is useful and thanks a lot for the project!

dcolens avatar Dec 23 '23 16:12 dcolens

Thank you for a detailed bug report. =). and solutions. WIll take a look on doing an update, maybe even a rework of the install scripts. Its been growing into some different kind of beast for a long time.

BeamCtrl avatar Dec 26 '23 20:12 BeamCtrl

Hope you got you installation working and that it works well, always fun to see that ppl are using it =)

BeamCtrl avatar Dec 26 '23 20:12 BeamCtrl

yes, my installation is operational thanks for the great work :-)

dcolens avatar Jan 08 '24 10:01 dcolens

brief update, now the there is a branch called merge/auto-hotspot, it includes bookworm compat, and rework of the installation script.

BeamCtrl avatar Jun 17 '24 14:06 BeamCtrl

resolved as of merge with auto-hotspot branch, 0610db09

BeamCtrl avatar Feb 11 '25 20:02 BeamCtrl