I just found one inter­est­ing post how to install net­work dri­ver on Open­So­laris. Hope some­one will find it use­ful. Orig­i­nal author is Allen Sanabria.

Now Open­So­laris is not as pop­u­lar as Linux so there are not as many devices sup­ported as there are for Linux (So bare that in mind). When I first installed Open­So­laris and Open­So­laris booted up just fine, I logged into the nice Gnome Win­dow Man­ager and opened up a shell. I ran ifcon­fig –a and it showed two lo inter­faces (One ipv4 and the other ipv6) and an nge0 inter­face (Old Nvidia Drivers).

I had no net­work con­nec­tiv­ity, so I had to google for a few sec­onds and I found that if you run ifcon­fig dhcp start this will send a DHCP request to the DHCP server. Well I ran this and it just sat there and waited until it exited with no dhcp server response. I did not know if that was the right dri­ver for my net­work card though I did assume it was why else Open­So­laris choose that dri­ver for me.

My first instinct is how do I found out for sure that nge was the cor­rect dri­ver for my net­work card. So I need a util­ity that is equiv­a­lent to lspci in the Open­So­laris world, after some search­ing I found scan­pci and prt­conf. Though prt­conf did not give me what I was look­ing for in this sit­u­a­tion but scan­pci did. This is the out­put of scan­pci for my net­work controller…

/usr/X11R6/bin/scanpci –v

pci bus 0×0000 card­num 0×07 func­tion 0×00: ven­dor 0x10de device 0x03ef
nVidia Cor­po­ra­tion MCP61 Eth­er­net
Card­Ven­dor 0×1565 card 0×2505 (Biostar Microtech Int’l Corp, Card unknown)
STATUS 0x00b0 COMMAND 0×0007
CLASS 0×06 0×80 0×00 REVISION 0xa2
BIST 0×00 HEADER 0×00 LATENCY 0×00 CACHE 0×00
BASE0 0xfe02d000 addr 0xfe02d000 MEM
BASE1 0x0000ec01 addr 0x0000ec00 I/O
MAX_LAT 0×14 MIN_GNT 0×01 INT_PIN 0×01 INT_LINE 0x0b
BYTE_0 0×65 BYTE_1 0×15 BYTE_2 0×05 BYTE_3 0×25

The info above was a great help,

  1. The type of card we have and its model nVidia Cor­po­ra­tion MCP61 Ethernet
  2. The device ID 0x03ef thought all you really need is 03ef

I found this link on the Open­So­laris web site. This link will show you all the sup­ported and third party sup­ported dri­vers for Open­So­laris. I found the nfo dri­ver which is for the nforce chipset. Though for the third party dri­vers, Open­So­laris does not pro­vide you the link to the sources or bina­ries . So after another search on google I found this link http://homepage2.nifty.com/mrym3/taiyodo/eng/. This site was exactly what I needed, Here is the link for the newest dri­ver for nfo.

After I down­loaded nfo , here are the steps I took ( They were in the Readme.txt ).

gun­zip nfo-2.6.0.tar.gz
tar –xvf nfo-2.6.0.tar
cd nfo-2.6.0
rm obj Make­file
ln –s Makefile.${KARCH}_${COMPILER} Make­file ( for me it was ln –s Makefile.amd64_gcc Make­file )
ln –s ${KARCH} obj ( for me it was ln –s amd64 obj )
rm Makefile.config
ln –s Makefile.config_gld3 Makefile.config
/usr/ccs/bin/make
/usr/ccs/bin/make install
cp nfo.conf /kernel/drv/nfo.conf
./adddrv.sh
mod­load obj/nfo
devf­sadm –i nfo
ifcon­fig nfoN plumb ( where N is the device num­ber, for me it was nfo0 )
ifcon­fig nfo0 dhcp start ( this is if you want your inter­face to use DHCP )
touch /etc/dhcp.nfo0 ( this is if you want your inter­face to use dhcp when it come back up)
edit /etc/nsswitch.conf ( Where it says host: files, change it to host: files dns )
reboot — r

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • LinkedIn
  • NewsVine
  • Technorati
  • Twitter