-
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!
-
Senior Member
registered user
#!/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
-
Forum Rules
Dell T7810 Workstation 1x E5-2603 v3 16GB RAM Nvidia QUADRO +cables
$120.00
HP Z230 Workstation Towers Xeon E3-1231 V3 3.20ghz 8GB Ram NO HDD
$39.96
Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config
$489.99
HP Z440 Workstation 18Cores Xeon E5-2699 V3 128GB 1TB SSD 2TB WIFI WIN11 R5-340X
$309.99
SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 Grade A Processor
$3.87
Intel SR1XD Xeon E5-2699V3 2.30Ghz 18-Core Socket 2011 CPU Processor Haswell
$35.00
Genuine Intel Xeon E5-2680V4 2.40Ghz 14-Core 35MB LGA2011 CPU P/N: SR2N7
$14.99
Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU
$32.79
Matched Pair __ Intel Xeon Gold 6152 2.1Ghz 22-Core 140W CPU SR3B4
$204.95
HP Z820 Workstation 2x Xeon E5-2690 2.9ghz 16-Cores / 128gb Ram / 1Tb HD / Win10
$419.99