From owner-freebsd-questions@freebsd.org Thu Dec 27 12:58:39 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 604BF135E4A6; Thu, 27 Dec 2018 12:58:39 +0000 (UTC) (envelope-from vbotka@gmail.com) Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DAB0372564; Thu, 27 Dec 2018 12:58:37 +0000 (UTC) (envelope-from vbotka@gmail.com) Received: by mail-wm1-x330.google.com with SMTP id y139so16605760wmc.5; Thu, 27 Dec 2018 04:58:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version; bh=PcWtmm6+aAfF97mnh9ZOuef3ZSOgyHKKsGgRb9hx0s4=; b=PsTPfX5IHDhKX3ehjERG3JeS68yc+x5B+BzxyfWWxm/ANn0tV2pglmZ0HkyxldS1ts WrYvpRNwUkMT9hgAGzAjwBdShFpqSv9r/O318W8Xceedw5PPUSnU9j9WCdhlXey58Rb3 mw7vWAnOdIuI+jJAdpfYODCcYXaWOBdufjykq9SYrbZrPaK8ZymRvyl+iZSk6mOZLPHi oI4H1jFmIibaxL7sYrjnG8wrar+7Mlgt9u2s4P0s2evxwWsYtBATrZ5GenESA0NvWLJ2 QwntqsiRscR7V1ax4rea5hK0/7lbHnN9EMDdmHabLxp+n06t3UX2AFzHhgYmRNOZokE5 r0eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version; bh=PcWtmm6+aAfF97mnh9ZOuef3ZSOgyHKKsGgRb9hx0s4=; b=VTfxn5x5yanonmleCQJyv7F2PiczSl2R0dDmIep9g9kzcaTlRCa+InXymLa3Uln0bs vpTWKtJaoComIkmWFKQ9OQVQHEN/mXFP2vpU2MlqPUSXmF4tbSRZ2br0KoUvmBTuo0pB XkKoU+HM67cRv+bIhjTX5i8q4TMlTn1ZS2VPRlKu0Luc17m5myppzX2kf5ah4W7zEwSD cxvhLYLpkMo9sivuMIDbaFJ4h6HMKqr8F9usWu7r3bcAbgfQ1mqwPka2kMm94qJ5RkM/ EdmmS3DmVhobh3vCcbxBasIGsuyNDVO5tUNKmeBATaJMJrz4PCLKCyNlXwBxCKWpzEGL OWKw== X-Gm-Message-State: AA+aEWY3mX787qpKqyeLnsj2XanaTmebF5Wh5Nzqb7FrPje1EQzvJ7fw 2YLWBHxskeiWqbNXXA5+h4w= X-Google-Smtp-Source: ALg8bN7fqZpxhffmOh1VagTYNKgUlnfxRrDb8/4I6fS8gCFqlYfaOcyIJPofDA2KPZibkLI6u3rKAA== X-Received: by 2002:a1c:1148:: with SMTP id 69mr20156337wmr.59.1545915516330; Thu, 27 Dec 2018 04:58:36 -0800 (PST) Received: from planb.netng.org (92-245-202-144.satronet.sk. [92.245.202.144]) by smtp.gmail.com with ESMTPSA id q3sm30719416wrn.84.2018.12.27.04.58.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Dec 2018 04:58:35 -0800 (PST) Date: Thu, 27 Dec 2018 13:58:32 +0100 From: Vladimir Botka To: Matthias Apitz , freebsd-wireless@freebsd.org Cc: freebsd-questions@freebsd.org Subject: Re: DHCP problems while connecting with a Wifi AP Message-ID: <20181227135832.0fcd2acc@planb.netng.org> In-Reply-To: <20181227122517.GA3208@c720-r314251> References: <20181227122517.GA3208@c720-r314251> Organization: na X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/lOEEGoLVthW1fVxCSMoAH6O"; protocol="application/pgp-signature" X-Rspamd-Queue-Id: DAB0372564 X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=PsTPfX5I; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of vbotka@gmail.com designates 2a00:1450:4864:20::330 as permitted sender) smtp.mailfrom=vbotka@gmail.com X-Spamd-Result: default: False [-8.62 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[alt3.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.972,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-2.54)[ip: (-9.37), ipnet: 2a00:1450::/32(-1.73), asn: 15169(-1.50), country: US(-0.08)]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[0.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0] 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 12:58:39 -0000 --Sig_/lOEEGoLVthW1fVxCSMoAH6O Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, On Thu, 27 Dec 2018 13:25:17 +0100 Matthias Apitz wrote: > [...] > Dec 27 11:59:52 c720-r314251 wpa_supplicant[7871]: wlan0: Associated with > 4e:74:03:65:46:a9 Dec 27 11:59:52 c720-r314251 kernel: wlan0: link state > changed to UP Dec 27 11:59:52 c720-r314251 dhclient[7941]: send_packet: No > buffer space available Dec 27 11:59:53 c720-r314251 wpa_supplicant[7871]: > wlan0: WPA: Key negotiation completed with 4e:74:03:65:46:a9 [PTK=3DCCMP > GTK=3DCCMP] Dec 27 11:59:53 c720-r314251 wpa_supplicant[7871]: wlan0: > CTRL-EVENT-CONNECTED - Connection to 4e:74:03:65:46:a9 completed [id=3D1 > id_str=3D] >=20 > As you can see, the 'dhclient[7941]: send_packet: No buffer space > available' comes *before* the connection to the AP is completed. > [...] In my case there is no problem with dhclient coming before the connection c= ompleted. Dec 17 14:28:38 pland wpa_supplicant[2084]: wlan0: Associated with a4:2b:b0= :a5:6f:83 Dec 17 14:28:38 pland kernel: wlan0: link state changed to UP Dec 17 14:28:38 pland dhclient[2237]: send_packet: No buffer space available Dec 17 14:28:39 pland wpa_supplicant[2084]: wlan0: WPA: Key negotiation com= pleted with a4:2b:b0:a5:6f:83 [PTK=3DCCMP GTK=3DCCMP] Dec 17 14:28:39 pland wpa_supplicant[2084]: wlan0: CTRL-EVENT-CONNECTED - C= onnection to a4:2b:b0:a5:6f:83 completed [id=3D0 id_str=3D] Dec 17 14:28:45 pland dhclient[2246]: New IP Address (wlan0): 10.1.0.12 Dec 17 14:28:45 pland dhclient[2247]: New Subnet Mask (wlan0): 255.255.255.0 Dec 17 14:28:45 pland dhclient[2248]: New Broadcast Address (wlan0): 10.1.0= .255 Cheers, -vlado --Sig_/lOEEGoLVthW1fVxCSMoAH6O Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEbaThuYKQgbbmDrVkkNGZEo7UTwEFAlwkzHgACgkQkNGZEo7U TwGMhwf/XiyoxC7YwfTCRcR+AxwPIMY1ZKAtc9Z/o80JTv9RUUyLCbcbxe2jM7Oy s3r4W84fb/vgm8TGOW65pnCpLzpc3vP6f/HlMfrFQBvqHwP/5wK5mECrGS4+VQPn WegMp9f8ZIopInYK3Y68ds/IbZAQOdeA6LRMCzcIh3iCw8SO4q3d/0q96YsOZlCK 2A6AbJoecqY5lu/DqoDwJ0MysHfKkSq5D+xwSIpDTcTjOurUtknFtVeU+yyratJ/ CcFY1rCClO3C8Izsm8RBIeuuqAQpAGfqAvFJa00zpE4Lm6WPuG9eH4VKs1xX+NAK +/H2WMvWpSbfsQsip6oCoM+4PEDGzg== =a3hj -----END PGP SIGNATURE----- --Sig_/lOEEGoLVthW1fVxCSMoAH6O--