Posts: 307
eugen-b
Joined: 23 Aug 2015
#1
Hello,
when I use ceni to set up my WiFi connection I always get a long connection process delaying the boot process.
Does anybody know or can think of a possibility how to make the wifi network connection start later?
Regards
eugen-b
PS: I can set up wicd, but would like to use ceni if possible.
Last edited by eugen-b on 04 Jun 2016, 14:13, edited 1 time in total.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#2
Ceni doesn't actually run at boot. It's a editor for etc/network/interfaces. When that starts is defined by the Debian init scripts.

If you want your connection to start later I'm afraid the safest choice is to use wicd.

I suppose you could set your interface to be down by default then run some sort of script to bring it up later.
Posts: 307
eugen-b
Joined: 23 Aug 2015
#3
Thanks! Well, that would be a feature some more users would probably like to have, to start network connection later.
wicd needed to be checked in sysv-rc-conf in runlevels 1, 5 and S to get started (is it right?), it uses 12.6 and 11.5 MB.
If I find a solution for networking set up with ceni I will post.
Reading
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.debian.org/NetworkConfiguration"
linktext was:"https://wiki.debian.org/NetworkConfiguration"
====================================
and
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://www.debian.org/doc/manuals/debian-reference/ch05.en.html"
linktext was:"https://www.debian.org/doc/manuals/debi ... 05.en.html"
====================================
will not be easy. __{{emoticon}}__
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#4
How about putting in etc/rc.local something like

dhclient wlan0

and in etc/network/interfaces

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
Posts: 307
eugen-b
Joined: 23 Aug 2015
#5
anticapitalista wrote:How about putting in etc/rc.local something like

dhclient wlan0

and in etc/network/interfaces

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
Thanks!
I did it. First time without

Code: Select all

auto wlan0
iface wlan0 inet dhcp
    wpa-psk ****password****
    wpa-ssid ***SSID***
and got no connection at startup.
Then I set up network with ceni, copied the file etc/network/interfaces, started ceni again and removed the config.
Then I put the lines copied from etc/network/interfaces created by ceni and I'm getting the same boot behaviour as with ceni, connection process delaying boot process.
Posts: 307
eugen-b
Joined: 23 Aug 2015
#6
I found a way to make Ceni create a connection which doesn't slow down boot. I needed to secelt allow-hotplug (Removable Devices) isstead of autp (Built-in Devices) which I used to select in the last dialog screen in Ceni.
Image
(Differently from the picture I'm using dhcp and not static.)
Now it doesn't make me wait for the connection to be established during the boot process.