Search This Blog

Tuesday, April 13, 2010

Static IP and CUPS issue

I followed the guides here to set my HTPC to a static IP as there seems to be an issue with Samba vs DHCP in Karmic.  Did not solve my intermittent hanging issue though, grrr.


No point going back with it though, it's nice that it always has the same IP and a proper hostname now.


Update 20/02/10 - Ok so I figure it has to be a samba problem - and thus I am on a quest to get ALL errors out of my /var/log/samba


I have edited my /etc/samba/samba.conf:


Comment out the printing bits - gets rid of CUPS error


# lpr(ng)  printing. You may wish to override the location of the
# printcap file
;   printing = bsd
;   printcap name = /etc/printcap
# CUPS printing.  See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
#;   printing = cups
#;   printcap name = cups
;[printers]
;   comment = All Printers
;   browseable = no
;   path = /var/spool/samba
;   printable = yes
;   guest ok = no
;   read only = yes
;   create mask = 0700
# Windows clients look for this share name as a source of downloadable
# printer drivers
;[print$]
;   comment = Printer Drivers
;   path = /var/lib/samba/printers
;   browseable = yes
;   read only = yes
;   guest ok = no

....and then at the bottom, I added this:


load printers = no
printing = bsd
printcap name = /dev/null
disable spools = yes

....which was everything I could find about disabling CUPS.
Finally, I told the XBMC machine not to behave as a domain master as I see the odd election message in my Win7 event logs:


# Domain Master specifies Samba to be the  Domain Master Browser. If this
# machine will be configured as a BDC (a secondary logon server), you
# must set this to 'no'; otherwise, the default behavior is recommended.
domain master = no

UPDATE - Still crashes, of well....

No comments:

Post a Comment