You are not logged in.

#1 2007-03-13 04:34:58

watsonalgas
Member
Registered: 2007-01-15
Posts: 92

Network menu configuration

Where can I find the network boot menu config file?  Specifically I would like to change the 5 second timeout, since that is to short for me.  Thanks for the help...

Offline

#2 2007-03-13 15:34:33

watsonalgas
Member
Registered: 2007-01-15
Posts: 92

Re: Network menu configuration

aspersieman wrote:

In
           /boot/grub/menu.lst

edit the 'timeout' value.

This will change the GRUB boot menu timeout.  I want to change the network-profiles menu timeout.

Offline

#3 2007-03-13 16:18:23

junglepeanut
Member
From: California
Registered: 2007-01-24
Posts: 145
Website

Re: Network menu configuration

Is this what your looking for?


http://bbs.archlinux.org/viewtopic.php?id=28956

or /etc/network-profiles/<yours>

notice the wifi-wait in the template

Last edited by junglepeanut (2007-03-13 16:23:13)

Offline

#4 2007-03-13 16:46:59

watsonalgas
Member
Registered: 2007-01-15
Posts: 92

Re: Network menu configuration

junglepeanut wrote:

Is this what your looking for?


http://bbs.archlinux.org/viewtopic.php?id=28956

or /etc/network-profiles/<yours>

notice the wifi-wait in the template

I'm pretty sure that's something else.

If anyone has this in their rc.conf, then they should know what I'm talking about:

NET_PROFILES=(menu)

Specifically the "menu" part.  If you don't, then you have probably never seen this menu that allows you to select which network profile you want to use.  At boot, when the network is started, it shows the menu with the different network-profiles, and if you don't choose one it defaults to the first one in 5 secs.  That's what I want to change.  Not how long Arch tries to connect to a network, but how long the actual menu waits until it defaults to the first one (the menu even says, "Timeout in 5 seconds").

Offline

#5 2007-03-13 17:42:07

junglepeanut
Member
From: California
Registered: 2007-01-24
Posts: 145
Website

Re: Network menu configuration

Well you just showed me something that made my wireless script almost useless to me.

I am now hoping to help you out searching everywhere for clues...maybe somebody will post a solution soon.

Offline

#6 2007-03-13 18:09:46

junglepeanut
Member
From: California
Registered: 2007-01-24
Posts: 145
Website

Re: Network menu configuration

Hopefully I'll be back soon but in /etc/rc.d/network I see a five seconds timer....I am going to try it...be back soon.

Offline

#7 2007-03-13 18:20:38

junglepeanut
Member
From: California
Registered: 2007-01-24
Posts: 145
Website

Re: Network menu configuration

It works. Just change the time there. I changed it in two lines very close two each other I'll post it. Keep in mind I am a newbie and no next to nothing about real programming...but the variables names in this script are very self explaining.

# See if we're using network profiles
    if [ "$NET" ]; then
      # This env var is passed from the kernel boot line
      if [ "$NET" = "menu" ]; then
        /usr/bin/netcfg --menu --timeout 5############CHANGE HERE
      else
        /usr/bin/netcfg $NET
      fi
    elif [ "$NET_PROFILES" ]; then
      if [ "$NET_PROFILES" = "menu" ]; then
        /usr/bin/netcfg --menu --timeout 5##############CHANGE HERE
      else
        for prof in ${NET_PROFILES[@]}; do
          if [ "$prof" = "${prof#!}" ]; then
            /usr/bin/netcfg -c $prof
          fi
        done
      fi
    fi

Last edited by junglepeanut (2007-03-13 18:21:57)

Offline

#8 2007-03-14 01:17:37

watsonalgas
Member
Registered: 2007-01-15
Posts: 92

Re: Network menu configuration

You found it!  Thank you.

Offline

#9 2011-03-03 08:44:40

Jub
Member
From: Secret Fort
Registered: 2009-11-18
Posts: 10
Website

Re: Network menu configuration

Thanks for finding that, Junglepeanut. Though, my problem was that the timeout changed from the 5 second default to 2 seconds. I wonder what might have caused the change?


I never know what to make my signature...

Offline

Board footer

Powered by FluxBB