-
Junior Member
registered user
Disabling DHCP on a HD installed knoppix
How do I disable DHCP from running on interface ETH0?
I have set /etc/network/interfaces up properly but on boot it still asks for asks the DHCP for an address.
If i do an ifdown eth0 then ifup eth0 it uses the static address not the dhcp'ed address.
-
Hi,
I have the same problem and I am still looking for a solution.
May anybody help me?
Even the problem is, that machine with knoppix on it is my DHCP-Server.
-
If you don't want the DHCP client to run at all then a quick and dirty way is to do, as root:
Code:
chmod -x /sbin/pump
-
I am running DHCP on that machine, but the DHCP request, wich the computer during the start makes worries me.
I have a fixed IP-Adress for my local network here set to that card, but any time on start up the computer tries to get DHCP-Information for himself from out of the local net. After reboot I start ifconfig and then the network is running with the specified values.
What do I have to do, to become those fixed values every time during reboot to run?
-
Senior Member
registered user
I don't really undestand the question, but try to figure it out. I assume this is hd installation.
1) If you don't want dhcp to try get an ip for you, try append cheat codes = nodhcp onto /etc/lilo.conf. Don't forget to update lilo by running lilo afterward.
2) If your IP resetting everytime you boot and your static ip don't stick, there is two way you can solve the problem.
a) Edit your /etc/init.d/knoppix-autoconfig:
comment out line that reads: pump -i $DEVICE >/dev/null 2>&1 &
and add line : /etc/init.d/networking restart
or
b) You can create a script consist of this lines:
#!/bin/sh
ifconfig eth0 down
/etc/init.d/networking stop
rmmod *xxx
insmod *xxx *xxx= your network card module
ifconfig eth0 up
/etc/init.d/networking start
name it to what ever you wan't ex: mynet.sh and save it in /etc/init.d
and run update-rc.d mynet.sh defaults so it can run on boot. To remove , run update-rc.d -f mynet.sh remove .
3) If you not using gateway, remove it from your /etc/network/interfaces
Might or might not work. Use at your own risk.
Similar Threads
-
By besnia in forum Hardware & Booting
Replies: 0
Last Post: 08-26-2005, 12:25 AM
-
By dtux101 in forum Customising & Remastering
Replies: 0
Last Post: 04-21-2005, 03:53 PM
-
By bardinjw in forum Networking
Replies: 0
Last Post: 05-14-2004, 05:16 PM
-
By Dosmaen in forum General Support
Replies: 1
Last Post: 04-18-2004, 07:00 PM
-
By jabster in forum Customising & Remastering
Replies: 3
Last Post: 09-09-2003, 01:20 AM
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

Crucial MX500 500GB 2.5" SATA III Internal SSD CT500MX500SSD1
$59.99

SSD 880EVO SATA III 2.5 4TB INTERNAL STATE DRIVE
$214.99

M2 2280 PCIe 4.0 solid-state drive high-speed storage device 1080P RO 2TB NGFF
$99.00

Samsung 970 EVO Plus 500GB M.2 NVMe Internal SSD
$79.99

M.2 SATA SSD 2280 128GB 256GB 512GB major brands | Very Good health
$35.99

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON
$28.80

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$549.00

M.2 NVMe SSD 2280 Single Notch 128GB 256GB 512GB | Very Good health
$38.99

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive
$39.99

Samsung 850 EVO 250GB SATA III 2.5" Internal SSD (MZ7LN250HMJP) dell Lenovo hp
$32.99