Wifi and XBMC


9 posts
by Boes » Tue Jul 03, 2012 11:59 am
Hi all!

I'm new to this forum and pretty new to linux systems. I recently bought a raspberry pi as a hobby project to try to get XBMC working over wifi (now wired connection in my house). There are a couple of things i have tried but i can't get a wireless connection working. Here are the things i have tried. And the things i know:

My usb wifi stick has a Ralink 2501 / 2573 chipset, i tried 3 different scenario's with it:

Raspberry pi + Debian + ralink-firmware (rt37usb) wich i installed myself: I get a working wifi connection, but as soon as i boot up XBMC there is no more wifi.
Raspberry pi + Raspbmc + XBMC: I can't get anything to work
Raspberry pi + Open elec + XBMC: I get a blinking light on my wifi adatper, i also get feedback in XBCM (it says: connected, but mac adress says busy as well as internet, and then after 15 seconds i get: not connected, check network settings and then it keeps switching between these two modes)




Now i prefer to have XBMC working with OpenElec since it boots up verry fast and has a nice settings interface. When the above problem occurs (mac adress problem) i have the following settings:

Wlan
Wlan0
Static ip: 192.168.1.21
Gateway: 192.168.1.1
DNS 1: 192.168.1.1

The light is blinking so i think the adapter is on and has some sort of connection. In XBMC i get the following feedback with these settings:

Link: connected
Mac adress: Busy or the mac adress
Ipadress: 192.168.1.21
Subnet mask: 255.255.255.0
Gateway: 192.168.1.1
Primary DNS: 127.0.0.1 (is this the problem, i would expect 192.168.1.1 here??)
Secondary DNS: -
Internet: Busy or Not connected. Check network settings.

When i browse through my SMB share i see my WORKGROUP and my NAS and Desktop within the workgroup, but when i try to connect it says connection refused or connection timed out. (But this is a hint i have at least some for of connection if im not wrong?)

Can someone help me or point me in a right direction to try to solve this problem. As stated im a newcommer to Linux systems and Openelec.

Thanks!
Posts: 3
Joined: Tue Jul 03, 2012 11:30 am
by Oyashiro » Tue Jul 03, 2012 4:45 pm
Do you have power consuming mouse or keyboard ?

On Debian, I can connect to internet via ethernet inside a terminal, but as soon as X is launched, it become impossible. The only thing I can do to have internet with a GUI is to unplug my mouse or my keyboard.
Posts: 4
Joined: Mon Jun 25, 2012 5:20 pm
by Boes » Tue Jul 03, 2012 5:54 pm
I only use a keyboard with this set-up, i used to use a powered USB hub for this, but it looked like the USB dongle performed even worse then (no blinking light etc.)
Posts: 3
Joined: Tue Jul 03, 2012 11:30 am
by Boes » Tue Jul 03, 2012 8:28 pm
The solution for my internet problem was using an opendns ip in DNS 1. I used 208.67.220.220 wich made it work straight away! Thanks to lrusak on the openelec forums.
Posts: 3
Joined: Tue Jul 03, 2012 11:30 am
by DGreenMan » Tue Jul 10, 2012 3:47 pm
Hi Boes

i am completely new to this could you please give me a full guide on how you got xbmc running on rasberry with usb wifi dongle
Posts: 13
Joined: Tue Jul 10, 2012 3:44 pm
by onedumbtrucker » Tue Jul 17, 2012 7:25 pm
It sounds like the problem was your DNS setting (Domain Name Server) which is a web service that translates web addresses (ie raspberrypi.org) into ip addresses (93.93.128.176). You had it pointing to your router but your router can not serve as a DNS.

I typically use the google public DNS as it is easy to remember;
Primary 8.8.8.8
Secondary 8.8.4.4
Posts: 1
Joined: Tue Jul 17, 2012 7:19 pm
by lothop » Sun Jan 20, 2013 7:58 am
I know this has long been answered, but in my router do I need to put 8.8.8.8 in its DNS Server field?
Posts: 10
Joined: Sun Jan 20, 2013 7:56 am
by Jesuson » Sun Jan 27, 2013 7:23 pm
lothop wrote:I know this has long been answered, but in my router do I need to put 8.8.8.8 in its DNS Server field?


You can set it up on your router but usually it's not necessary you will receive your DNS configuration from you ISP. Most likely that if you have internet connection you got your DNS records already setup for you. (Lookup DHCP on wiki or something to better know this subject)

If you use OpenELEC you need to tweak
/storage/.xbmc/userdata/addon_data/os.openelec.settings/settings.xml

And update DNS sections in the XML.
Posts: 1
Joined: Sat Dec 15, 2012 12:53 am
by techienerdo » Sat Feb 16, 2013 1:06 am
Boes wrote:The solution for my internet problem was using an opendns ip in DNS 1. I used 208.67.220.220 wich made it work straight away! Thanks to lrusak on the openelec forums.


This also worked for me - I couldn't see any plugins to install and wasn't getting the RSS feed or the right time/date. Turned out DNS was not resolving through my router and using OpenDNS servers in the DNS1 and DNS2 sections worked perfectly, although any external DNS server should work.
Posts: 2
Joined: Fri Feb 15, 2013 11:23 pm