Forum › Forums › New users › Welcome to antiX › Hello world! – But how to get (wlan)-online?
- This topic has 16 replies, 7 voices, and was last updated Oct 2-2:51 pm by Brian Masinick.
-
AuthorPosts
-
October 2, 2020 at 2:51 pm #42486Moderator
Brian Masinick
::Thank you very much for your hints.
1: Change wlan configuration in /etc/netowrk/interfaces from allow-hotplug to auto. It could look like:
auto wlan0You are right, this configuration works as expected. wlan0 is correctly activated and initialized at boot time.
However, this is not always what you want. If the connection is not available while booting the system hangs for a considerable time.
So one would expect “allow-hotplug” would fill the gap and connect if (and only if) available, wouldn’t one?I noticed that my main problems described above derives from the fact “allow-hotplug” will establish a kind of connection but this is not working in the end (due to DHCP failure).
My personal solution here is again quick and (beginner’s) easy:
I removed the “allow-hotplug/auto wlan0” line completely from /etc/network/interfaces and start wlan0 on demand using “sudo ifup wlan0” that is *now* working as expected at once.
Manually starting/stopping a wlan conncetions has more advantages than disadvantages to me anyway.
Concerning Connman: I will try it later when my system is running as desired (or as close as possible to this). But there is no need to for me straight now.
@kawe: I like what you came up with, since it works for your situation.
As is often the case, there is frequently more than one way to solve problems with flexible software and since you found a way it’s fine, though it does leave me wondering why it has been difficult to arrive at a consistent reliable solution that works well in all or nearly all scenarios.
My inclination is to guess that the network infrastructure should be started later in the system startup order, but that’s just a guess. It could be that we have a conflicting order for multiple items in the startup that cause multiple activities to wait for certain events before proceeding. Getting the optimal order for each startup process exactly right (if there are actually blocking activities) would be a solution, but that assumes that this conjecture is correct).
--
Brian Masinick -
AuthorPosts
- You must be logged in to reply to this topic.