Re: NetBSD 1.5.2 dhclient

From: Brian A. Sekcli (lavalamp_at_spiritual-machines.org)
Date: 10/23/03

  • Next message: news.optonline.net: "Re: What BSD distrib is the most Laptop Friendly?"
    Date: Thu, 23 Oct 2003 17:59:46 -0400
    
    

    On Thu, 23 Oct 2003 19:46:11 +0200, Sebastian wrote:

    > Hello, I have a question about the dhclient:
    >
    > I'm surfing via a cable modem, therefore I'm using DHCP for assigning
    > IP-adresses. So I'm starting the dhclient and getting a screen full of

    from dhclient(8):

           The client normally prints a startup message and displays the protocol
           sequence to the standard error descriptor until it has acquired an
           address, and then only logs messages using the syslog (3) facility.
           The -q flag prevents any messages other than errors from being printed
           to the standard error descriptor.

    so do this:

    # ifconfig [interface]

    *make sure Status: Active *, this is ethernet link.

    Then to be extra safe:

    # dhclient -d -q [interface] 2>1 > /dev/null

    ..these can also be passed to dhclient at boot in /etc/rc.conf using
    dhclient_flags="-blah -blah"

    -lava

    > status messages. Then, sometimes I get errormessages like "Error:
    > Network down" (or like this), but Internet works. These messages aren't
    > very friendly to me, if I, for example, surf with lynx or am working on
    > a console (the messages come even to a xterm).
    > So I ask you: How do I disable these messages?


  • Next message: news.optonline.net: "Re: What BSD distrib is the most Laptop Friendly?"

    Relevant Pages

    • NetBSD 1.5.2 dhclient
      ... I'm surfing via a cable modem, therefore I'm using DHCP for assigning ... IP-adresses. ... So I'm starting the dhclient and getting a screen full of ...
      (comp.unix.bsd.netbsd.misc)
    • Re: HEADSUP: OpenBSD dhclient incoming
      ... >> will kill dhclient every time for me. ... > There are several drivers that have issues with reliably generating LINK ... > tcp sessions don't immediately die so if you reconnect and reacquire the ... Pressing CTR+C during boot to stop dhclient not only stops it but prevents system from assigning any other IP's, ...
      (freebsd-current)
    • Re: wireless, Broadcom & jaunty
      ... IF you don't get a dhcp address ... dhclient, but if dhclient doesn't work from the command line anyway, the ... wireless-key XXXXXXXXXXXXXXXXXXXX ... laptop soesn't have a switch to turn wireless off which I have on ...
      (Ubuntu)
    • Re: DNS problem on local network
      ... Remove domain-name-servers from that list and dhcp wont supply it. ... My problem is that the DHCP and DNS server running dnsmasq is actually the gateway server and has a second NIC connected to a modem, from which it gets its ip via DHCP, hence the reason why this box is running dnsmasq for one NIC and dhclient3 for the other. ... I now have to figure out what is happening on the dhclient front on my workstations, or at least my linux workstation since that has no concept of its domain name still. ...
      (Debian-User)
    • Re: Problems with OpenBSD dhclient
      ... > been having some issues with managing my network connection. ... DHCP is not playing, yet. ... > When I go to a meeting, I want to switch to the wireless network. ... > Now life is not so nice with the OpenBSD dhclient. ...
      (freebsd-current)