powenn / AltServer-Linux-PyScript

AltServer-Linux Script python edition
GNU Affero General Public License v3.0
157 stars 18 forks source link

Not able to Wifi refresh on altserver raspberry pi 4 #9

Closed TheRealKushal closed 1 year ago

TheRealKushal commented 1 year ago

I can properly use tethered mode in order to install altstore and refresh it but the wifi refresh does not work even though both the avahi daemon and socket are both running and active. The computer is trusted by the iPhone but when I refresh with altserver it says "altserver could not find this device" and on my linux machine it says "Sent Bytes Count: 4 (4) Sent Data: 4 Bytes Sent Bytes Count: 86 (86) Sent Data: 86 Bytes Failed to handle request:AltServer could not find the device."

powenn commented 1 year ago

Does WiFi installation works?

TheRealKushal commented 1 year ago

I have not tried that because I installed altstore with usb connected

powenn commented 1 year ago

Give a try,just install again don't need uninstall it before

TheRealKushal commented 1 year ago

do I install altstore or any app with wifi

powenn commented 1 year ago

I have tested aarch64 with VM,and everything works 🤔

powenn commented 1 year ago

AltStore for faster testing

powenn commented 1 year ago

In fact press enter when asking yes or no you get it installing

TheRealKushal commented 1 year ago

the wifi installation of altstore is not working because it says altserver could not find this device

powenn commented 1 year ago

I think @Macleykun might know how to solve it,he also uses raspberry pi

powenn commented 1 year ago

@TheRealKushal can you exec netmuxd ?

Try sudo netmuxd and check its output

Macleykun commented 1 year ago

Check: systemctl status avahi-daemon.s are they both enabled and running? if not, use systemctl enable --now (nameoftheservice) to do so. If you somehow missing these two, you can install the package then: avahi-daemon

like powenn said, you also need to have altserver running with netmuxd turned on.

shamelssplug

Altstore requires you to use altserver and be connected to the same network over wifi. But if you use SideStore you only need to install it, and if your connected to a network (wifi) and have the vpn on (don't worry, it's one that goes back to your device). Then it will also refresh. Start with Sidestore by reading here: https://wiki.sidestore.io/guides/install.html

TheRealKushal commented 1 year ago

pi@kushal:~ $ sudo netmuxd sudo: netmuxd: command not found pi@kushal:~ $ systemctl status avahi-daemon.s Unit avahi-daemon.s.service could not be found. pi@kushal:~ $

pi@kushal:~ $ systemctl status avahi-daemon ● avahi-daemon.service - Avahi mDNS/DNS-SD Stack Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor > Active: active (running) since Sun 2023-07-09 08:45:55 MST; 23h ago TriggeredBy: ● avahi-daemon.socket Main PID: 202844 (avahi-daemon) Status: "avahi-daemon 0.8 starting up." Tasks: 2 (limit: 3932) CPU: 19.324s CGroup: /system.slice/avahi-daemon.service ├─202844 avahi-daemon: running [kushal.local] └─202846 avahi-daemon: chroot helper

Jul 09 08:45:55 kushal avahi-daemon[202844]: Registering new address record for> Jul 09 08:45:55 kushal avahi-daemon[202844]: Registering new address record for> Jul 09 08:45:55 kushal avahi-daemon[202844]: Registering new address record for> Jul 09 08:45:55 kushal avahi-daemon[202844]: Registering new address record for> Jul 09 08:45:55 kushal avahi-daemon[202844]: Registering new address record for> Jul 09 08:45:55 kushal avahi-daemon[202844]: Registering new address record for> Jul 09 08:45:55 kushal avahi-daemon[202844]: Registering new address record for> Jul 09 08:45:55 kushal avahi-daemon[202844]: Registering new address record for> Jul 09 08:45:55 kushal avahi-daemon[202844]: Registering new address record for> Jul 09 08:45:56 kushal avahi-daemon[202844]: Server startup complete. Host name> lines 1-22/22 (END)

and also do I need a pc for the installing sidestore for the first time

Macleykun commented 1 year ago

pi@kushal:~ $ sudo netmuxd sudo: netmuxd: command not found pi@kushal:~ $ systemctl status avahi-daemon.s Unit avahi-daemon.s.service could not be found. pi@kushal:~ $

pi@kushal:~ $ systemctl status avahi-daemon ● avahi-daemon.service - Avahi mDNS/DNS-SD Stack Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor > Active: active (running) since Sun 2023-07-09 08:45:55 MST; 23h ago TriggeredBy: ● avahi-daemon.socket Main PID: 202844 (avahi-daemon) Status: "avahi-daemon 0.8 starting up." Tasks: 2 (limit: 3932) CPU: 19.324s CGroup: /system.slice/avahi-daemon.service ├─202844 avahi-daemon: running [kushal.local] └─202846 avahi-daemon: chroot helper

Jul 09 08:45:55 kushal avahi-daemon[202844]: Registering new address record for> Jul 09 08:45:55 kushal avahi-daemon[202844]: Registering new address record for> Jul 09 08:45:55 kushal avahi-daemon[202844]: Registering new address record for> Jul 09 08:45:55 kushal avahi-daemon[202844]: Registering new address record for> Jul 09 08:45:55 kushal avahi-daemon[202844]: Registering new address record for> Jul 09 08:45:55 kushal avahi-daemon[202844]: Registering new address record for> Jul 09 08:45:55 kushal avahi-daemon[202844]: Registering new address record for> Jul 09 08:45:55 kushal avahi-daemon[202844]: Registering new address record for> Jul 09 08:45:55 kushal avahi-daemon[202844]: Registering new address record for> Jul 09 08:45:56 kushal avahi-daemon[202844]: Server startup complete. Host name> lines 1-22/22 (END)

and also do I need a pc for the installing sidestore for the first time

netmuxd is a binairy that's i believe in resource, there you can start it, then try to wifi refresh.

No, ya are setting up AltServer to install altstore, but you can also specify your own IPA which is sidestore in this case. But if you find it easier to use AltServer on windowsto install Sidestore that's ok too (believe SideStore server is comming out/is out)

TheRealKushal commented 1 year ago

netmuxd doesn't seem to be working but soon I will try sidestore cuz i can't try it now due to all of my 10 app ids being used thanks for the help.

powenn commented 1 year ago

netmuxd doesn't seem to be working but soon I will try sidestore cuz i can't try it now due to all of my 10 app ids being used thanks for the help.

What if we use qemu to exec netmuxd, me and @Macleykun got x86 jitterbug works on arm with qemu

Macleykun commented 1 year ago

https://github.com/jkcoxson/netmuxd/releases/tag/v0.1.4 netmuxd already is on aarch64/armv7 and x86_64. only not 32-bit but i assume nobody really uses that.

ak4153 commented 5 months ago

Interesting. executing sudo ./resource/netmuxd adds the device. And running python main.py handles the requests and signs the apps.

What I did prior:

  1. Plug in my ipad in my orangepi and trusting it. 2.executing sudo ./resource/netmuxd adds the device.
  2. running main.py and it works