11-29-2006
Solaris 10 question on ifconfig
On prior versions to solaris 10 when I want to add/change the IP address of an interface I will use this command.
ifconfig eri0 down
ifconfig eri0 192.xxx.xxx.xxx netmask 255.xxx.xxx.xxx up
then change /etc/hosts so that /etc/hostname.eri0 picks up on the correct IP.
I strange thing is on solaris 10 when I change the IP address inside /etc/hosts and reboot, when the system comes up it still reverts back to the old IP address.
Even after I unplumb and plumb several times and each time reboot, the IP address still reflects the old IP address.
is there something I didn't do?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I asked a similar question earlier and got a very good answer but a new doubt came up. This is a few lines of a '/sbin/ifconfig' command on my PC:
RX packets:3781025 errors:0 dropped:0 overruns:0 frame:0
TX packets:1941909 errors:0 dropped:0 overruns:0 carrier:0
Does the RX and TX packets... (1 Reply)
Discussion started by: mint1981
1 Replies
2. UNIX for Dummies Questions & Answers
SunOS Release 5.7.
Original ifconfig -a output:
pnt0: flags=863<UP, BROADCAST,NOTRAILERS........
inet 10.2.34.49 netmask fffffe00 broadcast 10.2.34.255 ...
Attempted to change ip address for pnt0. Typed the following command and forgot the "netmask"
"ifconfig pnt0 10.2.35.49... (1 Reply)
Discussion started by: forbin24
1 Replies
3. HP-UX
This will most likely be a real dumb question for a HP-UX admin, but here it goes anyhow.
lan0 - is up and configured
lan1 - is down, I want to bring it up.
lanconfig....ifconfig is there a difference?
My real question is, in solaris there is an /etc/hostname."?" file, is there a... (4 Replies)
Discussion started by: viRaven
4 Replies
4. UNIX for Dummies Questions & Answers
I am trying to change an IP address on a machine running HPUX10
After I change it I can ping it from the outside but it completely locks the console. After a reboot it returns back to its previous IP. Any ideas??
Thanks
Brian (7 Replies)
Discussion started by: breigner
7 Replies
5. OS X (Apple)
Hi,
I type (as root) "ifconfig en1 ether aa:aa: " but it doesnt change the mac of my airport. Can anyone help me?
Thx. (0 Replies)
Discussion started by: Jariya
0 Replies
6. Shell Programming and Scripting
why the ifconfig command is not working in my machine?
it says "-bash: ifconfig: command not found"
why its says that?
actually i m looking for "how can I know the Network Interface Card physical address?"
Requesting u all for help.
thanks (3 Replies)
Discussion started by: moco
3 Replies
7. Solaris
I want to configure my Network card. On solaris 9 i386.
How to know the good Network device. I use prtconf
to display the device list. I'm searching the device name.
Like ifconfig device_name plumb
thanks you (2 Replies)
Discussion started by: simquest
2 Replies
8. Shell Programming and Scripting
Hi there, I have a script which loops through the physical interfaces of a box and populates a variable called $NIC with the interface name
so if for example $NIC is equal to "e1000g0", I am trying to figure out some awk that will get the IP for that interface from ifconfig output
lo0:... (9 Replies)
Discussion started by: rethink
9 Replies
9. Solaris
hi frineds
in sunfire 6800 server for one domain when ever i am giving ifconfig -a interface names like hme0,hme1.......are not showing.Actually in the server hme0,hme1,qfe are showing .when i was tried with the cat /etc/path_to_intstshowing tphysical interfcace names .
after giving the... (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies
10. Solaris
Hello all.
I am new hear and would like to ask a question regarding to the Solaris Crash Analysis Tool.
We are analyzing the results of "thread summary" but not quite sure what the asterisk represents.
Following are the items that asterisk were attached.
50* threads sleeping on a semaphore (49... (1 Reply)
Discussion started by: YuW
1 Replies
face(1) User Commands face(1)
NAME
face - executable for the Framed Access Command Environment Interface
SYNOPSIS
face [-i init_file] [-c command_file] [-a alias_file] [filename...]
DESCRIPTION
The Framed Access Command Environment Interface (FACE) presents your files and file folders on the screen through a system of menus and
forms if you are properly set up as a FACE user.
filename must follow the naming convention Menu.xxx for a menu, Form.xxx for a form, and Text.xxx for a text file, where xxx is any string
that conforms to the UNIX system file naming conventions. The Form and Menu Language Interpreter (FMLI) descriptor lifetime will be
ignored for all frames opened by argument to face. These frames have a lifetime of immortal by default. If filename is not specified on the
command line, the FACE Menu will be opened along with those objects specified by the
LOGINWIN environment variables. These variables are found in the user's .environ file.
OPTIONS
The following options are supported:
-a alias_file Alias file
-c command_file Command file
-i init_file Initial file
OPERANDS
The following operand is supported:
filename The full pathname of the file describing the object to be opened initially.
EXIT STATUS
The face command will return a non-zero exit value if the user is not properly set up as a FACE user.
FILES
$HOME/pref/.environ
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWfac |
+-----------------------------+-----------------------------+
SEE ALSO
env(1), attributes(5)
SunOS 5.10 5 Jul 1990 face(1)