相続、親が弱ってきたら銀行の預金は親の面倒を見ているものが全て解約して管理すべきである、銀行は解約させない!!

raspberry pi cups

Raspberry Pi

apt-get install cups

cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.original

/etc/cups/cupsd.conf

Listen 192.168.1.9:631   追記

# Restrict access to the server…
<Location />
Order allow,deny
Allow localhost
Allow 192.168.1.0/24
</Location>

# Restrict access to the admin pages…
<Location /admin>
Order allow,deny
Allow localhost
Allow 192.168.1.0/24
</Location>

# Restrict access to configuration files…
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
Allow localhost
Allow 192.168.1.0/24
</Location>

 

cups をinstall すると他のサーバーに登録されているプリンタが自動で新規サーバーに登録される

apt-get install apparmor apparmor-profiles apparmor-utils

MFC-J825N をcupsに登録

ブラザーからmfcj825nlpr-3.0.1-1.i386.deb と mfcj825ncupswrapper-3.0.0-1.i386.deb をダウンロード

mkdir /var/spool/lpd

lppasswdコマンドでCUPS用のパスワードを設定してください。
lppasswd -g sys -a root

aa-complain cupsd

dpkg -i –force-all mfcj825nlpr-3.0.1-1.i386.deb

dpkg -i –force-all mfcj825ncupswrapper-3.0.0-1.i386.deb

http://192.168.1.9:631/admin に接続 プリンターが登録されているか確認

Raspberry Pi
スポンサーリンク
シェアする
ふじやんをフォローする
スポンサーリンク
なんでもDIY

コメント