LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-16-2008, 12:25 AM   #1
alexlyni
LQ Newbie
 
Registered: Jun 2008
Posts: 3

Rep: Reputation: 0
Unhappy Wi Fi deactivates on every shutdown


Can someone help me please: I am a new YDL (on PS3) user and it took me two days to enable my Wi Fi working on my PS3. Now it works ok, but every time I shut down the system, Wi Fi connection has to be re-activated again and again...?

Last edited by alexlyni; 06-16-2008 at 12:48 AM.
 
Old 06-16-2008, 09:49 AM   #2
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 44
yep. you need to put all your commands to get wifi working into a script and have it called at boot up. Stick it in rc.local
 
Old 06-17-2008, 01:03 AM   #3
alexlyni
LQ Newbie
 
Registered: Jun 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Unhappy

Quote:
Originally Posted by ncsuapex View Post
yep. you need to put all your commands to get wifi working into a script and have it called at boot up. Stick it in rc.local
I would appreciate if you tell me how am I supposed to do that. I know nothing about Linux?
 
Old 06-17-2008, 01:59 AM   #4
grizly
Member
 
Registered: Nov 2006
Location: Melbourne Australia
Distribution: Centos, RHEL, Debian, Ubuntu, Mint
Posts: 128

Rep: Reputation: 16
Joke Alert:

Of course your Wifi is switched off when you shutdown!

Actual Factual Helpful:

The rc.local file is common to several distributions of Linux, it will be found in

Quote:
/etc/rc.d/rc.local
and contains commands that are executed immediately after successful boot, but before a user logs in. Different distributions use different files for this, so perhaps modifying your login script would be more appropriate.

In your home directory

Quote:
/home/user/
for instance, create a file called

Quote:
.login
and put the wifi initialisation commands into it!

Quote:
iwconfig ath0 down
iwconfig essid blah
...
Thats all I did.
 
Old 06-18-2008, 02:04 AM   #5
alexlyni
LQ Newbie
 
Registered: Jun 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by grizly View Post
Joke Alert:

Of course your Wifi is switched off when you shutdown!

Actual Factual Helpful:

The rc.local file is common to several distributions of Linux, it will be found in



and contains commands that are executed immediately after successful boot, but before a user logs in. Different distributions use different files for this, so perhaps modifying your login script would be more appropriate.

In your home directory



for instance, create a file called



and put the wifi initialisation commands into it!



Thats all I did.
Thanks Grizly, I will try....
 
  


Reply

Tags
networking



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
eth0 deactivates itself ragnar86 Red Hat 1 05-25-2005 06:04 AM
eth0 deactivates itself ragnar86 Linux - Networking 2 03-10-2005 07:31 AM
netcard deactivates itself elever Linux - Networking 0 08-12-2003 06:31 AM
USB deactivates on Suspend goatleg2 Linux - General 1 11-25-2002 03:27 AM
USB deactivates on Suspend goatleg2 Linux - Hardware 1 11-24-2002 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:46 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