I was using a Raspberry Pi Mode B as media center running Raspbmc for quiet a while and had to try out the Raspberry Pi 2 immediately. Installing OSMC Alpha 4 was quiet easy and after switching the skin to Confluence, I felt familiar again;) The only issue: My USB wifi stick (TL-WN722N) didn’t work at all. Took me a days and a couple of hints I found in the web: First link: Enable wifi under GUI See post below for second link.
Here the steps, which worked for me:
Set Up OSMC Alpha 4 from scratch, to make sure you didn’t mess anything up before by trying to get it going. Choose wired connection.
Plug in the network cable and wait for OSMC to be installed
Log into OSMC from a laptop or PC via ssh:
ssh email@example.com, replace IP-Adress with your IP-Adress, password = osmc
sudo apt-get update && sudo apt-get upgrade
Install some helpful packages:
sudo apt-get install wireless-tools usbutils firmware-atheros
sudo wget http://linuxwireless.org/download/htc_fw/1.3/htc_9271.fw
sudo cp htc_9271.fw /lib/firmware
Enter connman network manager shell:
Activate wifi, since you choose the wired connection during the installation setup:
Check if wifi is listed:
It’s supposed to look like this:
/net/connman/technology/ethernet Name = Wired Type = ethernet Powered = True Connected = True Tethering = False /net/connman/technology/wifi Name = WiFi Type = wifi Powered = True Connected = False Tethering = False
Before activating wifi, only the first entry is returned.
Scan available wifis:
Scan completed for wifi
Get available wifis:
Should return all available wifis in a list:
ESSID1 wifi_code1_managed_psk ESSID2 wifi_code2_managed_psk ...
Connect to a network Wifi1:
wifi_code1_managed_psk with the long string to the right of the wifi essid of the network you would like to connect to. Should returne something like:
`Agent RequestInput wifi_code1_managed_psk
Passphrase = [ Type=psk, Requirement=mandatory, Alternates=[ WPS ] ]
WPS = [ Type=wpspin, Requirement=alternate ]
- Enter passphrase of your network and enjoy!
Hope this is helpful to someone.
PS: I’m no linux crack, so feel free to comment;)
For some reason, I couldn’t post the two links I found in the first post. There was a warning saying something like: “New users can’t post more than two links in the first post”. Anyhow:
I believe I’m having some problems with ssh. I’m using Putty but when I try the sudo update command I get “Failed to fetch” and a few web addresses so I’m assuming its not connecting to the internet. I don’t know if their are certain settings I have to change in Putty before I start ssh. Help would be much appreciated. I have the same network adapter so this would be wonderful if i can get it to work
Sorry, i’m running Ubuntu. But I’m pretty sure, you’ll find plenty of help in other forums…
Hi Windy, could you tell me if the WN722N works ‘out of the box’ and configurable through the GUI in the RC now? The reason I ask is it’s a remote installation I have no physical access to. Thankyou in advance.
Since it’s running now, I didn’t update it: Never change a running system;)
I could test it out on another sd card next weekend. I’ll get back to you…
That would be awesome thanks!
WN722N works out of the box and wifi is configurable through the GUI with OSMC RC.
After first boot it takes some time during which installing is completed. Afterwards there are some options to setup e.g. language of GUI. I’m not sure if you can do this with ssh…
Thank you for sharing your experience.
I do have the tplink adapter and I am presently connected via wired, the adapter is plugged in , it is detected
Name = WiFi
Type = wifi
Powered = False
Connected = False
Tethering = False
however it needs activating, when i do activate it either via the myosmc network tab or via the ssh I lose control of the rpi it simply disconnects from the network since I notice everytime I activate the wifi it disconnects the lan so putty can not see the lan ip anymore and the mobile remote Yatse also loses control of it, I must say that i am using the rpi 1 B+ and I installed osmc on a usb stick so the two ports usb ports are occupied by the stick and the adapter.
I could not figure out how to overcome this issue.
If you are still using Alpha 4 please do a fresh install (not upgrade) to RC2, run updates, and you should find these problems are all fixed.
Thanks for the tip
I checked the image I installed: OSMC_TGT_rbp1_20150331.img.gz that is the RC1, so it is not the Alpha4, I am downloading the RC2: OSMC_TGT_rbp1_20150412.img.gz, hopefully it has the fix for the lan disconnect
update: unfortunately the same problem is still here .Thanks anyway.