You are not logged in.

#1 2007-04-30 17:52:34

ambalex
Member
Registered: 2004-11-17
Posts: 87

[SOLVED] wireless network setup

Hi!

I've been trying to setup a wireless connection, unfortunately without success.

So.. my wireless card is a Broadcom BCM4301 802.11b, so I followed the wiki
http://wiki.archlinux.org/index.php/Wireless_Setup
to check for the module and install it (bcm43xx), specially the section
http://wiki.archlinux.org/index.php/Wir … up#BCM43XX

Then I created a network profile:

#
# Network Profile
#

DESCRIPTION="wifi profile"
# Network Settings
INTERFACE=eth1
HOSTNAME=Attila

# Interface Settings (use IFOPTS="dhcp" for DHCP)
IFOPTS="dhcp"
#GATEWAY=192.168.0.1

# DNS Settings (optional)

# Wireless Settings (optional)
ESSID=essid
KEY=network-key

IWOPTS="mode managed essid $ESSID channel 6 key restricted $KEY"

#WIFI_INTERFACE=wlan0   # use this if you have a special wireless interface
                        # that is linked to the real $INTERFACE

#WIFI_WAIT=5            # seconds to wait for the wireless card to
                        # associate before bringing the interface up
#USEWPA="yes"           # start wpa_supplicant with the profile
#WPAOPTS=""             # use "" for normal operation or specify additional
                        # options (eg, "-D ipw")
                        # see /etc/wpa_supplicant.conf for configuration
#AUTOWPA="yes"          # automatically configure WPA
#PASSKEY=""             # wpa passkey/phrase. for use with AUTOWPA

unfortunately, it doesn't work.

here are the outputs to some commands:

hwd -s

Network    : Broadcom Corp.|BCM4301 802.11b module: bcm43xx

so.. this tells me the module is the right one.

lspci

00:0c.0 Network controller: Broadcom Corporation BCM4303 802.11b Wireless LAN Controller (rev 02)
            Subsystem: ASUSTeK Computer Inc. WL-103b Wireless LAN PC Card
            Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
            Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort+ <TAbort- <MAbort- >SERR- <PERR-
            Latency: 32
            Interrupt: pin A routed to IRQ 19
            Region 0: Memory at e4000000 (32-bit, non-prefetchable) [size=8K]
            Capabilities: <access denied>

from this, I learn there is probably something wrong in getting in touch with the wifi card.

dmesg

after

/etc/rc.d/network start

ieee80211_crypt: registered algorithm 'WEP'
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1132
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1134
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1134
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1134
bcm43xx: TODO: Incomplete code in keymac_write() at drivers/net/wireless/bcm43xx/bcm43xx_main.c:1134
ADDRCONF(NETDEV_UP): eth1: link is not ready

iwlist scaning

eth1      No scan results

Has anybody used a card like this one?
I am probably missing something, or then the problem is really with the module (which is loaded).

Any idea?

thanks!

Last edited by ambalex (2008-10-28 14:22:33)

Offline

#2 2007-04-30 22:00:12

leandroaveiro
Member
From: Rochester, NY, USA
Registered: 2007-04-12
Posts: 45

Re: [SOLVED] wireless network setup

Hi...

I have the same card and it took me a few days to set it working nicely... Here's my setup... Don't know about network profiles though.

- driver: ndiswrapper (tried bcm43xx-fwcutter, didn't work)
- networkmanager with knetworkmanager instead of usual network deamon (follow this link to install it http://wiki.archlinux.org/index.php/Networkmanager
- don't forget to add your user to the network group, or else knetworkmanager won't work.

Note about knetworkmanager... if you have a 64-bit architecture, you have to use the svn version from AUR. There's a bug in the current version.

My /etc/rc.conf

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.iso88591"
HARDWARECLOCK="localtime"
TIMEZONE="America/Sao_Paulo"
KEYMAP="us-acentos"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=(powernow-k8 8139too 8139cp ac battery button dock fan sbs video ndiswrapper)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="note-leandro"
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
#eth0="eth0 192.168.0.10 netmask 255.255.255.0 broadcast 192.168.0.255"
#eth1="eth1 192.168.0.100 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
eth1="dhcp"
wlan_eth1="eth1 essid AVEIRO-WLAN"
WLAN_INTERFACES=(eth1)
INTERFACES=(lo !eth0 !eth1)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
#
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(main)

#
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng !network netfs dbus hal crond alsa cpufreq dhcdbd networkmanager bluetooth)

# End of file

I think the big trick here is to use networkmanager. It is way better than usual network daemon.
This is my result for iwconfig

[root@note-leandro leandro]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11b/g  ESSID:"AVEIRO-WLAN"  Nickname:"Broadcom 4318"
          Mode:Managed  Frequency=2.437 GHz  Access Point: 00:19:5B:BC:21:2B
          Bit Rate=11 Mb/s   Tx-Power=18 dBm
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=50/100  Signal level=-62 dBm  Noise level=-73 dBm
          Rx invalid nwid:0  Rx invalid crypt:11  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth2      no wireless extensions.

After getting a valid iwconfig output, just use knetworkmanager to choose which network you want to use.

Hope this helps.

Offline

#3 2007-05-06 22:52:47

ambalex
Member
Registered: 2004-11-17
Posts: 87

Re: [SOLVED] wireless network setup

Thamks for the tip!

it seems a nice idea to use ndiswrapper instead of bcm43xx. I haven't been able to find the .inf file related to the wifi card though. Any suggestion ? (I also have Windows installed on the same machine, and I know it is for sure there, but I do not know which one)

cheers,

A.

Offline

#4 2007-05-09 21:10:03

ambalex
Member
Registered: 2004-11-17
Posts: 87

Re: [SOLVED] wireless network setup

Hi!

I was able to install the ndiswrapper driver with the .inf file I found here:

http://nicolas.bonifas.free.fr/inspiron/bcmwl5.inf

the bcmwl5.sys (found on the widows partition) was also needed, though.

So far, iwlist scanning can find the network I want to connect to. But starting the network will give me the message

eth1 has timed out

I think something might be wrong with the network_profiles file posted earlier.
What could it be?

thanks for the help.

Offline

#5 2007-05-14 00:22:23

RobF
Member
Registered: 2006-10-10
Posts: 157

Re: [SOLVED] wireless network setup

I don't remember whether I tried the native Linux driver bcm43xx plus the bcm43xx-fwcutter in Arch (I don't think I did) but I tried this quite a few times before with other Linux distros and never got it to work.  However, I've always got a Windows driver to work with ndiswrapper for my BCM4311 chipset.

The key is to find the right driver.  The driver .inf file you're using is very old and it may also not be matched to your driver .sys file which you got from your Windows partition.  It would be best to get the bcmwl5 .inf, .sys, and .cat files all in one matched package.  I'm using the Broadcom driver version 4.10.40.0, dated 11/02/05.  This driver has been working for me without a flaw for the Broadcom BCM4311 with some two dozen different Linux distros running on this Dell Inspiron 6400 laptop over the past year, and that includes Arch.  I got this driver in a package R115321.EXE from Dell.  You can also get it in a SoftPac from HP, and probably from many other places as well.

You can get the Dell R115321 driver from http://ftp.us.dell.com/network/R115321.EXE .  Download it to your Desktop and extract it with unzip as follows

$ unzip R151519.EXE -d bcm4311

This will unpack the package to the folder ~/Desktop/bcm4311. The driver files that you want (i.e. bcmwl5.inf, bcmwl5.sys and bcm43xx.cat) are in ~/Desktop/bcm4311/DRIVER.

The Dell R151519.EXE package also worked for me in Arch.  It contains the Broadcom driver version 4.100.15.5, from 10/12/06.  You can get it from http://ftp.us.dell.com/network/R151519.EXE .

Then uninstall your present driver via

# ndiswrapper -e bcmwl5

which should remove the directory /etc/ndiswrapper/bcmwl5.

Then

# rmmod ndiswrapper
# rmmod bcm43xx                    [this may just give an error if bcm43xx hasn't been loaded]
# ndiswrapper -i bcmwl5.inf       [after cd'ing to the dir that holds the driver files]
# ndiswrapper -l                       [just to check whether the driver has been installed]
# modprobe ndiswrapper           [wireless LED should light]
# iwconfig wlan0 essid myaccesspoint channel 11 key 1234567890abcdef open
[or whatever the details are of your wireless network setup]
# ifconfig wlan0 up
# dhcpcd wlan0
# ping google.com

If this works then make the setup permanent by modifying the appropriate network config files.  If that leads to problems, I can tell you my config settings.

Robert

Offline

#6 2007-08-20 12:05:19

ambalex
Member
Registered: 2004-11-17
Posts: 87

Re: [SOLVED] wireless network setup

Hi!
I found the right windows driver for my chipset (bcm4301).
with ndiswrapper it works fine, when I run iwconfig wlan0, it finds the ESSID of the network I want to connect to, the access point, etc... it really looks it is ok.
After that, I run (as root)

ifconfig wlan0 up
dhcpcd wlan0
ping google.com

unfortunately, it doesn't find the host google.com/www.google.com

my uni states I have to make a VPN connection, using pptpclient (http://pptpclient.sourceforge.net/).
I installed pptp client and configured it (http://pptpclient.sourceforge.net/howto-debian.phtml#configure_by_hand and http://wiki.archlinux.org/index.php/Mic … ptpclient)

and I start the tunnel with the command:
pon $TUNNEL debug dump logfd 2 nodetach

but, i am unable to start the tunnel, getting the message, after the command above
LCP: timeout sending Config-Requests

I find it strage I say nowhere, in the pptp client config that I want it done through the wireless (wlan0, ...)

any idea?

Offline

#7 2007-08-20 12:24:25

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: [SOLVED] wireless network setup

Perhaps a stupid question, but did you try to ping the router's address?


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#8 2007-08-20 12:31:46

ambalex
Member
Registered: 2004-11-17
Posts: 87

Re: [SOLVED] wireless network setup

I did ping the uni address, and it cannot find the host

Offline

#9 2007-11-27 16:59:01

ambalex
Member
Registered: 2004-11-17
Posts: 87

Re: [SOLVED] wireless network setup

Hello Archers!

i managed very little with that tunnel story, so I gave it up.
However, my school changed the wireless network some time ago and I decided to give it a retry.

So:

the ndiswrapper way:

I installed ndiswrapper package, the driver for my card, and, when I do

ndiswrapper -l

the answer is

bcmwl5 : driver installed
    device (14E4:4301) present (alternate driver: bcm43xx)

which looks nice
but

iwlist scanning

gives

wlan0     No scan results

and

iwconfig wlan0

I get

wlan0     IEEE 802.11b  ESSID:"d11b"
          Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated
          Bit Rate:11 Mb/s   Tx-Power:16 dBm
          RTS thr:2347 B   Fragment thr:2346 B
          Power Management:off
          Link Quality:100/100  Signal level:-10 dBm  Noise level:-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

while

dmesg|tail

right after

modprobe ndiswrapper

I get

ndiswrapper (NdisWriteErrorLogEntry:191): log: C000138D, count: 1, return_address: debcab89
ndiswrapper (NdisWriteErrorLogEntry:194): code: 0x1b
ndiswrapper: using IRQ 19
wlan0: ethernet device 00:0e:a6:07:8f:31 using NDIS driver: bcmwl5, version: 0x50000, NDIS version: 0x500, vendor: 'NDIS Network Adapter', 14E4:4301.5.conf
ndiswrapper (set_iw_encr_mode:717): setting encryption mode to 0 failed (00010003)
ndiswrapper (set_ndis_auth_mode:628): setting auth mode to 3 failed (C0010015)
wlan0: encryption modes supported: none
ndiswrapper (set_iw_encr_mode:717): setting encryption mode to 1 failed (00010003)
usbcore: registered new interface driver ndiswrapper

the bcm43xx way:

after installing the fwcutter and extracting the firmware, I get:

iwlist scanning

gives

eth1     No scan results

and

iwconfig wlan0

I get

eth1     IEEE 802.11b  ESSID:off/any
          Mode:Managed  Access Point: Invalid
          RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0/100  Signal level:0 dBm  Noise level:0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

while

dmesg|tail

right after

modprobe bcm43xx

I get

bcm43xx  driver

my interpretation is (and I am no expert): with the ndiswrapper driver, I am a bit further.
Nontheless, I have no idea how to go ahead.
From my uni, I know, about my network, the following:
SSID
network authentication
encryption
authentication 802.1x
authentication protocol
and the login to follow.

I think the card should see some network before I try to connect to it (i.e. configure), however, my card seems unable to spot the network.

any idea?
many thanks

Offline

#10 2007-11-28 04:35:39

arunvragh
Member
Registered: 2007-04-17
Posts: 111

Re: [SOLVED] wireless network setup

Ndiswrapper works fine.. Did you add bcm43xx to he Modules Blacklist in rc.conf.

Try using a DNS address. If it is automatic put your router address as DNS  address.

The driver I use is SP34152.exe fron HP. Google for it, you'll find it. Cabextract into a separate folder, cd into the folder and ndiswrapper -i bcmwl5.inf it will find the app sys file. Remember to uninstall the present driver before that.

Finally install wicd. It works like a charm. Add your user to daemon if you want to start wicd as a normal user.

Offline

#11 2007-11-29 13:56:24

ambalex
Member
Registered: 2004-11-17
Posts: 87

Re: [SOLVED] wireless network setup

ok, i managed to find the right driver to load with ndiswrapper,
and the command

iwlist wlan0 scan

gives the following answer:

wlan0     Scan completed :
          Cell 01 - Address: 00:0F:24:D6:A1:00
                    ESSID:"eduroam"
                    Protocol:IEEE 802.11b
                    Mode:Managed
                    Frequency:2.412 GHz (Channel 1)
                    Quality:59/100  Signal level:-58 dBm  Noise level:-96 dBm
                    Encryption key:on
                    Bit Rates:11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=500
                    Extra:atim=0
          Cell 02 - Address: 00:0F:24:D1:60:70
                    ESSID:"eduroam"
                    Protocol:IEEE 802.11b
                    Mode:Managed
                    Frequency:2.412 GHz (Channel 1)
                    Quality:39/100  Signal level:-71 dBm  Noise level:-96 dBm
                    Encryption key:on
                    Bit Rates:11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=500
                    Extra:atim=0
          Cell 03 - Address: 00:0E:D7:90:76:70
                    ESSID:"eduroam"
                    Protocol:IEEE 802.11b
                    Mode:Managed
                    Frequency:2.437 GHz (Channel 6)
                    Quality:42/100  Signal level:-69 dBm  Noise level:-96 dBm
                    Encryption key:on
                    Bit Rates:11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=500
                    Extra:atim=0
          Cell 04 - Address: 00:0E:84:AB:07:C0
                    ESSID:"eduroam"
                    Protocol:IEEE 802.11b
                    Mode:Managed
                    Frequency:2.462 GHz (Channel 11)
                    Quality:46/100  Signal level:-66 dBm  Noise level:-96 dBm
                    Encryption key:on
                    Bit Rates:11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=500
                    Extra:atim=0
          Cell 05 - Address: 00:0E:D7:8D:16:70
                    ESSID:"eduroam"
                    Protocol:IEEE 802.11b
                    Mode:Managed
                    Frequency:2.462 GHz (Channel 11)
                    Quality:45/100  Signal level:-67 dBm  Noise level:-96 dBm
                    Encryption key:on
                    Bit Rates:11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=500
                    Extra:atim=0

so, it looks like the card can see the network I want to connect to.
now, the qestion is: hot to connect to it, using a network profile?

the information I have got is:

SSID
network authentication
encryption
authentication 802.1x
authentication protocol
and the login/password

I'll have a look to it and get back here if I find trouble.
cheers

Last edited by ambalex (2007-11-29 13:57:00)

Offline

#12 2007-11-30 07:06:32

Grimn
Member
Registered: 2006-12-23
Posts: 136

Re: [SOLVED] wireless network setup

I think you also need to define a wpa_supplicant.conf to connect using a network profile.

wpasupplicant:

eapol_version=1
ap_scan=2
fast_reauth=1

network={
   ssid="eduroam"
   scan_ssid=1
   key_mgmt=IEEE8021X
   eap=PEAP
   identity="user@fct.unl.pt"
   password="password"
   #
   phase2="MSCHAPV2"
   priority=2
}

Also have you tried using networkmanager? You dont have to configure profiles and supplicant to use it.

Offline

#13 2007-12-10 12:43:34

ambalex
Member
Registered: 2004-11-17
Posts: 87

Re: [SOLVED] wireless network setup

Yes, wpa_supplicant should be the way. Unfortunately, it is not able to make the association to an AP.
could it be that the driver is not the appropriate one after all? should i look in that direction?

I haven't tried network manager yet, but i'd prefer to do it by hand.

when typing in

wpa_supplicant -D ndiswrapper -c /path/to/conf/file -d -i wlan0

there is indeed a scan that finds APs, first, WPA-enabled ones:

skip - no WPA/RSN IE

and then non-WPA:

network not allowed

and, at the end:

No suitable AP found

before reinitiating the scan and all the process.

ap_scan is set to 1 in the .conf file.

When setting it to 2 or 0 it doesn't work neither.

any hint?

Offline

#14 2007-12-10 13:18:57

ambalex
Member
Registered: 2004-11-17
Posts: 87

Re: [SOLVED] wireless network setup

I guess the problem is the driver, since when running wpa_supplicant I have the message that the driver does not suppport WPA.
the chipset is a BCM4301, I have found some windows drivers out there, but only one does a proper scan, though it does not support WPA.

Is this the end of the story?

Offline

#15 2007-12-10 13:51:18

arunvragh
Member
Registered: 2007-04-17
Posts: 111

Re: [SOLVED] wireless network setup

Forget all the network managers. Use wicd instead. I have the same card and have been working with it for about 8 months without a problem.

Install wicd from community (pacman -Sy wicd)
Install ndiswrapper and ndiswrapper-utils

I downloaded the driver (usually sp 31xxxx) from hp site. I can give you the exact version. i have it on my laptop. Store it in a separate folder. cabextract the exe files.

cd into the folder. ndiswrapper -i bcmwl5.inf. It will install the appropriate sys file also. I do this because I am on arch 64 and needed the sys564 file. Open rc.conf remove network manager,network etc from the daemons and add wicd.

now reboot. open a terminal and as root /usr/lib/wicd/gui.py. The user interface is simple. Your network should already appear with the essid name. Go into advanced and fill up whatever you want including DNS addresses, wpa passphrase etc. Click connect. You should be on your way.

If you also have a wired connection, in preferences check always show wired connection. So follow the same procedure with your wired connection. Should be eth0 normally (you have to enter a profile name).

Now whenever you boot you can choose which ever connection you want to use.

Blacklist bcm43xx in the modules blacklist in rc.conf. Add ndiswrapper (it should already have an alias directive) to the modules array in rc.conf.

This is how I got this card going

Offline

#16 2007-12-10 15:26:18

ambalex
Member
Registered: 2004-11-17
Posts: 87

Re: [SOLVED] wireless network setup

hi!
thanks for the tip, but it is not working.

I think that is because the drivers I use are not the right ones (bcm4301 on a asus laptop).

Doing some research on the net, I found that it was possible to have it working from the firmware, using the b43legacy module (and not the bcm43xx one).
http://linuxwireless.org/en/users/Drivers/b43

However, the b43legacy module is not in the kernel tree.

anyone knows about this?

Offline

#17 2007-12-11 12:27:09

arunvragh
Member
Registered: 2007-04-17
Posts: 111

Re: [SOLVED] wireless network setup

Funny, works on my compaq though. The driver I used is SP34152.exe from HP site. If you google, I am sure you can find it. I am not sure about recompiling the kernel though. Never had to do that. Mine is arch64 but I guess it should be easier to find stuff for 686

All the best

Offline

#18 2008-10-28 12:14:25

ambalex
Member
Registered: 2004-11-17
Posts: 87

Re: [SOLVED] wireless network setup

fixed!

now, I leave here my config files for those seeking help on how to access the eduroam network at the University of Aveiro:

note that I use a Bradcom BCM4301 (says lshwd) or BCM4303 (says lspci) (for mor info, see the wireless linux site cited above), and the b43legacy module (bcm43xx and b43 are blacklisted in rc.conf so that they won't automatically load).

once the module is loaded, follow the instructions from the wiki
http://wiki.archlinux.org/index.php/Wireless

# iwconfig
# ifconfig wlan0 up
# iwlist wlan0 scan

where wlan0 is the interface (see the wiki)

I use the following configuration for wpa_supplicant:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1

ap_scan=1
fast_reauth=1

network={
        ssid="eduroam"
        scan_ssid=1
        key_mgmt=WPA-EAP
        eap=PEAP
        group=TKIP
        identity="utilizadoruniversal@ua.pt"
        password="Password"
        priority=1
        phase2="auth=MSCHAPV2"
}

replace utilizadoruniversal and Password with your own credentials and save it, e.g. as /etc/wpa_supplicant.conf

than, use the following commands:

# iwconfig wlan0 essid eduroam
# ifconfig wlan0 up
# wpa_supplicant -D wext -c /etc/wpa_supplicant.conf -d -i wlan0
# dhcpcd wlan0

I tried the broadcom driver for wpa_supplicant but it turned out that the generic (wext), was the one that worked.
between the third and fourth command, you might need to wait a bit.
If you want, use the -B option for wpa_supplicant and it will be run in the background.

enjoy!

Offline

Board footer

Powered by FluxBB