04-02-2003
Another file ...
Note that is convenient to set the file:
/etc/nodename
and the files
/etc/hostname.hmeX
or
/etc/hostname.qfeX
or
/etc/hostname.geX
where X is the instance number.
You don't need to boot, to try the configuration. Modify
the mentionated files and then:
ifconfig hme0 plumb
ifconfig hme0 <your_ip> netmask <your_mask> (and other options)
ifconfig hme0 up
NOTE: If the plumb fail, probably you don't have the driver
for the interface. Also, when you add hardware to a system
you need a reconfigure reboot ( "reboot -- -r " or "touch /reconfigure" an then "reboot")
Regards. Hugo.
10 More Discussions You Might Find Interesting
1. HP-UX
Hi,
I have installed a HP-UX B.11.00 U 9000/800 Server in one of the domain. And I'm also able to telnet/ping into this server from systems in the same domain.
But I'm not able to telnet/ping into this server from a different domain.
So, what shoud need to do to achieve this... (6 Replies)
Discussion started by: S.Vishwanath
6 Replies
2. Solaris
hi again...
i configured my network settings sometiime ago using the sys-unconfig command.the active link was rtls0.
there was some problem with the network so i changed the ISP. now when im trying to reconfigure the system wit sys-unconfig, it tries to configure the network on rtls1 (and shows... (1 Reply)
Discussion started by: strider
1 Replies
3. Solaris
Can someone please point me in the correct direction of where I configure the network information on SunOS 5.8 server? (Searching SunSolve and Google have resulted in thousands of fixes for potential errors, but I can't find the general instructions, etc. for starting the process).
Thanks! (2 Replies)
Discussion started by: FredSmith
2 Replies
4. UNIX for Dummies Questions & Answers
I need to know what commands I will need to use to change a host name, IP Address, and network configurations (routerings, dns, etc) and a Unix SCO machine.
Also, if there is any short tutorials on using the commands, i would defiently like that information.
Thanks!!! (1 Reply)
Discussion started by: HandleX
1 Replies
5. SCO
I have a SCO 5.07 Server and I am trying to get it on my network. I have edited the /etc/hosts file and /etc/rc2.d/s99route . I has connectivity on the NIC card but not sure if I am forgetting another file. Thanks! (2 Replies)
Discussion started by: andrewd
2 Replies
6. UNIX for Dummies Questions & Answers
I am using solaris 10, my internet works alright but each time i reboot i keep loosing my connection. I will have to use the
ifconfig iprb0 192.168.1.xx netmask 255.255.255.0 up and
Route add default 192.168.1.xxx command to gain back my internet.
I know there is a better way of addressing... (1 Reply)
Discussion started by: seyiisq
1 Replies
7. Solaris
Hi
I have installed Solaris 5.10 on Intel x86 machine (standalone).
I want to access internet through solaris. How should I configure the network? Is static IP or DHCP advisable? (5 Replies)
Discussion started by: johnl
5 Replies
8. Solaris
Hi everybody,
I have a very strange problem ; if somebody could help me it would be very kind. I'll try to explain my problem.
I have 2 unix machines absolutely identical running solaris 9.
For network reasons I need to change the IP address of the 2 machines.
I proceed exactly the same on the... (11 Replies)
Discussion started by: aribault
11 Replies
9. Solaris
Dears,
i follow this to configure Network interface for my PC
O/S : Unix Sun Solaris
vi /etc/hostname.bge0
and write my ip
vi /etc/netmasks
and write my subnetmask
vi /etc/defautrouter
and write my gatwey
vi /etc/resolv.conf
and write my DNS
after i reboot My Computer ... (3 Replies)
Discussion started by: jenovaux
3 Replies
10. Solaris
Hi
How do I configure a network card in Solaris 10? using the command ifconfig, and also please advise me for persisting this ip address what are the files newly created and modify.
I am a new baby in solaris:) (4 Replies)
Discussion started by: vipinmurali
4 Replies
LEARN ABOUT LINUX
nodename
nodename(4) File Formats nodename(4)
NAME
nodename - local source for system name
SYNOPSIS
/etc/nodename
DESCRIPTION
When a machine is standalone or its IP address is configured locally, the /etc/nodename file contains the system name. By convention, the
system name is the same as the hostname associated with the IP address of the primary network interface, for example, hostname.hme0.
If the machine's network configuration is delivered by the RPC bootparams protocol, the /etc/nodename file is not used, as the system name
is delivered by the remote service.
Given a system name value, regardless of source, the uname utility invoked with the -S option is used to set the system name of the running
system.
If the machine's network configuration is delivered by the DHCP protocol, the /etc/nodename file is used only if the DHCP server does not
provide a value for the Hostname option (DHCP standard option code 12).
A system name configured in /etc/nodename should be unique within the system's name service domain in order to ensure that any network ser-
vices provided by the system will operate correctly.
Given a system name value, regardless of source, the uname utility invoked with the -S option is used to set the system name of the running
system.
EXAMPLES
Example 1: Syntax
The syntax for nodename consists of a single line containing the system's name. For example, for a system named myhost:
myhost
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
nis+(1), uname(1), named(1M), ypbind(1M), attributes(5)
NOTES
The nodename file is modified by Solaris installation and de-installation scripts.
SunOS 5.10 9 Feb 2004 nodename(4)