The officially official Devuan Forum!

You are not logged in.

#1 2021-04-05 14:52:35

MLEvD
Member
Registered: 2021-02-14
Posts: 140  

Ifup wifi connect at boot - sysv 5 to 7 seconds slower

I have prepared a base of LMDE3 Cindy with dual boot - Sysv as first option, Systemd as second option
I can upgrade this base to either debian or devuan, to give one or the other init systems.
Using network manager, both sysv and systemd connect fairly instantly at boot.
However, using ifup to connect, sysv is noticeably, 5 to 8 seconds perhaps, slower to connect. Systemd connects instantly.
Under network manager, sysv boots around 5 seconds faster, under ifup slightly slower.

How do you speed this up?

Offline

#2 2021-04-05 14:56:23

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: Ifup wifi connect at boot - sysv 5 to 7 seconds slower

You dont, just accept it for what it is as long as it works.

I use ifup exclusively under devuan beowulf, my boot time is around 10 seconds to desktop with networking.

Offline

#3 2021-04-05 15:04:30

MLEvD
Member
Registered: 2021-02-14
Posts: 140  

Re: Ifup wifi connect at boot - sysv 5 to 7 seconds slower

I use a picture of a nice full four full bars of signal from network manager as a background picture for my transparent panel.
To give it it's dues, this one is coming out of hibernation with it''s wifi working. I'm using eee pc  with legacy boot and rather slow ssd drives. Out of hibernation takes around 25 seconds from cold. Full boot under systemd, around 30 seconds.
Systemd-analyze blame suggested the actual time from init to graphical target was around 6 seconds.

Offline

#4 2021-04-05 15:09:42

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: Ifup wifi connect at boot - sysv 5 to 7 seconds slower

Its an eepc.

Offline

#5 2021-04-05 15:19:45

MLEvD
Member
Registered: 2021-02-14
Posts: 140  

Re: Ifup wifi connect at boot - sysv 5 to 7 seconds slower

*Its an epic.

Offline

#6 2021-04-05 15:21:14

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: Ifup wifi connect at boot - sysv 5 to 7 seconds slower

MLEvD wrote:

*Its an epic.

what model ?

Offline

#7 2021-04-05 15:39:42

MLEvD
Member
Registered: 2021-02-14
Posts: 140  

Re: Ifup wifi connect at boot - sysv 5 to 7 seconds slower

I have a few. Currently messing around with a 701sd. It's got 1 GB ram and 7.5 GiB ssd but I'm only using half, creating images for use on 700 2G and 4G models.
I have a few eee pc. Which ones are you interested in? I have an x101ch called ek9 who spends all her time compressing the images for me for archiving. There are a few 4G which I use three at a time as audio receiver, player, clock, and digital picture frames.

Offline

#8 2021-04-05 15:46:43

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: Ifup wifi connect at boot - sysv 5 to 7 seconds slower

MLEvD wrote:

I have a few. Currently messing around with a 701sd. It's got 1 GB ram and 7.5 GiB ssd but I'm only using half, creating images for use on 700 2G and 4G models.
I have a few eee pc. Which ones are you interested in? I have an x101ch called ek9 who spends all her time compressing the images for me for archiving. There are a few 4G which I use three at a time as audio receiver, player, clock, and digital picture frames.

Well they are all old machines with outdated hardware, especially being eepc's. All im saying is that you may be expecting a little too much from such machine's. Im not really interested in the asus eepc, they were a shit design to begin with, the most bricked pc in existence.

Last edited by dice (2021-04-05 15:47:18)

Offline

#9 2021-04-05 15:55:02

MLEvD
Member
Registered: 2021-02-14
Posts: 140  

Re: Ifup wifi connect at boot - sysv 5 to 7 seconds slower

Cost less than $20 each on ebay and the earlier ones have really good sound cards, being unable to compete with apple on anything else at the time.
If you have six, that's 18hrs  battery!

Offline

#10 2021-04-05 16:04:00

MLEvD
Member
Registered: 2021-02-14
Posts: 140  

Re: Ifup wifi connect at boot - sysv 5 to 7 seconds slower

Solved! While chatting was upgrading Debbowulf (LMDE4+Beowulf) to chimaera

Init 2.96, and it booted so quickly I thought it had failed, but no. I had failed. It connected just fine!

Failed to be patient and trust the next version of init.
Now, how do I hack mate-menu to get my 0.8 opacity back and customise the icon?
Actually, patience. There is a bug. Unchecking 'Show button icon' does not remove the icon, even after reboot!

Offline

#11 2021-04-05 18:07:33

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: Ifup wifi connect at boot - sysv 5 to 7 seconds slower

Are you using 'allow-hotplug' or 'auto' in /etc/network/interfaces? Whichever one you're using, you could try the other and see if it makes a difference.

Offline

#12 2021-04-07 13:50:41

MLEvD
Member
Registered: 2021-02-14
Posts: 140  

Re: Ifup wifi connect at boot - sysv 5 to 7 seconds slower

fsmithred wrote:

Are you using 'allow-hotplug' or 'auto' in /etc/network/interfaces? Whichever one you're using, you could try the other and see if it makes a difference.

I'm using allow-hotplug. Do I just replace that with auto and keep the rest the same?

Offline

#13 2021-04-07 13:56:00

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: Ifup wifi connect at boot - sysv 5 to 7 seconds slower

I think if you have auto for something not plugged in like ethernet cable or usb dongle/smartphone tether it may hang on boot for a bit. Depends on your network gear, internal card or cable or usb etc. Lets see your intefaces file @ /etc/network/interfaces

Last edited by dice (2021-04-07 13:57:45)

Offline

#14 2021-04-07 17:13:21

MLEvD
Member
Registered: 2021-02-14
Posts: 140  

Re: Ifup wifi connect at boot - sysv 5 to 7 seconds slower

Cribbed off of https://wiki.debian.org/WiFi/HowToUse

source-directory /etc/network/interfaces.d

#
auto lo
iface lo inet loopback

#
allow-hotplug wlan0
iface wlan0 inet dhcp
        wpa-ssid ***************
        wpa-psk ********************************************************

Offline

#15 2021-04-07 19:46:16

MLEvD
Member
Registered: 2021-02-14
Posts: 140  

Re: Ifup wifi connect at boot - sysv 5 to 7 seconds slower

fsmithred wrote:

Are you using 'allow-hotplug' or 'auto' in /etc/network/interfaces? Whichever one you're using, you could try the other and see if it makes a difference.

Tried it, same delay but more verbose! Should I maybe sneak a sneaky init v2.96 off chimaera? That fixed it on the last install!

Offline

Board footer