Select Page

Some of my friends ask me about how to solve the error : eth0: ERROR while getting interface flags: No such device   in the BackTrack 5 R 3 Vmware version. OK let me to share a little bit 🙂

If you copy the linux virtual machine ( in this case is BackTrack 5 R 3 vmware version ) from an external disk or from a directory to a new directory in your computer then run it at first time, there is a notification to “I Copied it” or “I Move it” . Usually if you choose “I Move it” and after entering the desktop by startx, then you’re trying to “ifconfig eth0 up” via terminal  there is an error appears : eth0: ERROR while getting interface flags: No such device . That’s because the virtual machine couldn’t detect the interface & couldn’t generate the interface rule ( 70-persistent-net.rules ) file  in the /etc/udev correctly.

How to solve ? It’s very simple just remove the interface rule :

root@bt:~# mv /etc/udev/rules.d/70-persistent-net.rules   /etc/udev/rules.d/70-persistent-net.rules.old

Then reboot your machine .

Try to check the interface again via terminal  using : ifconfig -a , make sure there is  “eth0” .

Happy weekend all 🙂