Ubuntu – Sony Vaio PCG-71315L “Wireless is disabled by hardware switch” Help!

vaiowireless

I'm a new user to Ubuntu and Linux as a whole, I've had it for a few months and just as I'm starting to get a feel for things my wireless decided to quit on me. This puzzled me so i checked all the switches on the Vaio; my wireless switch was on (my bluetooth was also working), and in my windows partition the problem is non-existent. Help please? Anyways after executing the "rfkill list" command this was the outcome:

1: sony-wifi: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
2: sony-bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
3: phy0: Wireless LAN
    Soft blocked: yes
    Hard blocked: yes
4: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

As stated in the title my laptop is a Sony Vaio PCG-71315L

EDIT
Shortly after a few more failed attempts i was looking around and found this forum question with roughly the same problem, anyways they resolved it by switching the wifi off via the actual switch, then entering "rfkill block wifi" into the terminal, i then turned the wifi switch to on and entered "rfkill unblock wifi" into the terminal. It almost fixed it, it now picks up wifi but when my wifi's name and passphrase are entered (and have been entered correctly, many many times) it refuses to connect, thanks for the help thus far, any ideas pertaining this problem?

Best Answer

If Windows is installed along Ubuntu, try login into Windows and switch in that OS. In an occasion I switch off wifi in Windows and it locked the hardware switch in Ubuntu.

Related Question