configuring network


 
Thread Tools Search this Thread
Operating Systems Solaris configuring network
# 1  
Old 10-15-2008
configuring network

Hello,

I was trying to assign IP or Hostname to the system, but when I open any of the files:
/etc/hosts
/etc/inet/ipnodes
the files open in read-only mode. Thus, I can't edit it. I am doing this under root. What is the problem and how to get rid? Any suggestion?
# 2  
Old 10-15-2008
You can either switch the files to read-write via chmod (remember to set them back to read-only when you are finished) or edit them in vi and save with the :w! command (the '!' character forces it to override the read-only mode).
# 3  
Old 10-16-2008
ls -l /etc/hosts , eg will show you its permission.
you'll have to change it. could be that the system was hardened.
# 4  
Old 10-16-2008
Thanks for help,
But how to start service to activate the change?
# 5  
Old 10-16-2008
is it solaris 10? if so:

# svcadm restart network/physical
# 6  
Old 10-16-2008
Thanks for reply, but it didn't work. When I run the command " hostname "
the output still comes as before " unknown ".
I tried many ways to assign hostname but failed. Even I am not able to assign IP address , I am trying to edit /etc/hosts or /etc/hostname.pcn0 to set, but unable.
Can anyone help?
# 7  
Old 10-16-2008
Yeah, It is Solaris 10
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Configuring central logging server for network devices

Hi I am very well aware of configuring central logging (syslog)server on solaris to capture logs of other solaris servers. But don't know how to capture the logs of network devices like Juniper , cisco etc on solaris server. Is this possible through syslog server of solaris. Is there any way we... (1 Reply)
Discussion started by: amity
1 Replies

2. SuSE

Facing issue configuring network

Please let me know how to configure network in suse Linux, I have configured the network using ifup and network manager, it is not giving any error but not working, using suse Linux 11.0 sp3 I have checked network connectivity is working. (0 Replies)
Discussion started by: manoj.solaris
0 Replies

3. Red Hat

Network becomes slow and return fast only after restart network

Hi, I have 2 machines in production environment: 1. redhat machine for application 2. DB machine (oracle) The application doing a lot of small read&writes from and to the DB machine. The problem is that after some few hours the network from the application to the DB becomes very slow and... (4 Replies)
Discussion started by: moshesa
4 Replies

4. Solaris

Configuring network interfaces in Solaris11

Hi all, Just istalled Solaris 11. Want to configure network interfaces and got some problems: #dladm show-phys # #dladm show-link # If i run ifconfig -a, i am getting 2 lo0 (loopback) interfaces and thats all. I can't enable interface, can't list it, can't assign IP to it. Can... (2 Replies)
Discussion started by: nypreH
2 Replies

5. UNIX for Dummies Questions & Answers

Configuring a Network Card in SLED 11

I want to connect to the internet via Wi-Fi, but I need to configure my pci adapter card for it to work. The adapter I am using is a Linksys Wireless-G pci adapter wmp54gs.:confused: (5 Replies)
Discussion started by: ryan352333
5 Replies

6. Ubuntu

Please help me in configuring network in Ubuntu

Hi Friends, I have installed Ubuntu in win xp system with the help of Vmware workstation.Can anyone tell me how to configure network in Ubuntu.I mean how to connect it to Internet. Thanks in advance, Eajaz. (2 Replies)
Discussion started by: ajazshariff
2 Replies

7. AIX

Configuring Network Printer in IBM AIX

Hi, We have two IBM pSeires servers running IBM AIX. I want to configure the IBM servers to print on the network printer. Here is the following configuration IBM Server-I IP Add: 192.168.0.5 IBM Server-II IP Add: 192.168.0.6 Network Printer IP Add: 192.168.0.15 I'm new to IBM AIX OS.... (0 Replies)
Discussion started by: berhanemt
0 Replies

8. UNIX for Dummies Questions & Answers

configuring network infomation

Hello all, I am trying to hit the internet from my unix box (sun 250e), but cannot reach any external IP addresses. I've updated the hosts and resolv.conf files with what i assume is the right information, but nothing happens (after reboot). In the hosts file, i've entered the Router, PDC,... (4 Replies)
Discussion started by: colesy
4 Replies

9. IP Networking

configuring the new desktop in the network.

I have a new desktop in my company and I want to configure that box in our network.we using unix sytem.I don,t have enough knowledge about the unix,so please can you suggest me how to configure the desktop.This is urgent if you can help me quickly. (1 Reply)
Discussion started by: bbutani
1 Replies
Login or Register to Ask a Question