Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Wifi dongle help
Thank you for your donation

Pages (3): 1 2 3 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Wifi dongle help
8th Mar, 2013, 05:51 AM
Post: #1
Beans.Jb Offline
Registered
Posts: 28
Joined: Mar 2013
Reputation: 0
Wifi dongle help
Hi there,

I have this wifi dongle and I can't seem to get it working on XBian 1.0 Alpha 5. The dongle is connected to a powered usb hub.
I was looking through this thread and I am having similar problems to the OP. I am quite new to managing a Linux distro and I am not sure how the problem was actually resolved.

I can scan for networks and it finds my WPA2-secured network but I cannot connect to it.

Please can someone assist me?
Find all posts by this user
Quote this message in a reply
8th Mar, 2013, 05:55 AM
Post: #2
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Wifi dongle help
What did you already try?

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
8th Mar, 2013, 06:15 AM
Post: #3
Beans.Jb Offline
Registered
Posts: 28
Joined: Mar 2013
Reputation: 0
RE: Wifi dongle help
I have tried to configure the interface by setting it in the Xbian config on the dashboard, using iwconfig and by configuring it manually in the /etc/network/interface file.
I have now tried to manually copy over the kernel.img and the /lib/modules/3.6.11+ from https://github.com/xbianonpi/xbian into their respective directories and reboot but it does not seem to have solved the problem
Find all posts by this user
Quote this message in a reply
8th Mar, 2013, 06:25 AM
Post: #4
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Wifi dongle help
Did you try the xbian-config when logging into the shell?

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
8th Mar, 2013, 07:53 AM
Post: #5
Beans.Jb Offline
Registered
Posts: 28
Joined: Mar 2013
Reputation: 0
RE: Wifi dongle help
Yes, I did.
Find all posts by this user
Quote this message in a reply
9th Mar, 2013, 12:40 AM
Post: #6
Beans.Jb Offline
Registered
Posts: 28
Joined: Mar 2013
Reputation: 0
RE: Wifi dongle help
I upgraded to the newest version of Xbian, using kernel 3.6.11+ and it seems to have resolved the problem. Thanks for the help anyway.
Find all posts by this user
Quote this message in a reply
11th Mar, 2013, 07:37 PM
Post: #7
Beans.Jb Offline
Registered
Posts: 28
Joined: Mar 2013
Reputation: 0
RE: Wifi dongle help
(8th Mar, 2013 06:25 AM)CurlyMo Wrote:  Did you try the xbian-config when logging into the shell?

I'm still struggling with this, please can you help. Sometimes it works and then just seems to stop working.

What has been happening today:
  • I use xbian-config from ssh and connect to a wpa encrypted network
  • I reboot to see if the network persists, it does
  • I reboot again (the network connection has been sketchy in the past), the network won't connect
  • when I try and scan using xbian-config, the screen goes white then takes me back to [scan] [custom]
  • I have tried rebooting, shutting down, unplugging the dongle but now I cannot reconnect
  • I know the wlan0 works sometimes but I wish that I could get it to a point where I was confident that it was working consistently

I don't know what to do any more. I've tried using openELEC and I had other problems, I really like xbian and I don't want to use something else but I'm running out of options.
Find all posts by this user
Quote this message in a reply
11th Mar, 2013, 07:46 PM
Post: #8
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Wifi dongle help
When xbian-config fails to scan, can you try:
Code:
sudo iwlist wlan0 scan
and post the output on PasteBin.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
11th Mar, 2013, 07:56 PM
Post: #9
Beans.Jb Offline
Registered
Posts: 28
Joined: Mar 2013
Reputation: 0
RE: Wifi dongle help
Scanning seems to be working now.

Using xbian-config, after scanning I select the network that I want to connect to, it says "Please wait. Trying to connect to gamma". The result is "Failed to connect to gamma".
Find all posts by this user
Quote this message in a reply
11th Mar, 2013, 08:01 PM
Post: #10
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Wifi dongle help
Try to do:
Code:
sudo ifdown wlan0
sudo ifup wlan0

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
11th Mar, 2013, 08:05 PM
Post: #11
Beans.Jb Offline
Registered
Posts: 28
Joined: Mar 2013
Reputation: 0
RE: Wifi dongle help
Code:
root@xbian:/home/xbian# ifdown wlan0
ifdown: interface wlan0 not configured
root@xbian:/home/xbian# ifup wlan0
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/d8:eb:97:18:da:eb
Sending on   LPF/wlan0/d8:eb:97:18:da:eb
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 1
No DHCPOFFERS received.
Unable to obtain a lease on first try.  Exiting.
Failed to bring up wlan0.
Find all posts by this user
Quote this message in a reply
11th Mar, 2013, 08:15 PM
Post: #12
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Wifi dongle help
The content of /etc/network/interfaces

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
11th Mar, 2013, 08:17 PM
Post: #13
Beans.Jb Offline
Registered
Posts: 28
Joined: Mar 2013
Reputation: 0
RE: Wifi dongle help
Code:
root@xbian:/home/xbian# cat /etc/network/interfaces
auto lo

iface lo inet loopback
iface eth0 inet dhcp


allow-hotplug wlan0
iface wlan0 inet dhcp

wpa-ssid "gamma"
wpa-psk "password1"


iface default inet dhcp
Find all posts by this user
Quote this message in a reply
11th Mar, 2013, 08:19 PM
Post: #14
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Wifi dongle help
This is the problem at this point:
Code:
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
Can you try a fresh Alpha 5 to see if the problem persists?

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
11th Mar, 2013, 08:37 PM
Post: #15
Beans.Jb Offline
Registered
Posts: 28
Joined: Mar 2013
Reputation: 0
RE: Wifi dongle help
That seems to have resolved the problem for now. I would like to install
Code:
apt-get install xbian-package-download
Is it ill-advised?

My reply was a bit hasty. I tried to ping the IP address that the wlan0 interface received but it did not work. If I unplug the ethernet cable and ssh to the wlan0 ip address, I get "No route to host" but I can ping the router.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (3): 1 2 3 Next »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Recommend a wifi dongle for access point setup publicENEMY 47 166,606 7th Dec, 2022 09:45 PM
Last Post: cabalowen
  WIFI Dongle Setup? TheDutypaid 4 14,814 21st Aug, 2018 07:36 PM
Last Post: alecp
  Issue with Official Raspberry Pi Wifi Dongle nmrcantao 1 6,940 9th Jan, 2016 11:44 PM
Last Post: IriDium
  Wifi N Dongle Beanz 3 13,739 1st Feb, 2013 03:40 AM
Last Post: 1mile
  Ralink WIFI dongle not working knepe 1 10,165 16th Dec, 2012 11:29 PM
Last Post: CurlyMo

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 14th May, 2025, 07:52 AM Powered By MyBB, © 2002-2025 MyBB Group.