You are not logged in.
Hi guys
I just installed arch for the first time so i am really a newbie
I have recent hardware intel 2500k, crucial SSD and so on so i can boot up from grub to X using pekwm as WM (no DM) in about 5 seconds. Very impressive.
I would like to keep my arch as minimal and tiny as possible.
My problem is on network boot up time.
I am using WPA personal wireless network and i have to wait further 10 seconds since the boot of X to have the network working properly. So i have to wait about 15 seconds to have a fully working PC
I tried wicd. I really don't need network scanning so i followed the the netcfg wiki
https://wiki.archlinux.org/index.php/Netcfg
and i am using net-profiles method
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# See 'man 5 rc.conf' for more details
#
# LOCALIZATION
# ------------
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Rome"
KEYMAP="it"
CONSOLEFONT=
CONSOLEMAP=
LOCALE=
DAEMON_LOCALE="yes"
USECOLOR="yes"
# HARDWARE
# --------
MODULES=()
USEDMRAID="no"
USEBTRFS="no"
USELVM="no"
# NETWORKING
# ----------
HOSTNAME=knembo
interface=wlan0
address=
netmask=
broadcast=
gateway=
NETWORK_PERSIST="no"
# DAEMONS
# -------
#
DAEMONS=(dbus @net-profiles)
Please don't misunderstand me....wait 15 seconds is not really a problem but i would like to know your opinion in fastest boot up network method to improve my skill with arch
Bye
Last edited by knembo (2012-05-28 23:54:37)
Offline
Last edited by Montague (2015-07-28 02:54:13)
Offline
Many thanks Montague.
I tried your conf but really no improvement.
According the wiki static IP is faster but my internet provider is expansive on it.
other suggestions?
Thanks
Last edited by knembo (2012-05-19 12:47:03)
Offline
Last edited by Montague (2015-07-28 02:54:24)
Offline
Hi Montague
here my 3 config files:
/etc/rc.conf
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# See 'man 5 rc.conf' for more details
#
# LOCALIZATION
# ------------
HARDWARECLOCK="localtime"
TIMEZONE="Europe/Rome"
KEYMAP="it"
CONSOLEFONT=
CONSOLEMAP=
LOCALE=
DAEMON_LOCALE="yes"
USECOLOR="yes"
# HARDWARE
# --------
MODULES=(snd-usb-audio)
USEDMRAID="no"
USEBTRFS="no"
USELVM="no"
# NETWORKING
# ----------
HOSTNAME="myhost"
interface=
address=
netmask=
broadcast=
gateway=
NETWORK_PERSIST="no"
NETWORKS=(mywireless)
# DAEMONS
# -------
#
DAEMONS=(@net-profiles @dbus)
/etc/network.d/mywireless
CONNECTION='wireless'
INTERFACE=wlan0
SECURITY='wpa-configsection'
IP=dhcp
CONFIGSECTION='
ssid="My_Essid"
key_mgmt=WPA-PSK
proto=RSN
group=CCMP
pairwise=CCMP
psk=my64characterpassphrase'
/etc/wpa_supplicant.conf
network={
ssid="My_Essid"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=my64characterpassphrase
}
In the meaning while i tried using netcfg with net-auto-wireless method and it seems few seconds faster then net-profiles one.
I am waiting for your kind reply
Bye
Last edited by knembo (2012-05-22 13:41:16)
Offline
Last edited by Montague (2015-07-28 02:54:35)
Offline
Do you get different results with different distros, say? The only reason I ask is that it always takes a while for me to get network availability and I'd just assumed that was because of the process of negotiating for an IP address etc. (I use a laptop on a bunch of different networks, both wired and wireless, all of which use dhcp of some sort.) It is the same way with OS X on my old laptop, too. I can see wicd/airport negotiating the connection if notifications are enabled...
It isn't a boot-specific thing - it happens any time the laptop is woken up or moved and any time it loses the connection (which happens a lot in my office if I'm using wifi).
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Many thanks guys for your answers
I have spent last week on vacation and was unable to replay you. Sorry
As both suggested the delay is probably related to the negotiating of the IP but IMO using a daemon increase boot up time
So I gave up with netcfg.
Configuring the network as suggested in the wiki WPA supplicant- subsection Simple wpa_cli solution is faster than netcfg or wicd or other solutions that use a daemon to automatic boot up the network
Just need to configure /etc/wpa_supplicant.conf and add a script to /etc/rc.local. Very simple and fast.
Actually X starts in 5 seconds and the network in 7 seconds. I think I have reached the edge of my Michelangelo wireless router
I have used many distros in the past (debian like, slitaz, pclinuxos etc) but never be able to boot up network so fast as the ARCH WAY. Windows seven boot up the network in about 20 seconds
I really appreciate KISS principles more and more.
Bye
Last edited by knembo (2012-05-28 23:48:39)
Offline