Skip to content

Commit

Permalink
install: add wireless-tools dependency
Browse files Browse the repository at this point in the history
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
  • Loading branch information
Arksine committed Aug 8, 2022
1 parent 39f26dc commit 71e9085
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/install-moonraker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ install_packages()
PKGLIST="python3-virtualenv python3-dev libopenjp2-7 python3-libgpiod"
PKGLIST="${PKGLIST} curl libcurl4-openssl-dev libssl-dev liblmdb-dev"
PKGLIST="${PKGLIST} libsodium-dev zlib1g-dev libjpeg-dev packagekit"
PKGLIST="${PKGLIST} wireless-tools"

# Update system package info
report_status "Running apt-get update..."
Expand Down

6 comments on commit 71e9085

@matsm85
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file "/boot/mainsail-wpa_supplicant.txt" has become unusable
When moving the printer, it has no way to connect to a new network.
Nor modifying "/boot/mainsailos-wpa-supplicant.txt"
nor from the klipperscreen network connection option.

@matsm85
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The /etc/wpa_supplicant/wpa_supplicant.conf file
is fulfilling the old function of the /boot/mainsailos-wpa-supplicant.txt file
the problem is that for end users there is no access to this directory from the sd card.

@Arksine
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how this commit would cause this, however it would appear to be an issue with MainsailOS.

@matsm85
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where should I ask? I haven't been able to use my printers for days, since I move them to different places where there are different networks.

@Arksine
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This issue looks related to the problem you are facing.

@KwadFan
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there,

Arksine posted already the whole issue.

Let me say something about it.
Basicly MainsailOS is a pimped/modified version of a standard Raspberry Pi OS legacy ( buster ).

We use a Framework called CustomPIOS (also used by Octoprint) to manipulate the Image.
That are the basics.
In simple terms we do nothing else as running scripts ( In this case we reuse the moonraker install script ) in Virtual Environment due github actions.

If Raspberry Foundation decides to move around things because they want to have it simplier,
we could only act in a way that doesnt disturb existing Raspberry Foundation provided documentation.

That said, its pretty much useless doing things that couldnt work.

I agree with you something has to happen, but wireless-tools are installed by default and pretty much useless if you already lost connection to the Pi.

So, I dont wont to sound rude, but there will be no quick solution, because we have to develop one. wireless-tools might work for you in person,
keep in mind, some individuals out there struggle even with cd,ls,rm and so on.... They never will get a working WiFi with a commandline tool, and raspi-config has already an option to change WifI credentials.

Regards Kwad

Please sign in to comment.