distrá s wifi
Chcel som prejsť na inú distribúciu linuxu Suse 10,3 , Fedora 8 , ale ubuntu ja fajn. Ak je tento driver obsiahnutý v nejakom distre dajte vedieť.
Podobnú tému som našiel na nete kde je popis inštalácie /súhlasí s mojou kartou/ :
1. Install ndiswrapper:
sudo aptitude install ndiswrapper ndiswrapper-utils-1.9 wireless-tools
sudo aptitude install ndiswrapper-source module-assistant
sudo m-a prepare
sudo m-a a-i ndiswrapper
This compiles and installs ndiswrapper as a module in the kernel. To load ndiswrapper module: sudo modprobe ndiswrapper
2. Downloaded the windows wireless driver from the Dell site to a temprorary directory:
wget <url>
3. The exe file downloaded was a self extracting file. Unzip it with unzip:
unzip R115321.EXE
4. This unzips a lot of file in the working directory. The .inf file that we need is in the location DRIVER/bcmwl5.inf
5. Install the windows driver:
sudo ndiswrapper -i DRIVER/bcmwl5.inf
6. See if the installation went successfully:
ndiswrapper -l
The output should be something like this:
bcmwl5 driver installed, hardware (14E4:4324) present
7. Lastly, add “ndiswrapper” (without the quotes) in /etc/modules.
8. Do a iwconfig to see if there now is a interface with wireless extension. On my laptop the interface shows as wlan0
Later on I upgraded my kernel to 2.6.21-2-686 from Debian testing (Lenny) and I decided to configure wireless using the bcm43xx driver which works well with the new kernel:
Update /etc/apt/sources.list to point to Debian testing by adding the following line:
deb http://ftp.debian.org/debian testing main
Install the new kernel:
sudo aptitude update && aptitude install linux-image-2.6.21-2-686
Install bcm43xx-fwcutter which is needed to extract the firmware:
sudo aptitude install bcm43xx-fwcutter
Download the zip file that has the file from which we can get the firmware and unzip it:
wget http://sidulus.textdrive.com/bcmwl5sys.zip
unzip bcmwl5sys.zip (From this we get a file named bcmwl5.sys)
Extract the firmware from the sys file:
sudo bcm43xx-fwcutter -w /lib/firmware/ bcmwl5.sys
All the firmware file gets extracted to /lib/firmware/
Copy the firmware files (*.fw) to /lib/hotplug/firmware/ also:
sudo cp /lib/firmware/*.fw /lib/hotplug/firmware — Not sure whether this is needed or not …
modprobe bcm43xx and reboot the machine.
Pre pridávanie komentárov sa musíte prihlásiť.
Driver bcm43xx mne nefunguje ale niektorým funguje k plnej spokojnosti. Cez ndiswrapper tú wifinu rozbeháš na hocakom distre.
BTW aká je to wifi? Z postupu predpokladám, že broadcom 4311 (alebo 4318)
Ak si skúšal ísť podľa toho návodu a niečo nejde, kľudne napíš, poradíme.
Ako mám otvoriť konzolu?
1. Stiahni si z ndiswrapper.sourceforge.net najnovší ndiswrapper
2. Niekde to rozbaľ
3. Nainštaluj kernel-headers aktuálneho jadra a balík build-essential(sudo apt-get install linux-headers-`uname -r` build-essential)
4. Otvor si konzolu a prejdi do adresára s ndiswrapperom (príkazom cd) 5. napíš make - skompiluje ndiswrapper
6. sudo make install - nainštaluje ndiswrapper
7. z windows ovládačov skopíruj bcmwl5.inf a bcmwl5.sys
8. ndiswrapper -i bcmwl5.inf
9. sudo rmmod bcm43xx
10. sudo modporbe ndiswrapper
Teraz skús či karta funguje (NetworkManger by mal zobraziť siete a malo by sa dať pripojiť alebo skúsiť iwlist scan). Ak áno, môžeš pokračovať ďalej.
11. ndiswrapper -ma
12. do /etc/modprobe.d/blacklist na koniec dopíš blacklist bcm43xx
príkaz cd musí existovať, na to dám krk.
Kam si to rozbalil?
Napíš
cd cesta_k_tomu_rozbalenému_balíku
cd ~/ndiswraper
alebocd /home/meno_uzivatela/ndiswraper
. Ale prvé riešenie je elegantnejšiendiswrapper -i ~/Desktop/bcmwl5.inf
toto mi vypisalo:
ndiswrapper -i ~/Desktop/bcmwl5.inf
couldn't open /home/lacky/Desktop/bcmwl5.inf: No such file or directory at /usr/sbin/ndiswrapper line 219.
Jabber si nie je problém dať ;)
couldn't create /etc/ndiswrapper/bcmwl5: Permission denied at /usr/sbin/ndiswrapper line 194.
Chcem sa Ti velmi podakovat za teto cas.
sudo ndiswrapper -i cesta/bcmwl5.inf
Času je dosť. To vieš. Skúškové ;)sudo rmmod bcm4311
ERROR: Module bcm4311 does not exist in /proc/modules
sudo rmmod bcm43xx
. Ak vypíše to isté nevadí. Modul nie je zavedený.sudo: modporbe: command not found
modprobe
. Už som to opravil aj v návode.lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
eth1 Scan completed :
Cell 01 - Address: 00:0B:6B:83:30:3D
ESSID:"PrievidzaNet_cinsky_mur1"
Protocol:IEEE 802.11b
Mode:Master
Channel:7
Frequency:2.442 GHz (Channel 7)
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Quality=79/100 Signal level=-77 dBm Noise level=-69 dBm
Extra: Last beacon: 10564ms ago
Cell 02 - Address: 00:0B:6B:83:30:04
ESSID:"PrievidzaNet_cinsky_mur2"
Protocol:IEEE 802.11b
Mode:Master
Channel:9
Frequency:2.452 GHz (Channel 9)
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Quality=75/100 Signal level=-82 dBm Noise level=-68 dBm
Extra: Last beacon: 10556ms ago
Cell 03 - Address: 00:0A:52:01:94:AE
ESSID:"kinet_cin.mur2"
Protocol:IEEE 802.11b
Mode:Master
Channel:7
Frequency:2.442 GHz (Channel 7)
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Quality=79/100 Signal level=-77 dBm Noise level=-68 dBm
Extra: Last beacon: 364ms ago
Cell 04 - Address: 00:60:B3:6E:C2:42
ESSID:"PrievidzaNet_Nh"
Protocol:IEEE 802.11b
Mode:Master
Channel:10
Frequency:2.457 GHz (Channel 10)
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Quality=78/100 Signal level=-79 dBm Noise level=-71 dBm
Extra: Last beacon: 4532ms ago
irda0 Interface doesn't support scanning.
Ešte urobit posledne dva kroky.
pred ten príkaz musi byť cez sudo
12. do /etc/modprobe.d/blacklist na koniec dopíš blacklist bcm43xx
mám to napísať do terminalu?
12. Nie. treba to dopísať do toho súboru. napríklad
sudo gedit /etc/modprobe.d/blacklist
. Na koniec dopíšeš ten riadok, uložíš a je to.11. krok zaručí aby wifi išla aj po reštarte a nebolo zakaždým treba písať modprobe ndiswrapper a 12 zaručí aby sa modul bcm43xx nenačítal aj keby sa chcel
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.
# evbug is a debug tool that should be loaded explicitly
blacklist evbug
# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd
# replaced by e100
blacklist eepro100
# replaced by tulip
blacklist de4x5
# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394
# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m
# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
blacklist i2c_i801
Prosim kde to mám napísať.
Aj ja prajem veľa šťastia (niekedy ho treba viac ako rozumu :D )