netmuxd
netmuxd copied to clipboard
UnknownError when pairing device
OS: Fedora 35 iPhone: iPhone XS Max Using latest iOS 15.4.1
❯ sudo ./netmuxd --disable-unix --host 127.0.0.1
[sudo] password for softwarerat:
Starting netmuxd
Starting mDNS discovery
Listening on 127.0.0.1:27015
WARNING: Running in host mode will not work unless you are running a daemon in unix mode as well
Adding device 00008020-0004791A1446002E
[2022-04-21T17:40:14Z ERROR netmuxd::heartbeat] Failed to create heartbeat client for udid 00008020-0004791A1446002E: UnknownError
Adding device 00008020-0004791A1446002E
[2022-04-21T17:40:15Z ERROR netmuxd::heartbeat] Failed to create heartbeat client for udid 00008020-0004791A1446002E: UnknownError
Adding device 00008020-0004791A1446002E
[2022-04-21T17:40:16Z ERROR netmuxd::heartbeat] Failed to create heartbeat client for udid 00008020-0004791A1446002E: UnknownError
thread 'tokio-runtime-worker' panicked at 'range end index 421 out of range for slice of length 16', src/raw_packet.rs:62:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Adding device 00008020-0004791A1446002E
[2022-04-21T17:43:12Z ERROR netmuxd::heartbeat] Failed to create heartbeat client for udid 00008020-0004791A1446002E: UnknownError
Adding device 00008020-0004791A1446002E
[2022-04-21T17:44:02Z ERROR netmuxd::heartbeat] Failed to create heartbeat client for udid 00008020-0004791A1446002E: UnknownError
Adding device 00008020-0004791A1446002E
[2022-04-21T17:44:22Z ERROR netmuxd::heartbeat] Failed to create heartbeat client for udid 00008020-0004791A1446002E: UnknownError
Adding device 00008020-0004791A1446002E
[2022-04-21T17:44:32Z ERROR netmuxd::heartbeat] Failed to create heartbeat client for udid 00008020-0004791A1446002E: UnknownError
Do you have usbmuxd running as well?
Do you have usbmuxd running as well?
Yes, I am using the script from https://github.com/powenn/AltServer-Linux-ShellScript which automate the process
Can you run it with logs?
sudo RUST_LOG=trace ./netmuxd —disable-unix —host 127.0.0.1
Also, looking into AltServer-Linux_ShellScript, it does not automatically start usbmuxd, it is up to the user. Ensure that it is running.
Here: https://gist.github.com/SoftwareRat/6fd25713f01019d258659ceacffea22a
Looks like that log was successfully
AltStore says „unable to find AltServer“
On 26. Apr 2022, at 23:21, Jk C @.***> wrote:
Looks like that log was successfully
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
That’s a problem with AltServer then. The only connection netmuxd manages is AltServer to device, not the other way around.
But when I wait long enough it says „UnknownError“ thing
Sent from my iPhone
On 27. Apr 2022, at 07:20, Jackson Coxson @.***> wrote:
That’s a problem with AltServer then. The only connection netmuxd manages is AltServer to device, not the other way around.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
@SoftwareRat Follow these steps, it should help -
- Kill all usbmuxd and netmuxd instances
- Connect your idevice to the linux machine on USB
- Start usbmuxd as root
- Run AltServer and refresh any sideloaded ipa
- Remove the phone from USB and bring it on the same wi-fi network as the linux machine.
- Kill AltServer instance
- Run netmuxd as root and see that it finally adds this idevice
These steps helped me resolve this "UnknownError".
Unfortunately this didn't help for me. I tried it on a RPI and on a x64 machine. On both devices I'm seeing the same error. I followed the exact steps in the README file but can't get it to work. Wired mode works flawlessly though.
@SoftwareRat Follow these steps, it should help -
1. Kill all usbmuxd and netmuxd instances 2. Connect your idevice to the linux machine on USB 3. Start usbmuxd as root 4. Run AltServer and refresh any sideloaded ipa 5. Remove the phone from USB and bring it on the same wi-fi network as the linux machine. 6. Kill AltServer instance 7. Run netmuxd as root and see that it finally adds this idevice
These steps helped me resolve this "UnknownError".
Doesn't work for me
I have the same problem, and I think I've run out of options to try. Normal usbmuxd pairing works, as soon as I try to run netmuxd (with or without usbmuxd running in the background), it just doesn't find the device (sudo idevice_id --list
). Any ideas?
Not without logs or other info
Commands and logs: commands.txt – I've only replaced my UDID.
In short: Connect the iPhone while usbmuxd is running, then run sudo idevice_id --list
where the iPhone's UDID is present, disconnecting the iPhone, restarting usbmuxd, starting netmuxd and then running the same command – device is not found.
iPhone 13 Pro, iOS 16.0.2. Raspberry Pi 3B running:
~ uname -a
Linux raspberrypi 5.15.32-v7+ #1538 SMP Thu Mar 31 19:38:48 BST 2022 armv7l GNU/Linux
Any other information that would be needed?
heya, also having this issue after installing altstore on my device if there's anything i can help with, just ask!
Sorry, i seemed to have fixed it by doing:
when in wireless mode it won't work, my device says it can't find altserver i switch over to tetherd mode and stop netmuxd i pair the device successfully i refresh and it works (cable) i switch to wireless mode i refresh and it works (cable) i refresh and it works (no cable)
When did this issue happen? After i set my ansinette server ip, i installed altstore ontop of an exciting one on my device, and tried to refresh after switching back. I do have to note i used systemd to run netmuxd and altserver so i might have gotten it confused?
The latest release fixed this problem for me. Now I get an entry saying Adding device <UDID>
, which I didn't before. Very appreciated update, thanks @jkcoxson!
I too am having the same problem.
I solved the problem. ./netmuxd --disable-unix --host 127.0.0.1 Instead of RUST_LOG=trace ./netmuxd —disable-unix —host 127.0.0.1 If you run altserver while executing the log check command with , it works normally.
I'm also having this issue, I keep getting an UnknownError, but USB backups work fine