Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In Slackare or Arch I can create a kernel module, wl.ko, and load it at boot time...
Can't i do something different in (Open)Solaris...?
There is no need to build (recompile) the drivers with Solaris as the kernel device driver interface is stable, unlike Linux. Outside that, the idea is similar. Follow instructions in the readme bundled with the driver. Here is the "run" one: http://homepage2.nifty.com/mrym3/taiyodo/run-0.0.6.tar.gz
(1) extract distributed source and binary files.
# gunzip -cd run-x.x.x.tar.gz | tar xf -
(2) Add hostname for the NIC device into the /etc/hosts file
(3) Making binaries (required for sparc platforms only)
If you want to test or install run on sparc, you need to make
sparc binaries using Forte C compiler or gcc 3.x.x. Do the following
operations before testing or installation:
(for sparc 64bit kernel with Sun C compilers)
% cd /.../run-x.x.x
% rm Makefile
% ln -s Makefile.sparcv9_suncc Makefile
% rm obj
% ln -s sparcv9 obj
% /usr/ccs/bin/make
(for sparc 32bit kernel with Sun C compilers)
% cd /.../run-x.x.x
% rm Makefile
% ln -s Makefile.sparc_suncc Makefile
% rm obj
% ln -s sparc obj
% /usr/ccs/bin/make
(1) goto the directory of distributed files.
# cd ..../run-x.x.x
(2) register the run driver with solaris.
# /usr/ccs/bin/make install
# ./adddrv.sh
(3) install your usb device to the PC.
(4) set up the network port
# ifconfig runN plumb ( where N is unit number, typcally 0 for first device)
# ifconfig -a ( you will see an entry for run0, ensure ethernet address is correct)
# wificonfig scan (check the nic receive beacon signal)
# wificonfig connect ESSID
# ifconfig runN HOSTNAME
# ifconfig runN ( ensure IP address is correct)
# ifconfig runN up ( and then you can test with ping, telnet, ftp ...)
5. Troubleshooting
Q. The system does not boot after the driver is installed.
A. Uninstall the usb device and reboot solaris. Then, unregister the driver:
# rem_drv run
Q. Solaris boots, but the network interface does not work.
A. Is the network interface running?
Execute 'ifconfig -a'. If you see an entry for runN, the driver is loaded
and working correctly.
Please check the configuration of the network interface.
Is an ethernet cable connected properly?
Please check if the network interface is receiving packets.
% snoop -P -d runN
If Solaris panics during you test, please send me the following information:
(1) /var/adm/messages
(2) Output of prtconf -pv when the usb device is inserted in a usb slot.
(3) Output of prtconf -vD when the usb device is inserted in a usb slot.
(4) Output of mdb
Solaris core dump consists of unix.N and vmcore.N which are created in
/var/crash/YOUR-HOST-NAME/ .
Execute 'mdb -k unix.N vmcore.N' and type the following subcommands.
$c (stack trace back will be printed)
::msgbuf (last messages are printed)
::threadlist -v (stack traves for all thread in the kernel)
^D (To quit mdb, type control-D)
My wifi card is not connected through USB...
How should i add the driver to my x86 OpenSolaris...?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.