From owner-freebsd-wireless@freebsd.org Tue Apr 2 01:09:09 2019 Return-Path: Delivered-To: freebsd-wireless@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 D532C154DD9C for ; Tue, 2 Apr 2019 01:09:08 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8BD4A6A493 for ; Tue, 2 Apr 2019 01:09:07 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: by mail-lj1-x22b.google.com with SMTP id q66so9961622ljq.7 for ; Mon, 01 Apr 2019 18:09:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:subject:references:date:cc:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=AMmhVPDxaoUm6jo2a+ghKqZgEmIMepDi7mhH9PjPx5A=; b=nEsYgo3e46C6O493ieIlFKKbiiu1YGDrpcTOJFLOExZpDnX2k+6xVCVETKrWbMW1YM TdV7+yYUTsBGXc69/ClVpAF8inBXUw+TLPO2GN2lyMPj74M/dVA8hVLTjd/p5dPe+Zks +bed4PK7cH85i9hokjUgUAZlfyrN/t8g2Tg8h5Gdiuir9VDsmHGwLexWmEEsfDUtqu/D iwoxOe4X064K5rdZTjIKnRzm9ArlewkRj541yPefpfAgb4fqcxQZQCJ1bbqWA42LQ/uC nHbnj5B5JkfeDMqpVHbOU4KexRv0jNf+vwxSU7APdYr1IITFMsUF6izCbBVmZLelda6G QmEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:references:date:cc:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=AMmhVPDxaoUm6jo2a+ghKqZgEmIMepDi7mhH9PjPx5A=; b=r2bn3ZBmiqupMbyJEWHyCrhyB5wehap/XTli8tIJQi55eDZdzMVCtd9hmfoaW72M5d goIPnob7XrISQ6Ns1NT3Rnwlmk9h16EQlJubGen/rCGwdA09+eRMrCi1F/g/rYtLC+ci bEdGBlj43RT09Z09dRY8/50os+ycQhGhGhXUvj7VRH/HxInFCs4xqYEOeIdJrkXkNkuY VSZskV5/hVFVumW/Jci9ARY2VDMLZFC4lc/gW+7Q9tWvbbSuIsaEtq6FKriOBkknptEt 3X/CcjjkV/U1RTzK2+cxq9p6rXJoYaI3v1JXgbEc+Uiscb9043HVopxZgO5MQC9x9Cj6 UL5Q== X-Gm-Message-State: APjAAAVoD2IPSN3vrjwtkhyzBLOleaf2aGSf519/wt9CcGPg6nVrSSt4 XZtBy+FrI747ojpWAB2Ppb33Yi2k X-Google-Smtp-Source: APXvYqyKhQCOutPqr2fotzp7wUUPnzbGzOZll7zJxjqA0C4fCSTp+vdbkOnW9RhKJ1ZJ851sTtcMSw== X-Received: by 2002:a2e:3512:: with SMTP id z18mr23334240ljz.25.1554167346080; Mon, 01 Apr 2019 18:09:06 -0700 (PDT) Received: from localhost ([37.73.247.122]) by smtp.gmail.com with ESMTPSA id n2sm2195195lfe.71.2019.04.01.18.09.05 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 01 Apr 2019 18:09:05 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Sergey Matveychuk" Subject: Re: Is Realtek RTL8211E supported? References: <0f5f5773-7462-bf37-c192-d610924e36e4@semmy.ru> Date: Tue, 02 Apr 2019 04:07:27 +0300 Cc: "freebsd-wireless@freebsd.org" MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: <0f5f5773-7462-bf37-c192-d610924e36e4@semmy.ru> User-Agent: Opera Mail/12.15 (FreeBSD) X-Rspamd-Queue-Id: 8BD4A6A493 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=nEsYgo3e; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of s3erios@gmail.com designates 2a00:1450:4864:20::22b as permitted sender) smtp.mailfrom=s3erios@gmail.com X-Spamd-Result: default: False [-5.29 / 15.00]; TO_DN_EQ_ADDR_SOME(0.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]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.97)[-0.975,0]; RECEIVED_SPAMHAUS_PBL(0.00)[122.247.73.37.zen.spamhaus.org : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; 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)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[b.2.2.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]; IP_SCORE(-2.81)[ip: (-9.45), ipnet: 2a00:1450::/32(-2.37), asn: 15169(-2.15), country: US(-0.06)]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; SUBJECT_ENDS_QUESTION(1.00)[] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Apr 2019 01:09:09 -0000 Tue, 02 Apr 2019 03:58:47 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Sergey Matveychuk = : Hi, try to load crypto modules: kldload wlan_ccmp wlan_tkip wlan_wep (also, performance will be better if you will load wlan_amrr - as suggested by ieee80211_load_module) > Hi. > > I try to use my USB dongle with FreeBSD 12.0. I see these lines in = > messages file when I connect WIFI dongle to USB: > Apr 2 00:06:50 generic kernel: ugen0.5: at usbu= s0 > Apr 2 00:06:52 generic kernel: rtwn0 on uhub1 > Apr 2 00:06:52 generic kernel: rtwn0: rev 2.00 > /0.00, addr 5> on usbus0 > Apr 2 00:06:52 generic kernel: rtwn0: MAC/BB RTL8188EU, RF 6052 1T1R > Apr 2 00:12:47 generic kernel: ieee80211_load_module: load the = > wlan_amrr module > by hand for now. > Apr 2 00:12:47 generic kernel: wlan0: Ethernet address: = > c4:6e:1f:1c:32:99 > > It looks good. > After I created wlan0 and run wpa_supplicant, it fails here: > > wlan0: WPA: Installing PTK to the driver > bsd_set_key: alg=3D3 addr=3D0x40375cb8 key_idx=3D0 set_tx=3D1 seq_len=3D= 6 = > key_len=3D16 > ioctl[SIOCS80211, op=3D19, val=3D0, arg_len=3D64]: Device not configur= ed > wlan0: WPA: Failed to set PTK to the driver (alg=3D3 keylen=3D16 = > bssid=3D18:31:bf:89:c0:80) > > It looks not good. > > What is problem? Is it possible to use this dongle? > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to = > "freebsd-wireless-unsubscribe@freebsd.org"