Hi, ( running solaris 8 )
I know how to change the hostname temparily, by login in as root
typing
hostname = xxxxx
but, this obviously goes when the system is rebooted. I'm not sure what files need changing to make this a permant change.
Could anyone help me please? (9 Replies)
Hello..
I wanted to know how to change IP and Hostname on HPUX system, and I don't want to make it as NIS master either.
Could someone tell me the files I need to modify and make sure it's on network?
Thanks! :o (3 Replies)
Hi, I asked this question whenI was running solaris 8
and got some very good answers. I've just uograded to Solaris 10 and there seems to quite a few changes so I need to know again.
https://www.unix.com/showthread.php?t=8547
------------
Hi (now solaris 10)
I know how to change the... (2 Replies)
Hello,
I am new to Solaris.
I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Hello,
I would like to change the hostname on a Linux server (RHEL4).
I try different methods in vain :
- by using hostname command
- by changing /etc/hosts and /etc/hostname
But after restarting server, the old hostname re-appears... :confused:
And the file ./proc/sys/kernel/hostname... (3 Replies)
Hi!
i want to replace ; by ok in a file as below
test1(filename) containt:-
Hi i am kaushlesh; i am new to Unix.
i want permanent change in the file like below:-
Hi i am kaushlesh ok i am new to unix
How i will complite this..? (2 Replies)
Hi,
I made following configuration to create user directory:
# authconfig --enablemkhomedir --update
But the directory is created as permission 755, I'd like to modify the script to change directory access permission to 700, where is the script which copies /etc/skel to /home... (0 Replies)
Hi,
I am writing a shell script where I want that # should be added in all those lines as the first character where the pattern matches.
file has lot of functions defined
a.sh
#!/bin/bash
fn a {
beautiful evening
sunny day
}
fn b {
}
fn c {
hello world .its a beautiful day
... (12 Replies)
Discussion started by: ashima jain
12 Replies
LEARN ABOUT SUSE
udhcpd.conf
UDHCPD.CONF(5) GNU/Linux Administrator's Manual UDHCPD.CONF(5)NAME
udhcpd.conf - udhcp server configuration file
DESCRIPTION
The file /etc/udhcpd.conf contains configuration information specific to the udhcp server. It should contain one configuration keyword per
line, followed by appropriate configuration information.
OPTIONS
start ADDRESS
The starting address of the IP lease block is ADDRESS. The default is 192.168.0.20.
end ADDRESS
The ending address of the IP lease block is ADDRESS. The default is 192.168.0.254.
interface INTERFACE
The udhcp server should listen on INTERFACE. The default is eth0.
max_leases LEASES
Offer at most LEASES leases (including those reserved by OFFERs, DECLINEs, and ARP conflicts). The default is 254.
remaining REMAINING
If REMAINING is yes, store the time remaining for each lease. If it is no, store the expiration time for each lease. The default
is yes.
auto_time SECONDS
Write the lease information to a file every SECONDS seconds. The default is 7200.
decline_time SECONDS
Reserve an IP for SECONDS seconds if a DHCP decline message is received. The default is 3600.
conflict_time SECONDS
Reserve an IP for SECONDS seconds if an ARP conflict occurs. The default is 3600.
offer_time SECONDS
Reserve an IP for SECONDS seconds if it is offered. The default is 60.
min_lease SECONDS
Reserve an IP for the full lease time if the lease to be given is less than SECONDS seconds. The default is 60.
lease_file FILE
Write the lease information to FILE. The default is /var/lib/misc/udhcpd.leases.
pidfile FILE
Write the process ID to FILE. The default is /var/run/udhcpd.pid.
notify_file FILE
Execute FILE after the lease information is written. By default, no file is executed.
siaddr ADDRESS
BOOTP specific option. The default is 0.0.0.0.
sname NAME
BOOTP specific option. There is no default.
boot_file FILE
BOOTP specific option. There is no default.
option OPTION
DHCP specific option.
subnet ADDRESS
timezone OFFSET
router ADDRESS...
timesvr ADDRESS...
namesvr ADDRESS...
dns ADDRESS...
logsvr ADDRESS...
cookiesvr ADDRESS...
lprsvr ADDRESS...
hostname HOSTNAME
bootsize SIZE
domain DOMAIN
swapsvr ADDRESS
rootpath PATH
ipttl TTL
mtu MTU
broadcast ADDRESS
ntpsrv ADDRESS...
wins ADDRESS...
requestip ADDRESS
lease SECONDS
dhcptype TYPE
serverid ADDRESS
tftp FILE
bootfile FILE
The default for lease is 864000. There are no defaults for the other options.
SEE ALSO udhcpd(8).
GNU /Linux 2001-09-26 UDHCPD.CONF(5)