Sponsored Content
Full Discussion: Network Setup
Special Forums IP Networking Network Setup Post 20659 by thehoghunter on Wednesday 1st of May 2002 12:18:23 PM
Old 05-01-2002
You should be able to edit /etc/defaultrouter - it should have rw-r--r-- on it as permissions.

The following copied from SUNSolve Doc ID 21252 free info doc on changing IP dated 19 Dec 2000 -

Normally to change the hostname for a machine the sys-unconfig command is used.
sys-unconfig affects the six files detailed below.

Note #1: This procedure should not be used for NIS+ masters/replicas or NIS masters.
This is only for client machines.

Note #2: This only changes the information locally. If the system is running NIS/NIS+
and/or DNS, the changes need to be made in these databases as well.


To change the hostname without having running sys-unconfig, edit the following
files:

1) /etc/hosts (change file entry to the new hostname)

2) /etc/nodename (change file entry to the new hostname)

3) /etc/hostname.<interface> (where <interface> is the name of the primary
interface for this system, i.e hostname.hme0 or hostname.le0. Change file entry to the new hostname.)

4) /etc/net/ticlts/hosts (change both columns to the new hostname)

5) /etc/net/ticots/hosts (change both coluums to the new hostname)

6) /etc/net/ticotsord/hosts (change both columns to the new hostname)

To change the IP address for a machine without running sys-unconfig, edit the following files:

1) /etc/hosts (change the IP address)

2) /etc/netmasks (if subnetting is used)

3) /etc/defaultrouter (to specify the new gateway for this subnet)


As always, check the man pages as your system may (and seems to be) different from the norm.
thehoghunter
 

10 More Discussions You Might Find Interesting

1. Solaris

network setup

on sparc solairs 2.8 which files i need to configure for network setup: /etc/hosts /etc/defaultrouter /etc/netmasks /et/resolv.conf what els?. by the way, how do i configure for rsh?. like for doing "rsh remotehostname date"?. (2 Replies)
Discussion started by: S26+
2 Replies

2. IP Networking

network setup???

Hello everybody, I am a new unix user (Solaris 10). I was wondering if anybody can help me figure out how to connect to the network in my work place. I know my IP address, subnet mask, gateway, primary and secondary DNS addresses but I don't know how to enter these settings into my Solaris. ... (3 Replies)
Discussion started by: arash05
3 Replies

3. UNIX for Dummies Questions & Answers

solaris 10 wireless network setup

I installed solaris 10 x86 on my dell laptop on a partition alongside windows xp. I am able to connect to the internet in xp with both my ethernet local area connection as well as through my wireless network card. But, however i do not have clue as to how to go about it in solaris. i did not... (0 Replies)
Discussion started by: stakes20
0 Replies

4. Solaris

unable to setup network,urgent help needed!!

Hi all, I just bought a new system, but am unable to configure network on it.. am using a nge0 ethernet interface to login. i've tried all i knew but not of the webpages seem to open. Here is what i've done.. ifconfig nge0 plumb ifconfig -a (nge0) was being displayed as up and running. ... (23 Replies)
Discussion started by: wrapster
23 Replies

5. Solaris

setup network interface

hi, i have sunfire 280r sparc. i would like to know how to setup interface with command ndd line and put it in the file permanently. my card is eri0 and speed can be 100mb or 1000mb full duplex. thanks in advance. (3 Replies)
Discussion started by: lamoul
3 Replies

6. Linux

Proxy / Network Anonymizer setup?

I'm trying to set up a system where I have a front end machine that has a list of proxies it knows to connect through, and all the machines in the office route through this front end machine to go through the appropriate proxy IP. Could someone point me in the direction of some software... (0 Replies)
Discussion started by: kettlewell
0 Replies

7. Solaris

How can I setup a NFS server to share with a whole network?

I have a solaris 10 system that is setup as a NFS server. The NFS clients have DHCP running. How do I setup the server, so that it allows mounts for any machine on the network? (3 Replies)
Discussion started by: krishania
3 Replies

8. Linux

How to setup local IPv6 network

Hello everyone, I have question how i can setup local ipv6 network ? Here is my network: I have main ipv6 gw and server X for example that is connected with my main ipv6 gw and all ping6, traceroute6 is working. My local network is connected to one switch and main ipv4 gateway is that server X... (2 Replies)
Discussion started by: gild
2 Replies

9. IP Networking

RHEL 5.0 IP Network setup

Can someone here please help and walk me through what I need to do to setup my network so that I can start an oracle listener ? I am connected through a router (netgear) and everytime I start my machine the ip address changes because of DHCP (I think). There are so many parameters that I do... (5 Replies)
Discussion started by: jxh461
5 Replies

10. Red Hat

[SOLVED] Wireless Network Setup

Hi, I am trying to set up a wireless internet connection on my centos OS (6). I can connect via the copper using the internal LAN but cannot get the wireless connection working. The 2 files that I have configured are: My wpa_supplicant.conf: ctrl_interface=/var/run/wpa_supplicant... (1 Reply)
Discussion started by: Duffs22
1 Replies
netconfig(8)						      System Manager's Manual						      netconfig(8)

NAME
netconfig - Launches the SysMan Menu to the Network Setup Wizard SYNOPSIS
/usr/sbin/netconfig /usr/sbin/sysman net_wizard DESCRIPTION
The Network Setup Wizard of the SysMan Menu can be used to configure and modify the configuration of a TCP/IP network on a Tru64 UNIX sys- tem. Use the Network Setup Wizard, netconfig, to do the following: Configure network interfaces, such as Ethernet, FDDI and Token Ring and existing ATM interfaces Enable and disable the following daemons: gated, joind, routed, and rwhod Configure the system as an IP router Add, modify, and delete entries in the following files: /etc/routes, /etc/gateways, etc/hosts, /etc/hosts.equiv, and /etc/networks Online help is available for the Network Management dialog boxes. To get help, click on any Help button. RESTRICTIONS
You must be root or have the appropriate privileges to run this application. FILES
Specifies the environment variables that define the netconfig configuration on your system Specifies Internet routing information Specifies the host name file Specifies the trusted hosts file Specifies the network name file Specifies Internet static routing information SEE ALSO
Commands: ifconfig(8), netsetup(8), rc.config(8), rcinet(8), sysman_menu(8) Files: gateways(4), hosts(4), hosts.equiv(4), networks(4), routes(4) Networking: network_manual_setup(7) netconfig(8)
All times are GMT -4. The time now is 01:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy