Software :: Defining New Dhcpd Options Failed?

Jun 30, 2011

i have to define new dhcpd options to provide data for a pxe winpe boot. So these options will be under a bootstrap session. This doesn't work.

option ff code 145 = text;
option ff "test";
option sitepxe code 138 = text;
option sitepxe "test";
option clienthostname code 139 = text;
option clientMAC code 140 = text;
option bcdmenu code 252 = text;

In a wireshark capture i can't see the new options in the DHCPACK packet. ISC-DHCP is always restarted when the conf file is updated.

View 5 Replies


ADVERTISEMENT

Fedora Servers :: DHCPD Failed To Start In F11

Jun 21, 2009

For some weird reason dhcpd fails to startup, but when I installed gadmin's dhcpd GUI configuration tool and click activate to start the DHCP server. It works, but for some reason I can't get it to start like a regular service. (Service dhcpd start) Fails without a error code or message.

View 14 Replies View Related

CentOS 5 :: Boot Errors - DHCPD Comes Failed

Aug 23, 2009

My box is centos 5.3 x86. At booting, ipsec_setup messages are coming as attached picture.
And dhcpd also comes "failed".

View 3 Replies View Related

Fedora Servers :: DHCPD Daemon Failed To Start

Mar 5, 2009

I just got the problem while starting the dhcp daemon. Its showing failed. I need to start it for my clients to be autoinstalled. I am having CentOS 5.2 linux. I've installed all optional packages also while installing CentOS. How to start the dhcp daemon? I've tried the /etc/init.d/dhcpd start also. But it didnt work. Showing Failed.

View 1 Replies View Related

General :: Dhcpd Can't Create Dhcpd.pid Ubuntu 11.04 (natty)

Jun 20, 2011

I've found a lot of pages of how to fix the issue on older releases of dhcpd and ubuntu.

#>dhcpd
#> ...
#> Can't create PID file /var/run/dhcpd.pid: Permission denied.

I have tried creating the file and giving it permissions to be accessed, but that isn't solving the issue. I tried to go through some of the older fixes, and one was really close to working but lacked the same folders as I have.

EDIT: one solution that worked was to use ln -s /var/run/dhcp3-server/dhcpd.pid /var/run/dhcpd.pid dhcpd3 -cf /etc/dhcp3/dhcpd.conf at0

View 1 Replies View Related

Red Hat / Fedora :: Dhcp Failed - Error "rpm Package Is Also Installed - Dhcpd.conf File Is Also In /etc Directory"

Feb 10, 2010

i have installed dhcp server on RHEL5.after instalation when i want to restart it.it shows failed message. rpm package is also installed.(dhcp-3.0.5-13.el5) dhcpd.conf file is also in /etc directory

View 1 Replies View Related

General :: New Install Of Debian Failed To Load Grub Troubleshoot Options

Mar 21, 2010

I tried to install debian on my system using a small image at first that would download all the necessary components during the install. It loaded everything except Grub, and wont boot. I need to rescue this as the downloading of all the components took ages and I don't want to do that again.

View 1 Replies View Related

Programming :: Defining Variable With Sed?

Jun 2, 2010

I need to replace JAVA_OPTS= with JAVA_OPTS=<some_value>.I need to give "" value at the end of the replacement. I have tried with the following but it is not working: sed -e "s|JAVA_OPTS= |JAVA_OPTS=<some_value>"

View 2 Replies View Related

Networking :: Defining Two Gateway With Different IPs

Aug 2, 2009

I have a server with 192.1.9.10 ip address and I want to define two gateways with ip: 192.1.9.4 and 192.1.9.254 on it but I don't know how I can do it. I don't have professional information in linux.

View 1 Replies View Related

Ubuntu :: Defining Variables With Printf?

Mar 24, 2010

I am trying to use bash 'printf' to format an environment variable.Doing this I get on the screen just the format I need (underscores mean blank spaces):prompt> printf "%10s" "1.23"________1.23Unfortunately, when this is assigned to a variable, the format disappears:prompt> X=`printf "%10s" "1.23"`prompt> echo $X1.23Does anyone know what can be done in this case to get a proper format?Why does not 'printf' respect the left blank spaces when assigning values to a variable?

View 3 Replies View Related

Programming :: C++: Defining A New Class - Periodic B.c?

Apr 9, 2010

I am trying to make a periodic boundary condition type function, using an existing class given to me in lecture notes, but am having some trouble! Effectively, I am trying to make an array such that, for a point in any row of a 2D matrix ("Matrix(i,j)"), the command "next_i[i]" will return "(i+1)%L", where L is the number of data points in the row. This will enable me to select a point to the right of any point in the matrix: "Matrix(next[i],j)"

[Code]....

View 1 Replies View Related

General :: Defining An SSH Source Port?

Feb 15, 2010

When one connects to an SSH server running on a non-standard port ( i.e. not port 22) it is straightforward to alter the command syntax so you can connect to this port. Is it possible to define the source port from the local machine ? For example, can you define the source port on your local machine to be 12345 as opposed to another port chosen by your system?

View 2 Replies View Related

Programming :: Defining Functions - What Is The Difference?

Aug 12, 2010

But what is the difference between this...

Code:
my_fucnction () {
echo "Hello World"
}
Code:
function my_fucnction {

[Code]...

View 10 Replies View Related

Ubuntu Installation :: Installer Options - Can't Select Any Of The Menu Options Except For Boot From First Hard Drive

Mar 19, 2010

So I have the burned ubuntu CD, and I'm attempting to install it on a system that has one HDD with XP/Vista on it, and another that is completely formatted and unpartitioned. However, when I boot to the ubuntu CD, I can use the menus from the bottom, and select the language when initially prompted, but I can't select any of the menu options except for boot from first hard drive.

View 1 Replies View Related

General :: Defining Private Samba Shares?

Oct 24, 2010

I'm trying to modify my Linux server's Samba config so that each user gets their own private folder, in a similar way to having a private 'home' folder. Is it possible to create a samba share that maps to different places, depending on username? E.g if 'bob' connects they see the contents of /documents/bob and if 'fred' connects they see the contents of /documents/fred, and so on?

(I know this is what the [homes] share does, but I want another specifically for each user's private documents that won't get mixed with all the Linux user cruft such as dotfiles and things)

View 1 Replies View Related

Ubuntu :: Defining Custom Commands In .bashrc?

Apr 26, 2011

I'd like to know if there is a way to define commands in the .bashrc or .bash_profile. For instance, I want to be able to type 'work' in a terminal and set up an interactive work environment on my universities cluster. (This is done with the command 'qsub -I -X'.) I tried the following in my .bashrc file:

alias work ='qsub -I -X'

But, of course this failed, as I don't have a command work already defined. How do I go about doing this? Also, I can't assign 'qsub' an alias, since it's used with different options quite extensively.

View 5 Replies View Related

Ubuntu :: Defining Keys Under Compiz With Unity?

Aug 4, 2011

I'll come out and say I actually quite like unity, but it still needs a whole load of development. So I'm just wondering if anyone else knows how or why you can't bind Compiz keyboard shortcuts wile running unity. I'm trying to bind a shortcut (any) to Initiate a Window Picker for Window Group. If Unity is moving toward the Mac way of treating groups of windows that belong to the same program as an application it needs to have more options to manage those windows, being able to at least expose those windows would be a start. However I cant seem to put a keyboard binding for this function. I've tried <super>+<shift>+W and on a hunch that it was unity's Super that was messing it up <control>+<alt>+ and <super>+ and <alt>+W and <alt>+<shift>+W.

View 1 Replies View Related

Software :: Defining Video* With 2 Webcams In Udev?

Apr 13, 2011

I have two identical webcams and I want to assign video0 and video1 to a particular one. I understand I can do this using udev but a bit stuck as being both the same they have the same attributes.

[Code]...

View 2 Replies View Related

Ubuntu :: Changing Keyboard Layout Or Defining New Hotkeys?

Dec 21, 2010

I use Persian language on my system and I really need two things:1. To define a custom layout for my keyboard. I am used to a layout that is not available in Ubuntu. Can I do that? (For example I need the system to enter a ****Ůž character instead of when I hit the backslash key)2. Defining a custom hotkey. I used a hotkey program in windows so I could enter no-space breaks with shift+space. Can I define that in Ubuntu

View 3 Replies View Related

Red Hat / Fedora :: Defining Quota For A User At Folder Level?

Jan 7, 2011

We are using Red Hat Enterprise AS 3.0. There are 100+ users connected to a single server. As the Inbox size of Mail Client (Thunderbird) for each user grows there are space constraint on the server. So I want to define a quota on mail folder for each user (say around 500 MB to 1 GB). How can I do this.

View 3 Replies View Related

General :: Defining A Root On A Just Installed Netbook Edition

Aug 16, 2010

I just installed an ubuntu netbook edition on my notebook. In the installation process I defined a user with a password. I can use that password to access many system tools, like the synaptic package manager, adding users and so on..

However, when I wanted to do some staff in a terminal as a superuser (using the su command), and I enter my password (There is only a single user and a single password so far) I get authentification failure.

I went to System-->Administration-->uers and groups . I changed the my account type to an "Administrator" (for that I used again my password). hoping that I can use the su command but still it did not work..

I feel that the superuser needs to be set or defined. Since I have not done that then whatever pass word I enter after the command su I will always get "authentification failure"

How can I define the superuser and tell the system that I am the superuser of this computer?

View 14 Replies View Related

Slackware :: Standard Location For Defining Environment Variables

Jan 4, 2011

I'm setting up Tomcat right now, and I've been directed to create a tomcat_home (catalina_home as of writing) environment variable.

Where is the default location for env variables in Slackware? My current inclination is to create a new script /etc/profile.d/tomcat.sh.

View 1 Replies View Related

OpenSUSE :: Defining Default Applications Via Command Line/terminal?

Apr 7, 2011

I recently upgraded from 11.3 to 11.4 succesfully. I had to reinstall several applications and, some of them, can't be configured as default from the control panel (e.g. Opera as default browser, VLC as default media player). The problem is that droplists at the prefered applications don't show any other than the default ones, Firefox and TotemIs there a way I can change these settings via command line or a way to fix what applications are shown at the control panel?

View 8 Replies View Related

Ubuntu Multimedia :: Defining Primary Display ( 3 Monitor Setup)?

Jul 6, 2011

I have a Radeon HD 5830, running 3 monitors on 10.10 64bit with the 10.6 video driver. The three monitors ( from left to right ) :

DFP1 : 1152x2048
DFP2 : 1920x1200
CRT1 : 1360x768

The problem I'm having is getting the middle monitor to be the primary one.

Running
xrandr --output DFP2 --primary

puts the panel on the middle screen but my docky and icons stay on the left screen. Flash videos also open up on the portrait left monitor which looks awful. Ideally I would like the icons on DFP1, docky on P2 and flash videos to open on P2. But I would definitely settle for everyone to be on the middle screen and drag it around as I please.

[Code]...

View 3 Replies View Related

Ubuntu :: Defining Root File To Install 10.04 On A Partitioned Disc?

Nov 19, 2010

I am trying to install Ubuntu 10.04 into an existing partition. The other partition contains some backups.

When I get to step 5, the system freezes on the message that no root file system is defined. Correct this from the partitioning menu.

I have tried the options, but except for allowing the installation to take over the whole disc, erasing my backups, there does not seem to be an alternative way forward.

The following partitions are shown:
sda1 (fat16) 33,7 MB
sda6 (fat16) 26,2 GB
sda5 (ntfs) 53,8 GB

My backups are on sda5 and I am trying to install Ubuntu on sda6.

View 1 Replies View Related

Server :: Defining Persistent Device Naming On A Debian Lenny?

Nov 25, 2010

I have a problem defining persistent device naming on a Debian Lenny server.I have:RAID1 controller on the server machine with two SCSI disks.external storage with RAID5. I have / mount on the first partition on the server SCSI disk and /storage mount on the external storage. I'm experiencing a problem: The system recognizes the system disk (RAID 1), as sda or sdb randomly.I want: To control the recognition, and tell the system that sda (sda1) will always be the system disk.The motivation: GRUB is configured to work with sda, and when the system disk doesn't, boot process fails, and I end up in the initramfs shell-like interface.

Code:

Booting the kernel
.
.
.
mount:mounting /dev on /root/dev failed: No such file or directory
mount:mounting /sys on /root/sys failed: No such file or directory

[code]....

View 7 Replies View Related

Programming :: C-shell Scripting Syntax Error When Defining Two Variables A1 And A2

Apr 5, 2011

I am trying to modify a script for research purposes and am having difficulty here as I have little prior experience with C-shell scripting.

The script looks as follows (it includes tcl commands like runFEP that you can ignore)

#!/bin/bash

for ((old=1, new=2; old<=4; old++,new++))
a1=${old}%50
a2=${new}%50
do
cat > input${new}.conf <<EOF
${a1}
code....

My question: I keep getting a syntax error when defining my two variables a1 and a2. I essentially need these variables to be
a1 = value of variable old divided by 50
a2 = value of variable new divided by 50

View 1 Replies View Related

Fedora :: Can't Install Dhcpd On F12 / 13 - Fix It?

Sep 25, 2010

I am trying to install dhcpd on my Fedora 13 VM. I'm using VirtualBox and I installed using the i686 image. I did yum update and everything was fine. When I do yum install dhcpd , I get the following error.

Quote:

Loaded plugins: presto, refresh-packagekit
Setting up Install Process
No package dhcpd available.
Nothing to do

View 5 Replies View Related

Fedora :: How To Add Dhcpd Client

Jun 24, 2010

how to add dhcpd client in fedora

View 5 Replies View Related

Fedora :: F12 - DHCPD Will Not Auto Start?

Feb 16, 2010

On my local network, I use my Linux machine running dhcpd and IP masquerade as a gateway to the internet. As it is, the setup works just fine, and I've enabled dhcpd in all runlevels in the services dialog, but for some reason, it still does not automatically start when I boot the machine. If I select it and click "Start", it operates normally, and if I run "services dhcpd start" from a command line, that works too. My only guess is that it's some problem with my config file... it's the same setup I used with previous versions of Fedora without issues, but maybe things have changed?

The contents of /etc/dhcp/dhcpd.conf:
Code:
ddns-update-style interim;
ignore client-updates;
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.8;
option subnet-mask 255.255.255.0;
option domain-name-servers 64.59.176.13, 64.59.176.15, 64.59.177.226;
option ip-forwarding off;
range dynamic-bootp 192.168.1.100 192.168.1.200;
default-lease-time 21600;
max-lease-time 43200; }

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved