rjud
asked on
Setting current IP address in configuration file
Hi
As a relative newbie to Linux I need some advice.
My computer gets a dynamically IP address when starting up (from my provider, using DHCP). Now I need to specify this IP address in a configuration file used by one of my server daemons.
The line in question in my config file reads:
client_ip = "123.123.123.123"
Is there an easy way to change this line so it contains my dynamically assigned IP? Specifying a DNS name is not possible, I really need to use the numerical IP.
Can anybody help me?
Thank You!
rjud
As a relative newbie to Linux I need some advice.
My computer gets a dynamically IP address when starting up (from my provider, using DHCP). Now I need to specify this IP address in a configuration file used by one of my server daemons.
The line in question in my config file reads:
client_ip = "123.123.123.123"
Is there an easy way to change this line so it contains my dynamically assigned IP? Specifying a DNS name is not possible, I really need to use the numerical IP.
Can anybody help me?
Thank You!
rjud
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks a lot!
rjud