Results 1 to 4 of 4

Thread: disabling DHCP?

  1. #1
    Junior Member
    Join Date
    Aug 2003
    Posts
    3

    disabling DHCP?

    Hi,

    I want knoppix to boot to a console, then use it for my gateway/firewall/router.

    I wrote a little script to configure eth0 and eth1 and start shorewall:
    ifconfig eth1 192.168.1.1 up
    ifconfig eth0 66.666.66.666 broadcast 66.666.66.255 netmask 255.255.255.0 up
    route add -net 66.666.66.0 netmask 255.255.255.0 dev eth0
    route add default gw 66.666.66.1 netmask 0.0.0.0 dev eth0
    #set /etc/default/shorewall to "1"
    cp /mnt/floppy/shorewall /etc/default/shorewall
    mount --bind /mnt/floppy/shore /etc/shorewall
    shorewall start

    Here's my problem: After a certain amount of time, knoppix decides to look for a DHCP server (which I have) and get an IP address from there for eth1 (local). This, of course, completely ruins it's effectiveness as a router for my LAN.

    How do I prevent it from looking for a DHCP server and getting a new local IP address. The external side (eth0) seems to be ok, since I have a static IP from my ISP.

    can someone tell me what I'm not doing here?

    Thanks,
    john

  2. #2
    Member registered user
    Join Date
    Apr 2003
    Posts
    30
    use the nodhcp kernel option when you boot,

    knoppix dma alsa wheelmouse lang=en nodhcp.

    That will fix your problem.

    Have fun.

  3. #3
    Member registered user
    Join Date
    Apr 2003
    Posts
    30
    Oh and by the way if you really want to be certain that this doesn't happen ever, just remaster the image but apt-get remove pump before you do.

    Enjoy

  4. #4
    Junior Member
    Join Date
    Aug 2003
    Posts
    3
    Quote Originally Posted by ignuu2
    Oh and by the way if you really want to be certain that this doesn't happen ever, just remaster the image but apt-get remove pump before you do.

    Enjoy
    well, if i had the disk-space (and more importantly the time), I'd remaster it with my samba settings, shorewall configured, network settings, etc all good to go on boot.

    i could do a lot of things if i had the time.

    thanks for the help. i missed that boot option. or rather didn't think to look there for it.

    --john

Similar Threads

  1. disabling write_cache for ide devices
    By dtux101 in forum Customising & Remastering
    Replies: 0
    Last Post: 04-21-2005, 03:53 PM
  2. Disabling DHCP on a HD installed knoppix
    By goudiemark in forum Networking
    Replies: 4
    Last Post: 08-21-2004, 07:26 AM
  3. disabling ipv6 in 2.6?
    By bardinjw in forum Networking
    Replies: 0
    Last Post: 05-14-2004, 05:16 PM
  4. Disabling Sound Server
    By Dosmaen in forum General Support
    Replies: 1
    Last Post: 04-18-2004, 07:00 PM
  5. disabling LVM (Logical Volume Manager)?
    By robelanator in forum General Support
    Replies: 3
    Last Post: 03-13-2003, 02:16 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
  •  


Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1499.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$245.00



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W

$524.99



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots picture

Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots

$745.00



Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00



Asrock Rack ROMED8-2T Server Motherboard AMD EPYC 7003 (with AMD 3D V-Cache Tech picture

Asrock Rack ROMED8-2T Server Motherboard AMD EPYC 7003 (with AMD 3D V-Cache Tech

$747.99