[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to activate my wireless card? nmtui only shows wireless connections . . .



On 3/5/23, David Wright <deblis@lionunicorn.co.uk> wrote:
> On Sun 05 Mar 2023 at 02:42:46 (+0000), Albretch Mueller wrote:
>> On 3/4/23, David Wright <deblis@lionunicorn.co.uk> wrote:
>> > Also, now that the firmware is in place, if you repeat those steps,
>> > you're /likely/ to find that ath10k_pci is busy, because the link
>> > will be configured automatically in the first few seconds after
>> > booting up.
>>
>>  I would always go into exposed mode using a DL DVD that is what I
>> meant when I said "re start". So, I will need to run a dkpg script
>> whenever I boot it.
>>
>>  sudo iwlist wlp2s0 scan | grep ESSID
>>
>>  will list the wireless networks around. All I need now is a way to
>> somehow pass the password into the script in the command line of
>> through a config file so that I don't have to enter it every time. I
>> tried to find a way to do just that.
>>
>>  How do you?
>
> I run installed systems, so wifi passwords are either in individual
> /var/lib/iwd/<ESSID>.psk files (with iwd), or collectively in
> /etc/wpa_supplicant/<ifname>.conf (with wpasupplicant/systemd-networkd).
>
> These files have go= permissions, and I don't consider them of great
> enough concern to put them on an encrypted filesystem (which would
> in any case need unlocking). However, you could do just that, with an
> encrypted USB stick. At least you'd benefit from just one passphrase
> to unlock any and all necessary secrets.

 Is there a way to pass the password on the command to that modprobe
or whichever utility?

 Apparently because I use DL I don't have that kind of directory structure:

$ cd /var/lib/iwd/
bash: cd: /var/lib/iwd/: No such file or directory

$ cd /var/lib/
$ ls -l
total 0
drwxr-xr-x 2 root          root             3 Dec  7  2020 alsa
drwxr-xr-x 1 root          root            60 Mar  5 06:01 apt
drwxr-xr-x 2 root          root          3262 Sep 10 11:19 aspell
drwxr-xr-x 2 avahi-autoipd avahi-autoipd    3 Sep 10 11:06 avahi-autoipd
drwxr-xr-x 1 colord        colord         100 Mar  4 23:57 colord
drwxr-xr-x 2 root          root            33 Sep 10 11:05 dbus
drwxr-xr-x 2 root          root             3 May 27  2021 dhcp
drwxr-xr-x 6 root          root            75 Sep 10 10:58 dictionaries-common
drwxr-xr-x 2 root          root            37 Sep 10 10:56 dkms
drwxr-xr-x 1 root          root           220 Mar  5 00:13 dpkg
drwxr-xr-x 3 root          root            28 Sep 10 10:57 emacsen-common
drwxr-xr-x 1 root          root            60 Mar  4 23:56 exim4
drwxr-xr-x 2 geoclue       geoclue          3 Mar 17  2021 geoclue
drwxr-xr-x 4 root          root            40 Sep 10 10:58 ghostscript
drwxr-xr-x 3 root          root            26 Sep 10 10:58 grub
drwxr-xr-x 3 root          root            26 Sep 10 11:01 hardware
drwxr-xr-x 2 root          root           815 Sep 10 11:19 ispell
drwxr-xr-x 3 root          root            28 Sep 10 11:01 libreoffice
drwxr-x--- 1 lightdm       lightdm         60 Mar  4 23:56 lightdm
drwxr-xr-x 1 root          root            60 Sep 10 11:03 live
drwxr-xr-x 1 root          root            60 Mar  5 00:00 logrotate
drwxr-xr-x 2 root          root            34 Sep 10 11:07 man-db
drwxr-xr-x 2 root          root             3 Sep  3  2022 misc
drwx------ 1 root          root           140 Mar  5 20:50 NetworkManager
drwxr-xr-x 2 root          root             3 Jun 28  2021 os-prober
drwxr-xr-x 2 root          root             3 Dec 22  2020 PackageKit
drwxr-xr-x 2 root          root           115 Sep 10 11:06 pam
drwxr-xr-x 1 root          root            60 Mar  4 23:55 plymouth
drwx------ 1 root          root            60 Sep 10 10:54 polkit-1
drwx------ 2 root          root            40 Mar  4 23:54 private
drwxr-xr-x 2 root          root            42 Sep 10 10:56 python
drwxr-xr-x 4 root          root            43 Sep 10 10:54 runit
drwxr-xr-x 1 root          root           100 Mar  5 19:55 smartmontools
drwxr-xr-x 2 root          root             3 Aug 15  2022 snmp
drwxr-xr-x 3 root          root            31 Sep 10 10:54 sudo
drwxr-xr-x 2 root          root             3 Nov 16  2020 synaptic
drwxr-xr-x 1 root          root           180 Mar  5 00:15 systemd
drwxr-xr-x 3 root          root           348 Sep 10 11:18 ucf
drwx------ 2 root          root            60 Mar  5 00:07 udisks2
drwxr-xr-x 2 root          root            76 Sep 10 11:16 uim
drwxr-xr-x 1 root          root           120 Mar  5 00:07 upower
drwxr-xr-x 2 root          root             3 Jul 10  2020 usb_modeswitch
drwxr-xr-x 2 root          root            30 Sep 10 11:05 usbutils
drwxr-xr-x 3 root          root            29 Sep 10 10:54 vim
drwxr-xr-x 2 root          root            39 Sep 10 11:15 xfonts
drwxr-xr-x 1 root          root            40 Mar  4 23:59 xkb
$


Reply to: