Connection time to wifi #49

Closed
opened 2026-10-05 05:31:28 +02:00 by adam · 11 comments
Owner

With a wifi network defined, i find that the i-gate often doesn't connect and launches the hotspot too quickly.
I might have to reboot it a couple of times for it to establish connection to the defined network.
(on the previous version, where there were multiple AP's defined, i also found it would do a lap of them before successfully connecting)

Is there a setting in the code that defines this wait time that i can tweak and confirm it resolves the issue?

The new web interface is much easier to configure than doing it in VSC - thanks.

With a wifi network defined, i find that the i-gate often doesn't connect and launches the hotspot too quickly. I might have to reboot it a couple of times for it to establish connection to the defined network. (on the previous version, where there were multiple AP's defined, i also found it would do a lap of them before successfully connecting) Is there a setting in the code that defines this wait time that i can tweak and confirm it resolves the issue? The new web interface is much easier to configure than doing it in VSC - thanks. <!-- github-sync-id:2222459648 -->
adam closed this issue 2026-10-05 05:31:28 +02:00
Author
Owner

Hi,

when it achieves the wifi connection does it keeps connected?

could it be the router to slow?

Hi, when it achieves the wifi connection does it keeps connected? could it be the router to slow? <!-- github-comment-id:2039621838 -->
Author
Owner

Hi Rich,
Yes, once connected it stays up.
My config here is a Draytek 2862 non wifi router, with 2x draytek AP902 access points, so not poor quality internet service provider supplied devices.

I am using lilygo T3_v1.6 1
The behaviour appears to be consistent.
From a cold power up, it fails to connect to the wifi and launches the hotspot.
Pressing the reset button to cause a reboot, without removing power, it connects straight away at the reboot.
I can try and provide a video if you want?

Many thanks for the software! Developers such as you are much appreciated!

Regards
Jon Eyes
Sent from my Galaxy

-------- Original message --------
From: "Ricardo Guzman (Richonguzman)" @.>
Date: 05/04/2024 13:01 (GMT+00:00)
To: richonguzman/LoRa_APRS_iGate @.
>
Cc: Jon Eyes @.>, Author @.>
Subject: Re: [richonguzman/LoRa_APRS_iGate] Connection time to wifi (Issue #67)

Hi,

when it achieves the wifi connection does it keeps connected?

could it be the router to slow?

—
Reply to this email directly, view it on GitHubhttps://github.com/richonguzman/LoRa_APRS_iGate/issues/67#issuecomment-2039621838, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AU2Y66CGZTGVCYSFRDFI4BLY32OCNAVCNFSM6AAAAABFU64UMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZZGYZDCOBTHA.
You are receiving this because you authored the thread.Message ID: @.***>

Hi Rich, Yes, once connected it stays up. My config here is a Draytek 2862 non wifi router, with 2x draytek AP902 access points, so not poor quality internet service provider supplied devices. I am using lilygo T3_v1.6 1 The behaviour appears to be consistent. From a cold power up, it fails to connect to the wifi and launches the hotspot. Pressing the reset button to cause a reboot, without removing power, it connects straight away at the reboot. I can try and provide a video if you want? Many thanks for the software! Developers such as you are much appreciated! Regards Jon Eyes Sent from my Galaxy -------- Original message -------- From: "Ricardo Guzman (Richonguzman)" ***@***.***> Date: 05/04/2024 13:01 (GMT+00:00) To: richonguzman/LoRa_APRS_iGate ***@***.***> Cc: Jon Eyes ***@***.***>, Author ***@***.***> Subject: Re: [richonguzman/LoRa_APRS_iGate] Connection time to wifi (Issue #67) Hi, when it achieves the wifi connection does it keeps connected? could it be the router to slow? — Reply to this email directly, view it on GitHub<https://github.com/richonguzman/LoRa_APRS_iGate/issues/67#issuecomment-2039621838>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AU2Y66CGZTGVCYSFRDFI4BLY32OCNAVCNFSM6AAAAABFU64UMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZZGYZDCOBTHA>. You are receiving this because you authored the thread.Message ID: ***@***.***> <!-- github-comment-id:2040232219 -->
Author
Owner

the solution is not very good, but what if it stays like it is?

when you reboot it connects right away... does the AP reboots after a few mins to try to connect to wifi by its own ?

the solution is not very good, but what if it stays like it is? when you reboot it connects right away... does the AP reboots after a few mins to try to connect to wifi by its own ? <!-- github-comment-id:2040235541 -->
Author
Owner

Ok, let me remove power and try again.
Are you thinking it may reconnect when the auto AP times out through no client connection?

Regards
Jon Eyes
Sent from my Galaxy

-------- Original message --------
From: "Ricardo Guzman (Richonguzman)" @.>
Date: 05/04/2024 17:40 (GMT+00:00)
To: richonguzman/LoRa_APRS_iGate @.
>
Cc: Jon Eyes @.>, Author @.>
Subject: Re: [richonguzman/LoRa_APRS_iGate] Connection time to wifi (Issue #67)

the solution is not very good, but what if it stays like it is?

when you reboot it connects right away... does the AP reboots after a few mins to try to connect to wifi by its own ?

—
Reply to this email directly, view it on GitHubhttps://github.com/richonguzman/LoRa_APRS_iGate/issues/67#issuecomment-2040235541, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AU2Y66GDPFKWFDDA6BDZRNTY33OWXAVCNFSM6AAAAABFU64UMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBQGIZTKNJUGE.
You are receiving this because you authored the thread.Message ID: @.***>

Ok, let me remove power and try again. Are you thinking it may reconnect when the auto AP times out through no client connection? Regards Jon Eyes Sent from my Galaxy -------- Original message -------- From: "Ricardo Guzman (Richonguzman)" ***@***.***> Date: 05/04/2024 17:40 (GMT+00:00) To: richonguzman/LoRa_APRS_iGate ***@***.***> Cc: Jon Eyes ***@***.***>, Author ***@***.***> Subject: Re: [richonguzman/LoRa_APRS_iGate] Connection time to wifi (Issue #67) the solution is not very good, but what if it stays like it is? when you reboot it connects right away... does the AP reboots after a few mins to try to connect to wifi by its own ? — Reply to this email directly, view it on GitHub<https://github.com/richonguzman/LoRa_APRS_iGate/issues/67#issuecomment-2040235541>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AU2Y66GDPFKWFDDA6BDZRNTY33OWXAVCNFSM6AAAAABFU64UMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBQGIZTKNJUGE>. You are receiving this because you authored the thread.Message ID: ***@***.***> <!-- github-comment-id:2040250557 -->
Author
Owner

I reset the auto AP to a 2 minute time out.
The Auto AP switches off, and it doesn't try to connect.
If I reboot it using the reset button, it fails the first time and then if I reboot it agaon using the reset button while the auto AP is active, it connects straight away.

Regards
Jon Eyes
Sent from my Galaxy

-------- Original message --------
From: Jon Eyes @.>
Date: 05/04/2024 17:47 (GMT+00:00)
To: richonguzman/LoRa_APRS_iGate @.
>
Subject: RE: [richonguzman/LoRa_APRS_iGate] Connection time to wifi (Issue #67)

Ok, let me remove power and try again.
Are you thinking it may reconnect when the auto AP times out through no client connection?

Regards
Jon Eyes
Sent from my Galaxy

-------- Original message --------
From: "Ricardo Guzman (Richonguzman)" @.>
Date: 05/04/2024 17:40 (GMT+00:00)
To: richonguzman/LoRa_APRS_iGate @.
>
Cc: Jon Eyes @.>, Author @.>
Subject: Re: [richonguzman/LoRa_APRS_iGate] Connection time to wifi (Issue #67)

the solution is not very good, but what if it stays like it is?

when you reboot it connects right away... does the AP reboots after a few mins to try to connect to wifi by its own ?

—
Reply to this email directly, view it on GitHubhttps://github.com/richonguzman/LoRa_APRS_iGate/issues/67#issuecomment-2040235541, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AU2Y66GDPFKWFDDA6BDZRNTY33OWXAVCNFSM6AAAAABFU64UMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBQGIZTKNJUGE.
You are receiving this because you authored the thread.Message ID: @.***>

I reset the auto AP to a 2 minute time out. The Auto AP switches off, and it doesn't try to connect. If I reboot it using the reset button, it fails the first time and then if I reboot it agaon using the reset button while the auto AP is active, it connects straight away. Regards Jon Eyes Sent from my Galaxy -------- Original message -------- From: Jon Eyes ***@***.***> Date: 05/04/2024 17:47 (GMT+00:00) To: richonguzman/LoRa_APRS_iGate ***@***.***> Subject: RE: [richonguzman/LoRa_APRS_iGate] Connection time to wifi (Issue #67) Ok, let me remove power and try again. Are you thinking it may reconnect when the auto AP times out through no client connection? Regards Jon Eyes Sent from my Galaxy -------- Original message -------- From: "Ricardo Guzman (Richonguzman)" ***@***.***> Date: 05/04/2024 17:40 (GMT+00:00) To: richonguzman/LoRa_APRS_iGate ***@***.***> Cc: Jon Eyes ***@***.***>, Author ***@***.***> Subject: Re: [richonguzman/LoRa_APRS_iGate] Connection time to wifi (Issue #67) the solution is not very good, but what if it stays like it is? when you reboot it connects right away... does the AP reboots after a few mins to try to connect to wifi by its own ? — Reply to this email directly, view it on GitHub<https://github.com/richonguzman/LoRa_APRS_iGate/issues/67#issuecomment-2040235541>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AU2Y66GDPFKWFDDA6BDZRNTY33OWXAVCNFSM6AAAAABFU64UMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBQGIZTKNJUGE>. You are receiving this because you authored the thread.Message ID: ***@***.***> <!-- github-comment-id:2040262608 -->
Author
Owner

I experienced few times that after saving some settings on my iGate (Lilygo T3_v1.6 1) it won't connect to local WiFi. I have to connect to AP and reboot board, after that works fine.

I experienced few times that after saving some settings on my iGate (Lilygo T3_v1.6 1) it won't connect to local WiFi. I have to connect to AP and reboot board, after that works fine. <!-- github-comment-id:2054081060 -->
Author
Owner

After discussing the issue with Andy GM0UDL today, he suggested setting the AP time to 0 to disable it, as others in his area have had success with that option.

I've tried this tonight and the problem persists, except the AP doesn't start.
Rebooting the T3 again and it connects to wifi straight away.

Is this an issue peculiar to this hardware, as two of us have the same issue?

Regards
Jon Eyes
Sent from my Galaxy

-------- Original message --------
From: KD9PKP @.>
Date: 14/04/2024 15:32 (GMT+00:00)
To: richonguzman/LoRa_APRS_iGate @.
>
Cc: Jon Eyes @.>, Author @.>
Subject: Re: [richonguzman/LoRa_APRS_iGate] Connection time to wifi (Issue #67)

I experienced few times that after saving some settings on my iGate (Lilygo T3_v1.6 1) it won't connect to local WiFi. I have to connect to AP and reboot board, after that works fine.

—
Reply to this email directly, view it on GitHubhttps://github.com/richonguzman/LoRa_APRS_iGate/issues/67#issuecomment-2054081060, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AU2Y66GJUH2GW257DMSTTS3Y5KHQZAVCNFSM6AAAAABFU64UMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJUGA4DCMBWGA.
You are receiving this because you authored the thread.Message ID: @.***>

After discussing the issue with Andy GM0UDL today, he suggested setting the AP time to 0 to disable it, as others in his area have had success with that option. I've tried this tonight and the problem persists, except the AP doesn't start. Rebooting the T3 again and it connects to wifi straight away. Is this an issue peculiar to this hardware, as two of us have the same issue? Regards Jon Eyes Sent from my Galaxy -------- Original message -------- From: KD9PKP ***@***.***> Date: 14/04/2024 15:32 (GMT+00:00) To: richonguzman/LoRa_APRS_iGate ***@***.***> Cc: Jon Eyes ***@***.***>, Author ***@***.***> Subject: Re: [richonguzman/LoRa_APRS_iGate] Connection time to wifi (Issue #67) I experienced few times that after saving some settings on my iGate (Lilygo T3_v1.6 1) it won't connect to local WiFi. I have to connect to AP and reboot board, after that works fine. — Reply to this email directly, view it on GitHub<https://github.com/richonguzman/LoRa_APRS_iGate/issues/67#issuecomment-2054081060>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AU2Y66GJUH2GW257DMSTTS3Y5KHQZAVCNFSM6AAAAABFU64UMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJUGA4DCMBWGA>. You are receiving this because you authored the thread.Message ID: ***@***.***> <!-- github-comment-id:2054194601 -->
Author
Owner

sometimes the Wifi/Router won't allow to be reconnected right away.... so in this delta/time the boards does a complete process of all wifi available to connect and starts again to get finally connection.

sometimes works supper fast, sometimes not.

we were talking about having the AP being "killed" after configuration to only stay in the "keep on trying on the Wifis saved" and not get again into WIFI AP mode

sometimes the Wifi/Router won't allow to be reconnected right away.... so in this delta/time the boards does a complete process of all wifi available to connect and starts again to get finally connection. sometimes works supper fast, sometimes not. we were talking about having the AP being "killed" after configuration to only stay in the "keep on trying on the Wifis saved" and not get again into WIFI AP mode <!-- github-comment-id:2058280580 -->
Author
Owner

Yes.
However, even when the AP times out, it won't connect to the saved wifi unless the device is rebooted

Regards
Jon Eyes
Sent from my Galaxy

-------- Original message --------
From: "Ricardo Guzman (Richonguzman)" @.>
Date: 16/04/2024 06:51 (GMT+00:00)
To: richonguzman/LoRa_APRS_iGate @.
>
Cc: Jon Eyes @.>, Author @.>
Subject: Re: [richonguzman/LoRa_APRS_iGate] Connection time to wifi (Issue #67)

sometimes the Wifi/Router won't allow to be reconnected right away.... so in this delta/time the boards does a complete process of all wifi available to connect and starts again to get finally connection.

sometimes works supper fast, sometimes not.

we were talking about having the AP being "killed" after configuration to only stay in the "keep on trying on the Wifis saved" and not get again into WIFI AP mode

—
Reply to this email directly, view it on GitHubhttps://github.com/richonguzman/LoRa_APRS_iGate/issues/67#issuecomment-2058280580, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AU2Y66C2AIFP3M7OUFRMB4DY5S37NAVCNFSM6AAAAABFU64UMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJYGI4DANJYGA.
You are receiving this because you authored the thread.Message ID: @.***>

Yes. However, even when the AP times out, it won't connect to the saved wifi unless the device is rebooted Regards Jon Eyes Sent from my Galaxy -------- Original message -------- From: "Ricardo Guzman (Richonguzman)" ***@***.***> Date: 16/04/2024 06:51 (GMT+00:00) To: richonguzman/LoRa_APRS_iGate ***@***.***> Cc: Jon Eyes ***@***.***>, Author ***@***.***> Subject: Re: [richonguzman/LoRa_APRS_iGate] Connection time to wifi (Issue #67) sometimes the Wifi/Router won't allow to be reconnected right away.... so in this delta/time the boards does a complete process of all wifi available to connect and starts again to get finally connection. sometimes works supper fast, sometimes not. we were talking about having the AP being "killed" after configuration to only stay in the "keep on trying on the Wifis saved" and not get again into WIFI AP mode — Reply to this email directly, view it on GitHub<https://github.com/richonguzman/LoRa_APRS_iGate/issues/67#issuecomment-2058280580>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AU2Y66C2AIFP3M7OUFRMB4DY5S37NAVCNFSM6AAAAABFU64UMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJYGI4DANJYGA>. You are receiving this because you authored the thread.Message ID: ***@***.***> <!-- github-comment-id:2058914828 -->
Author
Owner

this should be solved with new code added recently

this should be solved with new code added recently <!-- github-comment-id:2265833211 -->
Author
Owner

Hi Rich,
I've upgraded to the latest version with a clean install - it's still the same.

Hi Rich, I've upgraded to the latest version with a clean install - it's still the same. <!-- github-comment-id:2282728821 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/LoRa_APRS_iGate#49