09-22-2013
Assuming the interface whose address you want to change is eth0, you would edit ifcfg-eth0 in the directory verdepollo wrote.
Add or edit the IPADDR value with the address you want.
If BOOTPROTO is set to "dhcp", you might want to change it to "static".
You'll need to restart the interface (ifdown / ifup or service network restart).
And please spare us all the smilies and .....'s in your posts. This isn't kindergarden.
10 More Discussions You Might Find Interesting
1. IP Networking
Dear All ,
I have Sun Solaris 8 machine . during installation i gave the machine ip address 192.168.0.50 and gatway 192.168.0.1 .
now i hvae to change the IP address and the gateway ! how ??
i know i have to use ifconfig , but how can i change it and the gateway ???
also where from i... (4 Replies)
Discussion started by: tamemi
4 Replies
2. Red Hat
I have edited the snmpd.conf file on RHEL3, I changed:
com2sec notConfigUser default public
to :
com2sec notConfigUser default new_string_name
BUT, when my security guy scans the box, is still answers to public, I restarted snmpd.
Is there more to this than just changing... (0 Replies)
Discussion started by: BG_JrAdmin
0 Replies
3. IP Networking
Can anyone tell me how to change the IP address on a unix server, as I have no idea whatsoever.
Thanks (2 Replies)
Discussion started by: itservices
2 Replies
4. IP Networking
I have purchased a Dec unix Ver 3.2c machine that is about ten years old. I need to get this machine on our network (windows 2003 domain) so I can copy files to it. I know I need to change the IP address, but where and how do I change it? What else do I chang?
Thanks Randy (8 Replies)
Discussion started by: randy1
8 Replies
5. Shell Programming and Scripting
Hi,
i am sending mails regulary for updation of data.
The from addresses dispaly like
POP.RECH@skk182.com
i want display like
oracle@skk182.com
can u help me on this. (1 Reply)
Discussion started by: koti_rama
1 Replies
6. Programming
Hello, I need to write a program using C language which allow me to change the IP and MAC addresses of a given interface... Now I fork the process and by exec I'm using the "ifconfig interf X.X.X.X" command... but i can't use this solution because i have to avoid the context switch... Can someone... (4 Replies)
Discussion started by: gilby985
4 Replies
7. Red Hat
I had the query of what would be the right approach to change the time on the RHEL server. I have the following ways to do that:
1)
# date -s "2 OCT 2006 18:00:00"
Or
# date --set="2 OCT 2006 18:00:00"
2)
# date +%Y%m%d -s "20081128"
The second option though would only change... (4 Replies)
Discussion started by: RHCE
4 Replies
8. UNIX for Dummies Questions & Answers
Can I change the filesystem in redhat w/o reformating it? For example
/dev/sda2 145G 188M 137G 1% /uo1
/dev/sdb1 289G 191M 274G 1% /uo2
/dev/sdb2 289G 191M 274G 1% /uo3
uo1, uo2, uo3 shuld be u01, u02, u03.
No one is using the server yet.
thanks (1 Reply)
Discussion started by: lhareigh890
1 Replies
9. UNIX for Dummies Questions & Answers
I am installing a statistical applicaton and for its web components it is a listed requirement that I have soft limits of files (20480) and no of processes (soft t o 10240). I am on RHEL 6.1.
As root I made the following changes in /etc/security/limits.conf
* soft nproc 10240
* hard nproc... (4 Replies)
Discussion started by: rsheikh01
4 Replies
10. IP Networking
ubuntu / xubuntu 13.10 and 14.04 (this issue should exist in debian as well)
I use wifi to connect to internet. I would like to change the wifi card mac address before connecting. Let's call the original mac address, macA, and the new mac address, macB.
I do the following:
ifconfig wlan0... (2 Replies)
Discussion started by: arpagon
2 Replies
LEARN ABOUT DEBIAN
varnishadm
VARNISHADM(1) VARNISHADM(1)
NAME
varnishadm - Control a running varnish instance
SYNOPSIS
varnishadm [-t timeout] [-S secret_file] [-T address:port] [-n name] [command [...]]
DESCRIPTION
The varnishadm utility establishes a CLI connection to varnishd either using -n name or using the -T and -S arguments. If -n name is given
the location of the secret file and the address:port is looked up in shared memory. If neither is given varnishadm will look for an
instance without a given name.
If a command is given, the command and arguments are sent over the CLI connection and the result returned on stdout.
If no command argument is given varnishadm will pass commands and replies between the CLI socket and stdin/stdout.
OPTIONS
-t timeout
Wait no longer than this many seconds for an operation to finish.
-S secret_file
Specify the authentication secret file. This should be the same -S argument as was given to varnishd. Only processes which can read
the contents of this file, will be able to authenticate the CLI connection.
-T address:port
Connect to the management interface at the specified address and port.
-n name
Connect to the instance of varnishd with this name.
The syntax and operation of the actual CLI interface is described in the varnish-cli(7) manual page. Parameteres are described in var-
nishd(1) manual page.
Additionally, a summary of commands can be obtained by issuing the help command, and a summary of parameters can be obtained by issuing the
param.show command.
EXIT STATUS
If a command is given, the exit status of the varnishadm utility is zero if the command succeeded, and non-zero otherwise.
EXAMPLES
Some ways you can use varnishadm::
varnishadm -T localhost:999 -S /var/db/secret vcl.use foo
echo vcl.use foo | varnishadm -T localhost:999 -S /var/db/secret
echo vcl.use foo | ssh vhost varnishadm -T localhost:999 -S /var/db/secret
SEE ALSO
o varnishd(1)
HISTORY
The varnishadm utility and this manual page were written by Cecilie Fritzvold. Converted to reStructured and updated in 2010 by Per Buer.
COPYRIGHT
This document is licensed under the same licence as Varnish itself. See LICENCE for details.
o Copyright (c) 2007-2011 Varnish Software AS
AUTHOR
Cecilie Fritzvold, Per Buer
0.3 2010-05-31 VARNISHADM(1)