|
|
Solaris Wireless FAQJan. 25, 2008Contents:
2. My laptop has WiFi driver installed, how come it doesn't work? 3. How to BFU the latest build from external network? 4. How do I know what features my WiFi driver supports? 5. How to set up console to monitor what happens when system hangs? 6. Is there any WiFi support in S10 and updates? 7. Is there any GUI tool for WiFi that I can use in Solaris? 8. I do not know how to use command line tool for WiFi set up, do you have any document that I can refer to? 9. Do I have to compile WiFi drivers downloaded from the OpenSolaris webpage? Can I get the binary directly? 10. Which WiFi driver supports SPARC platform? 11. How can I get debug message output?
1.2 The wpi has permission denied error, how to fix it? 2. WPA
2.2 I can connect to my access point successfully, but I can not get an IP address through DHCP. Why? 2.3 The wpa_supplicant fails to start with error message "ld.so.1: wpa_supplicant: fatal : libssl.so.0.9.7: open failed: No such file or directory". What does it mean? 2.4 The EAP-TLS does not work, why? 2.5 Why doesn't CCMP encryption work? 3. ndis
3.2 Why ndis wrapper doesn't work on my AMD64bit laptop? 3.3 How to build and compile the ndiswrapper code? 4. ipw & iwi Solaris Wireless GENERAL INFORMATION
1. Q: How to install WiFi driver?
2. Q: My laptop has WiFi driver installed, how come it doesn't work?
If all above steps do not work, please send an email to laptop community for more advices. 3. Q: How to BFU the latest build from external network?
http://www.enderunix.org/opensolaris/docs/building_opensolaris.txt 4. Q: How do I know what features my WiFi driver supports?
For other features, such as WPA/WPA2, please refer to compatible list which contains the information of the latest supported features. 5. Q: How to set up console to monitor what happens when system hangs?
1. # eeprom console=ttya /* redirect console */
2. # eeprom boot-file=kmdb /* enable kmdb at boot */
3. # reboot
4. connect the serial port in you laptop to that in another machine with a
DB9 serial cable.
On another machine which the serial connects to:5. # tip -9600 /dev/ttya /* open a serial console */when driver hangs, in the redirected serial console
6. push key 'Shift'+'~'+'#' /* enter kmdb */
7. in kmdb
7.1 >pcwl_intr:b /* set breakpoint */
7.2 >:c /* continue */
7.3 >$C /* print the interrupt stack frame */
[top | opensolaris wireless ]
6. Q: Is there any WiFi support in S10 and updates?
However, we provided several GLDv2 version drivers on opensolaris webpage for download. You can download packages and install them following instructions. Please note, these GLDV2 version drivers are not integrated into Solaris and the testing was not done as sufficienty as GLDv3 versions. It's at your own risk use these drivers. 7. Q: Is there any GUI tool for WiFi that I can use in Solaris?
# svcadm disable svc:/network/physical:default # svcadm enable svc:/network/physical:nwamGet more detailed info with # man nwamd. [top | opensolaris wireless ] 8. Q: I do not know how to use command line tool for WiFi set up, do you have any document that I can refer to?
dladm and wificonfigNOTE: snv boundled wificonfig doesn't support WPA while dladm does. Set WPA-PSK as beow: # dladm create-secobj -c wpa wpa_key # dladm connect-wifi -e ap_name -k wpa_key[top | opensolaris wireless ] 9. Q: Do I have to compile WiFi drivers downloaded from the OpenSolaris webpage? Can I get the binary directly?
[top | opensolaris wireless ] 10. Q: Which WiFi driver supports SPARC platform?
[top | opensolaris wireless ] 11. Q: How can I get debug message output?
. ath: ath_dbg_flags . wpi: wpi_dbg_flags . ipw: ipw2100_debug . iwi: ipw2200_debug . wpa: wpa_debug_level . ndis: debug-levelThere are different ways for this: set driver-name:debug_flag = 0xffffffff # echo "wpa_debug_level, 1/w 1" | mdb -p `pgrep wpad` insert one line in /kernel/drv/bcmndis.conf: debug-level=0xf; # wpa_supplicant -i ath -F -dd [top | opensolaris wireless ] DRIVER INFORMATION
1. wpi(Intel Pro. Wireless 3945 chip) : -> OpenSolaris WPI page 1.1 Q: The wpi(Intel 3945 driver) doesn't work because of I/O error, is there any work around for this? 1.2 Q: The wpi has permission denied error, how to fix it?
# ifconfig wpi0 plumb looks like
anyone of below:# ifconfig wpi0 plumb ifconfig: plumb: wpi0: I/O error # ifconfig wpi0 plumb ifconfig: SIOCSLIFNAME for ip: wpi0: permission deniedOr, if dmesg out has 0xFF eeprom read out, this may relate to a known boot bug of solaris: CR6419924 which is not integrated yet. Becasue of the incorrect configuration of the pcie-pci bridge, the memory operation can not be forwarded by the bridge, so all I/O(memory mapped I/O) operation on 3945 fail, so that all the registers on 3945 are read out as 0xFF. There is a workaround: wpi-bdg-workaround.tar.gz. Please download the tar file, unzip and run it following below steps: # gzip -dc wpi-bdg-workaround.tar.gz | tar xvf - # ./wpi_bdg_workaround.ksh[top | opensolaris wireless ] 2. WPA(wireless protected access) : -> OpenSolaris WPA page 2.1 Q: I installed the latest build which is supposed to support WPA, how come it doesn't work? 2.2 Q: I can connect to my access point successfully, but I can not get an IP address through DHCP. Why?
To get the package, you can go to this website: http://www.sun.com/download/index.jsp?cat=Security&tab=3&subcat=Cryptography%20%26%20Encryption Or, use the following interim solution: The SUNWcry[r] packages are being integrated into OpenSolaris. Until that time, here's an interim solution for these packages, which are needed for WPA Wifi to work with NWAM: http://www.opensolaris.org/jive/thread.jspa?threadID=37376&tstart=0 Download "ON Binary-Only Components" from here: http://dlc.sun.com/osol/on/downloads/current/ The files of interest are in /etc/{certs,crypto}, kernel/crypto, & /usr/lib/security. Files from /usr/sfw/lib/lib{crypto,ssl}*extra* appear missing, but the rest are there. 2.3 Q: The wpa_supplicant fails to start with error message "ld.so.1: wpa_supplicant: fatal : libssl.so.0.9.7: open failed: No such file or directory". What does it mean?
# /usr/sfw/bin/openssl version OpenSSL 0.9.7d 17 Mar 2004[top | opensolaris wireless ] 2.4 Q: The EAP-TLS does not work, why?
2.5 Q: Why doesn't CCMP encryption work?
3. NDIS Wrapper : -> OpenSolaris NDIS page 3.1 Q: Can ndis wrapper support other chipsets besides Broadcom?
[top | opensolaris wireless ] 3.2 Q: Why ndis wrapper doesn't work on my AMD64bit laptop?
[top | opensolaris wireless ] 3.3 Q: How to build and compile the ndiswrapper code?
# wget http://opensolaris.org/os/community/laptop/wireless//os/community/laptop/downloads/Wireless_Success.pdf [top | opensolaris wireless ] 4. IPW/IWI : -> OpenSolaris ipw page, iwi page 4.1 Q: radio parameter is supported, can I set radio on by command?
WL_RADIO ioctl. But, they support
get command only that means wificonfig can be used to check whether
currently radio is on or off by command # wificonfig -i ipw0 getparam
radio, but can not turn radio on.[top | opensolaris wireless ] |