prevent dhclient from exting

From: Arjen Verweij (a.verweij_at_student.tudelft.nl)
Date: 10/17/05

  • Next message: Greatbicycle: "a sanitary equipment company from China"
    Date: Mon, 17 Oct 2005 09:43:29 +0200
    To: debian-user@lists.debian.org
    
    

    Hi,

    I'm looking for a way to keep my box connected. Sometimes the
    connections drops for various reasons:

    - cable removed from modem/nic
    - power outage
    - booted without cable

    The problem is, that dhclient just gives up:
    Oct 17 09:13:29 localhost kernel: eth1: Tx timed out, cable problem?
    TSR=0x0, ISR=0x0, t=15185.
    Oct 17 09:13:30 localhost dhclient: No DHCPOFFERS received
    Oct 17 09:13:30 localhost dhclient: No working leases in persistent
    database.
    Oct 17 09:13:30 localhost dhclient: Exiting.

     From this point on, I need physical access to the machine to make it
    connect again. I tried installing ifplugd and configured it for eth1,
    but removing/replugging the cable does not have the desired effect.
    According to syslog nothing happens and dmesg looks uneventful as well.
    Anyhow, if there were a way to have dhclient keep running, I would not
    have this problem, and my box could just regain connectivity itself.

    Can anyone point me in the right direction, so far I have tried man
    dhclient.conf and installed ifplugd for eth1, but no cigar.

    Regards,

    Arjen

    P.S. Please Cc: me on reply.

    -- 
    No virus found in this outgoing message.
    Checked by AVG Anti-Virus.
    Version: 7.0.344 / Virus Database: 267.12.1/136 - Release Date: 15-10-2005
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Greatbicycle: "a sanitary equipment company from China"

    Relevant Pages

    • Re: prevent dhclient from exting
      ... > connections drops for various reasons: ... I tried installing ifplugd and configured it for eth1, ... > Anyhow, if there were a way to have dhclient keep running, I would not ... > dhclient.conf and installed ifplugd for eth1, ...
      (Debian-User)
    • Re: prevent dhclient from exting
      ... iface eth1 inet dhcp ... Oct 17 09:04:19 localhost dhclient: All rights reserved. ... Oct 17 09:04:19 localhost kernel: NETDEV WATCHDOG: eth1: transmit timed out ... port 67 ...
      (Debian-User)
    • Multiple NICs + GWs
      ... Connections to xxx.xxx.ba.3 are all successful. ... I have another test webserver, ...
      (Debian-User)
    • Re: iptables question with multiple interfaces
      ... The original question made it appear that connections to port 25 on ... servers not "outside" were okay. ... But blocking *only* with the -o would block connections to outside ports ... if both eth1 and eth2 have INPUT rules that prevent source ...
      (comp.os.linux.networking)