Solved

DHCP Text Options

Posted on 2011-03-22
2
398 Views
Last Modified: 2012-08-13
I would like to set the following value through DHCP

P1="A";P2="B";P3="C";MG="D"

The problem I have is the double quotes. In my dhcpd.conf i have the following line but when i change the single quotes to doubles I get an error. How can these be represented in the config file?

option HPDM-Group code 203 = text;
option HPDM-Group "P1='15VP';P2='';P3='AWADS1';MG='15VP'";

0
Comment
Question by:allan_jardine
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 250 total points
ID: 35189232
Escaping the quotes should work:

option HPDM-Group "P1=\"15VP\";P2=\"\'';P3=\"AWADS1\";MG=\"15VP\"";

wmp
0
 
LVL 5

Author Comment

by:allan_jardine
ID: 35191246
That looks like it will work, thanks. I will let you know how i get on
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question