Another lazy Saturday afternoon, what to do? 20jun09 I know, let's abuse our brain by playing with Linux!
It took a while to remember my linux login (based on easiest keyboard typing)...
oh, and good thing I have ext explorer on my winxp dual boot because I took a peek at /etc/passwd to help remember my login name =p
Thankfully I didn't have to use the stuff I looked up about resetting the root password (since I've disabled root anyways...) Who knew that rescue mode made a physical machine basically insecure...
So after logging in (yes, I DID remember my password)... but it took me awhile to realize there's no sudo su... instead su -
AND that I had set a different password for su...
To install: linksys notebook adapter wpc54g v3 (pci)
I had prepared by downloading the broadcom drivers (the chipset for Linksys WPC54G wifi card) and then copying them into the linux partition with the ext explorer...
Finally, mkdir hybrid_wl and then tar -xzf hybrid-portsrc... which leaves me Makefile, src, and lib
ah... but silly me, dmesg shows me at the end that b43-phy0: Broadcom 4318 WLAN found Broadcom 43xx driver loaded
ifconfig -a //does show me wlan0 but now I need wpa-supplicant There's also wmaster0... hmmmm... but sorry... no iwlist, no iwconfig ip addr show //does show both wlan0 and wmaster0
dhclient wlan0 //a little too early... since no iwconfig!
The very useful place to find packages (manually, sorry, no apt-get) http://packages.debian.org/search
dpkg --install wpasupplicant_0.6... etc. EXCEPT I need: libdbus-1-3, libn-nl1, libpcsclite1 1.5.3!... ugh
libn-nl1 actually becomes libnl1 ... and I chose the "lenny" version aka debian 5 ... or sometimes "sid or squeeze" the next generation...
ah well, throw the 3 deb's in... libnl1_1.1-5_i386.deb libdbus-1-3_1.2.14-3_i386.deb libpcsclite1_1.5.3-1_i386.deb
dpkg --install (fill in the above)
finally works... cd /etc wpa_passphrase ssid > wpa_supplicant.conf //prompts for passkey, after you type it in press enter
wpa_supplicant -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
EXCEPT it now says that there's some firmware problem b43/ucode5.fw //go to linuxwireless.org/en/users/drivers/b43 ?
to use lspci I need: pciutils.deb -> which depends on libpci3...deb
su - lspci -vnn | grep 14e4 //shows whether "legacy" for wifi b
0001:01:01.0 Network controller : Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller [14e4:4318] (rev 02)
not only do I need the MY-wifi.sh script in /etc/init.d
BUT I need to ensure that the adapter is started automatically by the networking service daemon...
auto wlan0 iface wlan0 inet dhcp
so I'll have to use the Broadcom provided drivers - which involve uninstalling the current kernel drivers and using "make" ...
rmmod ndiswrapper b43 ssb bcm43xx b43legacy modprobe ieee80211_crypt_tkip insmod wl.ko
/sbin/modprobe ieee80211_crypt_tkip /sbin/modprobe wl alias wlan0 wl
iwconfig iwlist scanning
rmmod wl rmmod wl2 depmod -a modprobe ieee80211 modprobe ieee80211_crypt modprobe ieee80211_crypt_wep modprobe ieee80211_crypt_tkip modprobe ieee80211_crypt_ccmp modprobe wl2 dmesg|tail
I have blacklisted b43 and have to rmmod ssb after I boot. Then modprobe wl2 works and the interface shows up. For some reason blacklisting ssb doesn't work and adding wl2 in the /etc/modules.conf doesn't load it.
blacklisted ssb, wl, b43, rebuilt initrd and added wl2 into the modules.conf. Boots up and finds the wireless nic.
blacklist rfkill_input blacklist rfkill blacklist mac80211 blacklist cfg80211 blacklist ohci_hcd blacklist ssb
Second, load ndiswrapper driver before ssb loaded using /etc/rc.d/rc.local:
Load ndiswrapper-based BCM4318 WLAN driver
Enable ssb and ohci_hcd
modprobe ssb modprobe ohci_hcd ...
update-initramfs -u kernel .config into "modules"
Sonics Silicon Backplane
CONFIG_SSB_POSSIBLE=y CONFIG_SSB=m //modules CONFIG_SSB_PCIHOST_POSSIBLE=y CONFIG_SSB_PCIHOST=y CONFIG_SSB_B43_PCI_BRIDGE=n
CONFIG_SSB_DEBUG is not set
make dep && make clean bzImage modules modules_install
some PCMCIA/Cardbus users experience problems with no network interface being created after their wireless driver is loaded.
cardctl eject cardctl insert
read PID</var/run/cardmgr.pid kill $PID sleep 3 cardmgr
pccardctl status pccardctl ident
upgrading the firmware!?!?! http://downloads.openwrt.org/sources/broadcom-wl-126.96.36.199.tar.bz2
sudo apt-get install b43-fwcutter
sudo ../../b43-fwcutter-012/b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta.o
iface eth0 inet dhcp