fscarmen / warp-sh

WARP script is move to: https://gitlab.com/fscarmen/warp
942 stars 203 forks source link

I getting during setup warp please help me to fix it please #83

Closed ismamilahi closed 4 months ago

ismamilahi commented 4 months ago

 Running WARP 
 Maximum 5 attempts to get WARP IP...
 Try 1 
 Try 2 
 Try 3 
 Try 4 
 Try 5 
 ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
 Operating System: Debian GNU/Linux 11 (bullseye)

 Kernel:6.1.0-21-cloud-amd64 

 Menu choose: 2.  Add WARP IPv6 interface to IPv4 only VPS (bash menu.sh 6) 

 Warning: `/etc/wireguard/warp.conf' is world accessible
[#] ip link add warp type wireguard
RTNETLINK answers: Operation not permitted
Unable to access interface: Operation not permitted
[#] ip link delete dev warp
Cannot find device "warp"
 ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ 
 There have been more than 5 failures. The script is aborted. Attach the above error message. Feedback: [https://github.com/fscarmen/warp-sh/issues] 
root@313a18b5-7e8c-48ac-b67b-6ed4a01f9788:~# wg-quick up warp
Warning: `/etc/wireguard/warp.conf' is world accessible
[#] ip link add warp type wireguard
RTNETLINK answers: Operation not permitted
Unable to access interface: Operation not permitted
[#] ip link delete dev warp
Cannot find device "warp"```
fscarmen commented 4 months ago

I don't know what causes "RTNETLINK answers: Operation not permitted".

ismamilahi commented 4 months ago

any way to fix it?

fscarmen commented 4 months ago

Try cat /dev/net/tun

ismamilahi commented 4 months ago

yaa during install i notice a permission error /dev/net mkdir create failed something like this

fscarmen commented 4 months ago
image
fscarmen commented 4 months ago

Use warp-go instead.

wget -N https://gitlab.com/fscarmen/warp/-/raw/main/warp-go.sh && bash warp-go.sh