LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 06-08-2008, 08:33 PM   #1
gluesniffmonkey
LQ Newbie
 
Registered: Dec 2002
Location: Phnom Penh, Cambodia
Distribution: Slackware, Debian, Ubuntu, CentOS
Posts: 27

Rep: Reputation: 15
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?
 
Old 06-08-2008, 11:40 PM   #2
eggixyz
Member
 
Registered: Apr 2008
Posts: 310

Rep: Reputation: 30
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
 
Old 06-09-2008, 02:38 AM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,502

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
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
 
Old 06-09-2008, 09:44 AM   #4
gluesniffmonkey
LQ Newbie
 
Registered: Dec 2002
Location: Phnom Penh, Cambodia
Distribution: Slackware, Debian, Ubuntu, CentOS
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlliagre View Post
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?
 
Old 06-09-2008, 01:44 PM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,502

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
You can compile the driver on a machine with gcc then install in on the OpenSolaris machine.
 
Old 06-09-2008, 04:40 PM   #6
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Rep: Reputation: 15
Quote:
Originally Posted by jlliagre View Post
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
 
  


Reply

Tags
nic


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian can't find the "make" command when I try to compile my onboard NIC driver JSR_tuxbox Linux - Newbie 30 06-29-2007 06:30 PM
Unable to add driver of NIC card prashsharma Linux - Networking 3 06-05-2007 10:48 AM
where to set up "modprobe 3c59x" to load nic driver on boot? zero79 Debian 3 04-15-2004 03:42 PM
Error "Kernel version mismatch" when nic driver will be loaded grubjo Linux - Networking 1 10-03-2003 04:12 AM
How to load a ".gz" NIC driver from floppy? Guitxo Linux - Software 1 03-13-2002 09:57 AM


All times are GMT -5. The time now is 11:34 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration