Before plumb the network interface.....


 
Thread Tools Search this Thread
Operating Systems Solaris Before plumb the network interface.....
# 1  
Old 12-04-2005
Before plumb the network interface.....

I know that I could use the

#ifconfig hme0 plumb

to activate the network interface.

However, how can I know the name of the interface e.g. hme0 before I could use the ifconfig to plumb it up?

I know there is a command (but I forgot it) to use in the Sparc version when you are in the OK> . But what happens if I'm using the x86 version?
# 2  
Old 12-04-2005
Hi

http://solaris-x86.org/documents/tut.../network.mhtml

Above is a link that should take you through how to find and setup a network interface in Solaris x86.

If you're not 100% sure, try running dmesg as root and see if you can spot what looks like a network interface. I'm not sure about x86 but you should be able to grep for "mac address".

Thanks
# 3  
Old 12-04-2005
Quote:
Originally Posted by casphar
Hi

http://solaris-x86.org/documents/tut.../network.mhtml

Above is a link that should take you through how to find and setup a network interface in Solaris x86.

If you're not 100% sure, try running dmesg as root and see if you can spot what looks like a network interface. I'm not sure about x86 but you should be able to grep for "mac address".

Thanks
Thanks dude! I'll check it out.
# 4  
Old 12-05-2005
About the best you'll get is....

$ prtconf -D | grep network
network, instance #0 (driver name: ce)
network, instance #1 (driver name: ce)
network, instance #2 (driver name: ce)
network, instance #3 (driver name: ce)
network, instance #0 (driver name: eri)


So we see we have ce0 thru ce3, and eri0 - you won't see lo devices....

Cheers
ZB
# 5  
Old 12-06-2005
grep hme /etc/path_to_inst

You will see the the relationship betweewn hardware path, and hme name.
The same procedure can be worked for other intefaces. For example:

grep ce /etc/path_to_inst
grep qfe /etc/path_to_inst
# 6  
Old 12-06-2005
Quote:
Originally Posted by zazzybob
About the best you'll get is....

$ prtconf -D | grep network
network, instance #0 (driver name: ce)
network, instance #1 (driver name: ce)
network, instance #2 (driver name: ce)
network, instance #3 (driver name: ce)
network, instance #0 (driver name: eri)


So we see we have ce0 thru ce3, and eri0 - you won't see lo devices....

Cheers
ZB
thanks dude, I've tried this but it shows only those interface that I've already plumb up. Are there any other commands that I could use to find those non-plumb interface?
# 7  
Old 12-06-2005
I remember if you're using the SPARC version of Solaris, during the OK prompt(Stop A) screen you can type the following:

watch-net-all

then the system will show all network interface, e.g. hme0, qfe0, etc (whether you've plumb it or not).

Later you could use the ifconfig qfe0 plumb to activate it.

However, as far as I know there is no OK prompt (Stop A) for the X86 system. Then how can I find those network interface?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Adding a network interface to a bonded interface

I have a RHEL 5 system with a bonded interface configure using only one network port (eth0). So I have config file for ifcfg-bond0 and ifcfg-eth. I'd like to configure eth5 to be the second SLAVE in the bond. My question is, after I modify ifcfg-eth5, can I add eth5 to the bond0 interface without... (1 Reply)
Discussion started by: westmoreland
1 Replies

2. Solaris

No network cable But Network interface is UP and Running

I've one Netra 240 After changing main board and system configuration card reader, Network is not accessible any more, Network interfaces are always UP and Running even when there is no cable connected to Network interfaces. I tried to restart and plumb/unplumb with no luck. ifconfig -a... (7 Replies)
Discussion started by: samer.odeh
7 Replies

3. IP Networking

network interface -

Hello, Please, how can i create a network interface with a routable IP address on linux (ubuntu) ? AND How can i desactivate an interface? Thank you so much for help. (1 Reply)
Discussion started by: chercheur857
1 Replies

4. IP Networking

Network interface-

Hello, Please what's the difference between: AND Thank you so much (3 Replies)
Discussion started by: chercheur857
3 Replies

5. UNIX and Linux Applications

Access to network interface (Mac-network)

Hi, I'm a italian student. For my thesis I develop a gateway with protocol 6lowpan. For that I must access to network interface to develope my personal stack based on standard 802.15.4. Can you help me? I need an explanation for that. (0 Replies)
Discussion started by: berny88
0 Replies

6. Solaris

configure zones to have different network interface and network

i need to configure a zone to use different interface (bge2) than global and have connected to completely different network switch & to use its own defaultrouter and hosts file .. is it possible ..if so ..how ? Thanks (9 Replies)
Discussion started by: skamal4u
9 Replies

7. Solaris

Network interface problem

HI, genunix: NOTICE: ce0: xcvr addr:0x01 - link up 100 Mbps half duplex genunix: WARNING: ce0: fault detected external to device; service degraded genunix: WARNING: ce0: xcvr addr:0x01 - link down genunix: NOTICE: ce0: fault cleared external to device; service available genunix: ... (4 Replies)
Discussion started by: sunnybee
4 Replies

8. IP Networking

How to activate a network interface?

What are the steps between "ifconfig eth0 UP" and "net_device->open"? ifconfig eth0 UP => ioctl(skfd, SIOCSIFFLAGS, &ifr) (ifr.ifr_flags = IFF_UP | IFF_RUNNING) => ????? => what are these steps? net_device->open Thanks! (1 Reply)
Discussion started by: samuncle
1 Replies

9. Gentoo

Turning on/off the network interface

Hi all, I'm trying to write a script that will turn off the network interface eth0 on a linux Gentoo machine and then turn it back on, any help? Thanks, Neked (1 Reply)
Discussion started by: neked
1 Replies

10. UNIX for Dummies Questions & Answers

Network Interface

Hi ! Does anyone know how can i get information about my network interface ... if it works in half or full duplex mode !! Thx in adivance ! Witt (4 Replies)
Discussion started by: witt
4 Replies
Login or Register to Ask a Question