[Sunhelp] Network Problem

morgan .g morgang at hotmail.com
Thu Aug 26 21:01:33 CDT 1999


Hi,

1. To find out if your NIC is recognized by your system do this:

# prtconf | grep hme (assuming that NIC is hme, can be qfe if you are using 
quad card)

if the drivers appear then the NIC is alright.

if not, check for driver packages installed

# pkginfo -l | grep -i hme

and

# modinfo | grep hme

2. Normally there is a file in /etc that will automatially plumb the NIC 
whenever you reboot the system, you ust have this entry:

# cd /etc
# vi hostname.hme0 (create this file if it's not there)

and add your hostname in this file:

As mentioned by someone else before, you can do all this without rebooting:

1. ifconfig -a (check the entries)
2. ifconfig hme0 plumb up
3. ifconfig hme0 inet [ip address] netmask +
4. update your /etc/hosts file

To add default router manually:

1. route add default [default gateway ip address] 1
(the '1' signifies, one hop).
2. To create permanent entries for route:
# vi /etc/defaultrouter
enter your gateway ip here, so after reboot it still works!

cheers...

Morgan.G
Sun Systems Engineer
Amdahl International Corp.




______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com






More information about the SunHELP mailing list