Forum › Forums › Official Releases › antiX-21/22 “Grup Yorum” › Ceni fails to connect wlan1 automatically
- This topic has 2 replies, 2 voices, and was last updated Jun 14-7:21 am by roland.
-
AuthorPosts
-
June 13, 2022 at 9:51 am #84514Member
roland
In this up to date release 21 install, I can connect to wlan1 manually, but ceni does not connect automatically. I also have release 19.3 installed on a different drive which does connect automatically.
I have run the commands suggested by Xecure many months ago, without success. I notice that ceni is not listed as a service that I can request at a certain runlevel. I also notice that resolvconf is not requested until runlevel S.
Any suggestions will be welcome. I am sure it is something quite simple that I have overlooked, and thanks in advance.
Suggestions fron Xecure:-
Recreate resolvconf file
sudo rm /etc/resolv.conf
sudo ln -s /etc/resolvconf/run/resolv.conf /etc/resolv.confCheck if resolvconf service is running
service resolvconf statusIf not running, start the service
sudo service resolvconf startCheck if you can access the internet.
Check that /etc/network/interfaces is OK and doesn’t have duplicates, and all wlanX connections are hotplug connections.
#——————————————————————————
# /etc/network/interfaces
#
# interfaces(5) file used by ifup(8) and ifdown(8)
# Used by ceni but not by connman
#——————————————————————————auto lo
iface lo inet loopbackallow-hotplug wlan1
iface wlan1 inet dhcp
wpa-psk xxxxxxxx
wpa-ssid xxxxxxxxxJune 13, 2022 at 12:22 pm #84515Moderator
christophe
::I have been setting ceni to “auto” instead of “allow-hotplug” and it runs at startup. Have you tried that?
confirmed antiX frugaler, since 2019
June 14, 2022 at 7:21 am #84560Member
roland
::A good response, Christophe ! Problem resolved, after making the suggested change and a cold boot, I got an immediate connection.
One further question :- How does Ceni resolve the correct wlan to connect when there are 2 to choose from with the same name and password (2.4ghz & 5ghz) due to the type of adapter I am using ?
And yet another :- Why does Ceni sometimes remove the ifupdown settings for wlan1 immediately, yet at other times it may take 2 or 3 minutes to do that and ask me to begin the scan for wlans?
Thanks for a good response!
-
AuthorPosts
- You must be logged in to reply to this topic.