LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 03-07-2007, 03:07 AM   #16
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678

Quote:
Just to be curious: What would have happened?
If one device were configured correctly, it still might not work. Both modules would be trying to control the device. I don't know if the order of modprobing would make a difference or not.

What type of encryption does your router use?
This is the entry that should contain your key if you are using WPA_PSK:
WIRELESS_WPA_PSK=''

The key needs to match the router's. Also fill in one of these lines:
WIRELESS_CHANNEL=''
WIRELESS_FREQUENCY=''

You can monitor the authentication process with the command:
sudo /usr/sbin/wpa_cli -p /var/run/wpa_supplicant -i wlan0
The -p parameter is the directory wpa_supplicant uses. The -i parameter is the interface name.

---

Unless you have to use WEP because of older equipment, use WPA instead. WEP isn't secure.
 
Old 03-07-2007, 05:34 PM   #17
bychan
LQ Newbie
 
Registered: Jan 2007
Location: Germany
Distribution: SuSE 10.2
Posts: 26

Original Poster
Rep: Reputation: 15
Thank you so much! It works now. It's like Chrismas again! :-)
Adding the channel and checking with the router did the trick.
I don't know, when it happened, but the wlan was not activated today.
I hope that this was not one of the causes for my problems the last two days as well. But without the channel it is not working, so this was necessary as well.

I could use WPA. I tried it about a minute ago, but then it didn't work again. I added the password at WIRELESS_WPA_PASSWORD='' but I didn't know what to add at WIRELESS_WPA_PSK=''

Is it very insecure to run it under WEP?
 
Old 03-08-2007, 03:00 PM   #18
s0cketZ
LQ Newbie
 
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0
i'm having the same problem i'm on debian etch i have a compaq c500 and the chipset of the card is bcm43xx i tryed the solution of useing bcmwl5 instead of bcmwl6 (it came with vista pre-loaded and i figured as well to use the driver bcmwl6 in the Swsetup folder)

# ndiswrapper -l
installed drivers:
bcmwl5 driver installed (alternate driver: bcm43xx)


i'm so lost right now any help would be awsome
 
Old 03-09-2007, 05:14 AM   #19
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
Quote:
Originally Posted by s0cketZ
i'm having the same problem i'm on debian etch i have a compaq c500 and the chipset of the card is bcm43xx i tryed the solution of useing bcmwl5 instead of bcmwl6 (it came with vista pre-loaded and i figured as well to use the driver bcmwl6 in the Swsetup folder)

# ndiswrapper -l
installed drivers:
bcmwl5 driver installed (alternate driver: bcm43xx)


i'm so lost right now any help would be awsome
Unless a new ndiswrapper version README says that it will work with vista drivers, assume that it won't work with vista drivers.
Look in the ndiswrapper wiki and see what they recommendfor your device.

Quote:
Originally Posted by bychan
I could use WPA. I tried it about a minute ago, but then it didn't work again. I added the password at WIRELESS_WPA_PASSWORD='' but I didn't know what to add at WIRELESS_WPA_PSK=''

Is it very insecure to run it under WEP?
It depends on the quality of a hacker in range. Although often tools are created to do it automatically. During a seminar for business on wireless security, two FBI agents performed a live demonstration where they cracked a WEP128 network. They only used common open source tools readily available. It took them 3 minutes.

You can also enter the WPA key in YaST2. Remember that the router needs the same key.

Here is a one-liner that I wrote to generate a random 32 byte key:
Code:
dd bs=1 count=32 if=/dev/random | od -t x1 | sed -n -e 's/^.\{8\}//' -e 's/ //g' -e 1p
I would use the routers web interface to change it their and then edit /etc/sysconfig/network/ifcfg-wlan0 using the same key. (Simply using cut and paste to make sure that the same value is entered in both)

In YaST2, there is a button indicating that the key is a hex key. In the router I just enter it in. Use the same key for each computer. Putting the key on a pen drive to distribute it is the easiest way to go.
 
Old 03-09-2007, 12:51 PM   #20
bychan
LQ Newbie
 
Registered: Jan 2007
Location: Germany
Distribution: SuSE 10.2
Posts: 26

Original Poster
Rep: Reputation: 15
My "problem" with WPA is:
On the server side, i.e. FritzBox, I can choose between TKIP (WPA) and AES (WPA2) as modes, whereas on the client side, in YaST, I have the choice of using "open", "Shared Key", "WPA-EAP" and (as you have suggested "WPA-PSK".
Maybe I trying to match different concept?

Another problem is the passphrase. FritzBox accepts the 32 Byte key, produced in a term with your command string, but Yast rejects it, saying it should be 64 Byte long (with key input type Hexadecimal, maybe this is wrong? Just passphrase?)

Thank you very much for your help!
 
Old 03-13-2007, 05:25 AM   #21
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
TKIP (WPA) and AES (WPA2) as modes, whereas on the client side, in YaST, I have the choice of using "open", "Shared Key", "WPA-EAP" and (as you have suggested "WPA-PSK".

TKIP (WPA) matches WPA_PSK. You can use that. I'm not certain if WPA2 is the same as WPA-EAP. I think for that one you may supply a certificate and the AP communicates with a key server.

I don't understand how you enter the 32 byte key in the Fritz box. A 64 hexadecimal key is a representation of 32 bytes. My one-liner converted 32 random bytes to a 64 hexadecimal representation. On my Linksys router, if I enter a 64 hex digit number, it is taken as a 32 byte key and not an ASCII key phrase.

Last edited by jschiwal; 03-13-2007 at 05:31 AM.
 
Old 03-26-2007, 11:08 PM   #22
savvy_cowgirl
LQ Newbie
 
Registered: Mar 2007
Distribution: Mepis 7
Posts: 10

Rep: Reputation: 0
I have a HP dv6226us I'm trying to get working. I had read the Vista drivers weren't good, so I tried to use the same one you did the bcmwl5.inf and when I tried to use ndiswrapper it told me that it was an invalid driver! Lucky soul, I still don't have mine working. When you got yours working, did the wireless light on the front turn blue like it does under windows? I can't tell if mine is going to work or not, there is no wireless around here, I am trying to get wireless working so I can take it to internet cafe & get updates for SUSE 10.1.
I had to use ndiswrapper and bcmwl6.inf which is the vista driver.
 
Old 02-01-2008, 05:09 PM   #23
bychan
LQ Newbie
 
Registered: Jan 2007
Location: Germany
Distribution: SuSE 10.2
Posts: 26

Original Poster
Rep: Reputation: 15
wlan not working again

I am desolate. I tried for hours to get the wlan working again. The one I got working with the help of this forum last March.
When I start ifup eth0 I get the messages:
eth0 device: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01)
eth0 starting wpa_client
Starting DHCP Client Daemon on eth0 ........... no IP address yet .... backgrounding


That's it. No connection.

iwlist eth0 scan
gives me

"eth0 No scan results"

The wlan is working properly, as I can see with a Windows computer ;-(

I am not sure, if YaST might have destroyed the ifcfg-eth0 in /etc/sysconfig/network
In ifcfg-eth0 are entries for:
BOOTPROTO='dhcp'
IFPLUGED_PRIORITY='10'
NAME='Hewlett-Packard Company BCM94311MCG wlan mini-PCI'
STARTMODE='hotplug'
USERCONTROL='yes'
WIRELESS_AUTH_MODE='psk'
WIRELESS_BITRATE='auto'
WIRELESS_ESSID='FRITZ!Box Fon WLAN 7170'
WIRELESS_KEY_LENGTH='128'
WIRELESS_MODE='Managed'
WIRELESS_WPA_PSK='3225237878878887'

What can I do now?
Please help me!

Best wises,

Bernard
 
Old 04-25-2009, 04:55 PM   #24
1982NL
LQ Newbie
 
Registered: Sep 2008
Posts: 11

Rep: Reputation: 0
Quote:
Originally Posted by bychan View Post
It worked fine, thanks to your description

After starting "ifup wlan0" the wireless shows up in ifconfig, but only if I have an "ifdown eth0" before. But still there's no IP-Address for wlan0:

wlan0 Protokoll:Ethernet Hardware Adresse 00:1A:73:24:A3:8D
UP BROADCAST NOTRAILERS MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlšnge:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:177 Speicher:d6000000-d6004000



> Most of these configurations are saved in the config file
> /etc/sysconfig/network/ifcfg-wlan0.
ifcfg-wlan0 looks like this:
BOOTPROTO='dhcp'
BROADCAST=''
ETHTOOL_OPTIONS=''
IFPLUGD_PRIORITY='10'
IPADDR=''
MTU=''
NAME=''
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='ifplugd'
USERCONTROL='no'
WIRELESS_AP=''
WIRELESS_AUTH_MODE='open'
WIRELESS_BITRATE='auto'
WIRELESS_CA_CERT=''
WIRELESS_CHANNEL=''
WIRELESS_CLIENT_CERT=''
WIRELESS_CLIENT_KEY=''
WIRELESS_CLIENT_KEY_PASSWORD=''
WIRELESS_DEFAULT_KEY='0'
WIRELESS_EAP_AUTH=''
WIRELESS_EAP_MODE=''
WIRELESS_ESSID='FRITZBOX'
WIRELESS_FREQUENCY=''
WIRELESS_KEY=''
WIRELESS_KEY_0='XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
WIRELESS_KEY_1=''
WIRELESS_KEY_2=''
WIRELESS_KEY_3=''
WIRELESS_KEY_LENGTH='128'
WIRELESS_MODE='Managed'
WIRELESS_NICK=''
WIRELESS_NWID=''
WIRELESS_PEAP_VERSION=''
WIRELESS_POWER='yes'
WIRELESS_WPA_ANONID=''
WIRELESS_WPA_IDENTITY=''
WIRELESS_WPA_PASSWORD=''
WIRELESS_WPA_PSK=''
_nm_name='static-0'




Just to be curious: What would have happened?
this is maby old but this help me alot
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ndiswrapper - broadcom and not working sarriss Linux - Wireless Networking 2 02-02-2007 11:41 AM
ndiswrapper and broadcom issues DJCreation Linux - Wireless Networking 1 01-17-2007 06:22 AM
ndiswrapper+Broadcom+Kubuntu pszlachetka Linux - Wireless Networking 3 12-23-2005 01:56 PM
Slackware 10.0 + ndiswrapper + Broadcom = Help! Gatroae Linux - Wireless Networking 8 05-24-2005 03:14 AM
Broadcom 94306 with ndiswrapper 0.5 jon-do Linux - Wireless Networking 3 03-11-2004 01:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 06:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration