# [OmniOS-discuss] remove old e1000g if...?

Andrzej Szeszo aszeszo at gmail.com
Tue Feb 5 08:16:16 EST 2013

- Previous message: [OmniOS-discuss] remove old e1000g if...?
- Next message: [OmniOS-discuss] Vbf: Ang: Re: remove old e1000g if...?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    This is what I was running in the past to shut the system down before moving the disk to a different box with e1000g nic:

    $ cat ~/bin/reset-e1000g-config.sh
    #!/bin/sh

    SUDO=sudo

    $SUDO /usr/gnu/bin/sed -i /e1000g/d /etc/path_to_inst
    $SUDO rm /dev/e1000g[0-9]
    $SUDO touch /reconfigure
    $SUDO bootadm update-archive
    $SUDO init 5
    $

    Cheers

    Andrzej

    On 5 Feb 2013, at 09:01, Johan Kragsterman <johan.kragsterman at capvert.se> wrote:

    >  Hi all!
    >
    >  I needed to remove an Intel nic with two e1000g if's, e1000g0 and e1000g1. I  I didn't remove any config before I removed the nic. After that, I put in a new Intel nic with 4 if's. They show up as e1000g2, 3, 4, and 5. For me that means that there is an old configuration remaining, belonging to the old nic, somewhere, that is not removed.
    >
    >  I tried ipadm and dladm to look for how to remove the old config, but didn't find a way to do it.
    >
    >  Can anyone help me out here? I don't want to configure the new nic before I get rid of the old one.
    >
    > Rgrds Johan
    > _______________________________________________
    > OmniOS-discuss mailing list
    > OmniOS-discuss at lists.omniti.com
    > http://lists.omniti.com/mailman/listinfo/omnios-discuss

    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: <http://lists.omniti.com/pipermail/omnios-discuss/attachments/20130205/99317f4d/attachment.html>

- Previous message: [OmniOS-discuss] remove old e1000g if...?
- Next message: [OmniOS-discuss] Vbf: Ang: Re: remove old e1000g if...?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the OmniOS-discuss mailing list