Problems with pcn0


 
Thread Tools Search this Thread
Operating Systems Solaris Problems with pcn0
# 1  
Old 05-29-2007
Problems with pcn0

Hi,
I have Solaris 10 installed in vmware, after configuring the interface pcn0 and respective files everything works perfectly, after reboot it does not keep the information, coming back it it is with the IP 127.0.0.0. Need help please.

P.S: Sorry my english. Smilie
# 2  
Old 05-29-2007
Please post the output of the following:

Code:
cat /etc/hosts
cat /etc/hostname.pcn0
cat /etc/netmasks
cat /etc/inet/ipnodes
cat /etc/nodename
ifconfig -a

Cheers
ZB
# 3  
Old 05-29-2007
Quote:
Originally Posted by zazzybob
Please post the output of the following:

Code:
cat /etc/hosts
cat /etc/hostname.pcn0
cat /etc/netmasks
cat /etc/inet/ipnodes
cat /etc/nodename
ifconfig -a

Cheers
ZB

/etc/hosts
#more hosts
#
# Internet host table
#
127.0.0.1 localhost
192.168.30.71 sol-s01 loghost
192.168.30.70 sys70 loghost


/etc/hostname.pcn0
#more hostname.pcn0
Sol-S01

/etc/netmasks
#more netmasks
192.168.30.0 255.255.255.0
#

/etc/inet/ipnodes
#more ipnodes
::1 localhost loghost Sol-S01
127.0.0.1 localhost loghost Sol-S01
192.168.30.71 loghost Sol-S01
#

/etc/nodename
#more nodename
Sol-S01
#


ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.01 netmask ff000000
pcn0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.30.71 netmask ffffff00 broadcast 192.168.30.255
ether 0:c:29:db:d8:a8

everything works well, the machine answers to ping but when I make reboot to the SO the configurations of pcn0 are :

pcn0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 127.0.0.1 netmask ff000000 broadcast 127.255.255.255
ether 0:c:29:db:d8:a8


the remaining files continue configured as before. Smilie

Please a need help
# 4  
Old 05-29-2007
Correct the capitilisation of Sol-S01 in /etc/hosts

Remove "Sol-S01" from both localhost (ipv4 and ipv6) lines in /etc/inet/ipnodes.

Reboot.

Cheers
ZB
# 5  
Old 05-29-2007
192.168.30.71 sol-s01 loghost --->192.168.30.71 Sol-S01

please pay attention to diffrence upper and lowercase.
# 6  
Old 05-30-2007
Thx everyone for help, already it works without problems. Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

About ps -ef and if-else problems

I'm new in Shell Programming and Scripting, I would like to ask some questions. ps -ef | grep $appNAme | grep -v grep <-- what will it return when it find a process is running? return 1 or 0 if then exit 1 <--- if = 0 , run this ? else continue <--- if = 1 , run this ?... (5 Replies)
Discussion started by: LoAlex
5 Replies

2. UNIX for Dummies Questions & Answers

Problems with IF Else ??!!

I have written the following code in cygwin to create directories in windows based on the parameter passed. echo $1 > fullpath path1=`awk -F / '{print $1}' $fullpath path2=`awk -F / '{print $2}' $fullpath if then if then if then continue ... (4 Replies)
Discussion started by: janardhanamk
4 Replies

3. UNIX for Dummies Questions & Answers

Problems with using less

Hello, I am having problems with using less on Linux version 2.6.18-92.1.17.el5 (brewbuilder@hs20-bc1-7.build.redhat.com) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)). I am using csh but have the same problems on bash. If I pipe something to less it works perfectly i.e. cat file | less... (9 Replies)
Discussion started by: z1dane
9 Replies

4. Solaris

pcn0 intermittent network connectivity issue

I have a solaris 10 x86 installed on a VMware server. It has been runing well for a couple weeks, but started to have network connectivity issue since last week. The network card seems to be up and down every one minute. So I got connection closed after I sshed to it for about one minute. #... (2 Replies)
Discussion started by: fredao
2 Replies

5. UNIX for Dummies Questions & Answers

problems with If

I'm having problems uses "if" it works fine when i do this. #!/bin/sh a= 10 qw= 2 w= 20 { if && ;then echo 3 fi } However if i try to do #!/bin/sh a= 10 (5 Replies)
Discussion started by: THM
5 Replies

6. UNIX for Advanced & Expert Users

Problems with Last

Hi, I,ve a Unixware 7.1.3 working correctly for two years ago, since a several weeks I've a problem with the command last . The information that this command return is : For example : 1.- The user root , time login : 12:15 h, time logoff 12:15 h (the real time is 14:00). Connected time is... (3 Replies)
Discussion started by: By_Jam
3 Replies

7. UNIX for Dummies Questions & Answers

Few problems

Hi how can i do this? 1) shell script which writes data and time on to a file if filesystem exceeds 70% of space. 2) make entry to cron table to run a script every 15 mins. and can anyone expplain or demonstrate the difference between variables used in inside a function and outside a... (3 Replies)
Discussion started by: vivekshankar
3 Replies

8. UNIX for Dummies Questions & Answers

Problems with ld.so.1

I renamed ld.so.1 on a Sun machine running Solaris 2.6. Now I cannot boot the system and I can use only very few commands in Maintenance Mode. Can someone help me? (3 Replies)
Discussion started by: ciccio
3 Replies

9. UNIX for Advanced & Expert Users

'make' problems (compliation problems?)

I'm trying to compile and install both most recent version of 'make' and the most recent version of 'openssh' on my Sparc20. I've run into the following problems... and I don't know what they mean. Can someone please help me resolve these issues? I'm using the 'make' version that was... (5 Replies)
Discussion started by: xyyz
5 Replies
Login or Register to Ask a Question