Sun Fire X2100 can't see one ethernet card

Posted on 2006-07-08
Last Modified: 2013-12-27
Hi Solaris gurus. We have Sun Fire X2100 server which has two ethernet ports physically present but I can see only one port in ifconfig -a. Kindly can you guyz help.

# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index
        inet netmask ff000000
nge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet netmask ffff8000 broadcast
        ether 0:e0:81:5a:42:88
Question by:dayakadam
  • 6
  • 4

Expert Comment

ID: 17068845
Hi, can you tell me if you have two /etc/hostname.nge# files? or just one (assumed hostname.nge0) ? you need to have both files created in order to see the interface id '1' every time you boot up. or try pluggin' it:

root@box# ifconfig nge1 plumb
(if at this point you don't have any error, continue..)
root@box# ifconfig nge1 inet netmask netmask + up
At this point it should be working if a utp cable was already plugged to the network port.
BUT this will be lost if you reboot, avoid it to happen creating the /etc/hostname.nge1 file
for this:
root@box# cd /etc
root@box# cp -p hostname.nge0 hostname.nge1
root@box# vi hostname.nge1   <--- Here you will edit the IP or hostname for this network port
root@box# edit hosts       <---- Here you have to add another entry for the new IP hostname pair.
hope this helps...

Author Comment

ID: 17069866
I tried plumb and creating those files but it didn't work. Same problem persists. I can't see device file for second ethernet in /dev.

Expert Comment

ID: 17069910
Ok, if you can have a time offline, go down OBP :
ok> setenv auto-boot? false
ok> reset-all
( wait until it's again at the 'ok' prompt)
ok> watch-net-all
and see how many instances of ethernet ports it reports! if it does NOT report both as expected then the hardware is NOT ok,  use the warranty service from sun so they replace the mother board of your server. (if your hardware is still covered by )...
If no problems occurr at the OBP then something at OS leves is happening, try a reconfig boot:
ok> boot -r

and try to do it from serial console and with a tip connection or an hyperterminal so you can collect all the messages about harware POST results and so on ...
now, one question to you..

when you do the "plumb" stuff did you get an error message? checking again with ifconfig -a to see if something changed?
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.


Author Comment

ID: 17072753
This is intel based system it doesn't have OK prompt. I got following error after plumb.
bash-3.00# ifconfig bge0 plumb
ifconfig: plumb: bge0: no such interface

Expert Comment

ID: 17077586
Hi, yes it is AMD based server rigth, my mistake, but hey! why are you doing a bge0 plumbing? it should be nge driver but second instance (nge1) rigth?

or did I miss something?


Expert Comment

ID: 17077711
all rite, I checked at sunsolve and it is bge the driver used in this server, now lets see, if you plug a cable into the port does  it lit?
have you looked for the latest bios for that server ?
what version and release of Solaris are you running?
or at least a showrev -p | grep 116666     (116666 is the patch for bge on Solaris x86) the latest is 116666-05...

Author Comment

ID: 17077983
Hey Advega.. The current version is 5.10. Also I did showrev -p|grep 116666 it doesn't return anything.
bash-3.00# uname -X
System = SunOS
Node = newhost
Release = 5.10
KernelID = Generic
Machine = i86pc
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1

bash-3.00# showrev -p|grep 116666


Expert Comment

ID: 17078439
all rite! then it's Sol 10, ok, then lets see what level of bge driver do you have...
please, issue:
# showrev -p | grep 122028
# file /etc/hostname.bge*
# grep bge /etc/path_to_inst


Author Comment

ID: 17078451
This is the output of all commands
bash-3.00# showrev -p|grep 122028
bash-3.00#  file /etc/hostname.bge*
/etc/hostname.bge*:     cannot open: No such file or directory
bash-3.00# grep bge /etc/path_to_inst

Accepted Solution

advega earned 50 total points
ID: 17078475
the last line (grep is to see how many instances of the bge driver are loaded on Solaris at boot time it should read something like
root@ftpserver etc #> grep hme path_to_inst
"/sbus@3,0/SUNW,hme@3,8c00000" 0 "hme"
"/sbus@7,0/SUNW,hme@3,8c00000" 1 "hme"

In this example, notice of the different phisical paths to each hme instance 0 and 1.

If the BIOS is reporting all the hardware to the OS, then you should see something like that in your /etc/path_to_inst file, of course that with bge driver instead of hme.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question