Monday, January 24, 2022

Recent Questions - Ask Different

Recent Questions - Ask Different


ERROR: did not find the file that contains the default applciations to open various file types/extensions [closed]

Posted: 24 Jan 2022 01:15 AM PST

Context

After writing some Bash code that installs a productivity setup on Ubuntu, I was trying it out on a Mac and got an error unknown (afaik) to Google and Stackexchange. Based on the error message, I assume it pertains to a basic configuration setting within Mac. Since I have no experience with Mac, and was not able to find a duplicate of the error, I thought I'd ask the question here.

Error Reproduction

The following code tries to install a productivity setup. (It does not do anything without user confirmation, except show a prompt to ask what the user would like to install):

git clone https://github.com/HiveMinds/Productivity-setup  cd Productivity-setup  chmod +x *sh  bash main.sh  

Expected Output

package_list=  ask user  Do you wish to install: autokey-gtk?  

Actual Output (Error Message)

ERROR: did not find the file that contains the default applciations to open various file types/extensions.  

System Description

I tested it on two Macbooks, I do not know their exact types, one was an old one (eg. 3-8 years old), the other was a newer one, (e.g. 2-5 years old). Both produced the same error. (Note, this error is particular to Mac only (afaik), the code works on Ubuntu 21.04 LTS).

Question

Why is this error generated and how can I prevent it?

VPN connection terminates: L2TP failed to set port-mapping for en0, errorCode: -65564

Posted: 24 Jan 2022 01:24 AM PST

The following issue surfaced last week and I am not sure anymore if this happened before or after I upgraded to Monterey.

I am using a VPN connection for work but since last week this connection only lasts for 60 to 90 seconds. In the first 60 seconds everything is working. The machine is connected and has internet. After these 60 seconds the internet connection stops working and around 30 seconds later the VPN client tells me that the VPN connection has been terminated.

Now, after some trying around it was suggested to me to try to access the internet from another connection so I switched from my home router to a mobile hot spot.

And there you go. With the mobile hot spot everything is working fine for hours.

Clearly, this makes the router the main suspect but I have been working with it for months now and since I didn't touch it, I find it hard to believe that it is the cause.

I've searched the internet for this issue but I couldn't find anything useful. Is there anything I can do? At least to get more information about where this issue truly originates from?

Logging output

I took a look at the /var/log/ppp.log file and compared both cases. The main difference, and what catches the eye, are those lines here:

Thu Jan 20 09:47:09 2022 : L2TP failed to set port-mapping for en0, errorCode: -65564  Thu Jan 20 09:47:09 2022 : L2TP port-mapping for en0 became invalid. is Connected: 1, Protocol: None, Private Port: 0, Previous publicAddress: (0), Previous publicPort: (0)  Thu Jan 20 09:47:09 2022 : L2TP clearing port-mapping for en0  

Below you can look at both entire sessions.

Working (mobile hot spot)

Thu Jan 20 14:51:30 2022 : publish_entry SCDSet() failed: Success!  Thu Jan 20 14:51:30 2022 : publish_entry SCDSet() failed: Success!  Thu Jan 20 14:51:30 2022 : l2tp_get_router_address  Thu Jan 20 14:51:30 2022 : l2tp_get_router_address 192.168.43.1 from dict 1  Thu Jan 20 14:51:30 2022 : L2TP connecting to server '85.237.31.244' (85.237.31.244)...  Thu Jan 20 14:51:30 2022 : IPSec connection started  Thu Jan 20 14:51:30 2022 : IPSec phase 1 client started  Thu Jan 20 14:51:30 2022 : IPSec phase 1 server replied  Thu Jan 20 14:51:31 2022 : IPSec phase 2 started  Thu Jan 20 14:51:31 2022 : IPSec phase 2 established  Thu Jan 20 14:51:31 2022 : IPSec connection established  Thu Jan 20 14:51:31 2022 : L2TP sent SCCRQ  Thu Jan 20 14:51:32 2022 : L2TP received SCCRP  Thu Jan 20 14:51:32 2022 : L2TP sent SCCCN  Thu Jan 20 14:51:32 2022 : L2TP sent ICRQ  Thu Jan 20 14:51:32 2022 : L2TP received ICRP  Thu Jan 20 14:51:32 2022 : L2TP sent ICCN  Thu Jan 20 14:51:32 2022 : L2TP connection established.  Thu Jan 20 14:51:32 2022 : L2TP set port-mapping for en0, interface: 6, protocol: 0, privatePort: 0  Thu Jan 20 14:51:32 2022 : using link 0  Thu Jan 20 14:51:32 2022 : Using interface ppp0  Thu Jan 20 14:51:32 2022 : Connect: ppp0 <--> socket[34:18]  Thu Jan 20 14:51:32 2022 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x57c42b33> <pcomp> <accomp>]  Thu Jan 20 14:51:32 2022 : rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth eap> <magic 0x5e3d2499>]  Thu Jan 20 14:51:32 2022 : lcp_reqci: returning CONFNAK.  Thu Jan 20 14:51:32 2022 : sent [LCP ConfNak id=0x1 <auth chap MS-v2>]  Thu Jan 20 14:51:32 2022 : rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth chap MS-v2> <magic 0x5e3d2499>]  Thu Jan 20 14:51:32 2022 : lcp_reqci: returning CONFACK.  Thu Jan 20 14:51:32 2022 : sent [LCP ConfAck id=0x2 <asyncmap 0x0> <auth chap MS-v2> <magic 0x5e3d2499>]  Thu Jan 20 14:51:35 2022 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x57c42b33> <pcomp> <accomp>]  Thu Jan 20 14:51:35 2022 : rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x57c42b33> <pcomp> <accomp>]  Thu Jan 20 14:51:35 2022 : sent [LCP EchoReq id=0x0 magic=0x57c42b33]  Thu Jan 20 14:51:35 2022 : rcvd [CHAP Challenge id=0xc2 <b59776d4e95ffd9c447b70655c5808b6>, name = "xl2tpd"]  Thu Jan 20 14:51:35 2022 : sent [CHAP Response id=0xc2 <6399983a35e92f14499ef668e18b2898000000000000000047db3fdec44452683582e60fd1d8ef17cb0308c7c24d6bff00>, name = "sfalk"]  Thu Jan 20 14:51:35 2022 : rcvd [LCP EchoRep id=0x0 magic=0x5e3d2499]  Thu Jan 20 14:51:35 2022 : rcvd [CHAP Success id=0xc2 "S=E25C4E6D7589D22C958A063AE5018D4349014605"]  Thu Jan 20 14:51:35 2022 : sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]  Thu Jan 20 14:51:35 2022 : sent [IPV6CP ConfReq id=0x1 <addr fe80::f218:98ff:fe5f:11f2>]  Thu Jan 20 14:51:35 2022 : rcvd [IPCP ConfReq id=0x1 <addr 10.255.255.0>]  Thu Jan 20 14:51:35 2022 : ipcp: returning Configure-ACK  Thu Jan 20 14:51:35 2022 : sent [IPCP ConfAck id=0x1 <addr 10.255.255.0>]  Thu Jan 20 14:51:36 2022 : rcvd [IPCP ConfNak id=0x1 <addr 10.10.20.8> <ms-dns1 10.10.10.1> <ms-dns3 10.10.10.1>]  Thu Jan 20 14:51:36 2022 : sent [IPCP ConfReq id=0x2 <addr 10.10.20.8> <ms-dns1 10.10.10.1> <ms-dns3 10.10.10.1>]  Thu Jan 20 14:51:36 2022 : rcvd [LCP ProtRej id=0x3 80 57 01 01 00 0e 01 0a f2 18 98 ff fe 5f 11 f2]  Thu Jan 20 14:51:36 2022 : rcvd [IPCP ConfAck id=0x2 <addr 10.10.20.8> <ms-dns1 10.10.10.1> <ms-dns3 10.10.10.1>]  Thu Jan 20 14:51:36 2022 : ipcp: up  Thu Jan 20 14:51:36 2022 : local  IP address 10.10.20.8  Thu Jan 20 14:51:36 2022 : remote IP address 10.255.255.0  Thu Jan 20 14:51:36 2022 : primary   DNS address 10.10.10.1  Thu Jan 20 14:51:36 2022 : secondary DNS address 10.10.10.1  Thu Jan 20 14:51:36 2022 : Received protocol dictionaries  Thu Jan 20 14:51:36 2022 : l2tp_wait_input: Address added. previous interface setting (name: en0, address: 192.168.43.145), current interface setting (name: ppp0, family: PPP, address: 10.10.20.8, subnet: 255.0.0.0, destination: 10.255.255.0).  Thu Jan 20 14:51:36 2022 : Committed PPP store on install command  Thu Jan 20 14:51:36 2022 : rcvd [IPV6 data]     60 00 00 00 00 24 00 01   00 00 00 00 00 00 00 00   '`....$..........'     00 00 00 00 00 00 00 00   ff 02 00 00 00 00 00 00   '................'     00 00 00 00 00 00 00 16   3a 00 05 02 00 00 01 00   '........:.......'     8f 00 6e 8a 00 00 00 01   04 00 00 00 ff 02 00 00   '..n.............'     00 00 00 00 00 00 00 00   00 00 00 02               '............'  Thu Jan 20 14:51:36 2022 : Unsupported protocol 0x57 received  Thu Jan 20 14:51:36 2022 : sent [LCP ProtRej id=0x2 00 57 60 00 00 00 00 24 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff 02 00 00 00 00 ...]  Thu Jan 20 14:51:37 2022 : rcvd [IPV6 data]     60 00 00 00 00 24 00 01   00 00 00 00 00 00 00 00   '`....$..........'     00 00 00 00 00 00 00 00   ff 02 00 00 00 00 00 00   '................'     00 00 00 00 00 00 00 16   3a 00 05 02 00 00 01 00   '........:.......'     8f 00 6e 8a 00 00 00 01   04 00 00 00 ff 02 00 00   '..n.............'     00 00 00 00 00 00 00 00   00 00 00 02               '............'  Thu Jan 20 14:51:37 2022 : Unsupported protocol 0x57 received  Thu Jan 20 14:51:37 2022 : sent [LCP ProtRej id=0x3 00 57 60 00 00 00 00 24 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff 02 00 00 00 00 ...]  Thu Jan 20 14:51:39 2022 : L2TP port-mapping update for en0 ignored: VPN is the Primary interface. Public Address: 0, Protocol: None, Private Port: 0, Public Port: 0  Thu Jan 20 14:51:39 2022 : L2TP clearing port-mapping for en0  

Not working (router)

Router event log

Establishing the VPN connection, I can see these log entries in my router's event log:

24.01.22  10:19:24  Wireless LAN transmission quality increased by reduced channel bandwidth (2,4 GHz). [3 messages since 24.01.22 10:19:04]  24.01.22  10:19:01  Forwarding to 192.168.178.69 (sfalk) added for port 1701.  24.01.22  10:19:01  Forwarding to 192.168.178.69 (sfalk) added for port 4500.  24.01.22  10:18:58  Forwarding to 192.168.178.69 (sfalk) added for port 500.  24.01.22  10:18:04  Event Log was deleted. This change was made in the home network from IP address 192.168.178.69 [sfalk].  

/var/log/ppp.log

Thu Jan 20 09:47:07 2022 : publish_entry SCDSet() failed: Success!  Thu Jan 20 09:47:07 2022 : publish_entry SCDSet() failed: Success!  Thu Jan 20 09:47:07 2022 : l2tp_get_router_address  Thu Jan 20 09:47:07 2022 : l2tp_get_router_address 192.168.178.1 from dict 1  Thu Jan 20 09:47:07 2022 : L2TP connecting to server '85.237.31.244' (85.237.31.244)...  Thu Jan 20 09:47:07 2022 : IPSec connection started  Thu Jan 20 09:47:07 2022 : IPSec phase 1 client started  Thu Jan 20 09:47:07 2022 : IPSec phase 1 server replied  Thu Jan 20 09:47:08 2022 : IPSec phase 2 started  Thu Jan 20 09:47:08 2022 : IPSec phase 2 established  Thu Jan 20 09:47:08 2022 : IPSec connection established  Thu Jan 20 09:47:08 2022 : L2TP sent SCCRQ  Thu Jan 20 09:47:08 2022 : L2TP received SCCRP  Thu Jan 20 09:47:08 2022 : L2TP sent SCCCN  Thu Jan 20 09:47:08 2022 : L2TP sent ICRQ  Thu Jan 20 09:47:08 2022 : L2TP received ICRP  Thu Jan 20 09:47:08 2022 : L2TP sent ICCN  Thu Jan 20 09:47:08 2022 : L2TP connection established.  Thu Jan 20 09:47:08 2022 : L2TP set port-mapping for en0, interface: 6, protocol: 0, privatePort: 0  Thu Jan 20 09:47:08 2022 : using link 0  Thu Jan 20 09:47:08 2022 : Using interface ppp0  Thu Jan 20 09:47:08 2022 : Connect: ppp0 <--> socket[34:18]  Thu Jan 20 09:47:08 2022 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x62b2ff57> <pcomp> <accomp>]  Thu Jan 20 09:47:08 2022 : rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth eap> <magic 0xfb54e2f3>]  Thu Jan 20 09:47:08 2022 : lcp_reqci: returning CONFNAK.  Thu Jan 20 09:47:08 2022 : sent [LCP ConfNak id=0x1 <auth chap MS-v2>]  Thu Jan 20 09:47:08 2022 : rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth chap MS-v2> <magic 0xfb54e2f3>]  Thu Jan 20 09:47:08 2022 : lcp_reqci: returning CONFACK.  Thu Jan 20 09:47:08 2022 : sent [LCP ConfAck id=0x2 <asyncmap 0x0> <auth chap MS-v2> <magic 0xfb54e2f3>]  Thu Jan 20 09:47:09 2022 : L2TP failed to set port-mapping for en0, errorCode: -65564  Thu Jan 20 09:47:09 2022 : L2TP port-mapping for en0 became invalid. is Connected: 1, Protocol: None, Private Port: 0, Previous publicAddress: (0), Previous publicPort: (0)  Thu Jan 20 09:47:09 2022 : L2TP clearing port-mapping for en0  Thu Jan 20 09:47:11 2022 : sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x62b2ff57> <pcomp> <accomp>]  Thu Jan 20 09:47:11 2022 : rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x62b2ff57> <pcomp> <accomp>]  Thu Jan 20 09:47:11 2022 : sent [LCP EchoReq id=0x0 magic=0x62b2ff57]  Thu Jan 20 09:47:11 2022 : rcvd [CHAP Challenge id=0x82 <bbb842cfd05b65391f0820f7ec1c1b72>, name = "xl2tpd"]  Thu Jan 20 09:47:11 2022 : sent [CHAP Response id=0x82 <a2927010ebf97d96742c7d737dfc48970000000000000000fc5ecb5fbcf32db7dae3b920fe97b4d44028989d613ddb3b00>, name = "sfalk"]  Thu Jan 20 09:47:11 2022 : rcvd [LCP EchoRep id=0x0 magic=0xfb54e2f3]  Thu Jan 20 09:47:11 2022 : rcvd [CHAP Success id=0x82 "S=AF62F9AD454798E796FDA8AF4F151B7204E6C838"]  Thu Jan 20 09:47:11 2022 : sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]  Thu Jan 20 09:47:11 2022 : sent [IPV6CP ConfReq id=0x1 <addr fe80::f218:98ff:fe5f:11f2>]  Thu Jan 20 09:47:11 2022 : rcvd [IPCP ConfReq id=0x1 <addr 10.255.255.0>]  Thu Jan 20 09:47:11 2022 : ipcp: returning Configure-ACK  Thu Jan 20 09:47:11 2022 : sent [IPCP ConfAck id=0x1 <addr 10.255.255.0>]  Thu Jan 20 09:47:11 2022 : rcvd [IPCP ConfNak id=0x1 <addr 10.10.20.12> <ms-dns1 10.10.10.1> <ms-dns3 10.10.10.1>]  Thu Jan 20 09:47:11 2022 : sent [IPCP ConfReq id=0x2 <addr 10.10.20.12> <ms-dns1 10.10.10.1> <ms-dns3 10.10.10.1>]  Thu Jan 20 09:47:11 2022 : rcvd [LCP ProtRej id=0x3 80 57 01 01 00 0e 01 0a f2 18 98 ff fe 5f 11 f2]  Thu Jan 20 09:47:11 2022 : rcvd [IPCP ConfAck id=0x2 <addr 10.10.20.12> <ms-dns1 10.10.10.1> <ms-dns3 10.10.10.1>]  Thu Jan 20 09:47:11 2022 : ipcp: up  Thu Jan 20 09:47:11 2022 : local  IP address 10.10.20.12  Thu Jan 20 09:47:11 2022 : remote IP address 10.255.255.0  Thu Jan 20 09:47:11 2022 : primary   DNS address 10.10.10.1  Thu Jan 20 09:47:11 2022 : secondary DNS address 10.10.10.1  Thu Jan 20 09:47:11 2022 : Received protocol dictionaries  Thu Jan 20 09:47:11 2022 : l2tp_wait_input: Address added. previous interface setting (name: en0, address: 192.168.178.22), current interface setting (name: ppp0, family: PPP, address: 10.10.20.12, subnet: 255.0.0.0, destination: 10.255.255.0).  Thu Jan 20 09:47:11 2022 : Committed PPP store on install command  Thu Jan 20 09:47:11 2022 : rcvd [IPV6 data]     60 00 00 00 00 24 00 01   00 00 00 00 00 00 00 00   '`....$..........'     00 00 00 00 00 00 00 00   ff 02 00 00 00 00 00 00   '................'     00 00 00 00 00 00 00 16   3a 00 05 02 00 00 01 00   '........:.......'     8f 00 6e 8a 00 00 00 01   04 00 00 00 ff 02 00 00   '..n.............'     00 00 00 00 00 00 00 00   00 00 00 02               '............'  Thu Jan 20 09:47:11 2022 : Unsupported protocol 0x57 received  Thu Jan 20 09:47:11 2022 : sent [LCP ProtRej id=0x2 00 57 60 00 00 00 00 24 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff 02 00 00 00 00 ...]  Thu Jan 20 09:47:12 2022 : rcvd [IPV6 data]     60 00 00 00 00 24 00 01   00 00 00 00 00 00 00 00   '`....$..........'     00 00 00 00 00 00 00 00   ff 02 00 00 00 00 00 00   '................'     00 00 00 00 00 00 00 16   3a 00 05 02 00 00 01 00   '........:.......'     8f 00 6e 8a 00 00 00 01   04 00 00 00 ff 02 00 00   '..n.............'     00 00 00 00 00 00 00 00   00 00 00 02               '............'  Thu Jan 20 09:47:12 2022 : Unsupported protocol 0x57 received  Thu Jan 20 09:47:12 2022 : sent [LCP ProtRej id=0x3 00 57 60 00 00 00 00 24 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff 02 00 00 00 00 ...]  Thu Jan 20 09:48:39 2022 : L2TP received StopCCN  Thu Jan 20 09:48:39 2022 : L2TP hangup  Thu Jan 20 09:48:39 2022 : ipcp: down  Thu Jan 20 09:48:39 2022 : Connection terminated.  Thu Jan 20 09:48:39 2022 : L2TP clearing port-mapping for en0  Thu Jan 20 09:48:39 2022 : Connect time 1.6 minutes.  Thu Jan 20 09:48:39 2022 : Sent 87703 bytes, received 50878 bytes.  Thu Jan 20 09:48:39 2022 : L2TP disconnecting...  Thu Jan 20 09:48:39 2022 : L2TP sent CDN  Thu Jan 20 09:48:39 2022 : L2TP sent StopCCN  Thu Jan 20 09:48:39 2022 : L2TP disconnected  

Does redacting images in Preview using opaque shapes remove the original data from the resulting image file?

Posted: 24 Jan 2022 12:59 AM PST

The Preview application has a Markup toolbar, which allows drawing over the top of an image. I was thinking about the possibility of using this feature to draw opaque shapes to redact sensitive portions of an image. My specific case is hiding names from a PNG screenshot.

This is on a version of macOS prior to Big Sur, so the "Redact Selection" option is not available in the app.

My intuition is that, as a raster-graphics image format, the resulting PNG wouldn't contain the redacted text even as non-visible image data. This differs from something like a PDF, where the data is still present in a layer behind the redaction, and therefore recoverable by examining the file data.

Can Preview be used in this manner to irrevocably remove sensitive information from a PNG image?

Host certain folder for public access via URL [closed]

Posted: 23 Jan 2022 10:12 PM PST

Hopefully I describe this in the way it can help me. With Docker, or any other service, is it possible for me to host a drive live on a website of mine, in which users anywhere, (not just my network), can access to watch/listen/play and download stuff from? I believe there was a proprietary application on Windows that had a similar approach to this goal, but I can't recall the name of it. Is this possible for MacOS devices? I think it's a unique idea, and I want to share some medias with friends in a different way. If not possible, are there any close alternatives? Thanks in advance!

Reset Chinese Input Method candidate word frequency records?

Posted: 23 Jan 2022 09:57 PM PST

This issue happens for all macOS 10.x. For Chinese input methods like Sucheng, it has a feature that can "Adjust word frequency" according to the frequency of usage of each word.

When I disabled the "Adjust word frequency", the word order remains the same, but no longer changes according to the frequency of usage.

How can I reset the word usage count to zero? I tried to remove and re-add the input method, the word frequency remains the same.

Is there any way to monitor Messages signed-in status?

Posted: 23 Jan 2022 09:38 PM PST

I'm not a Apple guy, but I use a Mac Mini for AirMessage - software that enables you communicate with iMessage peeps on other platforms. It works pretty darn well actually, except for when Messages periodically signs me out for whatever reason and I don't notice I've been logged out and I miss stuff. The problem is, as I alluded to, is that I don't actually use my Mac Mini. It's just on, no monitor, connected to WiFi, and passing messages around. Is there a way to monitor the Messages logged-in status? Maybe catch the log-out event and run a script? Can you tx/rx messages in a terminal? Anything really to help me notify myself that I've been logged out of messages. Thanks!

Messages: is this Apple Support or a scam

Posted: 23 Jan 2022 09:28 PM PST

So, I had an issue with my phone and I decided to text Apple Support. I was going to call, but it was pretty late and they were not picking up calls, so I decided to text. However, after sending messages to the number (800)-692-7753, I had no clue if this was legitimate or not. After I asked them if they were legitimate, they actually used my first name so I don't know. I heard of phishing stuff in the past, and I could not tell if this was it. Messages claims it's verified, but I don't know if I can be sure. If someone could please verify this, it would be much appreciated.

On iMessage if I click on the profile, it says:

Apple
Electronics Store
Verified

Edit: Screenshot enter image description here

Why does MacBook Pro 12.1 Monterey drop characters during password input?

Posted: 24 Jan 2022 12:07 AM PST

After wakeup from sleep, one user on a multiuser system is selected. When a password is prompted, MacBook loses several characters of a 6 character password.

Upon attempting to carefully type the password, I discovered that at times after the first two characters are input the password prompt resets in the middle of typing and the first two characters are erased and the third and further characters are accepted as the full password, which of course fails.

Loss of numerical keypad to enter alarm times

Posted: 23 Jan 2022 08:18 PM PST

For a while within the past year, I was delighted to find that my iPhone allowed me to enter an alarm time using a numerical keypad instead of the simulated dials. Now, it has reverted to the dials. I wonder whether it is because I recently upgraded from iOS 14.4 to 15.2.1.

Was this in fact determined by the iOS version?

I'm a fan of installing as few apps as possible, and relying on native functionality. Is there any way to get the numerical keypad back without installing an app?

iPhone iMessage using microphone at random times

Posted: 24 Jan 2022 12:07 AM PST

So I was on iMessage when I noticed the orange dot all of a sudden go off, even though I was just typing. This was really strange, so I checked the App Privacy, and it appears every day in the past 7 days the microphone was used.

For example:

  • Today 10:16 PM
  • Today 9:54-9:56 PM
  • Yesterday 6:47-6:48 PM
  • Yesterday 7:30 PM

I don't know why some times are just for two minutes and some times don't even specify the duration. This is really scary and I was wondering if anyone had any insight into this.

How do you enter Recovery Mode on Mac OS X 10.5.8?

Posted: 24 Jan 2022 12:07 AM PST

How can I get my iMac, Mac OS X (10.5.8), to enter Recovery Mode? I've tried:

Cmd+R

Opt+Cmd+R

I've tried while restarting and I've tried after shutting down and then Cmd+R after powering up. System returns to the home screen.

switch between webcams on macOS

Posted: 23 Jan 2022 07:10 PM PST

I know that with (eg) the Logi Connect app I can switch between Logitech web cameras and feed that via the virtual camera driver to apps like Teams.

If I want to do the same using just one external webcam (in this case a Logi C922) and the built-in MacBook Pro camera is there anything either within macOS or a 3rd party utility (hopefully more lightweight than OBS or similar) that I can use?

The scenario is that I have the external camera mounted on my external monitor and that's fine when I'm looking at the external monitor on a call as the eyeline is natural, but I'd like to be able to switch to the MBP camera when I'm looking/working on the screen to maintain the eyeline on the call.

Adding equations in Keynote using keyboard only

Posted: 23 Jan 2022 06:16 PM PST

I'm making a Keynote presentation with a lot of equations. To add an equation, I can press option-CMD-E, and then I can type the LaTeX code for the equation. However, to finish editing the equation and insert it into the document, I have to move the mouse pointer to the "Insert" button and click it.

My question is whether there is a way to do this using only the keyboard, so that I can enter equations into the text without using the trackpad at all. Here's what I've tried:

  • press enter (this just puts a newline in the LaTeX code)

  • all possible combinations of enter plus one or modifier keys (shift, ctrl, option, CMD)

  • attempting to select the "Insert" button using the tab key (but it doesn't do anything)

Is there something else I could try?

The same issue affects Pages as well.

How can I change the order of accounts in the iOS Calendar app?

Posted: 23 Jan 2022 06:47 PM PST

I have an iCloud and Gmail account set up in the Calendar app on iOS. The Gmail account is shown at the top, but I would prefer to have it below the iCloud account.

Is there any way to change the order of accounts in the Calendar?

I can't find an option in the UI. If there is some workaround (like removing/adding the accounts in a certain order), I would be happy with that as well.

You may not install to this volume because the computer is missing a firmware partition

Posted: 24 Jan 2022 12:23 AM PST

I have a 13 inch MacBook Pro 2015 model. The Mac had Big Sur installed on the internal SSD. This internal SSD died and thanks to macOS Recovery over the internet (Option-Command-R), I managed to install El Captain on an external SSD drive.

I am trying to upgrade to Big Sur, but the option to choose my external SSD during installation is greyed out with the message

"You may not install to this volume because the computer is missing a firmware partition".

Is it possible to install any macOS higher than Catalina on an external SSD?

Below is the output from the command diskutil list.

enter image description here

MacBook Pro Retina turns off during Apple logo

Posted: 23 Jan 2022 06:03 PM PST

I have a mid-2014 15-inch MacBook Pro Retina. I was using it half an hour ago, and everything worked perfectly. I turned it off and left it for five minutes or less. I turned it back on to check something I forgot, and now it won't boot. the little progress bar underneath the Apple logo fills in much slower than normal, and the computer turns off when the progress bar is about 2/3 full.

Battery is fine. The computer was plugged in before I turned it off, so the battery is full, and it's plugged in now.

I have a Windows partition I can boot from with no problems since the Mac problem started.

Trying to start in safe mode results in either a black screen indefinitely or the computer turning off when the progress bar is maybe 1/10 full.

Trying to start in diagnostics mode results in a black screen indefinitely.

Tried resetting the system management controller. Nothing changed.

Tried resetting the PRAM. What happened is the Mac kept restarting every five seconds or so while I kept cmd+alt+P+R held down and then returned to the above problem when I let go.

If it helps, the internal SSD is a 960-GB Aura drive with two partitions: 760 GB with Catalina and 200 GB with Windows 10. It is not the internal drive that came originally with the Mac, but the replacement was made several years ago and I'd never had a problem with it before.

How can I debug an extremely slow login?

Posted: 23 Jan 2022 09:00 PM PST

Recently, I poured water onto the keyboard of my MacBook 2017 (4 thunderbolt), and I forced shutdown it. After letting it dry for two weeks, I opened it and everything seems to work. It also passes the Apple Hardware Test.

However, login (login window, switching user, authenticating for root permission, terminal login) is extremely slow, taking around 20 to 40 seconds. After restarting a couple of times, the behavior does not change. After reinstalling macOS 10.13.6, High Sierra, (keeping application and data), the behavior persists. After starting up in Safe Mode and restarting, the time shortened a little bit.

To verify that this is not a hardware problem, I copied the system partition to another MacBook Pro (same generation) and I can see the same behavior, suggesting that this is a software issue.

Update: On the other MacBook Pro, I run chflags -R noschg,nosappnd,nouchg,nouappnd / and boot up the machine in Safe Mode (and rebooted). The issue was gone, but only for Safe Mode. Starting again in normal boot recreates the problem, and further Safe Mode cannot correct it.

Things I have tried on my other MacBook Pro that does not work:

  • Reinstall macOS High Sierra
  • Removing caches and user added filesystems/extensions/launchdaemons/launchagents
  • Upgrade to Mojave (login for login window is extremely fast, but terminal login is still slow. Plus it deletes all the files I have in root account (downloads, desktop, documents, etc.)
  • Partial copy done by Carbon Copy Cloner from my mac because it disconnected after a certain while in Target Disk Mode. System work and login is fast. But for some reason I forget I erased the system and did a full copy again.
  • Repaired home permissions using diskutil resetUserPermissions / 501 then 502, 503, etc.
  • Repaired disk permissions using https://www.firewolf.science/2016/07/repairpermissions-v3-now-supports-repairing-permissions-on-macos-mojave/

The output of dtruss login root is here.

The output of sample login as instructed here: here The main cause is semaphore_wait_trap, but I don't know how to debug it.

How can I troubleshoot this problem?

How do I change the image display duration in the Catalina screensavers?

Posted: 24 Jan 2022 02:04 AM PST

I am using macOS 10.15.2

I have tried: OS X Mavericks screensaver changes pictures too quickly: How do I slow it down? and it doesn't work. Then I tried: How do I control the image display duration in the Mojave screensavers? Here I can not find the mainDuration default of 3 (Points 6 and 7) and therefore not change it.

I would like to make the image duration screen saver different. Is this possible?

How to export/backup Notes in macOS in one go

Posted: 24 Jan 2022 02:03 AM PST

I have a lot of Notes on my machine which I don't want to loose. It's not logical to export them one by one. Is there any way to export them in one go, which would make me either use them on my new

I learned that I could backup ~/Library/Group Containers/group.com.apple.notes but I am not really sure if this would be helpful. This is what I get as for this directory.

$ du -sh ./*  4.0K    ./Library  256K    ./NoteStore.sqlite   32K    ./NoteStore.sqlite-shm  3.0M    ./NoteStore.sqlite-wal  

I am running macOS Mojave.

How to force quit the "Force Quit Applications" window

Posted: 24 Jan 2022 01:15 AM PST

The "Force Quit Applications" window opened spontaneously due to memory pressure.

Now I can't close the "Force Quit Applications" window itself . The "X" button doesn't close the window and it doesn't have an icon in the dock or a menu bar.

enter image description here

Is it possible to change ringing sound of Skype for iOS

Posted: 23 Jan 2022 09:46 PM PST

Does anybody know how to change the default ringing sound of Skype for iOS? Their standard sound is too soft and hard to hear. I've complained to their support several times and asked on their forum - not a single answer!
Am I the only one who wants a different ringing sound?

Slow login and Terminal loading time in Yosemite, possibly related to open directory

Posted: 23 Jan 2022 07:04 PM PST

I have a problem with slow login times in Yosemite. Logging in is speedy after booting, but after a while (a few days usually) it slows down and can take 20-30 seconds. The time to load a new Terminal window / tab also increases. If I reboot, the problem is fixed...for a while. I tried the answers in this question and nothing seemed to work. I ran the profiling suggested here and this part of the output looks suspicious:

+   ! 8118 ???  (in login)  load address 0x10583c000 + 0x2a8f  [0x10583ea8f]  +   !   8118 openpam_dispatch  (in libpam.2.dylib) + 277  [0x7fff86957a7d]  +   !     8117 ???  (in <unknown binary>)  [0x1058c4bf2]  +   !     : 8117 ???  (in <unknown binary>)  [0x1058c40e9]  +   !     :   8117 ODRecordAuthenticationAllowed  (in CFOpenDirectory) + 258  [0x7fff9161df85]  +   !     :     8117 transaction_simple  (in CFOpenDirectory) + 448  [0x7fff91615274]  +   !     :       8117 _dispatch_semaphore_wait_slow  (in libdispatch.dylib) + 213  [0x7fff955c07f6]  +   !     :         8117 semaphore_wait_trap  (in libsystem_kernel.dylib) + 10  [0x7fff882b751a]  

But further Googling hasn't turned up anything helpful for solving the problem. Any ideas on how I can further diagnose or fix this issue?

Can't resize external hard drive partition

Posted: 24 Jan 2022 12:30 AM PST

I remember very clearly back when I formatted the drive, that I chose everything that St. Steve prescribed me to, GPT table, HFS+ partitions, even though other platforms can't write to HFS+.

Now, surprise surprise, a year later when I have to partition the drive, Disk Utility says "This partition can't be modified", and diskutil(8) says "Volume format does not support resizing".

It's not encrypted, there shouldn't be anything in the way.

/dev/disk3     #:                       TYPE NAME                    SIZE       IDENTIFIER     0:      GUID_partition_scheme                        *3.0 TB     disk3     1:                        EFI EFI                     314.6 MB   disk3s1     2:                  Apple_HFS Nemo                    3.0 TB     disk3s2  

Unable to Resize Partitions talks in depth about resizing corestorage, which is irrelevant here.

No comments:

Post a Comment