請教一個印表機分享的網域問題 - Linux

By Ophelia
at 2012-02-02T09:54
at 2012-02-02T09:54
Table of Contents
各位好
昨天的samba問題已經順利的解決了
謝謝各位先進的指導
但是現在又遇上了一個問題
目前這台主機要當成檔案與印表機共享的機器
目前實驗室的ip分別為
140.120.11.73 (本機)
140.120.11.75 (無線AP)
140.120.11.63 (電腦1)
140.120.11.72/74/111 (教授)
192.168.0.2 (本機eth1之IP)
192.168.0.1 (子機之IP)
192.168.0.1/2 兩個IP主要是想做為cluster練習機
做為cluster架設的練習用
所以網路是屬於內網,不對外連線
但也希望可以達成分享的功能
目前想利用本機的samba分享功能分享給以上所有電腦
cups設定為
MaxLogSize 0
LogLevel warn
SystemGroup sys root
# Allow remote access
Port 631
Listen 0.0.0.0:631
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseRemoteProtocols CUPS
BrowseAddress @LOCAL
BrowseLocalProtocols CUPS dnssd
DefaultAuthType Basic
<Location />
# Allow shared printing and remote administration...
Order allow,deny
Allow From 140.120.11.1/254
Allow From 192.168.0.0/100
</Location>
<Location /admin>
# Allow remote administration...
Order allow,deny
Allow From 140.120.11.1/254
Allow From 192.168.0.0/100
</Location>
...................................以下省略
但是當我要啟動服務的時後
[root@roan0516 cups]# /etc/init.d/cups start
正在啟動 cups:cupsd: Child exited with status 1!
[失敗]
Message from syslogd@roan0516 at Feb 2 09:15:51 ...
cupsd: Unable to read configuration file '/etc/cups/cupsd.conf' - exiting!
上網查之後發現應該是/etc/cups/cupsd.conf設定檔語法有誤
但是又不知到錯在哪...
而且我的IP網段設定應該也有問題..
但是對IP這方面我不是太熟悉
想請各位前輩提供一點意見 謝謝~
--
Tags:
Linux
All Comments

By Brianna
at 2012-02-05T08:31
at 2012-02-05T08:31

By Quintina
at 2012-02-06T18:42
at 2012-02-06T18:42

By Adele
at 2012-02-11T05:17
at 2012-02-11T05:17

By Erin
at 2012-02-12T04:08
at 2012-02-12T04:08

By Ida
at 2012-02-12T10:16
at 2012-02-12T10:16

By Frederica
at 2012-02-14T11:06
at 2012-02-14T11:06

By Elvira
at 2012-02-19T08:45
at 2012-02-19T08:45

By Ida
at 2012-02-20T02:40
at 2012-02-20T02:40

By Heather
at 2012-02-21T12:05
at 2012-02-21T12:05

By Brianna
at 2012-02-24T05:30
at 2012-02-24T05:30
Related Posts
請教一個有關samba的笨問題

By Tristan Cohan
at 2012-02-01T11:14
at 2012-02-01T11:14
關於UEFI啟動的問題

By Kelly
at 2012-01-31T23:40
at 2012-01-31T23:40
pcmanx-gtk2 1.1 released

By Necoo
at 2012-01-31T23:32
at 2012-01-31T23:32
L4 microkernel by jserv

By Genevieve
at 2012-01-31T20:50
at 2012-01-31T20:50
電腦間連不上………?

By Olivia
at 2012-01-31T14:56
at 2012-01-31T14:56