Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm completely new to this site and somewhat new to the linux terminal. long story short, I'm trying to get virtualbox going and in that process, trying to set up a DHCP Server. I'm following a tutorial so I'm not exactly sure how to handle this error I got. Can someone help me troubleshoot?
Code:
vboxmanage dhcpserver add --network=WorldWideWeb --server-ip=10.38.1.1 --lower-ip=10.38.1.110 --upper-ip=10.38.1.120
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (6.1.0-14-amd64) or it failed to
load. Please recompile the kernel module and install it by
sudo /sbin/vboxconfig
You will not be able to start VMs until this problem is fixed.
Oracle VM VirtualBox Command Line Management Interface Version 7.0.14
Copyright (C) 2005-2024 Oracle and/or its affiliates
VBoxManage: error: Missing required option: --netmask
Usage:
VBoxManage dhcpserver add <--network=netname | --interface=ifname> <--server-ip=address> <--netmask=mask> <--lower-ip=address>
<--upper-ip=address> <--enable | --disable>
[--global | --set-opt=dhcp-opt-no value... | --set-opt-hex=dhcp-opt-no hexstring... | --force-opt=dhcp-opt-no... |
--supress-opt=dhcp-opt-no... | --min-lease-time=seconds | --default-lease-time=seconds | --max-lease-time=seconds...]
[--group=name | --set-opt=dhcp-opt-no value... | --set-opt-hex=dhcp-opt-no hexstring... | --force-opt=dhcp-opt-no... |
--supress-opt=dhcp-opt-no... | --incl-mac=address... | --excl-mac=address... | --incl-mac-wild=pattern... |
--excl-mac-wild=pattern... | --incl-vendor=string... | --excl-vendor=string... | --incl-vendor-wild=pattern... |
--excl-vendor-wild=pattern... | --incl-user=string... | --excl-user=string... | --incl-user-wild=pattern... |
--excl-user-wild=pattern... | --min-lease-time=seconds | --default-lease-time=seconds | --max-lease-time=seconds...]
[--vm=name|uuid | --nic=1-N | --set-opt=dhcp-opt-no value... | --set-opt-hex=dhcp-opt-no hexstring... |
--force-opt=dhcp-opt-no... | --supress-opt=dhcp-opt-no... | --min-lease-time=seconds | --default-lease-time=seconds |
--max-lease-time=seconds | --fixed-address=address...]
[--mac-address=address | --set-opt=dhcp-opt-no value... | --set-opt-hex=dhcp-opt-no hexstring... |
--force-opt=dhcp-opt-no... | --supress-opt=dhcp-opt-no... | --min-lease-time=seconds | --default-lease-time=seconds |
--max-lease-time=seconds | --fixed-address=address...]
VBoxManage: error: Missing required option: --netmask
Last edited by LucianLibre002; 03-23-2024 at 09:32 AM.
Please post the link to the tutorial you are following and what you are trying to accomplish. The dhcpserver commands allow you to control the DHCP server builtin to VirtualBox.
Please post the link to the tutorial you are following and what you are trying to accomplish. The dhcpserver commands allow you to control the DHCP server builtin to VirtualBox.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
Linux 6.1.0-14-amd64 x86_64
Tutorial: https://www.youtube.com/watch?v=mvsiuLzpx2E
I'm trying to set up a hacking lab using VirtualBox.
It looks like there's some kernel module component to this software. The headers to build modules are expressed by /lib/modules/`uname -r`/build so you'd better have them accessible there. That's a link to the versioned kernel source under /usr/src. If you don't have the kernel source installed, you'll need it. Building modules and installing them in place requires root privileges.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.