Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Passing dhcpd options to kernel command line
2020-10-11, 18:36
Post: #1
Passing dhcpd options to kernel command line
Hi,

I want to pass some options of the dhcpd to the kernel command line but some options does not work. The option `next-server` can be passed by using ${next-server} but `host-name` and `ipxe.username` are ignored and are blank.

I set these options like this:
Code:
option space ipxe;
option ipxe.username code 190 = string;

next-server x.x.x.x ;
option host-name "TheHostName";
option ipxe.username "TheUserName";

How to use these options because I need some informations from the server.

Thank you
Find all posts by this user
Quote this message in a reply
2020-10-12, 16:20
Post: #2
RE: Passing dhcpd options to kernel command line
This is the command to print kernel command line:
Code:
cat /proc/cmdline
Find all posts by this user
Quote this message in a reply
2020-10-13, 14:04
Post: #3
RE: Passing dhcpd options to kernel command line
You can address options by their numeric value, i.e. ${190} or ${netX/190}
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)