From nobody Wed Sep 15 05:36:49 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 84B9017C677D for ; Wed, 15 Sep 2021 05:37:08 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) (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 4H8TVr3LvGz3LZ3 for ; Wed, 15 Sep 2021 05:37:08 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-qt1-f175.google.com with SMTP id 2so1391149qtw.1 for ; Tue, 14 Sep 2021 22:37:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GTXHgDdoBWPi7SN4rPMNhrgUKW45PONC8Q7jm3MYl0s=; b=nqfDBAOeIVAz07jMyolmMNG/NOHMaRjNELbBmMj2ba4eoJbJ3Pfx59y7VIScJK0tCe 2O7HEUoxxzBAqWOOHG+4BaB8cGuP4ZAhkN+zgWJ+CUarKW/zsCOYVVroM6dlzw06EB4a tgrxIGZmk31xIuH19Y4miHP2JLJnLFyQW1CYEzVwOtf2QFaATxNf/kzq3qQi752xiRjX lTpObVCdVAcW7JrmxuWql0xMbk8Gu02gOCMxbEn/4n/Xo/FWh/7sAYGiyTQj5XxlVB27 DEimbGelk7zFgKugr9SLSTPlsZrpkqL7+lArAV2JXvfm3pWmQjTXCVodavfCxqrVl2du Txtw== X-Gm-Message-State: AOAM533tz0k7kM040nY6eVU2MOIxqfF1878gKSz24qfeFa9a2bfMjCCj EFfkuvRhq/nosN5JS4qfdapdUbzZEbj2bR5NL6A= X-Google-Smtp-Source: ABdhPJwvK+7C+OpGMNkDX2nf5RX2RNUy45bfuPyYffqeC7wmBYm7JUYp7xB7OOkOlGWRvXvrQMGdIl6TuvQ8Q0sz8Lg= X-Received: by 2002:ac8:5fcf:: with SMTP id k15mr8584737qta.137.1631684222195; Tue, 14 Sep 2021 22:37:02 -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 References: In-Reply-To: From: Adrian Chadd Date: Tue, 14 Sep 2021 22:36:49 -0700 Message-ID: Subject: Re: port OpenBSD ifconfig to FreeBSD To: Zak Cc: freebsd-wireless Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4H8TVr3LvGz3LZ3 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N hi! On Tue, 14 Sept 2021 at 21:04, Zak wrote: > > 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 > It's not that easy; openbsd moved a bunch of functionality around to support WPA in their net80211. We don't have that; it's driven by userspace. Although! If you're asking about better tools to configure a wpa_supplicant process, that would be nice to code up and put into base. -adrian