LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-28-2008, 12:16 PM   #1
RSKueffner
LQ Newbie
 
Registered: Mar 2008
Distribution: Slackware 12.2
Posts: 4

Rep: Reputation: 0
ndiswrapper, wpa_supplicant, and RSN / WPA2 on a Dell Latitude D630


Hello. I have been a lurker for awhile; my buddy and myself dove into Slackware about a year ago as our first distribution. Thus far, we have rarely had any issues. Recently I have come to possess a Dell Latitude D630. Being a laptop, I have come to require the proper utilization of wireless; more specifically RSN / WPA2.

From my understanding, I have two internet controllers. I ran lspci -v and from the assortment of devices listed I discovered the following:

Quote:
09:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5755M Gigabit Ethernet PCI Express (rev 02)
Subsystem: Dell Unknown device 01f9
Memory at fe7f0000 (64-bit, non-prefetchable) [size=64K]
Expansion ROM at <ignored> [disabled]
Capabilities: [48] Power Management version 3
Capabilities: [50] Vital Product Data <?>
Capabilities: [58] Vendor Specific Information <?>
Capabilities: [e8] Message Signalled Iterrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [13c] Virtual Channel <?>
Capabilities: [160] Device Serial Number c8-82-35-fe-ff-23-1c-00
Capabilities: [16c] Power Budgeting <?>
Kernel driver in use: tg3
Kernel modules: tg3

0c:00.0 Network controller: Broadcom Corporation BCM4328 802.11a/b/g/n (rev 03)
Subsystem: Dell Wireless 1500 Draft 802.11n WLAN Mini-card
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at fe8fc000 (64-bit, non-prefetchable) [size=16K]
Memory at f0000000 (64-bit, prefetchable) [size=1M]
Capabilities: [40] Power Management version 2
Capabilities: [58] Vendor Specific Information <?>
Capabilities: [e8] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [13c] Virtual Channel <?>
Capabilities: [160] Device Serial Number 1e-00-c0-ff-ff-4c-f3-9b
Capabilities: [16c] Power Budgeting <?>
Kernel driver in use: ndiswrapper
Kernel modules: ssb
Do however note that I ran this command after executing the commands that follow. If what I read from lspci -v was augmented by the following commands, please inform me how to begin anew.

First I downloaded the ndiswrapper SlackBuild from:
http://slackbuilds.org/repository/12...k/ndiswrapper/

I extracted the tar.gz to my desktop, moved the ndiswrapper-1.53.tar.gz to the ndiswrapper directory and executed ndiswrapper.SlackBuild from the teminal. This script moved a package to the /tmp directory. I installed the package from the aforementioned directory.

I then downloaded R151519.EXE from:
http://support.dell.com/support/topi...up&file=202138

Do note that the following page may be used to access recommended drivers from the Dell website:
http://support.dell.com/support/down...&catid=&impid=

I ran this self extracting executable on my main rig and copied bcmwl5.inf and bcmwl5.sys to a thumb drive which I then copied to /etc/ndiswrapper on the Dell Latitude D630

I then executed the following:

Quote:
sudo ndiswrapper -i bcmwl5.inf
sudo modprobe ndiswrapper
sudo ndiswrapper -m
sudo mousepad /etc/modules
By which I added "ndiswrapper" to the file, no quotes. The file was blank.

My wpa_supplicant.conf follows:

Quote:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

network={
priority=1
ssid="vader"
scan_ssid=1
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
#group=CCMP TKIP WEP104 WEP40
psk="*******"
}
Lastly I execute the following in the terminal:

Quote:
cd /var/run/wpa_supplicant
rm -rf wlan0
wpa_supplicant -iwlan0 -Dndiswrapper -c/etc/wpa_supplicant.conf -dd -D
-Thanks

Postscript: I have also come across this:
http://www.broadcom.com/support/802.11/linux_sta.php

But haven't a clue as to how to compile it. I have read the readme mind you.

Last edited by RSKueffner; 12-28-2008 at 12:57 PM. Reason: More information
 
Old 12-29-2008, 01:01 PM   #2
jmhet42
Member
 
Registered: Sep 2008
Distribution: Slackware, FreeBSD
Posts: 30

Rep: Reputation: 16
I'm not trying to be critical, at all, but what exactly was your question? I think it might help to state exactly what isn't working. And...that "bcmwl5.inf" looks very familiar to me. I remember seeing it when I was trying to get a card with a Realtek 8185 chipset working. Don't have time to look right now, but good luck.
 
Old 12-29-2008, 11:54 PM   #3
RSKueffner
LQ Newbie
 
Registered: Mar 2008
Distribution: Slackware 12.2
Posts: 4

Original Poster
Rep: Reputation: 0
Ahh, yes. Apologies. Got so caught up in recording the details that I guess I didn't make it clear? My purpose is to get wireless functioning correctly with WPA2. Thanks.
 
Old 12-30-2008, 02:10 PM   #4
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,162
Blog Entries: 5

Rep: Reputation: 394Reputation: 394Reputation: 394Reputation: 394
Hello,

Please have a look at Alien's Bob tutorial: setting up WPA encryption

You will see that inputs are also needed in file /etc/rc.d/rc.inet1.conf. My guess is that you'll need these inputs:

Code:
WLAN_WPA[x]="wpa_supplicant"
WLAN_WPADRIVER[x]="ndiswrapper"
Please replace "x" with appropriate number for your wireless interface.
 
Old 12-30-2008, 10:10 PM   #5
jmhet42
Member
 
Registered: Sep 2008
Distribution: Slackware, FreeBSD
Posts: 30

Rep: Reputation: 16
Well, I did remember correctly about seeing "bcmwl5.inf" before; only problem was that the post was about FreeBSD. The problem there was failing to get the driver directly from Dell.

Good luck.
 
Old 12-31-2008, 12:04 AM   #6
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
The driver should probably be "wext" not "ndiswrapper" in the wpa_supplicant command. And get rid of the -D at the end of the command.

Having said that, you'll probably find that using wicd is much simpler.

Brian
 
Old 12-31-2008, 02:03 PM   #7
RSKueffner
LQ Newbie
 
Registered: Mar 2008
Distribution: Slackware 12.2
Posts: 4

Original Poster
Rep: Reputation: 0
@gegechris99
I tried your aforementioned tutorial. When executing /etc/rc.d/rc.inet1 wlan_start or /etc/rc.d/rc.inet1 wlan_restart I get /etc/rc.d/rc.inet1: wlan0 information: 'Any ESSID'

@jmhet42
Thanks.

@BCarey
I will look into wicd, thank you.
 
Old 12-31-2008, 08:56 PM   #8
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
wicd is now included in /extra as a part of the standard distribution. On 12.1 you'll need to get it from slackbuilds.org.

Brian
 
Old 01-14-2009, 02:28 PM   #9
RSKueffner
LQ Newbie
 
Registered: Mar 2008
Distribution: Slackware 12.2
Posts: 4

Original Poster
Rep: Reputation: 0
Apologies for the delay of this response.

To sum it up, I've been fairly busy with work. I ended up returning home after one days work and my buddy infested my pc with spyware. I was to lazy to even download HiJackThis or CWShredder. I just reformatted and set up Slackware on my main box. If I come back to using linux on the laptop I will give wicd a look and revitalize this thread.

Thanks for all the attention guys!
 
  


Reply

Tags
bcmwl5, d630, dell, latitude, ndiswrapper, wpa2, wpasupplicant



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
Dell latitude d630 touchpad not works well in Slackware 12.1 john.daker Linux - Hardware 1 11-05-2008 08:11 AM
No Sound on Dell D630 Latitude Laptop with Pendrivelinux Dutch72 Linux - Newbie 2 09-18-2008 03:43 AM
Dell Latitude D630 - Nvidia Quadro NVS 135M Popsicle-Pete Linux - Laptop and Netbook 9 09-15-2008 11:09 PM
Configuring Wireless in Dell Latitude D630 ping24 Linux - Wireless Networking 6 06-16-2008 04:05 PM
DVD Burner setup on Slackware 12.1 Dell Latitude D630 G67 Slackware 4 05-27-2008 09:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:57 AM.

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