Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Hep !-- Ultra 30 NIC can not get the IP address under solaris 8

1 view
Skip to first unread message

tom ye

unread,
Aug 2, 2002, 11:42:59 PM8/2/02
to
I just bought a Ultra 20 from ebay. I have problem to assign the motherboard
embbed NIC an IP address. Here is output of ifconfig -a for this NIC:

lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
hme0: flag=xxxxxx<BROADCAST, RUNNING, MULTICAST, IPv4> mtu 1500 index 2
inet 0.0.0.0 netmask 0
ether 8:0:18:6f:3e:77

I have already done everthing according sun's document bellow..what else
should i config ? thanks for help !

------------------------from sun----------------------
How to Configure a Host for Local Files Mode

Use this procedure for configuring TCP/IP on a machine that runs in local
files

mode.

1. Become superuser and change to the /etc directory.

2. Type the host name of the machine in the file /etc/nodename.

For example, if the name of the host is tenere, type tenere in the file.

3. Create a file named /etc/hostname.interface for each network interface.

(The Solaris installation program automatically creates this file for the
primary

network interface.) Refer to "/etc/hostname.interface File" on page 126 for

details. If you are using IPv6, see "IPv6 Network Interface Configuration
File" on

page 332.

4. Type either the interface IP address or the interface name in each

/etc/hostname.interface file.

100 System Administration Guide, Volume 3 ¨ February 2000

For example, create a file named hostname.ie1, and type either the IP
address

of the host's interface or the host's name.

5. Edit the /etc/inet/hosts file to add:

a. IP addresses that you have assigned to any additional network interfaces
in

the local machine, along with the corresponding host name for each

interface.

The Solaris installation program has already created entries for the primary

network interface and loopback address.

b. IP address or addresses of the file server, if the /usr file system is
NFS

mounted.

Note - The Solaris installation program creates the default

/etc/inet/hosts for the local machine. If the file does not exist, create it
as

shown in "hosts Database" on page 128. Also, if you are using IPv6, see

"/etc/inet/ipnodes File" on page 345.

6. Type the host's fully qualified domain name in the /etc/defaultdomain
file.

For example, suppose host tenere was part of the domain

deserts.worldwide.com. Therefore, you would type:

deserts.worldwide.com in /etc/defaultdomain. See

"/etc/defaultdomain File" on page 127 for more information.

7. Type the router's name in /etc/defaultrouter.

See "/etc/defaultrouter File" on page 127 for information about this file.

8. Type the name of the default router and its IP addresses in
/etc/inet/hosts.

Additional routing options are available. Refer to the discussion on routing

options in "How to Configure Hosts for Network Client Mode" on page 103. You

can apply these options to a local files mode configuration.

9. If your network is subnetted, type the network number and the netmask in
the

file /etc/inet/netmasks.

If you have set up a NIS or NIS+ server, you can type netmask information in

the appropriate database on the server as long as server and clients are on
the

same network.

10. Reboot each machine on the network.


Brian

unread,
Aug 3, 2002, 8:03:42 AM8/3/02
to

"tom ye" <to...@bigfoot.com> wrote in message
news:KiI29.9832$tY5.2...@news20.bellglobal.com...

> I just bought a Ultra 20 from ebay. I have problem to assign the
motherboard
> embbed NIC an IP address. Here is output of ifconfig -a for this NIC:
>
> lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
> inet 127.0.0.1 netmask ff000000
> hme0: flag=xxxxxx<BROADCAST, RUNNING, MULTICAST, IPv4> mtu 1500 index 2
> inet 0.0.0.0 netmask 0
> ether 8:0:18:6f:3e:77
>
> I have already done everthing according sun's document bellow..what else
> should i config ? thanks for help !
>
<SNIP>

> 3. Create a file named /etc/hostname.interface for each network interface.
>
> (The Solaris installation program automatically creates this file for the
> primary
>
> network interface.) Refer to "/etc/hostname.interface File" on page 126
for
>
> details. If you are using IPv6, see "IPv6 Network Interface Configuration
> File" on
>
> page 332.
>
> 4. Type either the interface IP address or the interface name in each
>
> /etc/hostname.interface file.
>
> <SNIP>

Just a stab in the dark since you didn't provide a copy of your config
files.
You did name the file /etc/hostname.hme0 and not /etc/hostname.interface
didn't you ?
In the /etc/hostname.hme0 file, if you added an interface name and not an IP
address you did correctly specify the same interface name with an IP addr in
/etc/inet/hosts file didn't you ?

If you've done this, then a copy of the config files would be helpful in
determining the cause

Brian

--oZ--

unread,
Aug 3, 2002, 10:18:46 AM8/3/02
to
cd /etc
ls -l hostname*

anything?

vi hostname.hme0
does it have the correct hostname of the interface? If not chage it to the
correct hostname.

vi hosts

does it have the correct hostname and a correct ip address? If not enter it
in the format shown.

Am I jumping the gun though....have you reconfigured the system yet, after
getting it off ebay? No....In which case just login as root and use the
command:

# sys-unconfig

Then setup all the parameters again.

Have hostname, naming service info (e.g.dns servers etc), default router, ip
address and subnet mask handy.

Job done.

"tom ye" <to...@bigfoot.com> wrote in message
news:KiI29.9832$tY5.2...@news20.bellglobal.com...

tom ye

unread,
Aug 3, 2002, 1:28:39 PM8/3/02
to
yes, after using the 'sys-unconfig' , the machine asked to enter all the
information again, now it works. thanks,

"--oZ--" <lurcio@nospam___hotmail.com> wrote in message
news:eDR29.1155$rl3....@newsfep1-gui.server.ntli.net...

tom ye

unread,
Aug 3, 2002, 1:30:26 PM8/3/02
to
thank brain, the sys-unconfig works well.

"Brian" <brian...@attbi.com> wrote in message
news:yEP29.236235$Wt3.210025@rwcrnsc53...

0 new messages