-
Senior Member
registered user
You shall not execute the file, but create it.
(later you may execute it).
But it's a good idea to test the command first:
Code:
ifconfig eth0 192.168.100.11 up
and if it works (no reply)
Code:
echo "ifconfig eth0 192.168.100.11 up" > /etc/rc4.d/S50ifup.sh
/etc/rc4.d/S50ifup.sh
-
Ok I found the key to the fix in this thread
http://www.knoppix.net/forum/viewtopic.php?p=19004
I reconfigured my router and disabled DHCP. Then I set up static IP address.
# /etc/network/interfaces -- configuration file for ifup(
, ifdown(![Cool](images/smilies/icon_cool.gif)
# The loopback interface
# automatically added when upgrading
auto lo eth0
iface eth0 inet static
address 192.168.100.11
netmask 255.255.255.0
network 192.168.100.0
broadcast 192.168.100.11
gateway 192.168.100.10
Then I edited /etc/init.d/knoppix-autoconfig
and replaced
pump -i $DEVICE >/dev/null 2>&1 &
with
/etc/init.d/networking restart
Now I have connection after every restart
Thanks for the help
-
Senior Member
registered user
set the broadcast adress to 192.168.100.255 and I'm happy. ![Smile](images/smilies/icon_smile.gif)
(and welcome to the wonderful world of static IPs
)
-
Similar Threads
-
By donster in forum Ideas
Replies: 0
Last Post: 08-14-2005, 03:32 AM
-
By pterandon in forum Networking
Replies: 1
Last Post: 05-02-2005, 05:57 PM
-
By arcticice in forum Networking
Replies: 0
Last Post: 01-07-2005, 07:24 AM
-
By JeRM in forum Networking
Replies: 13
Last Post: 11-07-2004, 03:06 PM
-
By UY in forum General Support
Replies: 6
Last Post: 10-22-2004, 12:23 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
![Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2 picture](/store/img/g/2mYAAOSwmulmdXzA/s-l225/Dell-OptiPlex-3060-MICRO-DESKTOP-PC-COMPUTER-I5-8T.jpg)
Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2
$350.00
![HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA picture](/store/img/g/rIQAAOSwN9Nlnw4a/s-l225/HP-Workstation-Z640-2x-Xeon-E5-2623V4-32GB-Ram-Dua.jpg)
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA
$214.98
![AMD Ryzen 7 5700G Processor (4.6 GHz, 8 Core, 16 thread, Socket AM4) with cooler picture](/store/img/g/pO0AAOSwVGdmJnAc/s-l225/AMD-Ryzen-7-5700G-Processor-4-6-GHz-8-Core-16-thre.jpg)
AMD Ryzen 7 5700G Processor (4.6 GHz, 8 Core, 16 thread, Socket AM4) with cooler
$120.00
![Dell 14](/store/img/g/6CgAAOSw80lltRSe/s-l225/Dell-14-TOUCHSCREN-Laptop-8th-Gen-Core-i5-16GB-RAM.jpg)
Dell 14" TOUCHSCREN Laptop 8th Gen Core i5 16GB RAM 512GB SSD/256 Bluetooth W11
$235.00
![AMD Ryzen 7 7800X3D Processor (5 GHz, 8 Cores, Socket AM5), New /Sealed picture](/store/img/g/oVIAAOSw0tpmdfut/s-l225/AMD-Ryzen-7-7800X3D-Processor-5-GHz-8-Cores-Socket.jpg)
AMD Ryzen 7 7800X3D Processor (5 GHz, 8 Cores, Socket AM5), New /Sealed
$309.99
![AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A... picture](/store/img/g/3isAAOSw~lNmI3aE/s-l225/AMD-Ryzen-7-7800X3D-8-Core-16-Thread-4-2-GHz-5-0-G.jpg)
AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...
$304.95
![HP - Victus 15.6](/store/img/g/KosAAOSwLHVl~III/s-l225/HP-Victus-15-6-Full-HD-144Hz-Gaming-Laptop-Intel-C.jpg)
HP - Victus 15.6" Full HD 144Hz Gaming Laptop - Intel Core i5 - 8GB Memory - ...
$879.99
![Intel i7-3770 SR0PK 3.40GHz 8MB 4-Core LGA1155 Socket CPU Processor picture](/store/img/g/SN4AAOSwxIRmWRvk/s-l225/Intel-i7-3770-SR0PK-3-40GHz-8MB-4-Core-LGA1155-Soc.jpg)
Intel i7-3770 SR0PK 3.40GHz 8MB 4-Core LGA1155 Socket CPU Processor
$29.99
![Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H picture](/store/img/g/1UcAAOSwYS9lXgtq/s-l225/Lenovo-IdeaCentre-3-07IRB8-Desktop-Intel-Core-i5-1.jpg)
Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H
$349.99
![Lenovo IdeaCentre 3 27IAP7 27](/store/img/g/hLcAAOSwwKNlQk~j/s-l225/Lenovo-IdeaCentre-3-27IAP7-27-Touch-AIO-Intel-Core.jpg)
Lenovo IdeaCentre 3 27IAP7 27" Touch AIO Intel Core i5-13420H 8GB 512GB SSD W11H
$399.99