Installing broadcom drivers for your wireless on your Dell E6500 laptop for CentOS 5.5)
——
yum install kernel-headers kernel-devel gcc
mkdir -p /usr/local/src/hybrid-wl
cd /usr/local/src/hybrid-wl/
wget http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-x86_32-v5.60.48.36.tar.gz
tar xvfz /root/Desktop/hybrid-portsrc-x86_32-v5.60.48.36.tar.gz
chmod -R 777 *
make -C /lib/modules/`uname -r`/build/ M=`pwd`
(there will be errors and most likely with typdefs.h)
vi typdefs.h
(bool definition comment out // typedef unsigned char bool //)
make -C /lib/modules/`uname -r`/build/ M=`pwd`
works fine with wl.ko created else yum update kernel-devel kernel-headers kernel
strip --strip-debug wl.ko
rmmod bcm43xx
rmmod b43
rmmod b43legacy
rmmod ndiswrapper
modprobe wl.ko
modprobe wl
insmod wl.ko
cp -vi /usr/local/src/hybrid-wl/wl.ko /lib/modules/`uname -r`/extra/
depmod $(uname -r)
vi /etc/modprobe.d/blacklist
(blacklist the previous existing and future broadcom drivers as well as ndiswrapper if you have ever tried to use the exisitng windows drivers)
add the following lines
#bcm drivers blacklist
blacklist bcm43xx
blacklist ndiswrapper
blacklist b43
blacklist b43legacy
vi /etc/modprobe.conf
add the following line
alias eth1 wl
vi /etc/modprobe.d/modprobe.conf.dist
(add the following lines)
alias ieee80211_crypt_tkip_ieee80211_crypt_tkip
alias eth1 wl
Then
iwlist eth1 scanning
iwconfig eth1 essid <
(for testing purposes… all possibilities this won’t work… jump to next step)
vi /etc/wpa_supplicant/wpa_supplicant.conf
(add the following lines)
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="<
key_mgmt=WPA-PSK
psk="<
}
vi /etc/sysconfig/network-scripts/ifcfgeth1
(add or replace or insert as and when required change HWADDR and ESSID)
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
TYPE=Wireless
DEVICE=eth1
HWADDR=
NETMASK=
DHCP_HOSTNAME=
IPADDR=
BONDING_OPTS=
DOMAIN=
MASTER=
TYPE=Wireless
USERCTL=yes
IPV6INIT=no
PEERDNS=yes
ESSID=<
CHANNEL=
MODE=Any
SECURITYMODE=
RATE=auto
shoot the following for the last steps
ifconfig eth0 down
iwconfig eth1 mode managed
You can also put the above in /etc/rc.local to take effect on restart
wpa_supplicant -B -dd -ieth1 -c /etc/wpa_supplicant/wpa_supplicant.conf
dhclient eth1
Install RPMForge repository
yum -y install pam_keyring
/etc/pam.d/gdm
auth optional pam_keyring.so try_first_pass
session optional pam_keyring.so
example
#%PAM-1.0
auth required pam_env.so
auth optional pam_keyring.so try_first_pass <---
auth include system-auth
account required pam_nologin.so
account include system-auth
password include system-auth
session optional pam_keyinit.so force revoke
session include system-auth
session required pam_loginuid.so
session optional pam_console.so
session optional pam_keyring.so <---
yum -y install gnome-keyring-manager gnome-keyring pam_keyring
reboot
{ 0 comments }

