Re: HOWTO: Broadcom 4318 Wireless Cards
I've got it working! I seem to have to do sudo ifupeth1 after rebooting but I really don't mind that at all and I could probably script it to do automatically!
My settings are like so for any who find them useful:
Code:
sudo gedit /etc/wpa_supplicant.conf
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=2
fast_reauth=1
network={
ssid="wlan-ap"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
psk=2e6xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
}
# Home
network={
ssid="linksys"
key_mgmt=NONE
priority=2
}
Code:
sudo gedit /etc/default/wpasupplicant
Code:
ENABLED=1
OPTIONS="-w -i eth1 -D ndiswrapper -c /etc/wpa_supplicant.conf"
Code:
sudo gedit /etc/network/interfaces
Code:
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp
pre-up wpa_supplicant -Bw -Dwext -ieth1 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant
auto eth2
iface eth2 inet dhcp
auto ath0
iface ath0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
pre-up wpa_supplicant -Bw -Dwext -ieth1 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant
I realise i've got an extra entry in the last part that I don't need but it works so i'm not gonna fiddle!
Thankyou all so much!
Calv
Re: HOWTO: Broadcom 4318 Wireless Cards
Cool,
mine seems to automatically connect, I don't think it does it straight away, but it does eventually!
Re: HOWTO: Broadcom 4318 Wireless Cards
ran the script and now my wireless card (ie. eth1) isn't detected at all. Help?
ran sudo iwlist eth1 scan and iwconfig and i get this
mshen10@hacker-laptop:~$ sudo iwlist eth1 scan
eth1 Interface doesn't support scanning.
mshen10@hacker-laptop:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
Re: HOWTO: Broadcom 4318 Wireless Cards
Quote:
Originally Posted by
mshen10
ran the script and now my wireless card (ie. eth1) isn't detected at all. Help?
ran sudo iwlist eth1 scan and iwconfig and i get this
mshen10@hacker-laptop:~$ sudo iwlist eth1 scan
eth1 Interface doesn't support scanning.
mshen10@hacker-laptop:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
I can't help, but this is what happened to me as well. Is this common?!
Re: HOWTO: Broadcom 4318 Wireless Cards
Um...try sudo rmmod bcm43xx, then sudo rmmod ndiswrapper, then sudo modprobe ndiswrapper
Re: HOWTO: Broadcom 4318 Wireless Cards
k this is what i get when i run the following commands
mshen10@hacker-laptop:~$ sudo rmmod bcm43xx
Password:
ERROR: Module bcm43xx does not exist in /proc/modules
mshen10@hacker-laptop:~$ sudo rmmod ndiswrapper
mshen10@hacker-laptop:~$
(nothing happens)
mshen10@hacker-laptop:~$ sudo modprobe ndiswrapper
mshen10@hacker-laptop:~$
(nothing happens again)
Re: HOWTO: Broadcom 4318 Wireless Cards
Quote:
Originally Posted by
compwiz18
Um...try sudo rmmod bcm43xx, then sudo rmmod ndiswrapper, then sudo modprobe ndiswrapper
I don't know how that worked, but it worked. Thanks!
Re: HOWTO: Broadcom 4318 Wireless Cards
this is what i get when i run the script
Installing build-essential using command apt-get install build-essential...
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
apt-get died with exit status 100
Done.
Extracting the wifi drivers...
tar: ndiswrapper*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar died with exit status 2
Done.
Removing all versions of ndiswrapper...
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
apt-get died with exit status 100
Done.
ERROR: Removing 'ndiswrapper': Operation not permitted
rmmod died with exit status 255
ERROR: Module bcm43xx does not exist in /proc/modules
rmmod died with exit status 1
/home/mshen10/Desktop/ndiswrapper_setup: line 58: cd: ndiswrapper-1.23: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make died with exit status 2
make: *** No rule to make target `install'. Stop.
make died with exit status 2
tar: wifi-drivers-x*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
ndiswrapper: No such file or directory
ndiswrapper died with exit status 1
ndiswrapper: No such file or directory
ndiswrapper died with exit status 1
ndiswrapper: No such file or directory
ndiswrapper died with exit status 1
/home/mshen10/Desktop/ndiswrapper_setup: line 80: /etc/modprobe.d/blacklist: Permission denied
/home/mshen10/Desktop/ndiswrapper_setup: line 83: /etc/modules: Permission denied
chmod: cannot access `wifisetup.log': No such file or directory
INSTALL COMPLETE. IF YOU HAVE PROBLEMS, PLEASE POST wifisetup.log ON THE THREAD THAT YOU DOWNLOADED THIS SCRIPT FROM.
IF EVERYTHING IS WORKING, YOU CAN SAFELY DELETE ALL FILES.
THE WIRELESS LIGHT ON YOUR COMPUTER SHOULD BE ON NOW.
IF IT IS NOT, PLEASE REBOOT. IF IT IS STILL NOT, TRY PRESSING IT.
IF THAT DOESN'T HELP, PLEASE POST ON THE FORUMS AND INCLUDE THE CONTENTS OF wifisetup.log
Do you want to reboot now? y/n:
Re: HOWTO: Broadcom 4318 Wireless Cards
Quote:
Originally Posted by
mshen10
this is what i get when i run the script
Installing build-essential using command apt-get install build-essential...
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
apt-get died with exit status 100
Done.
Extracting the wifi drivers...
tar: ndiswrapper*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar died with exit status 2
Done.
Removing all versions of ndiswrapper...
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
apt-get died with exit status 100
Done.
ERROR: Removing 'ndiswrapper': Operation not permitted
rmmod died with exit status 255
ERROR: Module bcm43xx does not exist in /proc/modules
rmmod died with exit status 1
/home/mshen10/Desktop/ndiswrapper_setup: line 58: cd: ndiswrapper-1.23: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make died with exit status 2
make: *** No rule to make target `install'. Stop.
make died with exit status 2
tar: wifi-drivers-x*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
ndiswrapper: No such file or directory
ndiswrapper died with exit status 1
ndiswrapper: No such file or directory
ndiswrapper died with exit status 1
ndiswrapper: No such file or directory
ndiswrapper died with exit status 1
/home/mshen10/Desktop/ndiswrapper_setup: line 80: /etc/modprobe.d/blacklist: Permission denied
/home/mshen10/Desktop/ndiswrapper_setup: line 83: /etc/modules: Permission denied
chmod: cannot access `wifisetup.log': No such file or directory
INSTALL COMPLETE. IF YOU HAVE PROBLEMS, PLEASE POST wifisetup.log ON THE THREAD THAT YOU DOWNLOADED THIS SCRIPT FROM.
IF EVERYTHING IS WORKING, YOU CAN SAFELY DELETE ALL FILES.
THE WIRELESS LIGHT ON YOUR COMPUTER SHOULD BE ON NOW.
IF IT IS NOT, PLEASE REBOOT. IF IT IS STILL NOT, TRY PRESSING IT.
IF THAT DOESN'T HELP, PLEASE POST ON THE FORUMS AND INCLUDE THE CONTENTS OF wifisetup.log
Do you want to reboot now? y/n:
where u running synaptics or updater? And did you run the script as root?
Re: HOWTO: Broadcom 4318 Wireless Cards
wasn't running synaptics or updater. how do i run the script as a root?
I ran the script like this
mshen10@hacker-laptop:~$ cd Desktop
mshen10@hacker-laptop:~/Desktop$ dir
automatix_7.0-test4-6.10edgy1_i386.deb ndiswrapper-1.23.tar.gz
bcm4318x32.edgy.tar.gz ndiswrapper_setup
bcmwl5.inf wifi-drivers-x32.tar.gz
bcmwl5.sys wifisetup.log
ndiswrapper-1.23
mshen10@hacker-laptop:~/Desktop$ sudo ./ndiswrapper_setup