LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-06-2007, 11:28 PM   #1
harpoon45
LQ Newbie
 
Registered: Oct 2007
Posts: 17

Rep: Reputation: 0
Wireless startup setup issues


Distro: FC 2.6.18.8
NdisWrapper: ndiswrapper-1.48
Wirless card: DWL-G122

I set up my wireless card and can connect to the internet. The problem is that that everytime I restart my machine I don't connect to the router automatically on starup. Instead I have to run:
/sbin/iwconfig wlan0 key open s:key
/sbin/dhclient wlan0

After this I have no problems conneting.
It seems that everytime on restart the Security mode gets changed to "restricted". I have added:

MODE=Managed
SECURITY=Open

to my ifcfg-wlan0 file.

How can I can set it up so that I'm conneted on starup without having to type in the 2 commands.

Also, every once in a while, after the system has been running without the user, the screen gets locked, and the internet connection is dropped. When I run /sbin/iwconfig wlan0, I see a different essid, in that case once I execut:
/sbin/iwconfig wlan0 essid toonpoint

the connection comes back up.
 
Old 11-07-2007, 03:54 PM   #2
red80go
LQ Newbie
 
Registered: Nov 2007
Posts: 6

Rep: Reputation: 0
Do you have NetworkManager running?

#service NetworkManager status
 
Old 11-07-2007, 03:54 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
You can add those commands to /etc/rc.d/rc/local and they will be run at boot time. One thing you could try is run the network configuration tool (system-config-network) and try to get that tool to manage your wireless connection.
 
Old 12-12-2007, 02:28 AM   #4
harpoon45
LQ Newbie
 
Registered: Oct 2007
Posts: 17

Original Poster
Rep: Reputation: 0
starting:
prompt> service networkmanager start

and setting up the conneciton using that fixed a few issues that i was facing
how do i set it up so that the service is started on startup?

I know there is a file somewhere in /etc where I can list the services that need to be started at boot time but can't remember that?
 
Old 12-12-2007, 03:45 PM   #5
harpoon45
LQ Newbie
 
Registered: Oct 2007
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by harpoon45 View Post
starting:
prompt> service networkmanager start

and setting up the conneciton using that fixed a few issues that i was facing
how do i set it up so that the service is started on startup?

I know there is a file somewhere in /etc where I can list the services that need to be started at boot time but can't remember that?
I can do it form the command line, but need to figure out how to do it in the init file.
 
  


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
Some startup issues Twister512 Slackware 1 12-23-2006 10:46 AM
Startup issues?! Alstare Slackware 9 10-04-2006 03:51 PM
Debian Startup Issues !! darkmagic Linux - Newbie 12 08-26-2005 12:59 AM
Startup Issues LinuxLoverMeg Mandriva 3 09-24-2004 12:18 AM
FC2 startup issues msie02 Fedora 0 09-19-2004 10:44 AM

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

All times are GMT -5. The time now is 06:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration