PilotAware

British Forum => General Discussion => Topic started by: rasputin2068 on September 18, 2015, 12:37:39 pm

Title: WiFi issues
Post by: rasputin2068 on September 18, 2015, 12:37:39 pm
Hello

I appear to be having WiFI issues with my setup.
I have tried two USB WiFi dongles from the PiHut.
Both have worked for a period of time and then appear not to work now.
Attached is a screenshot of where it currently freezes and the red light on the dongle at that point.
Yesterday it went past this stage to where it was asking for the licence key, but no device was able to get a WiFi connection to the PilotAware, Nexus, Ipad and IPhone.

Any suggestions would be very welcome.

regards

Steve
Title: Re: WiFi issues
Post by: Admin on September 18, 2015, 03:31:57 pm
Hi

I looked on the PiHut website for a spec but could not see anything.

The important thing is the chipset : RT5370
and support of : SoftAP

The images you posted are a little grainy, but it looks like a hang trying to start the HOSTAPD
This is the configuration of the WiFi as a SoftAP

Can you ask the PiHut for a detailed spec, and what chipset is used ?

Title: Re: WiFi issues
Post by: rasputin2068 on September 18, 2015, 06:46:21 pm
In the boot up text it shows

RT5390 and RT5370 detection.

regards

Steve
Title: Re: WiFi issues
Post by: Admin on September 18, 2015, 06:56:58 pm
In the boot up text it shows

RT5390 and RT5370 detection.

regards

Steve

Hi Steve can you post a link to the item you bought so I can get a datasheet

Thx
Lee
Title: Re: WiFi issues
Post by: prgoell on September 19, 2015, 11:54:50 am
I have similar problems :
- boot text shows RT5390 and RT5370 detection
- the boot goes till the License fail message (which is normal I think as I have no license)
- after some iteration, the license fail message switches from the normal address of the dongle to a 00:00:00:00:00 address
- if I use an EDIMAX dongle, boot fails at the login prompt.

I ordered another dongle to see if I can get the hotspot up and running, maybe not all RT3570 dongles are adapted to this project.
Title: Re: WiFi issues
Post by: Admin on September 19, 2015, 12:07:25 pm
I am wondering if the issue is RT5390 ?
All the Raspberry Pi forums do say specifically RT5370 anddo not mention RT5390

If I send you an RT5370, would you swap with your RT5390, and I can see if I can get this working

Title: Re: WiFi issues
Post by: rasputin2068 on September 20, 2015, 05:54:37 pm
Lee

That would be great, I will PM you with my address.
Can you send me your address and I will get it in the post to you.

regards

Steve
Title: Re: WiFi issues
Post by: AlanB on September 20, 2015, 09:28:34 pm
Having fun setting up using a Wifi Dongle from ThePiHut which claims to have the correct hardware.

Will not create a WiFi hotspot when using the B+ model with either your software 20150911 or latest 20150919

I have a WiFi sniffer on the LapTop which does not even see it as well as the iPAD.

The error messages on the screen suggest there is a conflict with the DVB_T stick and cannot accept the commend to get, or set, the gain. DVB-T stick has the right hardware config.

Booting up the software 20150911 on the Raspberry Model B it works fine, no errors and WiFi hotspot created. hence request for a licence to see if I have a working system.

When I boot the Raspberry Pi B on the software 20150919 I get an error message "Error resizing existing FAT partition due to using /usr/sbin/pated to operate on (resize) a file system.

on closing this the goes to the normal screen shot to install the P31 but showing 0 bytes available and so won't create the boot files.

any ideas or am i doing something wrong?


Title: Re: WiFi issues
Post by: prgoell on September 21, 2015, 08:14:19 am
Some more tests on my side with latest release
- some times (1 boot out of two or three), I see the hotspot on my IPad or PC but unable to connect ( IP is 169.254.184.40)
- some times the licences fail message keeps coming with the correct MAC address and then there are times when the MAC address returns to 000000000000000.

I will do more tests with the new dongle I shall receive midweek.
Title: Re: WiFi issues
Post by: Admin on September 21, 2015, 01:43:28 pm
Some more tests on my side with latest release
- some times (1 boot out of two or three), I see the hotspot on my IPad or PC but unable to connect ( IP is 169.254.184.40)
- some times the licences fail message keeps coming with the correct MAC address and then there are times when the MAC address returns to 000000000000000.

I will do more tests with the new dongle I shall receive midweek.

Can you go to the following address when connected
http://192.168.1.1
Please perform a screenshot and post so I can see the USB devices
Title: Re: WiFi issues
Post by: AlanB on September 21, 2015, 02:59:00 pm
I now have a Pilot Aware running on a Model B, not the plus version, with a "ThePiHut WifiDongle"

https://www.amazon.co.uk/gp/product/B009FA2UYK/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1

and a KEEDOX DVB-T on.co.uk/gp/product/B009VBUYA0/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1

and linked to SkyDemon.

Running the 20150911 version of the software as the B model will not run the 20150919 version.

Chose the model B as the DVB-T and PiHut Wifi Dongle hardware combination function on a B+ model Pi. Appears to be a hardware conflict between the Wifi and the DVB-T

need to test the ARF, which I have built on a slice of Pi Board.
Title: Re: WiFi issues
Post by: ianfallon on September 21, 2015, 03:36:26 pm
I now have a Pilot Aware running on a Model B, not the plus version, with a "ThePiHut WifiDongle"

https://www.amazon.co.uk/gp/product/B009FA2UYK/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1

and a KEEDOX DVB-T on.co.uk/gp/product/B009VBUYA0/ref=oh_aui_detailpage_o03_s00?ie=UTF8&psc=1

and linked to SkyDemon.

Running the 20150911 version of the software as the B model will not run the 20150919 version.

Chose the model B as the DVB-T and PiHut Wifi Dongle hardware combination function on a B+ model Pi. Appears to be a hardware conflict between the Wifi and the DVB-T

need to test the ARF, which I have built on a slice of Pi Board.

For what it's worth I had trouble with a Keedox DVB dongle - wouldn't work for me - sent it back and used one of these instead:

http://www.ebay.co.uk/itm/201349905111

then all was OK.
Title: Re: WiFi issues
Post by: AlanB on September 21, 2015, 04:06:15 pm

For what it's worth I had trouble with a Keedox DVB dongle - wouldn't work for me - sent it back and used one of these instead:

http://www.ebay.co.uk/itm/201349905111

then all was OK.

Thanks Ian have one on order from China
Title: Re: WiFi issues
Post by: prgoell on September 22, 2015, 09:07:30 am
I am unable to connect to 192.168.1.1 as my mobile device is not connected at all to the hotspot.
When using my Android phone I get stuck on "looking for IP" when trying to connect to the hotspot which tels a bit more than my IPad just waiting for connection and in the end showing no connection on an 169. range IP.
Hope this helps.
Title: Re: WiFi issues
Post by: Admin on September 22, 2015, 09:11:03 am
I am unable to connect to 192.168.1.1 as my mobile device is not connected at all to the hotspot.
When using my Android phone I get stuck on "looking for IP" when trying to connect to the hotspot which tels a bit more than my IPad just waiting for connection and in the end showing no connection on an 169. range IP.
Hope this helps.

What I really need to know is the exact Vendor/Device ID of this usb WiFi dongle.
Can you provide a link to where you purchased ?
Title: Re: WiFi issues
Post by: prgoell on September 22, 2015, 02:04:29 pm
This is the dongle I have, could be a bad one

http://www.aliexpress.com/item/Top-quality-Ralink-RT5370-150Mbps-150M-USB-2-0-WiFi-Wireless-Network-Networking-Card-802-11/32326262230.html
Title: Re: WiFi issues
Post by: Richard W on September 23, 2015, 11:42:27 pm
I think I have WiFi issues as well. I am in the first stages of getting PA running.  The system consists of just the Pi
and a WiFi dongle.  The last few lines displayed are :-


[ ok ] Stopping advanced IEEE 802.11 management: hostapd
[....] Starting advanced IEEE 802.11 management: hostapdSegmentation fault
 failed!
Error for wireless request "Set Tx Power (8B26) :
    SET failed on device wlan0 ; Operation not permitted.

Raspbian GNU/Linux 7 pilot31-rpi tty1

pilot31-rpi login:

The adapter claims to use the Ralink RT5370 chipset. When in my Win7 PC, Device Manager shows the Hardware Ids to be :-

USB\VID_0BDA&PID_8176&REV_0200
USB\VID_0BDA&PID_8176

and googling these seem to indicate a Realtek RTL8188CU.  Do you think I have been sold a pup (by Amazon)?
at this link http://www.amazon.co.uk/gp/product/B00UFJ0MI6?psc=1&redirect=true&ref_=oh_aui_detailpage_o00_s00 (http://www.amazon.co.uk/gp/product/B00UFJ0MI6?psc=1&redirect=true&ref_=oh_aui_detailpage_o00_s00)

 Any suggestions, please?
Title: Re: WiFi issues
Post by: prgoell on September 24, 2015, 10:06:53 am
I received my new WIFI but havo not more luck establishing the hotspot.
As you suggested in another thread, I connected my Raspberry to my network via RJ45 and got the following screenshots.
For information the ARF board is not yet connected.

Title: Re: WiFi issues
Post by: Admin on September 24, 2015, 12:08:51 pm
There are 2 issues I see here

Firstly where the WiFi is clearly not an RT5370 (but sold as one) - as reported by Richard earlier in the thread.
This is actually a different dongle

There is a second issue whereby WiFi dongles advertise themselves as RT5370 with the correct VID:PID of
148f:5370, but they do not work - as reported by prgoell

I swapped one of my WiFi dongles with another user who saw the same issue as prgoell, his was purchased from the pihut
and when I tried his WiFi - it also failed for me, it would hang starting the hostapd.

As far as the RTL8188 is concerned, I think that is a lost cause.
I am more concerned about these dongles which 'claim to be' RT5370, but which clearly have an issue

I need to try and post something on the raspberry pi forum to see if anybody has any ideas.

If it helps, I do have a stash of working RT5370 WiFi dongles ?

Thx
Lee
Title: Re: WiFi issues
Post by: Admin on September 24, 2015, 12:39:21 pm
I received my new WIFI but havo not more luck establishing the hotspot.
As you suggested in another thread, I connected my Raspberry to my network via RJ45 and got the following screenshots.
For information the ARF board is not yet connected.

Do you see any errors in the boot messages if you have a monitor connected ?
Title: Re: WiFi issues
Post by: ibelmore on September 24, 2015, 12:48:41 pm
I am having the same problems as Richard W

I have ordered another wifi dongle as recommended elsewhere on this board and will try again when it arrives.

Ian
Title: Re: WiFi issues
Post by: Admin on September 24, 2015, 12:52:37 pm
I am having the same problems as Richard W

I have ordered another wifi dongle as recommended elsewhere on this board and will try again when it arrives.

Ian

Hi Ian,
Just to clarify -
The dongle you have is not an RT5370 ?
Was it sold as an RT5370 ?
Title: Re: WiFi issues
Post by: prgoell on September 24, 2015, 01:02:08 pm
Hello,
I have no error messages on boot up.
The only thing I have is a warning : Kernel lacks cgroup or memory controller not available, not starting cgroup

I have found the following infos, may be they can be of some help

https://www.crazypi.com/index.php?route=blog/post&post_id=27
http://sirlagz.net/2013/02/10/how-to-use-the-raspberry-pi-as-a-wireless-access-pointrouter-part-3b/

Regards

(I have ordered one of the dongles on amazon that is advertized here as working, as well as another raspberry)

Title: Re: WiFi issues
Post by: ibelmore on September 24, 2015, 01:18:31 pm
Hi Lee

It was advertised as RT5370 but i get same error messages as Richard W posted.

http://www.amazon.co.uk/gp/product/B00EZOQFHO?psc=1&redirect=true&ref_=oh_aui_detailpage_o03_s00

Cheers
Ian
Title: Re: WiFi issues
Post by: ibelmore on September 25, 2015, 05:56:34 pm
New dongle arrived today and its up and running fine
Title: Re: WiFi issues
Post by: Admin on September 25, 2015, 06:39:12 pm
New dongle arrived today and its up and running fine

We really need to get to the bottom of why some of these dongles reported as Ralink RT5370 are not working,
Glad to hear all is well.

Thx
Lee
Title: Re: WiFi issues
Post by: ibelmore on September 25, 2015, 06:58:37 pm
I can confirm that this wifi dongle

http://www.ebay.co.uk/itm/231483794170?_trksid=p2060353.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

Works fine for me
Ian
Title: Re: WiFi issues
Post by: N6010Y on September 25, 2015, 08:58:38 pm
Hi Lee,

Here’s another challenge for us!

As mentioned in a previous thread, I bought a so called Raspberry Pi micro wi-fi dongle, only for it to turn up and not work.  Richard kindly shared his type/model/source of his that worked perfectly.

http://www.ebay.co.uk/itm/381052780430?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

I ordered one from ebay.

In the meantime I plugged in a very old (and large) TP-Link TL-WN721N (see photo) and everything was fine with no drop-out of GPS signal when connected to SkyDemon .

When my new wi-fi dongle arrived (same as Richard’s), I plugged in – updated the license and all worked – for about 5 minutes, then the GPS was lost to SkyDemon with a failed to connect to butterfly error message.  I re-booted – and exactly the same happened after approx. 5 minutes.

I replaced the old TP-Link back in – no issues with dropping.

How come the same bit of kit works without issues (aka Richard), and keeps dropping in my build – odd!

Hugh
Title: Re: WiFi issues
Post by: Admin on September 25, 2015, 09:02:25 pm
I am looking at your power cable, do you have a spec ?
It needs to be 20awg
Title: Re: WiFi issues
Post by: N6010Y on September 25, 2015, 09:19:31 pm
Lee,

This is the power supply I'm using - as used by others also I believe.

http://www.amazon.co.uk/gp/product/B00MTX9GD8?psc=1&redirect=true&ref_=oh_aui_detailpage_o01_s01

Hugh
Title: Re: WiFi issues
Post by: Admin on September 25, 2015, 09:27:05 pm
Yep, that looks good
Title: Re: WiFi issues
Post by: Tony T on October 29, 2015, 11:24:20 am
Has there been any update on the wi-fi dongle issues - I have been trying to get the wi-fi on mine to work for 2 weeks now and have followed all the advice in the various threads - new power supply and 20 gauge cable, replacement wi-fi dongle from a source that 'works' but still have similar problems to others - pi boots up and starts to display the licence message with the correct mac  address but neither my PC or ipad can connect to it - also sometimes after 5 lines of the correct mac address the pi reverts to a mac address of all zeros.

Tony
Title: Re: WiFi issues
Post by: Admin on October 29, 2015, 12:06:32 pm
Has there been any update on the wi-fi dongle issues - I have been trying to get the wi-fi on mine to work for 2 weeks now and have followed all the advice in the various threads - new power supply and 20 gauge cable, replacement wi-fi dongle from a source that 'works' but still have similar problems to others - pi boots up and starts to display the licence message with the correct mac  address but neither my PC or ipad can connect to it - also sometimes after 5 lines of the correct mac address the pi reverts to a mac address of all zeros.

Tony

Hi Tony,
Can I ask where you bought the WiFi dongle from ?
Thx
Lee
Title: Re: WiFi issues
Post by: Tony T on October 29, 2015, 12:21:57 pm
Hi Lee - the latest one came from uk-lightszone on ebay - I just followed one of the links on the forum. 

However I have made some progress this morning as I had an old Pi B (not a 2) and so tried that instead and everything fired up correctly.  It therefore suggests that the Pi B 2 is faulty - looking at the network stats for either the wi-fi or ethernet my PC never sees any received data from it.  However I seem to remember a note in the forum somewhere about the v1.1 PI (which this one is) and just wonder if there is a compatability issue given a number of people have had the same issues?
Title: Re: WiFi issues
Post by: Admin on October 29, 2015, 12:33:09 pm
Hi Lee - the latest one came from uk-lightszone on ebay - I just followed one of the links on the forum. 

However I have made some progress this morning as I had an old Pi B (not a 2) and so tried that instead and everything fired up correctly.  It therefore suggests that the Pi B 2 is faulty - looking at the network stats for either the wi-fi or ethernet my PC never sees any received data from it.  However I seem to remember a note in the forum somewhere about the v1.1 PI (which this one is) and just wonder if there is a compatability issue given a number of people have had the same issues?

Hi Tony
I think you have answered your own question.
PilotAware does not run on a "Pi 2", the target hardware is "Pi B+"

If the documentation says "Pi 2", this is wrong, could you point me at a reference ?

Thx
Lee
Title: Re: WiFi issues
Post by: Tony T on October 29, 2015, 12:56:42 pm
That explains it  - I was taken in by the claim that the Pi 2 was 'fully backward compatible' with the B+ - obviously not the case.  I wonder how many others have had a similar issue?  Will order a B+ and hopefully that will resolve this.

Thanks

Tony
Title: Re: WiFi issues
Post by: Admin on October 29, 2015, 01:12:26 pm
That explains it  - I was taken in by the claim that the Pi 2 was 'fully backward compatible' with the B+ - obviously not the case.  I wonder how many others have had a similar issue?  Will order a B+ and hopefully that will resolve this.
Thanks
Tony

Hi Tony
A few people have fell into this, although I have said explicitly PiB+, unfortunately some of the drivers are not yet ported.
I may try to put an early boot check to generate an error, this might help spot this problem

Thx
Lee
Title: Re: WiFi issues
Post by: Paul_Sengupta on November 19, 2015, 12:27:53 am
I've found another working Wifi USB dongle, a bit by accident!  :)

I was given a non working dongle that a friend of mine bought for his PAW which claimed to be the correct chipset but wasn't. I thought I'd give it a go on my old Pi B to see what it did. Sure enough, it didn't work on that either. But laying on my coffee table was an old Belkin Wireless G USB dongle. I'd brought it out as I was building a new desktop PC and wanted a quick way to connect to the internet before installing a proper card.

Anyway, I thought no harm in trying, there's probably no chance of it working, but let's have a look. I plugged it into the Pi, plugged my monitor in and booted it up. To my surprise the boot screen got past the point of failure and appeared to set up a Wifi hotspot. I got my tablet out and now I'm happily connected to it!  :) It's the Belkin F5D7050. It's a bit large but hey, this is experimental anyway!

(http://www.belkin.com/images/product/F5D7050_v2/STD1_F5D7050_v2.jpg)

http://www.belkin.com/uk/support-product?pid=01t80000001qJZtAAM (http://www.belkin.com/uk/support-product?pid=01t80000001qJZtAAM)

Doing a bit more digging, this dongle was available with several different chipsets.

http://linux-wless.passys.nl/query_part.php?brandname=Belkin (http://linux-wless.passys.nl/query_part.php?brandname=Belkin)

I've got two revisions of this dongle and they both work, with the Intersil ISL3887 chipset and also the Ralink RA2571W chipset.
Title: Re: WiFi issues
Post by: ianfallon on November 19, 2015, 02:19:31 pm
If you're confident in it - add it to the Known Good Hardware thread, although looking at the form-factor of it I think you'll struggle to plug anything into the adjacent USB socket ??
Title: Re: WiFi issues
Post by: Paul_Sengupta on November 19, 2015, 03:05:40 pm
It's old hardware, old chipsets now, but people might have things lying around that they might want to use just to play with/check while they're waiting for the £2 ones from China to arrive (yes, also proven to work). Yes, it would need to be in a row on its own or on a little extension lead. On my Pi B I've put in a non-powered hub which seems to work ok, I've got the GPS, the Wifi dongle and the ADS-B dongle all connected. I don't have another ARF though!  :) It's a bit unwieldy. My "proper" PAW is a B+ in the standard case with the standard dongles and an ARF.