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

configure ethernet in solaris 2.6

163 views
Skip to first unread message

ste...@zappa.hs-bremerhaven.de

unread,
May 13, 1999, 3:00:00 AM5/13/99
to
I have a SparcStation2 and installed Solaris 2.6.
During the installation I decided to configure the network later
and installed without network support.
Now I have a problem finding the ethernet device in /dev to
do an ifconfig.
1. What is the standard ethernet device on this machine called?
2. Is there a tools in 2.6 to handle network configuration
instead of editing the files by hand?

Thank you,

stefan

Bob Cross

unread,
May 13, 1999, 3:00:00 AM5/13/99
to
In article <373A59...@zappa.hs-bremerhaven.de>,

ste...@zappa.hs-bremerhaven.de wrote:
> I have a SparcStation2 and installed Solaris 2.6.
> During the installation I decided to configure the network later
> and installed without network support.
Silly - don't do it again! ;-)

> Now I have a problem finding the ethernet device in /dev to
> do an ifconfig.
> 1. What is the standard ethernet device on this machine called?
The SPARC2 I have access to has three interfaces, names are as follows:
Motherboard Ethernet = le0
Token Ring (don't laugh) = tr0
10/100 Ethernet (SBus card) = hme0

> 2. Is there a tools in 2.6 to handle network configuration
> instead of editing the files by hand?
Don't think so. If memory serves me rightly you only have to edit three
files in /etc, hostname.le0; netmasks; and defaultrouter. Oh, and add
an appropriate entry in /etc/inet/hosts. If you find any tools let me
know, I'm especially looking for DNS type stuff.
Regards

Bob Cross


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---

Suhas Kamble

unread,
May 13, 1999, 3:00:00 AM5/13/99
to
If you can afford to reboot the system, then you can use
sys-unconfig and follow the questions? if you can not then, it would
be le0 and you can use ifconfig to configure the same
check man ifconfig for more details..


ste...@zappa.hs-bremerhaven.de wrote:

> I have a SparcStation2 and installed Solaris 2.6.
> During the installation I decided to configure the network later
> and installed without network support.

> Now I have a problem finding the ethernet device in /dev to
> do an ifconfig.
> 1. What is the standard ethernet device on this machine called?

> 2. Is there a tools in 2.6 to handle network configuration
> instead of editing the files by hand?
>

> Thank you,
>
> stefan


Sriranga Veeraraghavan

unread,
May 13, 1999, 3:00:00 AM5/13/99
to
ste...@zappa.hs-bremerhaven.de writes:

> I have a SparcStation2 and installed Solaris 2.6.
> During the installation I decided to configure the network later
> and installed without network support.
> Now I have a problem finding the ethernet device in /dev to
> do an ifconfig.

> 1. What is the standard ethernet device on this machine called?

The standard ethernet device on an SS2 is le0.

> 2. Is there a tools in 2.6 to handle network configuration
> instead of editing the files by hand?

You can sys-unconfig the machine and start over, but there isn't
anything like netcfg under linux.

You probably want to do something like the following:

# echo "your host name" > /etc/hostname.le0
# echo "your netmask" > /etc/netmask.le0
# echo "your broadcast addr" "your netmask" > /etc/netmasks
# echo "your routers ip addr" > /etc/defaultrouter

and reboot your machine.

----ranga <ra...@soda.berkeley.edu>

0 new messages