How to configure network interface after installation of solaris 8
Clash 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?
solaris
add a comment |Â
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?
solaris
2
Solaris 8? Really?
â Jeff Schaller
Sep 20 '16 at 15:58
add a comment |Â
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?
solaris
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
solaris
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
add a comment |Â
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
add a comment |Â
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
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 acp /etc/nsswitch.dns /etc/nsswitch.conf
â sleepyweasel
Jan 19 '17 at 22:49
add a comment |Â
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
:
Shut down and install the network interface hardware if it isn't already
(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
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.Login as root, and verify that the lines related to the network interface hardware are now showing up in the
dmesg
output.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.
add a comment |Â
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.
3
ipadm
is a Solaris 11 command. OP asked about Solaris 8.
â MikeA
Sep 20 '16 at 16:12
add a comment |Â
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
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 acp /etc/nsswitch.dns /etc/nsswitch.conf
â sleepyweasel
Jan 19 '17 at 22:49
add a comment |Â
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
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 acp /etc/nsswitch.dns /etc/nsswitch.conf
â sleepyweasel
Jan 19 '17 at 22:49
add a comment |Â
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
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
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 acp /etc/nsswitch.dns /etc/nsswitch.conf
â sleepyweasel
Jan 19 '17 at 22:49
add a comment |Â
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 acp /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
add a comment |Â
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
:
Shut down and install the network interface hardware if it isn't already
(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
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.Login as root, and verify that the lines related to the network interface hardware are now showing up in the
dmesg
output.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.
add a comment |Â
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
:
Shut down and install the network interface hardware if it isn't already
(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
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.Login as root, and verify that the lines related to the network interface hardware are now showing up in the
dmesg
output.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.
add a comment |Â
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
:
Shut down and install the network interface hardware if it isn't already
(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
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.Login as root, and verify that the lines related to the network interface hardware are now showing up in the
dmesg
output.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.
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
:
Shut down and install the network interface hardware if it isn't already
(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
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.Login as root, and verify that the lines related to the network interface hardware are now showing up in the
dmesg
output.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.
answered 7 mins ago
rakslice
37638
37638
add a comment |Â
add a comment |Â
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.
3
ipadm
is a Solaris 11 command. OP asked about Solaris 8.
â MikeA
Sep 20 '16 at 16:12
add a comment |Â
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.
3
ipadm
is a Solaris 11 command. OP asked about Solaris 8.
â MikeA
Sep 20 '16 at 16:12
add a comment |Â
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.
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.
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
add a comment |Â
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
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
2
Solaris 8? Really?
â Jeff Schaller
Sep 20 '16 at 15:58