mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 18:00:06 +01:00
mention writable home folders, typos
This commit is contained in:
parent
a9ca7c2444
commit
4ac25229a5
@ -25,7 +25,7 @@ To make this work, macOS requires each service to be running and advertised to t
|
||||
|
||||
This guide assumes your Raspberry Pi is already setup and connected to your local network. All command line instructions can either be executed directly on the Raspberry Pi, or remotely via SSH which you can achieve by simply following the [official SSH guide](https://www.raspberrypi.org/documentation/remote-access/ssh/README.md).
|
||||
|
||||
I'm using a Rasperry Pi 4, Model B, running [Raspbian Buster with desktop](https://www.raspberrypi.org/downloads/raspbian/), and macOS Catalina. The Raspberry model shouldn't matter for the scope of this guide, and the instructions should also work some macOS versions down.
|
||||
I'm using a Raspberry Pi 4, Model B, running [Raspbian Buster with desktop](https://www.raspberrypi.org/downloads/raspbian/), and macOS Catalina. The Raspberry model shouldn't matter for the scope of this guide, and the instructions should also work some macOS versions down.
|
||||
|
||||
Furthermore, this guide should also work on any Linux distribution like Ubuntu or Debian itself. The principals to make a Raspberry Pi show up in macOS are applicable to any Linux distribution capable of running a VNC server, Samba, and Avahi.
|
||||
|
||||
@ -91,7 +91,17 @@ To do so:
|
||||
sudo smbpasswd -a pi
|
||||
```
|
||||
|
||||
Where `pi` refers to the user account on the Raspberry Pi you want to connect to. After setting a new password, restart the Samba service:
|
||||
Where `pi` refers to the user account on the Raspberry Pi you want to connect to.
|
||||
|
||||
By default, Samba exposes home folders as read-only. To change that, modify Samba's main config file `smb.conf`:
|
||||
|
||||
```bash
|
||||
sudo nano /etc/samba/smb.conf
|
||||
```
|
||||
|
||||
In there, scroll down to the `[homes]` section and set `read only = no` to make shared home folders writable.
|
||||
|
||||
After setting a new password and modifying `smb.conf`, restart the Samba service:
|
||||
|
||||
```bash
|
||||
sudo service smbd restart
|
||||
@ -232,7 +242,7 @@ Make sure to use the port you use for SSH access on your server if you are not u
|
||||
sudo service avahi-daemon restart
|
||||
```
|
||||
|
||||
But to be absolutely sure, you should reboot your Rasperry Pi with:
|
||||
But to be absolutely sure, you should reboot your Raspberry Pi with:
|
||||
|
||||
```bash
|
||||
sudo reboot
|
||||
@ -254,4 +264,4 @@ As for screen sharing, you can use any VNC app on iPhone or iPad and it should w
|
||||
|
||||
![Raspberry Pi in Screens.app on iPadOS](raspberry-ipados-screens.jpg)
|
||||
|
||||
There is also a way to make the Rasperry Pi available via [AirDrop](https://support.apple.com/en-us/HT204144). The [Open Wireless Link (OWL) project](https://owlink.org) set out to reverse engineer the protocol used for AirDrop, Apple Wireless Direct Link (AWDL). The setup is rather hacky and unstable but they provide a [tutorial for the Rasperry Pi 3](https://owlink.org/2019/05/16/howto-use-airdrop-on-raspberry-pi-3.html) if you want to try.
|
||||
There is also a way to make the Raspberry Pi available via [AirDrop](https://support.apple.com/en-us/HT204144). The [Open Wireless Link (OWL) project](https://owlink.org) set out to reverse engineer the protocol used for AirDrop, Apple Wireless Direct Link (AWDL). The setup is rather hacky and unstable but they provide a [tutorial for the Raspberry Pi 3](https://owlink.org/2019/05/16/howto-use-airdrop-on-raspberry-pi-3.html) if you want to try.
|
||||
|
1283
package-lock.json
generated
1283
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
24
package.json
24
package.json
@ -41,18 +41,18 @@
|
||||
"fast-exif": "^1.0.1",
|
||||
"feather-icons": "^4.26.0",
|
||||
"fraction.js": "^4.0.12",
|
||||
"gatsby": "^2.19.32",
|
||||
"gatsby": "^2.19.39",
|
||||
"gatsby-image": "^2.2.43",
|
||||
"gatsby-plugin-catch-links": "^2.1.27",
|
||||
"gatsby-plugin-feed": "^2.3.28",
|
||||
"gatsby-plugin-lunr": "^1.5.2",
|
||||
"gatsby-plugin-manifest": "^2.2.44",
|
||||
"gatsby-plugin-manifest": "^2.2.47",
|
||||
"gatsby-plugin-matomo": "^0.8.1",
|
||||
"gatsby-plugin-meta-redirect": "^1.1.1",
|
||||
"gatsby-plugin-offline": "^3.0.37",
|
||||
"gatsby-plugin-offline": "^3.0.40",
|
||||
"gatsby-plugin-react-helmet": "^3.1.23",
|
||||
"gatsby-plugin-sass": "^2.1.30",
|
||||
"gatsby-plugin-sharp": "^2.4.7",
|
||||
"gatsby-plugin-sharp": "^2.4.11",
|
||||
"gatsby-plugin-sitemap": "^2.2.28",
|
||||
"gatsby-plugin-svgr": "^2.0.2",
|
||||
"gatsby-plugin-typescript": "^2.2.2",
|
||||
@ -61,15 +61,15 @@
|
||||
"gatsby-redirect-from": "^0.2.1",
|
||||
"gatsby-remark-autolink-headers": "^2.1.25",
|
||||
"gatsby-remark-breaks": "^1.0.0",
|
||||
"gatsby-remark-copy-linked-files": "^2.1.38",
|
||||
"gatsby-remark-images": "^3.1.46",
|
||||
"gatsby-remark-copy-linked-files": "^2.1.39",
|
||||
"gatsby-remark-images": "^3.1.49",
|
||||
"gatsby-remark-images-medium-zoom": "^1.4.0",
|
||||
"gatsby-remark-smartypants": "^2.1.22",
|
||||
"gatsby-remark-vscode": "^2.0.3",
|
||||
"gatsby-source-filesystem": "^2.1.50",
|
||||
"gatsby-source-filesystem": "^2.1.53",
|
||||
"gatsby-source-graphql": "^2.1.34",
|
||||
"gatsby-transformer-remark": "^2.6.55",
|
||||
"gatsby-transformer-sharp": "^2.3.17",
|
||||
"gatsby-transformer-remark": "^2.6.58",
|
||||
"gatsby-transformer-sharp": "^2.3.18",
|
||||
"graphql": "^14.6.0",
|
||||
"intersection-observer": "^0.7.0",
|
||||
"node-fetch": "^2.6.0",
|
||||
@ -107,8 +107,8 @@
|
||||
"@types/react-helmet": "^5.0.15",
|
||||
"@types/react-transition-group": "^4.2.4",
|
||||
"@types/shortid": "0.0.29",
|
||||
"@typescript-eslint/eslint-plugin": "^2.22.0",
|
||||
"@typescript-eslint/parser": "^2.22.0",
|
||||
"@typescript-eslint/eslint-plugin": "^2.23.0",
|
||||
"@typescript-eslint/parser": "^2.23.0",
|
||||
"@welldone-software/why-did-you-render": "^4.0.5",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"babel-jest": "^25.1.0",
|
||||
@ -132,7 +132,7 @@
|
||||
"prettier": "^1.19.1",
|
||||
"prettier-stylelint": "^0.4.2",
|
||||
"shortid": "^2.2.15",
|
||||
"stylelint": "^13.2.0",
|
||||
"stylelint": "^13.2.1",
|
||||
"stylelint-config-css-modules": "^2.2.0",
|
||||
"stylelint-config-prettier": "^8.0.1",
|
||||
"stylelint-config-standard": "^20.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user