New answers tagged ifconfig
While this command usually assigns an IP to the interface, using 0.0.0.0 clears the primary IP of it. see here or here. Usually done to allow the ability to assign an IP via DHCP.
You have just given the an invalid IP or a non-routable IP. If you use a DHCP just issue, dhclient <interface-name> It will give you back your DHCP ip. With a static Ip this should do it, ifconfig <interface-name> < e.g. 192.168.1.125> A ifdown <interface-name> and ifup <interface-name> should do it if you have manually ...
Top 50 recent answers are included