Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13th December 2007, 04:12 AM
Gandurash Offline
Registered User
 
Join Date: Apr 2007
Posts: 13
Unhappy Why WPA always fails on reboot unless...

Hello,

I am still new to Linux and its been a week I am trying to figure-out my problem with WPA.

I recently installed Atheros wireless LAN card and it went smoothly. Than continuing to setup the wpa_supplicant. The problem is that my WPA won't connect me to internet on reboot unless I enter this line:
Code:
# wpa_supplicant -iath0 -c/etc/wpa_supplicant/wpa_supplicant.conf -Dmadwifi -dd
and the console in which I enter the line will need to stay opened. If I close the console, then the network connection will fails.

Could anyone tell me what to do to automatically start the wireless connection upon restart?

Thank you.
Reply With Quote
  #2  
Old 13th December 2007, 12:37 PM
HaydnH's Avatar
HaydnH Offline
Registered User
 
Join Date: Feb 2005
Location: London, UK
Posts: 333
Run "chkconfig wpa_supplicant on" to make the wpa service start at boot - to control the service manually you should use "service wpa_supplicant start|stop|restart".
Reply With Quote
  #3  
Old 13th December 2007, 06:38 PM
bbfuller Offline
Registered User
 
Join Date: Jun 2005
Location: UK
Posts: 4,345
Hello Gandurash

Normally you wouldn't need to resort to the command line to start a wireless card.

If your wireless card is installed you will get some sensible output from the commands:

iwconfig

and

iwlist scan

Then the usual way to control the card is with NetworkManager.

If you have installed from a DVD and have Gnome running you should be able to left click on the icon top right of the top tool bar and select your network.

If you have KDE running from the DVD then you will have to fetch KNetworkManager from the Main Menu - System. Sometimes in KDE you need to log out and back in, or even reboot, before the KNetworkManager appears in the system tray.

If you are running from an install from one of the Live CD's then the underlying NetworkManager Service is not usually started as default.

service NetworkManager status

will tell you if it is.

system-config-services

will in any event allow you to start it and save the changes so it starts at boot if necessary.

If you are using NetworkManager to manage the card then in:

system-config-network

the card should not be set to "Activate on boot"

NetworkManager does not like sharing control of the card with anything else.

If you are able to use NetworkManager then wpa_supplicant should not be set to run. NetworkManager will call it when needed.

Hope those get you going. We'll be looking for any results.

Last edited by bbfuller; 13th December 2007 at 06:43 PM.
Reply With Quote
Reply

Tags
fails, reboot, 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
mdadm fails after reboot Fedora 10 VC_boyo Using Fedora 1 22nd April 2009 09:06 PM
Reboot Fails after suspend jky92 Using Fedora 3 26th May 2008 07:12 PM
fc7 initial reboot fails hubiedo Installation and Live Media 0 3rd February 2008 12:27 PM
Reboot, Shuting Down, Log Off Fails JamSession Using Fedora 3 23rd June 2006 11:09 PM
Reboot fails after simulated RAID1 failure sukerman Using Fedora 5 30th September 2005 02:21 AM


Current GMT-time: 19:03 (Wednesday, 22-05-2013)

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