Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: starting network at boottime

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    Mar 2004
    Location
    Berlin
    Posts
    436
    Well - the knoppix-autoconfig (k-a) is a big big script in /etc/init.d.

    I used SuSe ca. 1992, redhat at 96, peanut-linux and halloween - now knoppix.

    Every distro has it's own procedure of booting, and they evolve over time - so I guess what suse does nowadays is pretty much different from what they did 10 years ago.

    A few weeks ago I had a bootup to console of 25 sec. (at 1.1 Ghz).
    Then my harddrive headcrashed, and I started from scratch.

    The k-a is used and useful if nearly nothing is known about your hardware, so a lot of searches and tests are done, which indeed consume much time. It handles bootoptions as well.

    I removed brltty-stuff, harddrive-detection, multiple language-settings, pcmcia-stuff and lot's more which I understood and could say: "I don't need it".

    But if don't know the scripting-language, and no computerlanguage at all, it will be very hard to tell for each detail, whether you need it or not.

    Ok - I had a look at my backup, and would say:
    You do it on your own risk!
    Make a backup first!
    remove these lines (ca. line 900)
    Code:
    # Fat-Client-Version: DHCP Broadcast for IP address
    if checkbootparam "nodhcp"; then
    echo " ${BLUE}Skipping DHCP broadcast/network detection as requested on boot commandline.${NORMAL}"
    else
    NETDEVICES="$(awk -F: '/eth.:|tr.:/{print $1}' /proc/net/dev 2>/dev/null)"
    for DEVICE in $NETDEVICES
    do
    echo -n " ${GREEN}Network device ${MAGENTA}$DEVICE${GREEN} detected, DHCP broadcasting for IP.${NORMAL}"
    trap 2 3 11
    pump -i $DEVICE >/dev/null 2>&1 &
    trap "" 2 3 11
    sleep 1
    echo " ${BLUE}(Backgrounding)${NORMAL}"
    done
    fi
    but you could as well first boot with bootparameter 'nodhcp' - and if it speeds up your things, make an entry in '/etc/lilo.conf': 'append="nodhcp"' - syntax unproofed - and rerun lilo. Voila.

    P.S.: In my opinion, this script should be improved by making it more modal.
    It could contain lines like:
    k-a-harddrives
    k-a-pcmcia
    k-a-keyboard
    k-a-mouse
    k-a-network
    ...
    to make it better maintainable.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    FWIW, on my mepis box /etc/init.d/networking is linked to /etc/rc0.d/S35networking ... At S10 you may simply be starting it too early.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. starting network card
    By Linux-_usr in forum Networking
    Replies: 3
    Last Post: 08-13-2005, 04:17 PM
  2. network stops after starting browser in 3.6
    By fboecom in forum Networking
    Replies: 0
    Last Post: 09-27-2004, 10:39 AM
  3. Replies: 2
    Last Post: 07-28-2003, 05:20 AM
  4. eepro100.o e100.o network module (intel network cards)
    By david in forum Hardware & Booting
    Replies: 0
    Last Post: 01-09-2003, 02:11 PM
  5. Network not starting
    By fitzrik in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 01-03-2003, 06:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5 picture

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5

$189.99



Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery picture

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery

$54.99



ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield picture

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield

$84.99



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P picture

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P

$71.49



ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio picture

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio

$34.99



⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠ picture

⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠

$29.90



ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU picture

ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU

$45.00



MSI B460M PRO-VDH WIFI LGA1200 Micro ATX Motherboard picture

MSI B460M PRO-VDH WIFI LGA1200 Micro ATX Motherboard

$94.99