homeworkc / lazycast

A Simple Wireless Display Receiver
GNU General Public License v3.0
709 stars 90 forks source link

Problems on Raspbian Buster #90

Open ghost opened 3 years ago

ghost commented 3 years ago

Hi, On Buster, if I try to downgrade the wpasupplicant to 2.4, I'd get hit with the Device Not Ready problem in Network Manager. Using wpa_cli yields a "segmentation fault". I tried with Stretch/Buster without downgrading wpasupplicant, everything works, the device shows up on both windows and android, but I'get "Couldn't connect to the device". Even after entering the right password. Do you have the version of raspbian which you last tested lazycast?

ghost commented 3 years ago

Hi, figured a few things out, here's a guide to those who are just trying to make things work: https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2019-04-09/2019-04-08-raspbian-stretch-lite.zip ^the raspian lite image I used, it's stretch. Was using lazycast1.1

Install the following packages (I was using lite as my sd card is only 4gb) sudo apt update && sudo apt -y install net-tools python udhcpd network-manager network-manager-gnome openvpn openvpn-systemd-resolved network-manager-openvpn network-manager-openvpn-gnome xserver-xorg raspberrypi-ui-mods lightdm

Purge dhcpcd5 sudo apt -y purge dhcpcd5

I did an upgrade just for the sake of it sudo apt -y dist-upgrade

Disable systemd-resolved sudo systemctl disable systemd-resolved

Make sure to make things executable cd lazycast1.1 && chmod +x all.sh && chmod +x d2.py && cd player && chmod +x player.bin && cd ../h264 && chmod +x && h264.bin && cd ../control && chmod +x control.bin && chmod +x controlhidc.bin cd lazycast1.1 && chmod +x all.sh && chmod +x d2.py && cd player && chmod +x player.bin && cd ../h264 && chmod +x h264.bin && cd ../control && chmod +x control.bin && chmod +x controlhidc.bin && cd .. Reboot just to clean things up a bit sudo reboot

Execute ./all.sh with root privilege to make sure things work.`

Please close this issue if deemed necessary.

MrTold11 commented 3 years ago

@Xanth0k1d you have a typo in 'Make sure to make things executable' command, it should be looking like this in my opinion (I also added cd .. in the end to go back to lazycast directory): cd lazycast1.1 && chmod +x all.sh && chmod +x d2.py && cd player && chmod +x player.bin && cd ../h264 && chmod +x h264.bin && cd ../control && chmod +x control.bin && chmod +x controlhidc.bin && cd ..

ghost commented 3 years ago

@Xanth0k1d you have a typo in 'Make sure to make things executable' command, it should be looking like this in my opinion (I also added cd .. in the end to go back to lazycast directory): cd lazycast1.1 && chmod +x all.sh && chmod +x d2.py && cd player && chmod +x player.bin && cd ../h264 && chmod +x h264.bin && cd ../control && chmod +x control.bin && chmod +x controlhidc.bin && cd ..

yeah, I updated it.