Results 1 to 2 of 2

Thread: Bugreport: DHCP with nonetworkmanager does not work + netcardconfig in console error

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Posts
    1

    Bugreport: DHCP with nonetworkmanager does not work + netcardconfig in console error

    Because I didn't find any Bugtracker I'll post info about this (perhaps) bugs here.

    I'm currently remastering Knoppix 6.7. I use it as the base of a bare metal restore cd ( for http://urbackup.org). Because the restore wizard displays stuff only using dialog I don't need all the packages concerning a graphical user interface. I purged them all .

    1.
    Because I purged network-manager knoppix falls back to the standard debian network setup by just calling "ifup". This somehow does not work when called in the busybox shell. Changing
    ifup to /bin/bash -c "ifup" fixed this problem. Then networkcards get configured automatically if a DHCP server is present.

    2.
    If the above fails the user can choose to start netcardconfig or wlcardconfig. If one says no to the autoconfiguration via DHCP netcardconfig fails to display the next menu if dialog is used instead of xdialog. Changing the parameters from "15 75 18" to "15 50 10" (dialog can't fit the window on the screen even with vga=791) fixed that. I could only test netcardconfig till now.

    Otherwise everything seems to work fine. It takes approximately 5 seconds from boot to the restore wizard, which is great. It is easy cusomizable, especially with those kn-knoppix scripts I found here (maybe mention them on the wiki as well?). Keep up the good work! Thanks!

  2. #2
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    #!/bin/bash

    # rc.local

    setwifi () { # see http://ubuntuforums.org/showthread.php?t=684495
    WIFI="eth1"; dhclient -r $WIFI; ifconfig $WIFI up
    iwconfig $WIFI essid "ESSID" key "123456789c" mode "Managed"
    nohup dhclient $WIFI
    }

    setwifi

    exit 0

    That's what I used to use in 6.4.4.
    You may want to use something more secure.
    In 6.4.4, for some reason getting wifi on-line took about 2 min.
    This took only 50 sec or so.
    In 6.7, network manager is getting on-line now in about 50 sec,
    so this isn't necessary for me any longer.
    Last edited by utu; 08-14-2011 at 10:49 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
  •  


Dell PowerEdge FX2 FX2S Enclosure - 4x PowerEdge FC640 w/ 8x Gold 6132 112C 1TB picture

Dell PowerEdge FX2 FX2S Enclosure - 4x PowerEdge FC640 w/ 8x Gold 6132 112C 1TB

$2699.99



Dell PowerEdge FX2 FX2S Enclosure - 4x PowerEdge FC640 w/ 8x Gold 6134 64C 1TB picture

Dell PowerEdge FX2 FX2S Enclosure - 4x PowerEdge FC640 w/ 8x Gold 6134 64C 1TB

$3299.99



DELL M630 BLADE SERVER x2 XEON E5-2660V3 @ 2.6GH H730 PERC HDD CADDIES 16GB FC picture

DELL M630 BLADE SERVER x2 XEON E5-2660V3 @ 2.6GH H730 PERC HDD CADDIES 16GB FC

$50.00



Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W picture

Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W

$399.00



2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD picture

2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD

$30.00



Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS picture

Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS

$103.99



Dell PowerEdge M630 Blade Server 1x Xeon E5-2630 v4 CPU / Motherboard P/N 0R10KG picture

Dell PowerEdge M630 Blade Server 1x Xeon E5-2630 v4 CPU / Motherboard P/N 0R10KG

$69.99



HP BL460c 2SFF GEN9 Blade Server 2x 12 Core Xeon E5-2670 v3 256GB RAM 600GB HDD picture

HP BL460c 2SFF GEN9 Blade Server 2x 12 Core Xeon E5-2670 v3 256GB RAM 600GB HDD

$199.99



Dell PowerEdge M620 Blade Server picture

Dell PowerEdge M620 Blade Server

$39.99



Dell PowerEdge M620 Blade Server 2x E5-2670 2.6Ghz 16-Cores  256gb  2x 146gb 15k picture

Dell PowerEdge M620 Blade Server 2x E5-2670 2.6Ghz 16-Cores 256gb 2x 146gb 15k

$244.99