-
knoppix.sh can't execute bash in the boot sequence?
Hi, I remastered my knoppix, but when I try to create my own simple knoppix.sh, only the last line works (resolv.conf), but I can't configure the network with the instructions of my script (ifconfig and route don't work).
I read the problem's cause is in the boot sequence, when knoppix.sh is executed, the system can't execute bash, X, .... cause they doesn't load.
my knoppix.sh looks like:
---------------------------------------
#!/bin/bash
ifconfig 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255
route add default gw 192.168.0.1
echo "nameserver 194.179.1.100" >> /etc/resolv.conf
---------------------------------------
Any idea for run a script same my knoppix.sh in the boot sequence?
Thanks and sorry for my english.
Adri
-
Junior Member
registered user
hi,
I put a script like yours in the CD root and a symlink in /etc/rc5.d to this script (you have to remaster!)
If you want to edit your script later you don't need to remaster again!
Cheers
Similar Threads
-
By Kater Karlo in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-03-2005, 05:46 AM
-
By sci_fi in forum General Support
Replies: 3
Last Post: 11-20-2004, 03:53 AM
-
By Alexxx in forum General Support
Replies: 0
Last Post: 03-04-2004, 11:32 AM
-
By wfb in forum Hdd Install / Debian / Apt
Replies: 7
Last Post: 12-06-2003, 01:39 AM
-
By vampylestat in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 06-17-2003, 09:16 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

MTC8C1084S1SC56BD1 Micron 16GB DDR5 1Rx8 PC5-5600B 5600Mhz SO-DIMM Memory
$149.99

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$573.98

Windows 11 Pro Install/Recovery/Repair USB Flash Drive
$35.00

5 in 1 Memory Card Reader USB 3.0 OTG Adapter SD Card Reader For iPhone/iPad LOT
$9.99

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot
$3.75

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q
$169.00

6 LOT - SK Hynix 8GB 1Rx8 PC4-2666V-RD1 HMA81GR7AFR8N-VK Server RDIMM 48GB
$200.00

SK HYNIX 32GB 2RX4 PC4 2666V ECC SERVER RAM
$199.00

SMART(Micron)SafeStor 32GB(1X32GB) 1RX4 NN4-3200AA(DDR4) HPE Server Memory
$159.98