From owner-freebsd-questions@freebsd.org Thu Dec 27 14:00:44 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BE507135FFA3; Thu, 27 Dec 2018 14:00:43 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9F22774D76; Thu, 27 Dec 2018 14:00:42 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [132.174.172.2] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1gcWDE-0004vG-IU; Thu, 27 Dec 2018 15:00:36 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id wBRE0ZEQ002977 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 27 Dec 2018 15:00:35 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id wBRE0ZeZ002976; Thu, 27 Dec 2018 15:00:35 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 27 Dec 2018 15:00:35 +0100 From: Matthias Apitz To: David Wolfskill Cc: freebsd-questions@freebsd.org, freebsd-wireless@freebsd.org Subject: Re: DHCP problems while connecting with a Wifi AP Message-ID: <20181227140035.GA2874@c720-r314251> Reply-To: Matthias Apitz Mail-Followup-To: David Wolfskill , freebsd-questions@freebsd.org, freebsd-wireless@freebsd.org References: <20181227122517.GA3208@c720-r314251> <20181227124218.GT22302@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181227124218.GT22302@albert.catwhisker.org> X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.8.0 (2017-02-23) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 132.174.172.2 X-Rspamd-Queue-Id: 9F22774D76 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mail.unixarea.de]; NEURAL_HAM_SHORT(-0.91)[-0.913,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-1.39)[ipnet: 178.254.0.0/19(-3.85), asn: 42730(-3.08), country: DE(-0.01)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; MIME_TRACE(0.00)[0:+]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.993,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2018 14:00:44 -0000 El día jueves, diciembre 27, 2018 a las 04:42:18a. m. -0800, David Wolfskill escribió: > You might investigate the use of "synchronous_dhclient" in /etc/rc.conf: > > synchronous_dhclient > (bool) Set to “YES” to start dhclient(8) synchronously at > startup. This behavior can be overridden on a per-interface > basis by replacing the “DHCP” keyword in the > ifconfig_⟨interface⟩ variable with “SYNCDHCP” or > “NOSYNCDHCP”. Thanks, I tested SYNCDHCP for the interface wlan0 in rc.conf. Same effect. The DHCP requests from the FreeBSD laptop are not visible in the Ubuntu mobile (and no answer is seen in FreeBSD with tcpdump). If I switch on my iPhone configured to the same AP, its DHCP request is seen and answered in the Ubuntu mobile. How can I proof in FreeBSD that the DHCP request really is sent? matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, Druschba instead of Nazis, to live instead of to survive.