The way Linux is designed, once you lose internet connection you're screwed. Because without internet, you can't install programs, and you just might need some programs to set up internet.
Debian with xfce has no built-in gui to ensure this problem is even more dangerous. I'm not sure what exactly did I do wrong, but my Debian in Virtual box stopped communicating with virtual network card after I cloned it, which I think is related to the mac address change. I tried to restart it while altering the virtual box card settings, but nothing happened.
Windows alternative of ipconfig
seems to be ip
, and I get this for ip a
:
1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 08:00:27:98:5a:42 brd ff:ff:ff:ff:ff:ff
That seems like the interface is turned off. That's itself strange, the hardware is connected on the virtualbox side. The mac address matches virtualbox setting, so the address had to be loaded from the hardware.
Is there any way to configure network connection like I can do in windows? For example to see whether the hardware is found whether it communicates with dhcp and so on?
ifconfig eth0 up
ifconfig
command is not available...