PDA

View Full Version : SIOCADDRT Operation not permitted



Wallybok
2021-04-06, 19:49
I'm a newbie with linux and I have a problem I don't know how to resolve... I'm using kali linux and I needed to add the routing table to my device with this command:


sudo ifconfig wlan0mon up 192.168.1.1 netmask 255.255.255.0
route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.1

I get this:


SIOCADDRT: Operation not permitted

What can I do to unlock this command?
Thank you in advance!!