Can't get an ip address


Recommended Posts

Just so you can talk to it from a browser, login at the console and...

 

ifconfig eth0 down

ifconfig eth0 192.168.0.222 netmask 255.255.255.0 up

route add default gw 192.168.0.1

 

ifconfig eth0 should now match

 

Of course, set 192.168.0.222 to whatever you need and 192.168.0.1 to your router.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.