Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a problem with my virtualbox on ubuntu 12.04, I can't add a host only adapter, the message is "no host only network adapter selected" I can't select anything

enter image description here

can anyone solve this problem??

share|improve this question
Can you attach it to eth0? – Takkat Oct 10 '12 at 7:08
yes I can. but with bridge not with host only – Ujang Karnadi Oct 11 '12 at 0:08
up vote 97 down vote accepted

Probably, the virtual host-only network wasn't set up yet. Here's is how you can fix this:

  1. From the main menu, select File > Preferences (Ctrl+G) - NOT the settings of a single vm
  2. Select Network in the list on the left
  3. You should see an empty white box with "Host-only Networks" at the top. On the right, there are three buttons to manage them. Click the topmost one (with a green plus symbol). A new Host-only network will be created and added to the list.


Normally, the settings of the new network will be ok, but for completeness, I give the default values here. You can access the settings for the host-only network through the screwdriver button on the right.


  • Adapter:
    • IPv4 address:
    • IPv4 Network Mask:
  • DHCP server:
    • Enable server: checked
    • Server Address:
    • Server Mask:
    • Lower Address Bound:
    • Upper Address Bound:

You can change these settings to your liking, as long as they're consistent.

share|improve this answer
thanks you,,, you have solved my problem . . . . usually I use virtual box in windows,, but now I have to use it on linux. . . . . . I'ts really different. . . . – Ujang Karnadi Oct 10 '12 at 23:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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