Results 1 to 5 of 5

Thread: System on HD always reset net card ot use dhcp

  1. #1
    Junior Member registered user
    Join Date
    May 2004
    Posts
    12

    System on HD always reset net card ot use dhcp

    I have this very annoying problem. When I restart, it always reset my net card config to use dhcp, even though I set to a static IP address. All the config data (ip, gw, dns, etc) are there, but every reboot will just reset the net card config back to dhcp.

    That's darn annoying. Anywhere I can tell it to not even consider dhcp at all?

    tia.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    This has officially become an epidemic. I have seen many posts exactly like this. Here's the drill:

    Is your ethernet driver loaded?
    Code:
    lsmod
    Do you have an i.p.?
    Code:
    ifconfig
    If you're like the rest you will not have one.
    What does this do:
    Code:
    pump
    What about this:
    Code:
    /etc/init.d/networking restart

  3. #3
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    235
    IIRC, I had to edit two files for my wireless card to be configured with a static ip at startup; /etc/network/interfaces -- change the line: iface eth1 inet dhcp to iface eth1 inet static. In most cases from what I was told, this should do it. But for wireless pcmcia cards, it doesn't. So I had to edit /etc/pcmcia/network.opts and put in my desired ip address, subnet mask, broadcast address, & gateway and saved the file. Reboot and it stuck since then.

    HTH,

    Durand

  4. #4
    Junior Member registered user
    Join Date
    May 2004
    Posts
    12
    I already had my /etc/network/interfaces set correctly, and here's the contents:
    Code:
    auto lo eth0
    iface lo inet loopback
    
    iface eth0 inet static
        address 192.168.0.100
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.200
    And the file /etc/sysconfig/network-scripts/ifcfg-eth0 has roughly the same information.

    After every reboot, it returns to dhcp mode. I use netcardconfig to configure it back, and all I have to do was to choose static IP and enter, enter, enter, ... to finish, as all the information is already filled in.

    It definitely is annoying to have to su root and run netcardconfig everytime.[/quote]

  5. #5
    Senior Member registered user
    Join Date
    Feb 2004
    Location
    Kampen, The Netherlands
    Posts
    166

Similar Threads

  1. DHCP with Atheros card and KWifi
    By HamOpMW in forum General Support
    Replies: 0
    Last Post: 07-05-2005, 09:06 AM
  2. Replies: 16
    Last Post: 06-02-2005, 07:46 PM
  3. network card boot-up problem, doesn't get dhcp address
    By J0hnP1pe in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 04-22-2005, 08:08 AM
  4. Network card eth0 start with DHCP !!!!!
    By fabry6210 in forum Networking
    Replies: 10
    Last Post: 05-27-2004, 09:25 PM
  5. help me set up DHCP with this sis900 card
    By dimkal in forum Networking
    Replies: 10
    Last Post: 11-01-2003, 12:34 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
  •  


MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00 picture

MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00

$1619.30



Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003 picture

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003

$639.69



G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage - Housing Only picture

G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage - Housing Only

$200.00



Dell PowerVault MD3000i AMP01 Storage Array 4x Cad 2x PSUs No HDDs/Controllers picture

Dell PowerVault MD3000i AMP01 Storage Array 4x Cad 2x PSUs No HDDs/Controllers

$164.95



Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller picture

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller

$64.99



9300-8i LSI SAS3008 8-Port 12Gb PCIe IT mode ZFS FreeNAS unRAID 2*SFF-8643 US picture

9300-8i LSI SAS3008 8-Port 12Gb PCIe IT mode ZFS FreeNAS unRAID 2*SFF-8643 US

$49.50



Inspur LSI YZCA-00424-101 12Gbps SAS 3.0 RAID Controller CARD HBA  HDD picture

Inspur LSI YZCA-00424-101 12Gbps SAS 3.0 RAID Controller CARD HBA HDD

$14.99



IBM 57CE 00MA081 12Gb Pcie3, Quad Port 6/gbs Cache Raid SAS Adapter FRU# 00MA079 picture

IBM 57CE 00MA081 12Gb Pcie3, Quad Port 6/gbs Cache Raid SAS Adapter FRU# 00MA079

$175.14



HP controller P3410-69003 NetRAID-1M SCSI 64-bit U160 32MB Cache (PCI) picture

HP controller P3410-69003 NetRAID-1M SCSI 64-bit U160 32MB Cache (PCI)

$359.00



BROADCOM 05-50077-01 PCI-E 4.0 x8 PCI-Express MegaRAID 9560-8i RAID Controller picture

BROADCOM 05-50077-01 PCI-E 4.0 x8 PCI-Express MegaRAID 9560-8i RAID Controller

$714.99