Article 6KJHS Unable to install Linux headers. Please assist!

Unable to install Linux headers. Please assist!

by
LucianLibre002
from LinuxQuestions.org on (#6KJHS)
Hey folks,

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
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments