أخطاء macOS وWindows
أخطاء launchd وGatekeeper وأيقونة شريط النظام وsc.exe وخدمة Windows مع أسهل الحلول.
تعمل خدمة wantasticd عند الإقلاع ويعرض wantasticd status الحالة Connected.
قبل أن تبدأ
- sudo على macOS، أو PowerShell كمسؤول على Windows.
قبل أن تبدأ
- macOS: ثبّت الجهاز وطالب به بالتثبيت السريع. السجلات في /Library/Logs/Wantastic/wantasticd.log.
- Windows: ثبّت باستخدام رمز مميز. لا يظهر رمز QR الخاص بالمطالبة على Windows.
- لا يوجد ملف سجل على Windows. شغّل الخدمة مرة واحدة في الواجهة الأمامية لرؤية الخطأ.
curl -fsSL https://get.wantastic.app/install.sh | sudo sh; sudo wantasticd genkey
# after "Device claimed": press Ctrl+C, then:
sudo launchctl kickstart -k system/com.wantastic.wantasticdما يجب التحقق منه
wantasticd status
tail -n 50 /Library/Logs/Wantastic/wantasticd.log
sudo launchctl kickstart -k system/com.wantastic.wantasticdPS C:\Users\you> irm https://get.wantastic.app/install.ps1 | iexAdministrator privileges are required.1Right-click PowerShell, choose 'Run as administrator', and run again:
- 1لم تُفتح كمسؤول
PS C:\Windows\system32> irm https://get.wantastic.app/install.ps1 | iexwantasticd v1.0.54+377f3c0 is installed and running as a Windows Service.1
- 1نجاح
جدول سريع
| الخطأ | أسهل حل |
|---|---|
| Error: on macOS the installer needs root. | ضع sudo قبل sh. |
| Interface name must be utun[0-9]* | ألغِ ضبط WANTASTIC_TUN_NAME. |
| Killed by Gatekeeper / "cannot be opened" | أزل علامة العزل ووقّع الملف. |
| Tray "Status: Daemon not running" | أعد تشغيل الخدمة. |
| Failed to <action> (sc.exe exit code N). | أغلق services.msc أو أعد التشغيل. |
| The service is installed but not started because this device is not logged in yet. | wantasticd login --no-connect, then Start-Service wantasticd. |
| Administrator privileges are required. | افتح PowerShell عبر Run as administrator (تشغيل كمسؤول). |
| Error creating interface: … (Wintun) | شغّل كمسؤول؛ واسمح به في برنامج مكافحة الفيروسات. |
تحقق من النتيجة
الأخطاء والحلول
يتوقف التثبيت على macOS فورًا.Error: on macOS the installer needs root.install.sh (macOS)
لم يُشغَّل المثبّت باستخدام sudo.
شغّل التثبيت السريع مع وضع sudo قبل sh، ثم طالب بالجهاز.
- 1شغّل الأمر.
- 2افتح Claim URL، وسجّل الدخول، وانقر "Claim Device".
- 3بعد ظهور "Device claimed"، اضغط Ctrl+C.
- 4شغّل: sudo launchctl kickstart -k system/com.wantastic.wantasticd
curl -fsSL https://get.wantastic.app/install.sh | sudo sh; sudo wantasticd genkeymacOS: تمت المطالبة، لكن الجهاز يبقى "Offline".wantasticd genkey (macOS)
شُغّل genkey بدون sudo، فحُفظت الإعدادات في ~/Library/Application Support/Wantastic، والخدمة لا تقرأ منه.
شغّل genkey مجددًا باستخدام sudo، وطالب بالجهاز مجددًا، ثم أعد تشغيل الخدمة.
sudo wantasticd genkey
# after "Device claimed": press Ctrl+C, then:
sudo launchctl kickstart -k system/com.wantastic.wantasticdيرفض macOS اسم TUN مخصصًا.Interface name must be utun[0-9]*سجلات wantasticd (macOS)
WANTASTIC_TUN_NAME مضبوط على اسم لا يبدأ بـ utun.
أزل هذا الإعداد. يختار macOS اسم utun تلقائيًا.
unset WANTASTIC_TUN_NAME
sudo launchctl kickstart -k system/com.wantastic.wantasticdيُنهي macOS الملف التنفيذي أو يقول إنه لا يمكن فتحه.macOS Gatekeeper
يحمل الملف علامة العزل (quarantine) أو توقيعًا غير صالح بعد نسخه يدويًا.
أزل علامة العزل ووقّع الملف التنفيذي.
sudo xattr -d com.apple.quarantine /usr/local/bin/wantasticd
sudo codesign -f -s - /usr/local/bin/wantasticd
sudo launchctl kickstart -k system/com.wantastic.wantasticdالجهاز مُدرج لكن يتعذّر الوصول إليه من جهاز Mac.macOS
النفق متوقف، أو أن المسار لا يمر عبر utun.
أعد تشغيل الخدمة، ثم تحقّق من المسار.
sudo launchctl kickstart -k system/com.wantastic.wantasticd
wantasticd status
route -n get <peer-ip>تقول أيقونة شريط النظام إن الخدمة لا تعمل.Status: Daemon not runningتطبيق شريط القوائم في macOS
توقفت الخدمة أو تعطلت.
أعد تشغيل الخدمة وتحقّق من السجل.
sudo launchctl kickstart -k system/com.wantastic.wantasticd
tail -n 50 /Library/Logs/Wantastic/wantasticd.logيحظر جدار حماية macOS اتصالات P2P.[P2P] Could not add … to the application firewallسجلات wantasticd (macOS)
رفض جدار حماية macOS القاعدة. الرسالة "Could not allow …" مشابهة.
في System Settings → Network → Firewall → Options، اسمح بالاتصالات الواردة لـ wantasticd.
يظهر اسم شبكة Wi-Fi محجوبًا.الكونسول / معلومات الجهاز (macOS)
خدمات الموقع (Location Services) متوقفة لـ wantasticd.
فعّل خدمات الموقع لـ wantasticd في System Settings → Privacy & Security.
موقع السجل القديم.macOS
قبل الإصدار 1.0.50، كان السجل في /var/log/wantasticd.log.
استخدم /Library/Logs/Wantastic/wantasticd.log في الإصدارات الحالية.
تفشل خطوة sc.exe أثناء التثبيت.Failed to <action> (sc.exe exit code N).install.ps1
غالبًا رمز الخروج 1072: أداة Services (services.msc) أو أداة أخرى تُبقي الخدمة مفتوحة.
أغلق Services وTask Manager وEvent Viewer، أو أعد التشغيل. ثم شغّل install.ps1 مجددًا.
irm https://get.wantastic.app/install.ps1 | iexخدمة Windows لا تعمل بعد التثبيت.The wantasticd service did not reach the Running state.install.ps1
فشل تسجيل الدخول، لذا فملف الإعدادات مجرد عنصر نائب.
سجّل الدخول برمز مميز جديد، ثم أعد تشغيل الخدمة.
& "C:\Program Files\Wantastic\wantasticd.exe" login --no-connect --token <TOKEN>
Restart-Service wantasticdلا تبدأ الخدمة عند الإقلاع.The wantasticd service was not configured for automatic startup.install.ps1
فشل الإعداد أو غيّرته سياسة ما.
اضبط البدء التلقائي يدويًا.
sc.exe config wantasticd start= autoالخدمة غير موجودة بعد التثبيت.The wantasticd service was not found after installation.install.ps1
لم يُشغَّل PowerShell كمسؤول، أو حظرته سياسة ما.
شغّل install.ps1 مجددًا في PowerShell كمسؤول.
irm https://get.wantastic.app/install.ps1 | iexيفشل تسجيل الدخول أثناء التثبيت على Windows.Login did not complete (exit N).install.ps1
لم تكتمل الموافقة في المتصفح في الوقت المحدد أو رُفضت، أو رُفض رمز مميز.
سجّل الدخول مجددًا ووافق على الجهاز، ثم شغّل الخدمة.
wantasticd login --no-connect
Start-Service wantasticdيتوقف المثبّت فورًا.Administrator privileges are required.install.ps1
لم يُفتح PowerShell بصلاحيات Administrator.
انقر Start، واكتب powershell، وانقر Run as administrator ثم Yes، والصق السطر مجددًا.
irm https://get.wantastic.app/install.ps1 | iexأخطاء مدير خدمات Windows.windows service failed: …Event Viewer / التشغيل في الواجهة الأمامية
فشل مُغلّف الخدمة. الرسالة "failed to determine if interactive session" مرتبطة بذلك.
شغّل في الواجهة الأمامية مع -v لرؤية الخطأ الحقيقي، ثم أعد التثبيت كمسؤول.
تعذّر إنشاء محوّل Wintun.Error creating interface: …wantasticd (Windows)
PowerShell لا يعمل بصلاحيات مرتفعة، أو أن برنامج مكافحة الفيروسات يحظر برنامج تشغيل Wintun.
شغّل كمسؤول واسمح بالمجلد C:\Program Files\Wantastic في برنامج الحماية لديك.
لا يظهر رمز QR أو طلب تسجيل الدخول على Windows.install.ps1 · wantasticd login (Windows)
إصدارات wantasticd القديمة على Windows لا تستطيع الكتابة في PowerShell.
اضغط Ctrl+C، وأنشئ رمزًا مميزًا في Account → Secrets، وثبّت به.
& ([scriptblock]::Create((irm https://get.wantastic.app/install.ps1))) -Token <TOKEN>إلغاء التثبيت على Windows.Windows
لا يوجد سكربت لإلغاء التثبيت.
أوقف الخدمة واحذفها، ثم أزل المجلدات.
sc.exe stop wantasticd; sc.exe delete wantasticd
Remove-ItemProperty -Path HKLM:\Software\Microsoft\Windows\CurrentVersion\Run -Name Wantastic -ErrorAction SilentlyContinue
Remove-Item -Recurse -Force "C:\Program Files\Wantastic","C:\ProgramData\Wantastic"تابع مع
ما زلت عالقاً؟
أرسل بالبريد اسم الجهاز والمنصة ونص الخطأ الحرفي. لا ترسل أبداً رموز الوصول أو المفاتيح أو كلمات المرور.