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 osmc@192.168.178.20, replace IP-Adress with your IP-Adress, password = osmc
Activate wifi, since you choose the wired connection during the installation setup: enable wifi
Check if wifi is listed: technologies
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 wifi
Should return: Scan completed for wifi
Register agent: agent on
Should return: Agent registered
Get available wifis: services
Should return all available wifis in a list: ESSID1 wifi_code1_managed_psk ESSID2 wifi_code2_managed_psk ...
Connect to a network Wifi1: connect wifi_code1_managed_psk
Replace 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 ]
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:
Hello.
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
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.
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…
Hi,
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
/net/connman/technology/wifi
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.
Thanks
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.