Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Security and Privacy
FedoraForum Search

Forgot Password? Join Us!

Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Let's be paranoid and secure our penguins, and slam the doors on privacy exploits.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th November 2004, 06:45 PM
ruffnsc Offline
Registered User
 
Join Date: Nov 2004
Posts: 6
WPA not working

Distro: FC2
Router: Belkin HS 128MB
Card: PCI Belkin - Broadcom chipset
Driver: Ndiswrapper with Dell windows xp driver

able to set up ndiswrapper and connect to the internet. Try to use wpa supplicant and turn on WPA-PSK on my router and cannot get it connect.

followed these steps

www.metahusky.net/~gavin/home/wireless.html

on boot wlan0 configure fails

/sbin/iwconfig shows no mac address and encryption off.

any ideas. im a newbie im sorry if i didnt ask question right or provide enough info. please guide me.
Reply With Quote
  #2  
Old 6th November 2004, 07:16 PM
Artemis Offline
Registered User
 
Join Date: Oct 2004
Location: The Netherlands
Age: 30
Posts: 220
Quote:
Originally Posted by ruffnsc
on boot wlan0 configure fails
.
Problem causing the on boot message is propably just a name error:

You can try to run: ifconfig and check the name listed.

Then add an alias in /etc/modprobe.conf, something like:

alias wlan0 <driver-module>

where wlan0 is the name listed in the output of ifconfiig.

And a little help connecting the wireless, try this in a terminal:
Code:
modprobe <driver-module>
ifconfig wlan0 up
iwconfig wlan0 essid <SID>
ifconfig wlan0 <IP-adres> netmask 255.255.255.0
route add default gw <IP-adres of modem> wlan0
iwconfig wlan0 key <WPA key>
__________________
"Lead the troops into battle like a monkey into space, your unneeded wars will be the death of our race. Not black, not white, no single ethnicity, I mean the death of the race called humanity..." Linux user 372264

Everybody is free to add me on msn or yahoo.
Reply With Quote
  #3  
Old 7th November 2004, 01:09 AM
ruffnsc Offline
Registered User
 
Join Date: Nov 2004
Posts: 6
thanks for you ideas.
my wireless connection is working now. just with no WPA-PSK security set on my router.

i think i am confused from 2 different things ive seen online.

1. add "/usr/local/bin/wpa_supplicant -Dndiswrapper -iwlan0 -c/etc/wpa_supplicant.conf &" to /etc/init.d/network
or
2. stop wlan0 interface run "wpa_supplicant -Dndiswrapper -iwlan0 -c/etc/wpa_supplicant.conf &" in the command line then bring up the interface again using "dhcpcd wlan0"

do these do the same thing?

here is my current output from iwconfig wlan0

wlan0 IEEE 802.11g ESSID:"myssid***" Nickname:"localhost.localdomain"
Mode:Auto Frequency:2.462GHz Access Point: 00:00:00:00:00:00***
Bit Rate=54Mb/s Tx-Power:25 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:off
Power Management:off
Link Quality:100/100 Signal level:-70 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:262 Invalid misc:40003 Missed beacon:0

*** have been changed from original values

it seems that even when i run wpa_supplicant that this doesnt ever get turned on.
Reply With Quote
  #4  
Old 7th November 2004, 06:10 AM
ruffnsc Offline
Registered User
 
Join Date: Nov 2004
Posts: 6
update: i got WPA working but only when starting "wpa_suppliant -iwlan0 -c/etc/wpa_supplicant.conf -Dndiswrapper" from command line

where can i put that command when the computer boots so it can authenticate from startup?

thanks for your help and patience guiding this newbie.
Reply With Quote
  #5  
Old 7th November 2004, 11:15 AM
Artemis Offline
Registered User
 
Join Date: Oct 2004
Location: The Netherlands
Age: 30
Posts: 220
Quote:
Originally Posted by ruffnsc
update: i got WPA working but only when starting "wpa_suppliant -iwlan0 -c/etc/wpa_supplicant.conf -Dndiswrapper" from command line

where can i put that command when the computer boots so it can authenticate from startup?

thanks for your help and patience guiding this newbie.
Glad to hear that:

You can put the command in /etc/rc.d/rc.local.
__________________
"Lead the troops into battle like a monkey into space, your unneeded wars will be the death of our race. Not black, not white, no single ethnicity, I mean the death of the race called humanity..." Linux user 372264

Everybody is free to add me on msn or yahoo.
Reply With Quote
  #6  
Old 7th November 2004, 09:40 PM
micha Offline
Registered User
 
Join Date: Feb 2004
Location: France
Age: 37
Posts: 533
Working Wireless Networks with WPA-PSK key

I found the solution !

First, here is my setup:
Distro: FC2
Router: Netgear WGT624
Card: miniPCI Dell TrueMobile 1400
Driver: Ndiswrapper with Dell windows xp driver

So, to make the wireless network with WPA key working on startup, you have to modify the /etc/modprobe.conf file:
Code:
alias wlan0 ndiswrapper
install ndiswrapper /sbin/modprobe --ignore-install ndiswrapper && /usr/local/bin/wpa_supplicant -Dndiswrapper -iwlan0 -c/etc/wpa_supplicant.conf -B
remove ndiswrapper /sbin/modprobe -r --ignore-remove ndiswrapper
This will tell to modprobe to insert the ndiswrapper module and to initialize the WPA stuff. Note that the WPA stuff is launched as daemon (using the -B option).

Don't forget to configure your network profile, and to add it in the grub menu as a boot choice.

Cheers ! AKA it works for me
Reply With Quote
  #7  
Old 7th November 2004, 10:01 PM
micha Offline
Registered User
 
Join Date: Feb 2004
Location: France
Age: 37
Posts: 533
.... And now you can test the security of your WPA-PSK-protected wireless network:
http://www.tinypeap.com/page8.html

Last edited by micha; 7th November 2004 at 10:39 PM.
Reply With Quote
  #8  
Old 8th November 2004, 04:45 AM
ruffnsc Offline
Registered User
 
Join Date: Nov 2004
Posts: 6
thanks that card authenticates .... but i get some odd errors on boot

1. failed to remove WPA from driver (i dont think thats a good thing that its trying to remove WPA)
2. something about ioctl failing.

also if someone could explain what the lines of code mean in the modprobe.conf (line by line i would like to learn.)
Reply With Quote
  #9  
Old 8th November 2004, 02:47 PM
micha Offline
Registered User
 
Join Date: Feb 2004
Location: France
Age: 37
Posts: 533
Quote:
Originally Posted by ruffnsc
thanks that card authenticates .... but i get some odd errors on boot

1. failed to remove WPA from driver (i dont think thats a good thing that its trying to remove WPA)
2. something about ioctl failing.

also if someone could explain what the lines of code mean in the modprobe.conf (line by line i would like to learn.)
Code:
man modprobe.conf
The first line loads the ndiswrapper module, the second tells how to load the module, and the third tells how to remove the module.

Have you seen this thread :
http://fedoraforum.org/forum/showthr...&highlight=WPA

Last edited by micha; 8th November 2004 at 03:06 PM.
Reply With Quote
Reply

Tags
working, wpa

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
F8: Mic not working, sound not working, pulseaudio IS working... garbagio7 Hardware & Laptops 0 5th April 2008 10:06 PM
after working fine for a year, server stops working & displays weird symptoms. nkoplm Servers & Networking 3 5th May 2007 10:42 PM
Problem getting my wireless card working on my Dell Inspiron 2200 working doubled Hardware & Laptops 3 25th August 2006 02:30 AM
Fedora 5 - amsn not working, flash not working, java not working =*> try this snecci Using Fedora 6 27th April 2006 11:38 AM
Fedora 5 - amsn not working, flash not working, java not working =*> try this snecci Using Fedora 0 5th April 2006 06:50 AM


Current GMT-time: 09:33 (Friday, 24-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Gualeguaychu Photos on Instagram - Mateus Leme - Villingen-Schwenningen Photos