Author Topic: WiFi  (Read 18968 times)

Admin

Re: WiFi
« Reply #45 on: March 18, 2020, 10:19:25 am »
Hi Kevin,
OK, my tcpstat does not accept your syntax, so I have had to workaround.

The OGN-R IP is 192.168.0.67 and my ssh is 192.168.0.100, so I have used the following

tcpdump -i eth0 "(not ((src 192.168.0.100) or (dst 192.168.0.100))) and ((src 192.168.0.67) or (dst 192.168.0.67))"

so this should track everything to from local IP but ignoring my ssh terminal
does this sound right ?

the gateway syntax is not accepted by tcpdump 1.5 (I also sent an email)

Thx
Lee

Kevin W

Re: WiFi
« Reply #46 on: March 18, 2020, 10:29:17 am »
Ahh, I spot the problem, 'gateway' will only work if you have that name defined in /etc/hosts and /etc/ethers

You need to replace the first 'gateway' with the gateway MAC, and the second gateway with the gateway IP - ie

"ether host 06:a3:22:04:c1:71 and not host 192.168.1.1"

Cheers
Kev

Kevin W

Re: WiFi
« Reply #47 on: March 18, 2020, 10:37:15 am »
The OGN-R IP is 192.168.0.67 and my ssh is 192.168.0.100, so I have used the following

tcpdump -i eth0 "(not ((src 192.168.0.100) or (dst 192.168.0.100))) and ((src 192.168.0.67) or (dst 192.168.0.67))"

does this sound right ?

I don't think that s right, but struggling to get a head that feels like it is full of cotton wool around it!

To count traffic going to the Internet, you need to count all packets going to the MAC address of the gateway, whilst excluding anything going to the IP address of the gateway. 
(ie the routing table has said the next hop for the packet is the gateway, but not counting anything that is stopping at  the gateway its self - ie IGMP, ARP, RARP's, etc)

If you have other traffic going to the Internet that you don't want to count you have to exclude that too. ie if you are sshing in from a host on the internet rather than the local network.

Hope that makes sense.

Cheers
Kev
« Last Edit: March 18, 2020, 07:55:21 pm by Kevin W »

Admin

Re: WiFi
« Reply #48 on: March 18, 2020, 03:40:38 pm »
Makes sense
Thx
Lee

Keithvinning

Re: WiFi
« Reply #49 on: March 23, 2020, 09:06:38 am »
Hi Frank

Unfortunately the WIFi will only work with a Pi 3 not a pi 2 with a dongle

Sorry

Keith

trident

Re: WiFi
« Reply #50 on: March 23, 2020, 09:40:21 pm »
Hi Frank

Unfortunately the WIFi will only work with a Pi 3 not a pi 2 with a dongle

Sorry

Keith

Hi Keith,

Thanks for your reply.

That's a shame because it's going to delay installing the station whilst I try to set up a wired connection to the Pi.

Thanks,

Frank.

Ian Melville

Re: WiFi
« Reply #51 on: December 28, 2020, 04:51:34 pm »
What has happened to the WiFi Config for an ATOM station? It is in the written script from Keith, but I don't get that option to configure WiFi when I run the config script.

Device is a Pi 3B
Software is release Wed 18 Nov 09:22:26 GMT 2020

Admin

Re: WiFi
« Reply #52 on: December 28, 2020, 05:04:03 pm »
Hi Ian
Is it a 3b or 3b+ ?
If I can get a login, I can debug

Just needs to have an installation, and wired connection
Thx
Lee

Ian Melville

Re: WiFi
« Reply #53 on: December 28, 2020, 05:23:22 pm »
It's a straight B. My B+ will be used elsewhere.

It's connected to wired internet now with default password. Need anything else?

Admin

Re: WiFi
« Reply #54 on: December 28, 2020, 07:22:50 pm »
Let me take a look...

Admin

Re: WiFi
« Reply #55 on: December 28, 2020, 07:32:41 pm »
Hi Ian

That is a pretty old base installation, the data on the installer is 20200118
I am going to make a guess this could be pre-wifi code.

I think I should perform a 'reinstall', to get the latest base code
$ reinstall

thx
Lee

Ian Melville

Re: WiFi
« Reply #56 on: December 28, 2020, 07:42:45 pm »
Um, I only downloaded the image files about 2 weeks ago :(

14/12 actually

I used the link in Keith's Installation instructions
http://pilotaware.lode.co.uk/downloads/OGN/PilotAware-OGN.latest.zip

Admin

Re: WiFi
« Reply #57 on: December 29, 2020, 12:18:00 pm »
You are right I mis read as 20200118, it was actually 20201118
I am seeing a complaint about the bluetooth, can you take a look at the email I sent

Thx
Lee

exfirepro

Re: WiFi
« Reply #58 on: December 29, 2020, 03:51:38 pm »
Lee / Ian,

I did a test install of the /PilotAware-OGN.latest.zip from the same download site onto a Pi3B (not +) on 23rd November, in response to a query from Patrick (Kurt37) as reported here...

http://forum.pilotaware.com/index.php/topic,1976.msg21053.html#msg21053

This was with the same (20201118) OGN software you used Ian. The only problem I had was that on the first config run my router refused to setup the WiFi link. I simply re-ran the config and it accepted the login second time round.

Best Regards

Peter

Ian Melville

Re: WiFi
« Reply #59 on: December 29, 2020, 07:55:49 pm »
Hi Lee, No email received. My internet has been down, and still seem erratic.

Peter, Since last night, I have run the config three times now with no option for WiFi config.