×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

VAP Connection Issue

  • Posts: 13
  • Thank you received: 0

Replied by Darren Jehan on topic VAP Connection Issue

No worries, will let you go support some other issues :)
5 years 1 week ago #36769

Please Log in or Create an account to join the conversation.

  • Posts: 983
  • Thank you received: 375

Replied by Radek Kaczorek on topic VAP Connection Issue

I meant struggle :D
5 years 1 week ago #36770

Please Log in or Create an account to join the conversation.

  • Posts: 1
  • Thank you received: 0

Replied by Robin on topic VAP Connection Issue

I think I have there same problem but I don't understand the answer - not unix literate!)

I have downloaded the latest astroberry and installed on a Pi3+

VAP is fine and I can connect

Tried , wlanconfig, to set up connection my home 5GHZ network. SSID and password entered correctly. Reboot VAP shows but you can't connect to it. Ethernet gets to the Pi but I can't connect to the server, it fails. Only way out seems to be a reflash.
5 years 1 week ago #36802

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0

Replied by Darren Jehan on topic VAP Connection Issue

OK, lengthy note this one!
I reflashed the SD card and started from scratch...
reflashed SD Card with 1.1.0 image
Connect LAN cable
Power on
Ran apt update and apt upgrade
Reboot
Ran apt-get dist-update
Shutdown
Disconnect LAN
Power on
ifconfig and astroberry_vap status confirm VAP has started
Ubuntu 18.04 client connects to astroberry VAP
IP address given as 192.168.10.151
http://astroberry.local shows the welcome page but connection fails (suspect the welcome page is cached?)
http://192.168.10.1 fails to connect
Connect to WLAN using wlanconfig
Confirm connection working OK and IP address is valid
While WLAN connection is valid, go back to post [url=https://indilib.org/forum/astroberry/4829-vap-connection-issue.html?start=0#36660]HERE[/url] and follow instructions
Modify interfaces, rc.local and confirm wpa_supplicant has valid WLAN details
Download astroberry_wireless script, put in /u/l/b and chmod it
Reboot
ifconfig shows VAP up, but no IP address for WLAN
Attempt to redownload the astroberry_wireless - confirms that no network connection is present
Output from astroberry_wireless says that the password is incorrect - [color=orange][b]it is not![/b][/color]
Ubuntu client connects to VAP, but cannot connect to http://astroberry.local or 192.168.10.1
Changed network settings in Ubuntu to manual IP with mask and DNS, no difference
Confirmed astroberry firewall is disabled on all 3 profiles
Retest connection to VAP - no difference
Output of iwconfig shows:
  lo	        no wireless connection
 
  vap0	IEEE 802.11  Mode:Master  Tx-Power=31 dBm
		Retry short limit:7  RTS thr: off  Fragment thr:off
		Power Management:on
 
  wlan0	IEEE 802.11  ESSID:off/any
		Mode:Managed  Access Point:Not Associated  Tx-Power=31 dBm
		Retry short limit:7  RTS thr: off  Fragment thr:off
		Encryption key:off
		Power Management:on		
 
Revert changes to /etc/network/interfaces
Hash out astroberry_wireless from rc.local
Reboot
Device now connects to WLAN again, confirmed by redownloading astroberry_wireless script
Ubuntu client cannot connect to astroberry.local or via IP address
astroberry_vap status confirms VAP is not started
astroberry_vap start to start VAP
Ubuntu client connects to astroberry, gets IP address but cannot connect to astroberry.local or IP addreess

I don't actually mind about the WLAN but I do want the VAP connection to work so I can use in the field - the primary goal. Any updates I need can be done when connected to the ethernet, but VAP is key!

So, I removed the WLAN settings from wpa_supplicant, removed the WLAN settings from /etc/network/interfaces and re-added the astroberry_wireless into rc.local
When I reboot, the VAP comes up, and again, my Ubuntu client connects to it - I assume, because I get an IP address - but I cannot connect to it.

Hope some of this helps!!
5 years 1 week ago #36810

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0

Replied by Darren Jehan on topic VAP Connection Issue

SOLVED!!!

So, embarrassingly, it was my fault - again!! The issue was with my client - NOT the astroberry server!

I did a complete refresh again and also built a new client Ubuntu device - and it connected straight away! So I started digging and discovered the original client had some hard-wired network config in it, probably from previous testing!

So, I am going to retry the astroberry_wireless script on the original SD card, but I am pretty confident it will!!

Many thanks for your support Radek - but it seems it was my fault!!
4 years 11 months ago #37085

Please Log in or Create an account to join the conversation.

  • Posts: 983
  • Thank you received: 375

Replied by Radek Kaczorek on topic VAP Connection Issue

I feel better now :) :) :)
I haven't had time for working with the issue recently, so it's good to hear that it was your fault ;)
Still I need to rethink and redesign the wireless/VAP configuration. It's giving too much problems to users now. It wasn't a problem for a single band (2,4G) mode wireless available on Raspberry 3B, but dual band (2,4/5G) available on Raspberry 3B+ is quite a challenge. Of course it is not for a specific user, but ensuring it works for various users in various geographies is not that easy. 5G band is very much geography dependent due to some frequencies are used by radars. So you cannot just set a channel and it will work for everyone from Asia, through Europe to US. I will try to give it another look in my spare time.
Any feedback and suggestions more than welcomed.
4 years 11 months ago #37087

Please Log in or Create an account to join the conversation.

Moderators: Radek Kaczorek
Time to create page: 1.090 seconds