LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   vfe NIC driver: "Add hostname for the NIC card into the /etc/hosts file???" (https://www.linuxquestions.org/questions/solaris-opensolaris-20/vfe-nic-driver-add-hostname-for-the-nic-card-into-the-etc-hosts-file-647887/)

gluesniffmonkey 06-08-2008 08:33 PM

vfe NIC driver: "Add hostname for the NIC card into the /etc/hosts file???"
 
I am trying to install a vfe 2.6.2 driver for my NIC. I am confused by step 3:

"Add hostname for the NIC card into the /etc/hosts file."

Assuming I want a DHCP connection what do I need to put here?


Does OpenSolaris 2008.05 have gcc installed? Or do I need to download it from somewhere?

eggixyz 06-08-2008 11:40 PM

Hmm,

That is an unusual request. Generally, you should just have to add a hostname in /etc/nodename if you're using DHCP. That way the standard DHCP setup in /etc/default/dhcpagent should know what hostname to assign your machine when it allocates an IP for you.

I'd be interested to know how this turns out. Maybe it was a typo in the instructions (?) Doesn't seem to make any sense that you'd add an IP/hostname entry into /etc/hosts if you shouldn't be able to know what it is before DHCP assigns it to you ;)

, Mike

jlliagre 06-09-2008 02:38 AM

This isn't Solaris documentation but an English translation of the Japanese open source driver one.
Perhaps the original Murayama's doc hasn't that slightly confusing instruction ...

OpenSolaris 2008.05 doesn't bundle gcc. Installing it is very straightforward with IPS.

Code:

pkg install gcc-dev

gluesniffmonkey 06-09-2008 09:44 AM

Quote:

Originally Posted by jlliagre (Post 3178989)
This isn't Solaris documentation but an English translation of the Japanese open source driver one.
Perhaps the original Murayama's doc hasn't that slightly confusing instruction ...

OpenSolaris 2008.05 doesn't bundle gcc. Installing it is very straightforward with IPS.

Code:

pkg install gcc-dev

How do I install a package needed to get an internet connection (ie a driver to get a working NIC) without a nic. I do have a Solaris 10 11/06. Can I install it off that?

jlliagre 06-09-2008 01:44 PM

You can compile the driver on a machine with gcc then install in on the OpenSolaris machine.

coolster 06-09-2008 04:40 PM

Quote:

Originally Posted by jlliagre (Post 3179554)
You can compile the driver on a machine with gcc then install in on the OpenSolaris machine.

Murayama's driver packages also contain a binary version, which you can copy into /kernel/drv dir. Therefore, compiling is not obligatory if you don't want to.

Best regards, C


All times are GMT -5. The time now is 08:45 AM.