-
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
![Gigabyte Aorus Ultra Durable B550 AORUS ELITE AX V2 Desktop Motherboard picture](/store/img/g/IAUAAOSwbXpmaVou/s-l225/Gigabyte-Aorus-Ultra-Durable-B550-AORUS-ELITE-AX-V.jpg)
Gigabyte Aorus Ultra Durable B550 AORUS ELITE AX V2 Desktop Motherboard
$29.94
![ASRock Z170M-ITX/ac LGA 1151 Intel Z170 HDMI USB 3.0 Mini ITX Intel Motherboard picture](/store/img/g/4lIAAOSwc8Fmc3LR/s-l225/ASRock-Z170M-ITX-ac-LGA-1151-Intel-Z170-HDMI-USB-3.jpg)
ASRock Z170M-ITX/ac LGA 1151 Intel Z170 HDMI USB 3.0 Mini ITX Intel Motherboard
$49.99
![ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard picture](/store/img/g/oXIAAOSwCn1k30lD/s-l225/ASRock-B550M-Pro-SE-AM4-DDR4-SATA-6Gb-s-1-PCIe-4-0.jpg)
ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard
$84.99
![MSI H81M-P33 Desktop Motherboard Intel MicroATX Socket LGA1150 USB 3.0 W/IO picture](/store/img/g/gFAAAOSwLi5hKOrA/s-l225/MSI-H81M-P33-Desktop-Motherboard-Intel-MicroATX-So.jpg)
MSI H81M-P33 Desktop Motherboard Intel MicroATX Socket LGA1150 USB 3.0 W/IO
$26.99
![Gigabyte GA-Q170M-D3H-GSM LGA1151 DDR4 Desktop Motherboard (No I/O Plate) picture](/store/img/g/G68AAOSwFDFmX0vt/s-l225/Gigabyte-GA-Q170M-D3H-GSM-LGA1151-DDR4-Desktop-Mot.jpg)
Gigabyte GA-Q170M-D3H-GSM LGA1151 DDR4 Desktop Motherboard (No I/O Plate)
$39.99
![Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard picture](/store/img/g/ld0AAOSw7q5mV2ql/s-l225/Asus-Prime-H310M-A-R2-0-Intel-LGA-1151-DDR4-Deskto.jpg)
Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard
$54.99
![Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3 picture](/store/img/g/CZ4AAOSwg8pmYirU/s-l225/Asus-H81M-C-Intel-LGA1150-DDR3-Desktop-Motherboard.jpg)
Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3
$23.99
![Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th) picture](/store/img/g/QrkAAOSwMGNmLxf0/s-l225/Gigabyte-Z370P-D3-ATX-Z370-LGA1151-Motherboard-Sup.jpg)
Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)
$59.99
![MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard picture](/store/img/g/egYAAOSw1q5mPOza/s-l225/MSI-PRO-B650-P-WiFi-AMD-AM5-DDR5-WiFi-6E-ProSeries.jpg)
MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard
$107.30
![Gigabyte GA-Q170M-D3H-GSM LGA1151 DDR4 Desktop Motherboard with I/O Plate picture](/store/img/g/1ykAAOSw1ztmawRh/s-l225/Gigabyte-GA-Q170M-D3H-GSM-LGA1151-DDR4-Desktop-Mot.jpg)
Gigabyte GA-Q170M-D3H-GSM LGA1151 DDR4 Desktop Motherboard with I/O Plate
$49.99