Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am an Ubuntu/Linux newbie, trying to overcome a range of issues, but eagerly learning a lot in the process. With help of this forum I was able to identify and solve the problem of getting my wireless to work. Basically I discovered that it would work if I replaced Network Manager with WICD, and then typed "rfkill unblock all" into the command terminal. This sets "Hard blocked" from yes to no, and then everything works great. I could still unblock the hard block when I had Network Manager but for some reason it still wouldn't work. Only with WICD would it work. So I'd recommend anyone struggling with getting their wireless to work to try WICD.

My problem is that the Hard block is set back to yes every time I restart my laptop. I do have a "hard" switch for the wireless, but it's a toggle key on the keyboard (Fn + F7), so its not really that "hard" actually. So every time Ubuntu starts up I have to open the command terminal again, type "rfkill unblock all" then open WICD and ask it to connect (even though it's set on connect automatically). I was wondering if anyone could teach me how to make this process happen automatically on start up? Because of the intended use of this computer I have to restart often. Alternatively, is there anyone who would be interested to help me find the root of my problem? I.e. why the computer always boots up with the hard block set to yes?

Hopefully solving either of these would also cause WICD to automatically connect on start up too.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

You can add your command in the file /etc/rc.local (before the exit 0) or create a startup script and put it in /etc/init.d

share|improve this answer
    
Hi, sorry I never replied. Somehow I thought I had opted to receive updates on this post via email, but I hadn't! So just wanted to thank you belatedly and say that it worked! Slowly getting to grips with all this now... –  Eddie Nov 4 '13 at 13:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.