-
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
![Vintage Apple IIe A2S2064 Personal Computer, Untested Powers On picture](/store/img/g/pbYAAOSwsa9mfJSM/s-l225/Vintage-Apple-IIe-A2S2064-Personal-Computer-Untest.jpg)
Vintage Apple IIe A2S2064 Personal Computer, Untested Powers On
$149.95
![Vintage Circuit Board Steampunk Art picture](/store/img/g/W6gAAOSwVC9mfbjf/s-l225/Vintage-Circuit-Board-Steampunk-Art.jpg)
Vintage Circuit Board Steampunk Art
$10.00
![Vintage Compute Books Beginners Guide to Buying a Personal Computer ** RARE** picture](/store/img/g/P9oAAOSwWV5mfczM/s-l225/Vintage-Compute-Books-Beginners-Guide-to-Buying-a-.jpg)
Vintage Compute Books Beginners Guide to Buying a Personal Computer ** RARE**
$24.99
![Vintage ICP PSC-486 DX4-S 100Mhz SBC Single Board Computer with 4 Meg Ram picture](/store/img/g/lc8AAOSwBB9mfdMq/s-l225/Vintage-ICP-PSC-486-DX4-S-100Mhz-SBC-Single-Board-.jpg)
Vintage ICP PSC-486 DX4-S 100Mhz SBC Single Board Computer with 4 Meg Ram
$25.00
![Vintage 1987 Apple M0110A Keyboard - PARTS picture](/store/img/g/i5UAAOSwlelmfcLm/s-l225/Vintage-1987-Apple-M0110A-Keyboard-PARTS.jpg)
Vintage 1987 Apple M0110A Keyboard - PARTS
$25.00
![Vintage Dot Matrix Printer Contin Feed Paper 8.5 x 11. Lots of 5 to 250 sheets. picture](/store/img/g/498AAOSwJTdl1MqH/s-l225/Vintage-Dot-Matrix-Printer-Contin-Feed-Paper-8-5-x.jpg)
Vintage Dot Matrix Printer Contin Feed Paper 8.5 x 11. Lots of 5 to 250 sheets.
$4.00
![Vintage Apple Computer - WWDC Bag Lot picture](/store/img/g/efkAAOSw3W9mfc-d/s-l225/Vintage-Apple-Computer-WWDC-Bag-Lot-.jpg)
Vintage Apple Computer - WWDC Bag Lot
$250.00
![2 Vintage Apple Mouse Macintosh Serial M0100 - 1 is new picture](/store/img/g/PxYAAOSwVWdmfcF8/s-l225/2-Vintage-Apple-Mouse-Macintosh-Serial-M0100-1-is-.jpg)
2 Vintage Apple Mouse Macintosh Serial M0100 - 1 is new
$30.00
![Vintage Commodore 64 VOICE MASTER SPEECH AND MUSIC PROCESSOR picture](/store/img/g/XJsAAOSwR0RmfHmY/s-l225/-Vintage-Commodore-64-VOICE-MASTER-SPEECH-AND-MUSI.jpg)
Vintage Commodore 64 VOICE MASTER SPEECH AND MUSIC PROCESSOR
$29.99
![Vintage Elcom A80ER-T-HE/LE Magnetic Strip Reader Encoder/Decoder (With Key) picture](/store/img/g/uqIAAOSww6lmYJJ7/s-l225/Vintage-Elcom-A80ER-T-HE-LE-Magnetic-Strip-Reader-.jpg)
Vintage Elcom A80ER-T-HE/LE Magnetic Strip Reader Encoder/Decoder (With Key)
$80.00