Solved: Wi-Fi (Wi-Pi) dongle setup
|
21st Dec, 2012, 10:46 PM
Post: #1
|
|||
|
|||
Wi-Fi (Wi-Pi) dongle setup
Hi, there
I have the Wi-Pi dongle form Element 14 (http://cpc.farnell.com/element14/wipi/dongle-wifi-usb-for-raspberry-pi/dp/SC12761). I'm trying to get it working with my install of Xbian 1.0 Alpha 3 but I'm not sure how to. I've entered into xbian-config and tried to enter WLAN settings in DHCP manually, but I end up with this: Code: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6 Upon saving these settings and restarting, an ifconfig shows this: Code: wlan0 Link encap:Ethernet HWaddr 00:0f:54:02:27:be So, it is finding the Wi-Pi dongle, but it's not assigning an inet address. I have also tried to install the drivers for ralink manually (I believe Wi-Pi is a ralink chipset), but they were already installed within Linux. Any ideas? Thanks in advance! |
|||
21st Dec, 2012, 10:50 PM
Post: #2
|
|||
|
|||
RE: Wi-Fi (Wi-Pi) dongle setup
Can you post the output of
Code: dmesg Did you also try to pull the adapter from the RPi and re-inserting it again. pilight - modular domotica solution
|
|||
21st Dec, 2012, 10:57 PM
Post: #3
|
|||
|
|||
RE: Wi-Fi (Wi-Pi) dongle setup
(21st Dec, 2012 10:50 PM)CurlyMo Wrote: Can you post the output of Every time I re-insert the USB, it reboots XBian. Here's the output of dmesg: Code: [ 0.000000] Booting Linux on physical CPU 0 |
|||
21st Dec, 2012, 11:01 PM
Post: #4
|
|||
|
|||
RE: Wi-Fi (Wi-Pi) dongle setup
Try installing kernel 3.6.11:
Code: sudo apt-get install xbian-package-kernel3.6.11 And replug the USB adapter, does it then automatically reboots as well? pilight - modular domotica solution
|
|||
21st Dec, 2012, 11:07 PM
Post: #5
|
|||
|
|||
RE: Wi-Fi (Wi-Pi) dongle setup
(21st Dec, 2012 11:01 PM)CurlyMo Wrote: Try installing kernel 3.6.11: Yes it still does reboot, however, after I ran the above code and logged back into SSH, I ran uname -a and saw that it still said: Code: Linux xbian 3.6.7+ #1 PREEMPT Fri Nov 23 12:33:18 CET 2012 armv6l GNU/Linux 3.6.7+, not 3.6.11. Is this to be expected? It does say +, but I'm not sure whether the update worked if it's not explicitly stating 3.6.11 Interestingly, I checked my /etc/network/interfaces file and it has the following: Code: auto lo Note where it says wireless-power off, is that normal? |
|||
21st Dec, 2012, 11:17 PM
Post: #6
|
|||
|
|||
RE: Wi-Fi (Wi-Pi) dongle setup
Then something has gone wrong when installing the new kernel. Can you post:
Code: ls -Al /boot Also, does your wpa key contain wierd/special characters? pilight - modular domotica solution
|
|||
21st Dec, 2012, 11:19 PM
Post: #7
|
|||
|
|||
RE: Wi-Fi (Wi-Pi) dongle setup
(21st Dec, 2012 11:17 PM)CurlyMo Wrote: Then something has gone wrong when installing the new kernel. Can you post: Strange, I'm running practically a fresh install. No weird characters, only alphanumeric. All the X's I blanked out are digits. Here's the output: Code: root@xbian:/home/xbian# ls -Al /boot Ah... Code: xbian@xbian:~# sudo apt-get install xbian-package-kernel3.6.11 Edit: I'm just running apt-get update and I'll try again. Edit 2: Updating now, sorry that I missed that before! Alright, all up to date: 3.6.11. Replugging the USB still reboots XBian. |
|||
22nd Dec, 2012, 12:21 AM
Post: #8
|
|||
|
|||
RE: Wi-Fi (Wi-Pi) dongle setup
Can you post a new dmesg with the new kernel?
Also, because of the rebooting, i have a strong suspicion that your adapter drains to much power from the RPi when reconnected. Most of the time, when altering WLAN settings, a replugging is need to make the changes take effect. So when the adapter is plugged in and doesn't work, it doesn't matter. But when you replug it, is start to work and thereby also draining power from the USB posts. So, indeed try another adapter that's more energy efficient or try to loan a powered usb hub. pilight - modular domotica solution
|
|||
22nd Dec, 2012, 03:15 PM
Post: #9
|
|||
|
|||
RE: Wi-Fi (Wi-Pi) dongle setup
cpm is appears you are not the only one experiencing similar problems
http://xbian.org/forum/showthread.php?tid=72 |
|||
6th Feb, 2013, 01:59 AM
Post: #10
|
|||
|
|||
RE: Wi-Fi (Wi-Pi) dongle setup
I've just bought one of these and having exactly the same issues, did you ever resolve it ??
Also get the Wireless Power - off that you mentioned earlier. the light on the dongle does flash , usually 6 times. |
|||
6th Feb, 2013, 02:03 AM
Post: #11
|
|||
|
|||
RE: Wi-Fi (Wi-Pi) dongle setup
Can you try the new xbian-config: https://github.com/xbianonpi/xbian-config-bash
pilight - modular domotica solution
|
|||
6th Feb, 2013, 02:39 AM
Post: #12
|
|||
|
|||
RE: Wi-Fi (Wi-Pi) dongle setup
Think thats done it mate. Thanks !
The new version actually goes through steps where it shows your network connection options so i could see it knew the WLAN was there, then when clicking on it my local networks showed so knew it was working, i think the problem might have been when i used the old version of config to input my routers info i'd now used all capital letters for the SSID which was much easier to notice in this version. I have an IP next to WLAN now so am gonna go back to my tv and check xbian can connect when i remove the ethernet Thanks again. |
|||
6th Feb, 2013, 04:29 AM
Post: #13
|
|||
|
|||
Re: Wi-Fi (Wi-Pi) dongle setup
Glad it is easier to set the network using the new xbian-config. Curlymo and Belese work -very- hard for this feature of XBian! Please hit the Thanks link for both of them
|
|||
6th Feb, 2013, 04:58 AM
Post: #14
|
|||
|
|||
RE: Wi-Fi (Wi-Pi) dongle setup
The basis of the network module was set by Hexagon and was enhanced by me. So please don't forget his share
pilight - modular domotica solution
|
|||
6th Feb, 2013, 09:32 AM
Post: #15
|
|||
|
|||
RE: Wi-Fi (Wi-Pi) dongle setup
"Think thats done it mate. Thanks !" and "Think thats done it mate. Thanks !" Y E S
My wifi works.. !! But i know its a supported dongle. This new xbian-config, very xbian. The best, works great. I sit in root term.. "Exception SystemExit in <function _remove at 0x3415d70> ignored " on term window now?? Also xbmx.bin was off after a few hours. |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Recommend a wifi dongle for access point setup | publicENEMY | 47 | 160,500 |
7th Dec, 2022 09:45 PM Last Post: cabalowen |
|
WIFI Dongle Setup? | TheDutypaid | 4 | 13,936 |
21st Aug, 2018 07:36 PM Last Post: alecp |