-
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
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

🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡
$109.99

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P
$149.99

Juniper Networks EX3400-24T 24-Port Ethernet Switch w/Power Cord
$174.99

Juniper EX3400-24P 24-Port PoE+ GbE + 4-Port 1/10Gb SFP Switch
$245.00

Juniper EX2300-C 12 Port Compact Gigabit Switch EX2300-C-12p Discounted Cosmetic
$79.86

Juniper Networks AP33-US Indoor Wifi6 (US Version) 5GHz: 4x4:4; 2.99
$24.99

Juniper MX204 +JUNOS and Dual Power Supply
$7299.99

Juniper EX2300-C-12P 12 Port Gigabit PoE+ 2x10G SFP+ Managed Compact Switch
$179.99

Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch
$79.99

Juniper Networks Mist Wireless Access Points, Model AP45
$59.99