LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-19-2020, 12:28 PM   #1
Rubato
LQ Newbie
 
Registered: Nov 2018
Posts: 6

Rep: Reputation: Disabled
Pi Access point works with everything but another Pi


Wonder and hoping if anyone could help, this is weird.
I've got a Pi3 all set up and running as a VPN-AP, it is rock solid, phones, laptops, a firestick, PC etc all connect to it, all through the VPN (Airvpn) and the firestick barely buffers.

Then I try and add a Pi into the mix to eventually host a samba share on it but the Pi is garbage on the network, kbps only download speed and drops, kills ssh, lags etc etc. I thought this could maybe be a problematic Pi4 but I've just hooked up a brand new 3b+ with a clean install of raspian and a new SD and it is just the same. All that I've done is put ssh and wpa_supplicant configs on the SD.

Setup is Pi-AP to router on Eth0
Wlan0 is 4.1 and serving 4.2 to 4.20
Got hostapd dnsmasq and openvpn
Every device in Lan has static IP within the range, with 4.1 as gateway and dns (works perfectly on everything).

I've tried setting and/or not setting static IPs/routers/DNS in dhcpcd.conf on the client Pi3 and old Pi4, tried everything 🤔 Always weird and sometimes kills ssh, occasionally killing ssh reconnects and requiring power resets.

Only thing I can think of is it is something to do with local traffic/openvpn though it allows that by default I think?

Hope somebody can think of something else? Pls help 🤦*♂️
 
Old 12-19-2020, 01:14 PM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,373
Blog Entries: 3

Rep: Reputation: 3771Reputation: 3771Reputation: 3771Reputation: 3771Reputation: 3771Reputation: 3771Reputation: 3771Reputation: 3771Reputation: 3771Reputation: 3771Reputation: 3771
Just a wild guess, perhaps the hostnames are the same for both Raspberry Pis? If you haven't changed the default hostname in raspi-config then they will be fighting over the same name.
 
Old 12-19-2020, 01:34 PM   #3
Rubato
LQ Newbie
 
Registered: Nov 2018
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Turbocapitalist View Post
Just a wild guess, perhaps the hostnames are the same for both Raspberry Pis? If you haven't changed the default hostname in raspi-config then they will be fighting over the same name.
No, they both have separate hostnames. I've just tried again (while i'm watching perfect VPN tv on the firestick) and Speedtest-Cli gives me low latency and good speed but when I try to wget a testfile it hangs and drops the SSH, it is mental, I would assume the pi would talk to the pi better than anything else, especially as it is nearest.

Never assume anything though, as they say.
 
Old 12-19-2020, 01:41 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,799

Rep: Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953
A quick search found various numbers of max wireless clients i.e. 8 16 or 32, how many total devices are connect to the access point?

A plain Pi3 wifi speed is only about 38 Mbps so you might of reached a limit on the number of devices and bandwidth limit by adding the Pi to the mix.

Version 3 Pis still shares bandwidth with the USB bus so if anything is anything connected to a USB port will affect bandwidth. You might be alright if you use the Pi4 or maybe the 3b+ as the access point instead of the just the 3.

What about temperatures? Are you using a heatsink? You might be running into thermal limits.

Last edited by michaelk; 12-19-2020 at 01:47 PM.
 
Old 12-19-2020, 01:55 PM   #5
Rubato
LQ Newbie
 
Registered: Nov 2018
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
A quick search found various numbers of max wireless clients i.e. 8 16 or 32, how many total devices are connect to the access point?

A plain Pi3 wifi speed is only about 38 Mbps so you might of reached a limit on the number of devices and bandwidth limit by adding the Pi to the mix.

Version 3 Pis still shares bandwidth with the USB bus so if anything is anything connected to a USB port will affect bandwidth. You might be alright if you use the Pi4 or maybe the 3b+ as the access point instead of the just the 3.

What about temperatures? Are you using a heatsink? You might be running into thermal limits.

I thought exactly that as Air have a 5 device limit to an AP. I've been in touch with them and they have confirmed there has been no throttling of any device at their end.
 
Old 12-19-2020, 02:05 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,799

Rep: Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953
My comments were just for the Pi3 as an access point and not the VPN server.

What happens if you disconnect everything but the Pi4 from the access point. Do you still have the same problems? If not add them back one at a time until you start having problems. What is that number of devices?
 
Old 12-19-2020, 02:11 PM   #7
Rubato
LQ Newbie
 
Registered: Nov 2018
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
My comments were just for the Pi3 as an access point and not the VPN server.

What happens if you disconnect everything but the Pi4 from the access point. Do you still have the same problems? If not add them back one at a time until you start having problems. What is that number of devices?
Ok thank you, I thought you meant the VPN. There are only 5/6 devices in total anyway, but the problem is there with only a laptop (ssh) and the problem Pi connected to the AP.
 
Old 12-19-2020, 02:26 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,799

Rep: Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953Reputation: 5953
Just as an aside I would connect the Pi4 using ethernet to your router versus wifi if its intended purpose is for sharing files. WiFi bandwidth is divided between the number of devices connected to the access point. The 4 does not share bandwidth between USB and ethernet so it will have better performance.

Have you check the CPU temperatures on the Pi3 AP yet?

Last edited by michaelk; 12-19-2020 at 02:28 PM.
 
Old 12-19-2020, 02:45 PM   #9
Rubato
LQ Newbie
 
Registered: Nov 2018
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Just as an aside I would connect the Pi4 using ethernet to your router versus wifi if its intended purpose is for sharing files. WiFi bandwidth is divided between the number of devices connected to the access point. The 4 does not share bandwidth between USB and ethernet so it will have better performance.

Have you check the CPU temperatures on the Pi3 AP yet?
The "Purpose" of the whole OP and project is a Wi-Fi access point running on a Raspberry PI, serving clients via wifi through the VPN. I realise I could plug the Pi into the router though that would bypass the entire project and in that case this post would not even have existed.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I loaded Mint Cin 18.2 and everything works except the speaker sound, when you run the test they produce no sound, the mic works fine. edhayes@tmp-az.com Linux Mint 4 01-27-2019 07:46 AM
no access to config on wired access, but modem/router and wired access point work littlejoe5 Linux - Networking 1 10-22-2014 02:40 PM
XAWTV works, videodog works, motion works but how to code my own? rylan76 Linux - Hardware 0 01-06-2006 06:30 AM
Connection to access point OK, but cannot access the network/internet Nymphetamine Linux - Wireless Networking 29 01-13-2005 02:59 PM
I can not access mu sip web pages. Everything else works. dnw Linux - Networking 2 04-28-2002 01:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration