Skip to main content
59 votes

Unable to connect to any wifi with NetworkManager due to error: Secrets were required, but not provided

It seems that NetworkManager automatically reuses an existing connection. In case your existing connection does not have any secrets stored, the new connection attempt will not update the existing ...
falstaff's user avatar
  • 811
40 votes

How to make bootable Debian USB on mac?

I didn't convert the ISO to img, I just formatted a USB drive for FAT and used dd: sudo diskutil unmountdisk /dev/disk1 sudo dd if=./debian.iso of=/dev/disk1 bs=1m status=progress I tested this with ...
Pavel's user avatar
  • 501
23 votes

Unable to connect to any wifi with NetworkManager due to error: Secrets were required, but not provided

Try turning the WiFi off and on again like this: nmcli r wifi off to turn it off. nmcli r wifi on to turn it on. Check the available WiFi networks: nmcli d wifi list Check and disconnect the WiFi ...
F4NT0's user avatar
  • 568
21 votes

How can you get any version of Linux to see the 2018 MacBook Pro SSD?

It's currently not possible to install anything except Windows 10 on Apple computers equipped with T2 chip. This security chip makes it impossible to see the internal drive, Apple generously did an ...
GeekUser's user avatar
  • 325
21 votes
Accepted

What does i386 mean on macOS Mojave?

According to this SO answer, arch distinguishes between PowerPC (ppc) and Intel (i386), not between 32- and 64-bit kernels on x86. So in this context, i386 means an x86 CPU. Check the output of uname ...
Stephen Kitt's user avatar
20 votes

How to recover “deleted” files in Linux on an NTFS filesystem (files originally from macOS)

As mentioned by terdon, when writing to a "foreign" filesystem, Mac OS uses two filenames for each file. One with the actual contents and a second one with metadata that would have been ...
Ángel's user avatar
  • 3,814
17 votes

Unable to connect to any wifi with NetworkManager due to error: Secrets were required, but not provided

Next solved my problem, was taken from: https://www.youtube.com/watch?v=P7bAp4vBxnA Edit with sudo grants: /etc/NetworkManager/NetworkManager.conf Add the next two lines: [device] wifi.scan-rand-...
Medardo Rodriguez's user avatar
16 votes

What does i386 mean on macOS Mojave?

On a macOS system, as on other BSD systems, you should use the machine utility: $ arch i386 $ machine x86_64h The i386 is misleading if you're used to the arch utility on other systems. On macOS ...
Kusalananda's user avatar
  • 356k
15 votes
Accepted

What is the tmux prefix code for command key on mac?

tmux supports Alt+key (Meta+key) by prefixing the key with M-, or Ctrl+key with the C- prefix in the key binding specification. There is no support for any other modifier keys. Related question on ...
Kusalananda's user avatar
  • 356k
14 votes

How can you get any version of Linux to see the 2018 MacBook Pro SSD?

I have a MacBook Pro Mid 2018 and managed to get the SSD working for like 10 seconds. When you live boot Linux Mint or Ubuntu and do: modprobe nvme Then check for the hardware ID of the Apple ...
Menno van leeuwen's user avatar
12 votes

Problem with apt-get update on Kali Linux

You should not be using a Debian repository for Kali Linux. Either use a Kali repository, or switch away from Kali to a different distribution. Since you're a beginner it would make a lot of sense ...
Chris Davies's user avatar
12 votes

PKCS#7 signature not signed with a trusted key

PKCS#7 signature not signed with a trusted key This message is typically coming from a piece of hardware. In your case it's likely the Nvidia graphics card that's emitting this. This issue is ...
slm's user avatar
  • 380k
10 votes

How to recover “deleted” files in Linux on an NTFS filesystem (files originally from macOS)

If you haven't overwritten the files, you can trivially recover all of your files. If they are images, your best bet is to use a JPEG file carving tool. JPEGs are easy to carve because they are ...
vy32's user avatar
  • 204
9 votes

How to recover “deleted” files in Linux on an NTFS filesystem (files originally from macOS)

Now it's hard to recommend anything, but if I were you, I'd try using R-Studio Undelete - in my experience it's the best application for restoring accidentally deleted or damaged data from a number of ...
Artem S. Tashkinov's user avatar
9 votes

How to recover “deleted” files in Linux on an NTFS filesystem (files originally from macOS)

I'm afraid you have overwritten all of the original files. The ._ files are a special thing of macOS systems and HFS drives. From what I understand, they seem to be used to store things like the icon ...
terdon's user avatar
  • 252k
9 votes
Accepted

Problem with zsh_history file

I tried adding echo $HISTFILE at the end of my ~/.zshenv file, and it gives ~/.local/state/zsh/history, which is exactly what i want. However, if i run echo $HISTFILE in terminal, it still gives ~/....
Marlon Richert's user avatar
8 votes
Accepted

Colors are different when SSHing onto a Linux machine from iTerm2. How can I standardize them?

Terminal vim uses colors that your terminal makes available (the ANSI colors you pick, presumably—unless your terminal offers 256 color mode or settable colors), but which of those colors it uses is ...
derobert's user avatar
  • 113k
8 votes
Accepted

Problem with apt-get update on Kali Linux

Your sources.list should contain only the following line: deb http://http.kali.org/kali kali-rolling main contrib non-free Open the terminal and run the following command: echo deb http://http.kali....
GAD3R's user avatar
  • 69.9k
8 votes
Accepted

Why "go version" command fail with an error? No such file or directory

In the snippet you posted in your question it says: ~$ which go /usr/local/go/bin/go which indicates that go binary resides in /usr/local/go/bin directory (also see Why not use “which”? What to use ...
Arkadiusz Drabczyk's user avatar
7 votes

Is an Apple File System (APFS) driver for linux available or in progress?

Through the magic of Google, I quickly discovered that there is an APFS FUSE filesystem project currently in progress: https://github.com/sgan81/apfs-fuse It seems to be based on reverse engineering,...
telcoM's user avatar
  • 114k
7 votes

How to send binary file URL in the curl command instead passing local path

What's happening here is that you're misusing the @ flag for the --data-binary option. The man page for curl describes its use quite clearly If you start the data with the letter @, the rest should ...
Chris Davies's user avatar
7 votes
Accepted

"read -r" builtin in bash script acts differently on Mac

In older versions of bash, in <<< $param$((arith))$(cmdsubst) where <<< is the here-string operator copied from zsh, such unquoted expansions were subject to $IFS-splitting and the ...
Stéphane Chazelas's user avatar
6 votes
Accepted

How to reset the sshd_config file to its default settings

The ssh default config file is on /private/etc/ssh/sshd_config, you can copy it to .ssh directory by the following command sudo cp /private/etc/ssh/sshd_config ~/.ssh/config Then restart SSHD: sudo ...
Yuseferi's user avatar
  • 420
6 votes
Accepted

start sshd on mac

I've found the solution for this I tried to run the sshd process manually listening to a different port to debug the issue. sudo /usr/sbin/sshd -d -p 2222 It showed the actual problem. debug1: sshd ...
pkgajulapalli's user avatar
6 votes

Does AWK have similar ability as SED to find line ranges based on text in line rather than line number?

/usr/bin/sed '3,10d' works perfectly fine on my Mac (Mojave). Even so, with awk: awk '(NR >= 3) && (NR <= 10) {next} /<ACROSS>/{exit} 1' ... which skips lines if the line number ...
muru's user avatar
  • 77.9k
6 votes
Accepted

“Probing EDD” error when booting a live OS from a USB drive

According to this thread on Kali Forums Press Tab at the boot menu. That allows you to edit the kernel command line. Add edd=off to the end of the line and press Enter to load it. As documented in ...
Anthony Geoghegan's user avatar
6 votes
Accepted

Linux - Modify an efi var with efivar

Per this article, Disabling MacBook Startup Sound in Linux, several Internet sources suggest that writing EFI variables from Linux may sometimes corrupt your Apple firmware. I didn't research this ...
oxr463's user avatar
  • 1,300
5 votes

FreeBSD cannot use WiFi with BCM4360 on MacBook Air

Unfortunately the BCM4360 is not yet supported, but it might be in the future. See http://landonf.org/code/freebsd/Broadcom_WiFi_Improvements.20180122.html for more information.
Tim Preston's user avatar
5 votes

how do i map the cmd key to ctrl on kubuntu 18.04?

To remap the keyboard in KDE Plasma, Open the start menu Search for "Keyboard" Open the application the icon titled "Keyboard" Switch to the "Advanced" tab Look for "Ctrl position" Open the drop down ...
5cans's user avatar
  • 51
5 votes

Does AWK have similar ability as SED to find line ranges based on text in line rather than line number?

Your sed works fine. Even so, in Awk there is , -- the "between" operator. Following some examples (default action = print) Print the lines between "start" and "stop" awk '/start/,/stop/' Lines ...
JJoao's user avatar
  • 12.8k

Only top scored, non community-wiki answers of a minimum length are eligible