Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed 03-sane.md examples with sudo ... >> #711

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/03-sane.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ Make your changes to the file and restart the saned socket.

```sh
## Local network
sudo echo "192.168.0.0/24" >> /etc/sane.d/saned.conf
sudo su -c 'echo "192.168.0.0/24" >> /etc/sane.d/saned.conf'
## Default docker network
sudo echo "172.17.0.0/16" >> /etc/sane.d/saned.conf
sudo su -c 'echo "172.17.0.0/16" >> /etc/sane.d/saned.conf'

sudo systemctl enable saned.socket
sudo systemctl start saned.socket
Expand All @@ -77,7 +77,7 @@ sudo systemctl start saned.socket
Add the server host (let's assume it is `192.168.0.10`) to the client.

```sh
sudo echo "192.168.0.10" >> /etc/sane.d/net.conf
sudo su -c 'echo "192.168.0.10" >> /etc/sane.d/net.conf'
```

Now if you run `scanimage -L` on the client you should see the scanner on the
Expand Down