[Sorry for the weird formatting. I had origionally posted this in the wrong forum, so I pasted my previous posts into this one]
I’ve just installed Opensuse 11.3 on m Dell Studio 15, and am having problems getting the wireless card to work.
I've installed the proper driver (I think), using ndiswrapper, and have blacklisted the conflicting driver (called ssb) to the 50-blacklist.conf file in /etc/modprobe.d/
My problem is that the ssb driver is still appearing as an alternate driver when I use the command ndiswrapper -l in the terminal.
Where do I go from here? Am I correct that the ssb driver is not blacklisted correctly?
Be advised, I have absolutely no Linux experience. This is my first day using the system.
Thanks in advance.
Edit: I tracked down some native Linux drivers for the wireless card. But I cannot find any information on how to install them. Everything I find tells me how to use ndiswrapper to install windows drivers (ie: what I've been doing above).
UPDATE:
The drivers were from Broadcom, and I've extracted the tar.gz file to the appropriate directory as per their instructions in the readme file. The problem I'm having now is when I try to use the "make" command.
I get the error:
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make: *** /lib/modules/2.6.34-12-desktop/build: No such file or directory. Stop.
make: *** [all] Error 2
What does this mean? Suggestions?
In order to compile anything in Linux, I make the following suggestions:
Open YaST / Software / Software Management - Select the View Button on the top left and pick Patterns. Now, you will see several Patterns listed and you want to select:
Development
[X] Base Development
[X] Linux Kernel Development
[X] C/C++ Development
Then Press the Accept button on the bottom right and allow these applications to install.
I did not catch which Broadcom driver you are trying to install but is this it?
#!/bin/bash
#: Title : install_wireless
#: Date Created: Sat Jun 4 08:55:09 CDT 2011
#: Last Edit : Sat Jul 30 13:35:00 CDT 2011
#: Author : J. McDaniel
#: Version : 1.21
#: Description : Install Broadcom Wireless Driver
#: Options : none
#
# Broadcom file and site names at present time - Must update if file names change
#
bcwebsite="http://www.broadcom.com/docs/linux_sta"
sf32bit="hybrid-portsrc_x86_32-v5_100_82_38.tar.gz"
sf64bit="hybrid-portsrc_x86_64-v5_100_82_38.tar.gz"
patchfile="5_100_82_38.patch"
#
# Set files for 32 or 64 bit
#
bits=$(uname -m)
if $bits == "x86_64" ]] ; then
sourcefile=$sf64bit
else
sourcefile=$sf32bit
fi
#
# Where do you download your files?
#
download=~/Downloads
#
# Determine if the ~/Downloads folder exists and switch to it
#
if -d "$download" ]] ; then
cd $download
else
echo "The File Downloads Folder: $download, does not exist!"
echo "Please create or change this folder name and start $(basename $0) again."
echo
exit 1
fi
#
# Main Program Starts here
#
tput clear
echo "This script file must find the files:"
echo
echo " $sourcefile"
echo
echo " <and>"
echo
echo " $patchfile"
echo
echo "in the $download folder."
echo
echo "These files will be downloaded from the Broadcom Web Site if they do not exist"
echo "and you have a Wired network connection now. If you do not have these files"
echo "and no network connection, this installation script file will fail to work."
echo
echo -n "Do you wish to proceed with the install on your $bits system now (y/N)? "
read CHOICE
if $CHOICE != [Yy] ]] ; then
exit 0
fi
#
# Download Driver file from Broadcom
#
if ! -e "$sourcefile" ] ; then
wget -nc "$bcwebsite/$sourcefile"
if ! -e "$sourcefile" ] ; then
echo "The Driver Source File: $sourcefile, was not found!"
exit 1
fi
fi
#
# Download Patch file from Broadcom
#
if ! -e "$patchfile" ] ; then
wget -nc "$bcwebsite/$patchfile"
if ! -e "$patchfile" ] ; then
echo "The Driver Patch File: $patchfile, was not found!"
exit 1
fi
fi
#
# Request Permission to Install Files
#
tput clear
echo
echo "Are your ready to install: "
echo
echo " $sourcefile"
echo
echo " <and>"
echo
echo " $patchfile"
echo
echo -n "on to your computer now (y/N)?"
read CHOICE
if $CHOICE != [Yy] ]] ; then
exit 0
fi
if $UID -ne 0 ]]; then
rm -rf hybrid_wl
mkdir hybrid_wl
cd hybrid_wl
tar xzf "$download/$sourcefile"
make clean
patch -p0 < "$download/$patchfile"
make
Exit_Code=$?
if $(( Exit_Code )) -ge 1 ] ; then
echo
echo "The Compile Process Failed with exit code $Exit_Code."
exit 1
fi
else
echo "Please do not start $(basename $0) as a root user!"
exit 1
fi
#
# Install Device Driver Here
#
sudo /sbin/modprobe lib80211
sudo /sbin/insmod wl.ko
sudo cp wl.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless
sudo /sbin/depmod -a
sudo cat /etc/rc.local | grep "modeprobe wl"
Exit_Code=$?
if $(( Exit_Code )) -ge 1 ] ; then
sudo echo modeprobe wl >> /etc/rc.local
fi
echo
echo "Your Broadcom $sourcefile and $patchfile files have been installed"
echo
exit 0
# End Of Script
Copy the text above from the code field into a text editor and save it as the file install_wireless into the folder ~/bin (/home/yourname/bin/install_wireless). To use the script you must mark it executable. Open a terminal session and run the following command:
chmod +x ~/bin/install_wireless
To use the script, open another terminal session and type: