-
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
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$80.39
Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot
$73.29
Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5" (Low Power) Hard Drive -PC, CCTV DVR
$24.99
Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive
$246.99
CISCO A03-D1TBSATA 1TB 7.2K 6G 2.5INCH SATA HDD
$9.00
1TB HDD/SSD 2.5" SATA Hard Drive for Laptop with Win 10/Win 11 Pro Pre-installed
$27.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$19.99
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$9.99
1TB Western Digital Red Plus WD10JFCX 5400RPM 2.5" SATA III
$135.00
Seagate Laptop SSHD 1TB ST1000LM014 8GB NAND Flash 2.5" Solid Sata Hybrid Drive
$25.99