Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
1  
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
add comment

1 Answer 1

up vote 42 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.

screenshoot

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.

ss2

  • Adapter:
    • IPv4 address: 192.168.56.1
    • IPv4 Network Mask: 255.255.255.0
  • DHCP server:
    • Enable server: checked
    • Server Address: 192.168.56.100
    • Server Mask: 255.255.255.0
    • Lower Address Bound: 192.168.56.101
    • Upper Address Bound: 192.168.56.254

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
add comment

Your Answer

 
discard

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.