Find the answer to your Linux question:
Results 1 to 5 of 5
Hi there, I'm new to Debian, and I'm trying to set up a Debian server, but I'm having troubles with the networking. During the install, the default DHCP network configuration ...
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    7

    No DHCPOFFERS received.

    Hi there,

    I'm new to Debian, and I'm trying to set up a Debian server, but I'm having troubles with the networking. During the install, the default DHCP network configuration did not work (I'm behind a router that is acting as a DHCP server). Now my network is not working (I can't even ping my router), and I haven't been able to figure it out from the forums I've searched and googling I've done.

    The output of my ifconfig is:

    Code:
    eth0      Link encap:Ethernet  HWaddr 08:00:46:14:90:a2  
              inet6 addr: fe80::a00:46ff:fe14:90a2/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:9 dropped:0 overruns:0 frame:9
              TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:5256 (5.1 KiB)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:100 errors:0 dropped:0 overruns:0 frame:0
              TX packets:100 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:20753 (20.2 KiB)  TX bytes:20753 (20.2 KiB)
    And my /etc/network/interfaces file is:

    Code:
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet dhcp
    When I start up the computer (or when I do an "ifdown eth0" then an "ifup eth0") I get a sequence of output saying

    Code:
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval XXX
    " " "
    " " "
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.
    where "XXX" is some number, and the line is repeated 6 times. Interestingly, when I log into the router from a successfully connected computer (running Ubuntu, btw), my router lists the Debian computer's mac address as connected and gives its IP, but it doesn't see the computer's 'name' (contents of /etc/hostname on the Debian computer). So it seems to be interacting with the router on some level, but not quite completing the communication/assignment.

    I've also tried setting it up as follows to circumvent the dhcp issue and use a static ip:

    Code:
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    auto eth0
    
    iface eth0 inet static
        address 192.168.10.199
        netmask 255.255.255.0
        network 192.168.10.0
        broadcast 192.168.10.255
        gateway 192.168.10.1
    And I picked the 199 suffix as the same address the router had assigned my Debian computer's MAC address. When I do this, I don't get the DHCP error, but I still can't ping my router.

    Any thoughts?

    Thanks in advance.

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    I think it may be a driver or module issue. Did you have to manually install the rivers for the network card or did it get detected by the kernel?
    Post the output of:
    Code:
    lspci -knn
    Code:
    lsmod
    Do you have a Firewall installed? Are you sure the router is not set up to use MAC addresses only? Try assigning a different variable than .199 try 192.168.10.50. If I remember correctly there is a limit on assigning IP addresses and .199 might be past that limit.
    Last edited by MikeTbob; 05-23-2011 at 02:07 AM. Reason: Grammar
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Posts
    7
    Hi MikeTBob,

    Thanks for the reply.

    The output of "lspci -knn" is:

    Code:
    00:00.0 Host bridge [0600]: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub [8086:1130] (rev 11)
    	Subsystem: Sony Corporation Vaio PCG-FX403 [104d:80df]
    	Kernel driver in use: agpgart-intel
    00:02.0 VGA compatible controller [0300]: Intel Corporation 82815 Chipset Graphics Controller (CGC) [8086:1132] (rev 11)
    	Subsystem: Sony Corporation Vaio PCG-FX403 [104d:80df]
    00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 03)
    00:1f.0 ISA bridge [0601]: Intel Corporation 82801BAM ISA Bridge (LPC) [8086:244c] (rev 03)
    00:1f.1 IDE interface [0101]: Intel Corporation 82801BAM IDE U100 Controller [8086:244a] (rev 03)
    	Subsystem: Sony Corporation Vaio PCG-FX403 [104d:80df]
    	Kernel driver in use: ata_piix
    00:1f.2 USB Controller [0c03]: Intel Corporation 82801BA/BAM USB Controller #1 [8086:2442] (rev 03)
    	Subsystem: Sony Corporation Vaio PCG-FX403 [104d:80df]
    	Kernel driver in use: uhci_hcd
    00:1f.3 SMBus [0c05]: Intel Corporation 82801BA/BAM SMBus Controller [8086:2443] (rev 03)
    	Subsystem: Sony Corporation Vaio PCG-FX403 [104d:80df]
    	Kernel driver in use: i801_smbus
    00:1f.4 USB Controller [0c03]: Intel Corporation 82801BA/BAM USB Controller #1 [8086:2444] (rev 03)
    	Subsystem: Sony Corporation Vaio PCG-FX403 [104d:80df]
    	Kernel driver in use: uhci_hcd
    00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801BA/BAM AC'97 Audio Controller [8086:2445] (rev 03)
    	Subsystem: Sony Corporation Vaio PCG-FX403 [104d:80df]
    	Kernel driver in use: Intel ICH
    00:1f.6 Modem [0703]: Intel Corporation 82801BA/BAM AC'97 Modem Controller [8086:2446] (rev 03)
    	Subsystem: Sony Corporation Vaio PCG-FX403 [104d:80df]
    	Kernel driver in use: Intel ICH Modem
    01:00.0 FireWire (IEEE 1394) [0c00]: Texas Instruments TSB43AA22 IEEE-1394 Controller (PHY/Link Integrated) [104c:8021] (rev 02)
    	Subsystem: Sony Corporation Vaio PCG-FX403 [104d:80df]
    01:02.0 CardBus bridge [0607]: Ricoh Co Ltd RL5c476 II [1180:0476] (rev 80)
    	Subsystem: Sony Corporation Vaio PCG-FX403 [104d:80df]
    	Kernel driver in use: yenta_cardbus
    01:02.1 CardBus bridge [0607]: Ricoh Co Ltd RL5c476 II [1180:0476] (rev 80)
    	Subsystem: Sony Corporation Vaio PCG-FX403 [104d:80df]
    	Kernel driver in use: yenta_cardbus
    01:08.0 Ethernet controller [0200]: Intel Corporation 82801BA/BAM/CA/CAM Ethernet Controller [8086:2449] (rev 03)
    	Subsystem: Intel Corporation EtherExpress PRO/100 VE [8086:3013]
    	Kernel driver in use: e100
    And the output of lsmod is:

    Code:
    Module                  Size  Used by
    nls_utf8                 908  1 
    nls_cp437               4489  1 
    vfat                    6570  1 
    fat                    34912  1 vfat
    usb_storage            30833  1 
    loop                    9765  0 
    firewire_sbp2           9647  0 
    pcmcia                 16194  0 
    snd_intel8x0           19595  0 
    snd_intel8x0m           8100  0 
    snd_ac97_codec         79148  2 snd_intel8x0,snd_intel8x0m
    ac97_bus                 710  1 snd_ac97_codec
    snd_pcm                47226  3 snd_intel8x0,snd_intel8x0m,snd_ac97_codec
    yenta_socket           16403  2 
    snd_timer              12258  1 snd_pcm
    rsrc_nonstatic          7057  1 yenta_socket
    snd                    34375  5 snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm,snd_timer
    pcmcia_core            20450  3 pcmcia,yenta_socket,rsrc_nonstatic
    soundcore               3450  1 snd
    shpchp                 21220  0 
    intel_rng               1965  0 
    rng_core                2178  1 intel_rng
    i2c_i801                6462  0 
    joydev                  6739  0 
    i2c_core               12787  1 i2c_i801
    parport_pc             15799  0 
    snd_page_alloc          5045  3 snd_intel8x0,snd_intel8x0m,snd_pcm
    pci_hotplug            18065  1 shpchp
    parport                22554  1 parport_pc
    pcspkr                  1207  0 
    evdev                   5609  0 
    psmouse                44809  0 
    serio_raw               2916  0 
    ext3                   94204  1 
    jbd                    32169  1 ext3
    mbcache                 3762  1 ext3
    sg                     15968  0 
    sr_mod                 10770  0 
    sd_mod                 26005  5 
    crc_t10dif              1012  1 sd_mod
    cdrom                  26487  1 sr_mod
    ata_generic             2067  0 
    firewire_ohci          16725  0 
    ata_piix               17736  2 
    uhci_hcd               16057  0 
    e100                   22317  0 
    ehci_hcd               28681  0 
    firewire_core          31243  2 firewire_sbp2,firewire_ohci
    libata                115753  2 ata_generic,ata_piix
    floppy                 40923  0 
    mii                     2714  1 e100
    usbcore                98733  4 usb_storage,uhci_hcd,ehci_hcd
    crc_itu_t               1035  1 firewire_core
    nls_base                4541  5 nls_utf8,nls_cp437,vfat,fat,usbcore
    scsi_mod              101429  6 usb_storage,firewire_sbp2,sg,sr_mod,sd_mod,libata
    Also, do you mean a firewall installed on my Debian computer or my router? I haven't installed a firewall on my computer, and I think the router has a firewall, but it hasn't prevented other computers from connecting to it.

    And I should have mentioned in the original post, but I have tried a couple of different numbers within the router's designated DHCP IP address range, and I got the same result when I try to ping my router (and my router still thinks I have the same .199 IP address):

    Code:
    PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data.
    From 192.168.10.196 icmp_seq=2 Destination Host Unreachable
    From 192.168.10.196 icmp_seq=3 Destination Host Unreachable
    From 192.168.10.196 icmp_seq=4 Destination Host Unreachable
    
    --- 192.168.10.1 ping statistics ---
    7 packets transmitted, 0 received, +3 errors, 100% packet loss, time 6003ms
    pipe 3
    I'm not sure how to tell if the router assigns IP's based on MAC addresses, but I can try to figure that out.

    Anything enlightening?

    Thanks.

  4. #4
    Just Joined!
    Join Date
    Jul 2010
    Posts
    7
    Oh, and I didn't manually install any drivers.

  5. #5
    Just Joined!
    Join Date
    Jul 2010
    Posts
    7
    So, I wanted to determine if my network woes were an operating system thing, so I booted into an Ubuntu live cd, and the networking didn't work in that case either, which wasn't too surprising to me because Ubuntu is Debian based. Then, I actually reinstalled Windows on the machine just to see what would happen. Networking still didn't work (although the router could read the computer name in that case. Strange.). So I think it actually might be some sort of strange problem with the hardware. Thanks for the help though.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •