Hax4us / Nethunter-In-Termux

This is a script by which you can install Kali nethunter (Kali Linux) in your termux application without rooted phone
GNU General Public License v3.0
2.41k stars 331 forks source link

startkali error #75

Closed 47v3ctorlulz closed 5 years ago

47v3ctorlulz commented 6 years ago

mkdir: cannot create directory ‘/dev/net’: Permission denied ln: failed to create symbolic link '/dev/net/tun': No such file or directory

Eslamsk commented 6 years ago

Same problem

willgriffin commented 6 years ago

me as well, on a nexus 7 (2013)

lodk66 commented 6 years ago

If i am not mistaken, this error is due to being out of the kali nethunter hierarchy. These are 2 solutions i have found. 1 before starting kali go to /dev/ with a file explorer and change promissions. (I have found this dont stick or something else changes it back after reboot) 2 ignore, i dont beleive it is a fatal error but more of an eye sore. Nethunter will still work fine.

Psyforest commented 6 years ago

Same problema here... ANDROID_DATA=/data EXTERNAL_STORAGE=/sdcard PATH=/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/bin/applets LDPRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so =/data/data/com.termux/files/usr/bin/env $ startkali mkdir: cannot create directory ‘/dev/net’: Permission denied ln: failed to create symbolic link '/dev/net/tun': No such file or directory root@localhost:~# env LANG=enUS.UTF-8 OLDPWD=/root USER=root PWD=/root HOME=/root TERM=xterm-256color SHLVL=1 PATH=/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/system/xbin =/usr/bin/env root@localhost:~# startkali bash: startkali: command not found root@localhost:~# chmod 777 /dev root@localhost:~# mkdir /dev/net mkdir: cannot create directory ‘/dev/net’: Permission denied

0x-MRNOBODY-x0 commented 5 years ago

 startkali mkdir: cannot create directory ‘/dev/net’: Permission denied ln: failed to create symbolic link '/dev/net/tun': No such file or directory ln: failed to create symbolic link '/dev/fd': Permission denied ln: failed to create symbolic link '/dev/stdin': Permission denied ln: failed to create symbolic link '/dev/stdout': Permission denied ln: failed to create symbolic link '/dev/stderr': Permission denied root@localhost:~#

Please help....

Hax4us commented 5 years ago

This is normal behavior in non rooted phones

Ashbuhrz commented 5 years ago

I have rooted device... But still showing it

hiddenwishes commented 4 years ago

Same..rooted but the problem persists

hiddenwishes commented 4 years ago

I have rooted device... But still showing it

Dude use 'tsu' commamd before starting kali.. itll work

LucasMoraisSousa commented 4 years ago

Se não me engano, esse erro é devido a estar fora da hierarquia kali nethunter. Estas são 2 soluções que eu encontrei. 1 antes de iniciar o kali, vá para / dev / com um explorador de arquivos e altere as promessas. (Eu encontrei isso não grude ou algo mais o altera novamente após a reinicialização) 2 Ignore, eu não acredito que seja um erro fatal, mas mais do que um olho dolorido. Nethunter ainda funcionará bem.

Na vdd acho que VC deveria tentar iniciar o terminal Kali com o o comando (sudo startkali) depois de fazer isso acredito que o problema não ocorrera mais. Para mim isso funcionou