0

I have Ubuntu 12.04 and my laptop has

Intel Corporation PRO/Wireless 3945ABG [Golan] 

wireless. Every time I restart my laptop I am required to run following commands in order to resolve wireless soft blocking and make it connect to wireless networks:

sudo rfkill unblock wifi; sudo rfkill unblock all
ifconfig wlan0

How can I make this change permanent?

4
  • possible duplicate of How to run scripts on start up?
    – jobin
    Nov 27, 2013 at 9:08
  • i am not asking about running scripts. i want to find some way to change some system files in order to solve this problem. why should i run an script every time i rum my system?
    – user64718
    Nov 27, 2013 at 15:21
  • @MrAli a useful/half-baked definition of a *nix system file is "a script that runs every time the system is booted"
    – djeikyb
    Dec 31, 2013 at 15:46
  • 1
    I don't think this is a duplicate.
    – Seth
    Jan 1, 2014 at 4:00

1 Answer 1

3

Please open a terminal and do:

gksudo gedit /etc/rc.local

Right above the line exit 0, add a single line:

rfkill unblock all

Proofread carefully, save and close gedit. You should be all set.

You must log in to answer this question.