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 21st January 2010, 11:24 PM
toddbailey Offline
Registered User
 
Join Date: Aug 2009
Posts: 140
linuxfedorafirefox
Question wireless nic doesn't connect until after desktop gui is loaded

Is there a way to fix this?


I have a dell d800 laptop using a hp 802abg nic and it doesn't properly initialize until gnome desktop is loaded

I'm using 128 bit key and a hidden network name.

I would like to have wireless networking running before /etc/rc.local is executed at boot time to connect to nfs shares.


after gnome is loaded and I login to user account, wireless networking starts and connects.

When I set inittab to 3 and boot machine, ifconfig and iwcfg report card doesn't exist, when I then telinit 5 and start x/gnome card gets properly setup.

is it possible the card doesn't get initialize3ed because the network key needs to be entered in a file somewhere that the boot sequence can access it and init the card properly?

I setup the card using the usual gnome networking gui tools.:




any ideas?
Reply With Quote
  #2  
Old 22nd January 2010, 04:03 AM
MarcoP Offline
Registered User
 
Join Date: Jun 2008
Posts: 45
windows_98_nt_2000firefox
Just posting because I want to follow this thread.
I have the same question but I believe /etc/sysconfig/networking-scripts/xxxx onboot=yes would be my first guess.

EDIT: not sure why ifconfig and iwcfg report a not existing card since F12 uses HAL but could be that some other service needs to start at init level 3 as well?

Last edited by MarcoP; 22nd January 2010 at 04:06 AM.
Reply With Quote
  #3  
Old 22nd January 2010, 04:09 AM
smr54 Offline
Registered User
 
Join Date: Jan 2010
Posts: 4,975
linuxopera
It's probably relying on NetworkManager. To fix this, you can try disabling Network Manager in services and enabling network.
I haven't used NM in awhile, but I believe it still waits for the GUI login before going into operation.

You might have to setup the card using wpa_supplicant rather than NM for it to work this way.

See http://www-users.york.ac.uk/~mdc1/fedora_wireless.html

Although it's marked for F7 & 8 and refers to Intel cards, the principles are still applicable. The only difference would be if your card is seen as wlan0, then when editing /etc/sysconfig/wpa_supplicant use wlan0 rather than eth1.
Reply With Quote
  #4  
Old 22nd January 2010, 04:16 AM
SlowJet Offline
Registered User
 
Join Date: Jan 2005
Posts: 5,002
linuxfedorafirefox
gnome menu - System, Authorization, network.
double-click on the device under the device tab.
activate device when computer starts - check box on


SJ
__________________
Do the Math
Reply With Quote
  #5  
Old 22nd January 2010, 09:25 PM
toddbailey Offline
Registered User
 
Join Date: Aug 2009
Posts: 140
linuxfedorafirefox
In reply to MarcoP

yup it's there, all the settings look good


Slowjet

that was my first thought, but already set


smr54

correct the card relies on NetworkManager
with out it the card does not initialize, no matter what I try

in order to use wpa, I have to disable network manager
but wpa doesn't work, after making the required settings, as outlined on several web site, the service will not start.

it requires to have the interfaces line configured, but fails when I set it to wlan1

This is really frustrating,

Last edited by toddbailey; 22nd January 2010 at 10:16 PM.
Reply With Quote
  #6  
Old 22nd January 2010, 09:57 PM
smr54 Offline
Registered User
 
Join Date: Jan 2010
Posts: 4,975
linuxopera
It shouldn't rely on NetworkManager. In theory, at least (and in my experience) if you make the proper entries in /etc/sysconfig/wpa_supplicant, /etc/network-scripts/ifcfg-wlan0 and so on, it should work if it will work at all. Sometimes, a reboot is necessary, after making sure NetworkManager is disabled in services--I'm sure there's a way around it, but again, I don't use NM, and the few times I've played with it, after disabling it, wpa_supplicant was conflicting with some process or another, so a reboot fixed it.

Take a look at http://home.roadrunner.com/~computer.../wireless.html which goes through completely disabling NM. You might also have to put in the ifcfg-wlan0 file something like
NM_CONTROLLED=no

Although if NM isn't running in services and you reboot, that shouldn't be necessary.
Reply With Quote
  #7  
Old 22nd January 2010, 11:05 PM
toddbailey Offline
Registered User
 
Join Date: Aug 2009
Posts: 140
linuxfedorafirefox
OK, made some progress, NM is now disabled and wlan1 connects to the network, but again only after gnome desktop is loaded.

After reading the t/s guide link...

when I run iwconfig wlan0 essid mynetwork key mykey
I can put that into rc.local and hopefully all will be well.
Reply With Quote
  #8  
Old 23rd January 2010, 03:33 AM
MarcoP Offline
Registered User
 
Join Date: Jun 2008
Posts: 45
windows_xp_2003firefox
Hi todd,

1) follow the above guide till you get a working wpa_supplicant.conf

2) make sure /etc/sysconfig/network-scripts/ifcfg-wlan0 uses
Code:
ONBOOT=yes
3) then
Code:
su -
chkconfig --level 2345 NetworkManager off
chkconfig --level 2345 network on
chkconfig --level 2345 wpa_supplicant on
reboot

Last edited by MarcoP; 23rd January 2010 at 03:59 AM.
Reply With Quote
Reply

Tags
connect, desktop, gui, loaded, nic, wireless

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
F9 desktop to Connect to Win 2003 Server - How to? macoyph Servers & Networking 3 30th May 2008 08:34 AM
MadWifi loaded, but can't connect jbrowne Servers & Networking 1 25th February 2008 02:42 AM
how to run a command w/ root priv. after your desktop manager has loaded? evans Using Fedora 6 4th July 2006 05:12 PM
Wireless driver loaded.. can't ping! Sugarat Servers & Networking 0 15th September 2005 08:30 PM
Connect desktop and laptop via router owakroeger Servers & Networking 2 30th January 2005 08:28 PM


Current GMT-time: 01:08 (Sunday, 19-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