How to configure network interface after installation of solaris 8

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I already install Solaris 8 in my machine, in the installation I chose the option not-networked so I didn't configure any network interface or an IP address.
So can you please tell me how can I do this after finishing the installation of Solaris-8 with the terminal?










share|improve this question



















  • 2




    Solaris 8? Really?
    – Jeff Schaller
    Sep 20 '16 at 15:58














up vote
0
down vote

favorite












I already install Solaris 8 in my machine, in the installation I chose the option not-networked so I didn't configure any network interface or an IP address.
So can you please tell me how can I do this after finishing the installation of Solaris-8 with the terminal?










share|improve this question



















  • 2




    Solaris 8? Really?
    – Jeff Schaller
    Sep 20 '16 at 15:58












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I already install Solaris 8 in my machine, in the installation I chose the option not-networked so I didn't configure any network interface or an IP address.
So can you please tell me how can I do this after finishing the installation of Solaris-8 with the terminal?










share|improve this question















I already install Solaris 8 in my machine, in the installation I chose the option not-networked so I didn't configure any network interface or an IP address.
So can you please tell me how can I do this after finishing the installation of Solaris-8 with the terminal?







solaris






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 20 '16 at 15:58









Jeff Schaller

34.5k951115




34.5k951115










asked Sep 20 '16 at 14:22









Hohenheim

1316




1316







  • 2




    Solaris 8? Really?
    – Jeff Schaller
    Sep 20 '16 at 15:58












  • 2




    Solaris 8? Really?
    – Jeff Schaller
    Sep 20 '16 at 15:58







2




2




Solaris 8? Really?
– Jeff Schaller
Sep 20 '16 at 15:58




Solaris 8? Really?
– Jeff Schaller
Sep 20 '16 at 15:58










3 Answers
3






active

oldest

votes

















up vote
2
down vote













You should create files like /etc/hostname.qfe0 in format



192.168.1.1 netmask 255.255.255.0


where 192.168.1.1 is the IP of this interface and 255.255.255.0 is the netmask for it. Also you should check



/etc/defaultrouter
/etc/inet/hosts


Please check this document for more detailed info






share|improve this answer
















  • 1




    You'll also probably want to populate /etc/resolv.conf so that you can resolve things via DNS. And either editing the hosts search order in /etc/nsswitch.conf or followed by a cp /etc/nsswitch.dns /etc/nsswitch.conf
    – sleepyweasel
    Jan 19 '17 at 22:49

















up vote
0
down vote













One approach (which the help of the Solaris installation itself hints to do if the network adapter is not available to configure initially), if you don't mind redoing some of the configuration, is to use sys-unconfig:



  1. Shut down and install the network interface hardware if it isn't already


  2. (Intel only) At the first stage boot loader, press Esc to interrupt the autoboot and follow the prompts; with the network interface in the devices list, choose to boot from the HD, which will immediately lead to the second stage boot prompt


  3. At the boot prompt, boot with -r— on Intel systems you'll have to get on the b key quite fast to cancel the default boot in my experience — to get Solaris to update the loaded drivers and rebuild the /dev entries.


  4. Login as root, and verify that the lines related to the network interface hardware are now showing up in the dmesg output.


  5. Run sys-unconfig and follow the prompts. This will reset the system to an unconfigured state and reboot, so that the normal first-boot configuration process (display resolution, network settings, time zone, etc.) will happen again.





share



























    up vote
    -2
    down vote













    If you're using DHCP, you'll enter something like:



    ipadm create-ip net0
    ipadm create-addr -T DHCP net0/addr


    You should be able to change the net0 and addr after the slash.



    If you're using static addressing, the first command will be the same, and you'll configure the static address as follows:



    ipadm create-addr -T static -a local=X.X.X.X/Y net0/addr


    X.X.X.X will be your static address and Y, your subnet mask.



    DHCP should automatically configure your route and DNS settings, but if you're using static addressing, you'll need to add a DNS server to your /etc/resolv.conf and you'll need to set a default router in /etc/defaultrouter.






    share|improve this answer
















    • 3




      ipadm is a Solaris 11 command. OP asked about Solaris 8.
      – MikeA
      Sep 20 '16 at 16:12










    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f311127%2fhow-to-configure-network-interface-after-installation-of-solaris-8%23new-answer', 'question_page');

    );

    Post as a guest






























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    2
    down vote













    You should create files like /etc/hostname.qfe0 in format



    192.168.1.1 netmask 255.255.255.0


    where 192.168.1.1 is the IP of this interface and 255.255.255.0 is the netmask for it. Also you should check



    /etc/defaultrouter
    /etc/inet/hosts


    Please check this document for more detailed info






    share|improve this answer
















    • 1




      You'll also probably want to populate /etc/resolv.conf so that you can resolve things via DNS. And either editing the hosts search order in /etc/nsswitch.conf or followed by a cp /etc/nsswitch.dns /etc/nsswitch.conf
      – sleepyweasel
      Jan 19 '17 at 22:49














    up vote
    2
    down vote













    You should create files like /etc/hostname.qfe0 in format



    192.168.1.1 netmask 255.255.255.0


    where 192.168.1.1 is the IP of this interface and 255.255.255.0 is the netmask for it. Also you should check



    /etc/defaultrouter
    /etc/inet/hosts


    Please check this document for more detailed info






    share|improve this answer
















    • 1




      You'll also probably want to populate /etc/resolv.conf so that you can resolve things via DNS. And either editing the hosts search order in /etc/nsswitch.conf or followed by a cp /etc/nsswitch.dns /etc/nsswitch.conf
      – sleepyweasel
      Jan 19 '17 at 22:49












    up vote
    2
    down vote










    up vote
    2
    down vote









    You should create files like /etc/hostname.qfe0 in format



    192.168.1.1 netmask 255.255.255.0


    where 192.168.1.1 is the IP of this interface and 255.255.255.0 is the netmask for it. Also you should check



    /etc/defaultrouter
    /etc/inet/hosts


    Please check this document for more detailed info






    share|improve this answer












    You should create files like /etc/hostname.qfe0 in format



    192.168.1.1 netmask 255.255.255.0


    where 192.168.1.1 is the IP of this interface and 255.255.255.0 is the netmask for it. Also you should check



    /etc/defaultrouter
    /etc/inet/hosts


    Please check this document for more detailed info







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Sep 21 '16 at 13:11









    Romeo Ninov

    4,52121625




    4,52121625







    • 1




      You'll also probably want to populate /etc/resolv.conf so that you can resolve things via DNS. And either editing the hosts search order in /etc/nsswitch.conf or followed by a cp /etc/nsswitch.dns /etc/nsswitch.conf
      – sleepyweasel
      Jan 19 '17 at 22:49












    • 1




      You'll also probably want to populate /etc/resolv.conf so that you can resolve things via DNS. And either editing the hosts search order in /etc/nsswitch.conf or followed by a cp /etc/nsswitch.dns /etc/nsswitch.conf
      – sleepyweasel
      Jan 19 '17 at 22:49







    1




    1




    You'll also probably want to populate /etc/resolv.conf so that you can resolve things via DNS. And either editing the hosts search order in /etc/nsswitch.conf or followed by a cp /etc/nsswitch.dns /etc/nsswitch.conf
    – sleepyweasel
    Jan 19 '17 at 22:49




    You'll also probably want to populate /etc/resolv.conf so that you can resolve things via DNS. And either editing the hosts search order in /etc/nsswitch.conf or followed by a cp /etc/nsswitch.dns /etc/nsswitch.conf
    – sleepyweasel
    Jan 19 '17 at 22:49












    up vote
    0
    down vote













    One approach (which the help of the Solaris installation itself hints to do if the network adapter is not available to configure initially), if you don't mind redoing some of the configuration, is to use sys-unconfig:



    1. Shut down and install the network interface hardware if it isn't already


    2. (Intel only) At the first stage boot loader, press Esc to interrupt the autoboot and follow the prompts; with the network interface in the devices list, choose to boot from the HD, which will immediately lead to the second stage boot prompt


    3. At the boot prompt, boot with -r— on Intel systems you'll have to get on the b key quite fast to cancel the default boot in my experience — to get Solaris to update the loaded drivers and rebuild the /dev entries.


    4. Login as root, and verify that the lines related to the network interface hardware are now showing up in the dmesg output.


    5. Run sys-unconfig and follow the prompts. This will reset the system to an unconfigured state and reboot, so that the normal first-boot configuration process (display resolution, network settings, time zone, etc.) will happen again.





    share
























      up vote
      0
      down vote













      One approach (which the help of the Solaris installation itself hints to do if the network adapter is not available to configure initially), if you don't mind redoing some of the configuration, is to use sys-unconfig:



      1. Shut down and install the network interface hardware if it isn't already


      2. (Intel only) At the first stage boot loader, press Esc to interrupt the autoboot and follow the prompts; with the network interface in the devices list, choose to boot from the HD, which will immediately lead to the second stage boot prompt


      3. At the boot prompt, boot with -r— on Intel systems you'll have to get on the b key quite fast to cancel the default boot in my experience — to get Solaris to update the loaded drivers and rebuild the /dev entries.


      4. Login as root, and verify that the lines related to the network interface hardware are now showing up in the dmesg output.


      5. Run sys-unconfig and follow the prompts. This will reset the system to an unconfigured state and reboot, so that the normal first-boot configuration process (display resolution, network settings, time zone, etc.) will happen again.





      share






















        up vote
        0
        down vote










        up vote
        0
        down vote









        One approach (which the help of the Solaris installation itself hints to do if the network adapter is not available to configure initially), if you don't mind redoing some of the configuration, is to use sys-unconfig:



        1. Shut down and install the network interface hardware if it isn't already


        2. (Intel only) At the first stage boot loader, press Esc to interrupt the autoboot and follow the prompts; with the network interface in the devices list, choose to boot from the HD, which will immediately lead to the second stage boot prompt


        3. At the boot prompt, boot with -r— on Intel systems you'll have to get on the b key quite fast to cancel the default boot in my experience — to get Solaris to update the loaded drivers and rebuild the /dev entries.


        4. Login as root, and verify that the lines related to the network interface hardware are now showing up in the dmesg output.


        5. Run sys-unconfig and follow the prompts. This will reset the system to an unconfigured state and reboot, so that the normal first-boot configuration process (display resolution, network settings, time zone, etc.) will happen again.





        share












        One approach (which the help of the Solaris installation itself hints to do if the network adapter is not available to configure initially), if you don't mind redoing some of the configuration, is to use sys-unconfig:



        1. Shut down and install the network interface hardware if it isn't already


        2. (Intel only) At the first stage boot loader, press Esc to interrupt the autoboot and follow the prompts; with the network interface in the devices list, choose to boot from the HD, which will immediately lead to the second stage boot prompt


        3. At the boot prompt, boot with -r— on Intel systems you'll have to get on the b key quite fast to cancel the default boot in my experience — to get Solaris to update the loaded drivers and rebuild the /dev entries.


        4. Login as root, and verify that the lines related to the network interface hardware are now showing up in the dmesg output.


        5. Run sys-unconfig and follow the prompts. This will reset the system to an unconfigured state and reboot, so that the normal first-boot configuration process (display resolution, network settings, time zone, etc.) will happen again.






        share











        share


        share










        answered 7 mins ago









        rakslice

        37638




        37638




















            up vote
            -2
            down vote













            If you're using DHCP, you'll enter something like:



            ipadm create-ip net0
            ipadm create-addr -T DHCP net0/addr


            You should be able to change the net0 and addr after the slash.



            If you're using static addressing, the first command will be the same, and you'll configure the static address as follows:



            ipadm create-addr -T static -a local=X.X.X.X/Y net0/addr


            X.X.X.X will be your static address and Y, your subnet mask.



            DHCP should automatically configure your route and DNS settings, but if you're using static addressing, you'll need to add a DNS server to your /etc/resolv.conf and you'll need to set a default router in /etc/defaultrouter.






            share|improve this answer
















            • 3




              ipadm is a Solaris 11 command. OP asked about Solaris 8.
              – MikeA
              Sep 20 '16 at 16:12














            up vote
            -2
            down vote













            If you're using DHCP, you'll enter something like:



            ipadm create-ip net0
            ipadm create-addr -T DHCP net0/addr


            You should be able to change the net0 and addr after the slash.



            If you're using static addressing, the first command will be the same, and you'll configure the static address as follows:



            ipadm create-addr -T static -a local=X.X.X.X/Y net0/addr


            X.X.X.X will be your static address and Y, your subnet mask.



            DHCP should automatically configure your route and DNS settings, but if you're using static addressing, you'll need to add a DNS server to your /etc/resolv.conf and you'll need to set a default router in /etc/defaultrouter.






            share|improve this answer
















            • 3




              ipadm is a Solaris 11 command. OP asked about Solaris 8.
              – MikeA
              Sep 20 '16 at 16:12












            up vote
            -2
            down vote










            up vote
            -2
            down vote









            If you're using DHCP, you'll enter something like:



            ipadm create-ip net0
            ipadm create-addr -T DHCP net0/addr


            You should be able to change the net0 and addr after the slash.



            If you're using static addressing, the first command will be the same, and you'll configure the static address as follows:



            ipadm create-addr -T static -a local=X.X.X.X/Y net0/addr


            X.X.X.X will be your static address and Y, your subnet mask.



            DHCP should automatically configure your route and DNS settings, but if you're using static addressing, you'll need to add a DNS server to your /etc/resolv.conf and you'll need to set a default router in /etc/defaultrouter.






            share|improve this answer












            If you're using DHCP, you'll enter something like:



            ipadm create-ip net0
            ipadm create-addr -T DHCP net0/addr


            You should be able to change the net0 and addr after the slash.



            If you're using static addressing, the first command will be the same, and you'll configure the static address as follows:



            ipadm create-addr -T static -a local=X.X.X.X/Y net0/addr


            X.X.X.X will be your static address and Y, your subnet mask.



            DHCP should automatically configure your route and DNS settings, but if you're using static addressing, you'll need to add a DNS server to your /etc/resolv.conf and you'll need to set a default router in /etc/defaultrouter.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Sep 20 '16 at 16:02









            JoDraX

            1025




            1025







            • 3




              ipadm is a Solaris 11 command. OP asked about Solaris 8.
              – MikeA
              Sep 20 '16 at 16:12












            • 3




              ipadm is a Solaris 11 command. OP asked about Solaris 8.
              – MikeA
              Sep 20 '16 at 16:12







            3




            3




            ipadm is a Solaris 11 command. OP asked about Solaris 8.
            – MikeA
            Sep 20 '16 at 16:12




            ipadm is a Solaris 11 command. OP asked about Solaris 8.
            – MikeA
            Sep 20 '16 at 16:12

















             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f311127%2fhow-to-configure-network-interface-after-installation-of-solaris-8%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?