Disable Network cards under boot Prom

Hi,

I'm looking for a command to be able to disable a network card under the boot PROM.

I need it to force my Jumpstart to use the Ethernet card of my server (V880) instead of my fiber card (gem0).

Thanks,

Fabien

well, there is a possibility to disable the card, but if you only want to boot from another card you could ably a new alias to the other card. perhabs there is a other alias like net1 (devalias) for the other card....
ok devalias net
net /pci@1c,600000/network@2,1:
ok nvalias net /pci@1c,600000/network@3,1:
ok nvstore
ok setenv use-nvramrc? true
ok reset-all
...
..
.
ok boot net - install

or are you talking about the server. there you can define your networkcard in your jumpstartserver profile (something like iface= .. not sure)

obp:
----------attention----------
---!not_recommended!---
ok nvedit
0: probe-all install-console banner
1: " /pci@1c,600000/network@2" $delete-device drop
2:
^C
Type "Ctrl-C" to exit nvedit as shown above. Then continue with:
ok nvstore
ok setenv use-nvramrc? true
use-nvramrc? = true
ok reset-all

!! /pci@1c,600000/network@2 is the path to MY network card, take a look at your path !!

greetings pressy

Thanks a lot. I will try the set a new alias.

Sorry,

What is the command to display all the network card address available to be able to set a new alias ?

ok show-nets :slight_smile:

Didn't work :frowning:

I tried to create a new alias Net1, but it's skipping all the network card :

{3} ok boot cdrom - install net1:client=10.164.73.216,hn=svdlux63,gw=10.164.73.250,server=10.160,52,17
Boot device: /pci@8,700000/scsi@1/disk@6,0:f File and args: - install net1:client=10.164.73.216,hn=svdlux63,gw=10.164.73.250,server=10.160,52,17
SunOS Release 5.8 Version Generic_108528-29 64-bit
Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved.
Configuring /dev and /devices
Using RPC Bootparams for network configuration information.
Skipping interface fcip0
Skipping interface eri0
Skipping interface ge0

I need to use Eri0. :wink:

thanks,

Fabien

I don't thing the commas here will have helped!