From nobody Wed Sep 15 04:04:24 2021 X-Original-To: freebsd-wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4476217C139D for ; Wed, 15 Sep 2021 04:04:37 +0000 (UTC) (envelope-from zacts.3.14159@gmail.com) Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H8RS45lZqz4gg5 for ; Wed, 15 Sep 2021 04:04:36 +0000 (UTC) (envelope-from zacts.3.14159@gmail.com) Received: by mail-pf1-x436.google.com with SMTP id w19so1416492pfn.12 for ; Tue, 14 Sep 2021 21:04:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=SZdD7giBbPv2WPyoAewdEgQPtmAYigaQuGHslIB/AEg=; b=UWGvWE6Gqqpq2ovCPGYRGgOS++7pY7Y07Oac8z2n4ZzGMl37FZpiSK+xvwRbsXZdtL mLGZo5YMnTkZ3GC91NJd0vi4LWSSAi3zCr9HBNqgJyYSOvN/XBqs/m3Vp4n6qo+Vhm4h f2KqIrdPlgoxu4cHbQ1Wrv/8Nb9Hba3YcGBQblwmFXaWM7VvrD9BnZvqMeJHXCfEUC3M sfEuBj75Diqqo/v1zGJ7EiYb5DGDDK+tGcZ3/UJ1pxHpF0NvCkIAX4aIGS7CSg4k+OZp q/q2eHkvJRjnE9W/0dg8ymEWIDeYDu6Pju6nzsJqNsJ2xgd6xi/Tc9m5UqeS819kIhlf 1YFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=SZdD7giBbPv2WPyoAewdEgQPtmAYigaQuGHslIB/AEg=; b=oitESAFvduIoWtRvuLFA7mX6R9AV7TXiMQaj93HPBzaSLCy2xnC4+b3/Npgqj13Ua+ 9iIEmrzJiuVA2Q/BbfvLaUWbtoTrsvi7hkd1XrJRW37TWfD2bWVrzgKrm1U7fzGmW2Ec drBlfG99aofaB8Vy65KK04w41T8Ui10uQPwRIInbg7YD+j+x22OTcxdgkqBYhL5lnVcQ MWA5iBnfjHZ56ItO17CbyDgjr5rO/MJFX91oL7jY6yNitQZLzLHqSeo34oWREn4Wzpg0 KZO8uokAPK7UESp9H6eMPSIjoz5rPcRAQ/wKzlLhxS6GJ5/HVS2XW9hNue0uoRbN91a3 U8EA== X-Gm-Message-State: AOAM5333X6UwsEXjXkFUMnjnk0GIarIp2D+Hjmx1kDCQIFlI4R/b59np TX6iRzQfB3Czg217s67rmkjHmkNoa276sltg3gZCSgwxzA== X-Google-Smtp-Source: ABdhPJzmYSESK++WCy5L3yWgjQItvG0QJJKYCrkHdCN5VD4GwgOBso/0du1wjGvjtHRCwS4YWrva80hBveb+T1mQxf0= X-Received: by 2002:a05:6a00:22cd:b0:43c:9b41:e650 with SMTP id f13-20020a056a0022cd00b0043c9b41e650mr8259301pfj.60.1631678675641; Tue, 14 Sep 2021 21:04:35 -0700 (PDT) List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 From: Zak Date: Tue, 14 Sep 2021 22:04:24 -0600 Message-ID: Subject: port OpenBSD ifconfig to FreeBSD To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4H8RS45lZqz4gg5 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=UWGvWE6G; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of zacts314159@gmail.com designates 2607:f8b0:4864:20::436 as permitted sender) smtp.mailfrom=zacts314159@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::436:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N hi, how involved would it be to port the OpenBSD ifconfig command and functionality to FreeBSD? my use case for this would be to add support to FreeBSD ifconfig that would allow me to interactively connect to WPA networks, including secrets and keys,, via the command line without resorting to externally packaged wpa network tools or editing a file like wpa_supplicant.conf. see: https://man.openbsd.org/ifconfig.8