Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Question:
When you install ubuntu-server, it lets you configure the network, with the option to do that automatically.

My computer wasn't attached at the network at the time, so I just skipped this part.
Now it is attached to the network, but of course, there is no network connection.

How can I let the automatic configuration utility run manually ?
dpkg-reconfigure ifupdown ?



Note:
I do NOT want to edit /etc/whatever manually.
I can use google to find something like http://www.iprobot.net/linux-tutorial/how-to-setup-network-interface-card-in-ubuntu/ myself.

Note also:
Console-only, so no GUI

share|improve this question

closed as too localized by htorque, jrg, Jorge Castro, Takkat, Marco Ceppi Jan 5 '12 at 20:55

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

1 Answer

Find out the interface name (probably eth0):

sudo ifconfig -a

Tell the system to enable the interface

ifup eth0

Check if the interface has correct IPs assigned:

sudo ifconfig -a

Test your connection:

ping askubuntu.com

(note: make sure your computer is attached to the network this time! :))

share|improve this answer
And what if there is no IP assigned ? I solved it by now by reinstalling... – WitchCraft Oct 21 '11 at 18:30
sorry to hear that :( – Bruno Pereira Oct 21 '11 at 18:32

Not the answer you're looking for? Browse other questions tagged or ask your own question.