29 April 2011

Setting up a Samsung SCX-4623F under Ubuntu

I got a new Samsung SCX-4623F Multi-Function Monochrome Laser Printer from Office Max for $50 + tax after a trade-in of an extremely old ink jet printer.

My goal was to set it up as a shared printer/scanner for several Windows XP/7 computers. Below is how I was able to accomplish this.

Server Edits:

  1. Downloaded the Unified Linux Driver from Samsung's website: Samsung

  2. Ran that install process to install the drivers

  3. Did not use the install to add the printer

  4. Used Ubuntu's add printer wizard

  5. Ensured that the printer was shared

  6. Added the following lines into /etc/sane.d/xerox_mfp.conf:
    #Samsung SCX-4623F
    usb 0x04e8 0x3434

  7. ran xsane to ensure scanner was working

  8. Editted /etc/sane.d/saned.conf to add the subnet to share the scanner on. In my case it was: 192.168.1.0/24

  9. Added the sane user to the following group:
    sudo adduser saned scanner

  10. created /etc/xinetd.d/saned with the following:
    service saned
    {
    socket_type = stream
    server = /usr/sbin/saned
    protocol = tcp
    user = saned
    group = scanner
    wait = no
    disable = no
    }

  11. started the sane service:
    sudo service saned restart



On the Windows PC's:

  1. Installed the windows print driver from: Samsung

  2. Added the printer from the network

  3. Installed xsane on the C drive

  4. Editted net.conf to point to the ip address of my server


That's It! Enjoy printing and scanning from anywhere on your network!

18 February 2011

Server Build

Here are the components to my server build from 2009-12:

  1. Dual Xeon Server - $209.99 from geeks.com


    • 1x Intel Server Board SE7501BR2

    • 2x 2.4GHz Xeon Processors

    • 2x 512MB ECC DDR

    • 3x 36GB SCSI Hard Drives in Raid

    • 1x 40GB IDE Hard Drive - Removed

    • 1x DVD Drive

    • 1x CD-RW Drive

    • 1x Floppy Drive


  2. 2x Micron 1GB DDR PC2100 ECC memory chips - $46 for both from geeks.com

  3. 1x HP Adaptec 2610SA PCI-X Raid Card - $79 from ebay.com

  4. 2x WD Green 1TB 16MB SATA 3Gbps - $209.98 for both from newegg.com

  5. 2x SATA Cables - $5.98 for both from newegg.com

  6. 1x Powercolor 2400 Pro PCI video car - $36.99 from newegg.com

  7. Shipping: $44 + $11.45 + $5.99


Total: 649.38

Firefox 4 beta tips

Firefox 4 beta tips:

  • To have firefox remember which tabs were open when you close firefox:


    • Firefox button -> options

    • General Tab

    • In the startup box change when firefox starts to "Show my windows and tabs from last time"


  • If your tabs are not showing on top correctly with the firefox single button menu


    • View -> Toolbars

    • Make sure Tabs on Top is checked

    • View -> Toolbars -> Customize

    • Click Restore Default Set


  • Hotmail Appears to have trouble in FF4beta. I just use Chrome for that

02 January 2011

Linux UPnP DLNA client

In my search to connect my Droid X to my server wireless, I came across the idea of using DLNA to copy my pictures over to it.

To set it up:

mkdir /mnt/dlna
sudo modprobe -l -t /mnt/dlna fuse
sudo djmount /mnt/dlna -o allow_other


To run in a diagnose mode try:

sudo djmount /mnt/dlna -f -o allow_other




However, I have found 2 problems with it
1. does not maintain the file date/time
2. only seems to pull the first 90 files

26 December 2010

IPMI

Servers come with a great tool called ipmitool.

To use it run:

sudo ipmitool sdr

It will output the results of the Sensor Data.



If it does not work, you may have to load the drivers:

sudo modprobe ipmi_msghandler
sudo modprobe ipmi_devintf
sudo modprobe ipmi_si



More to come as I find more uses.

19 December 2010

SAMBA and XP

I was trying to setup public shares (including a printer) and user secured shares on SAMBA, but kept running into problems where XP would not authenticate to the shares.


The first problem was an oversight on my part. I had 2 security settings in my [global] space.


[global]
security = user
.
.
.
security = share



The second problem was actually with XP. It was storing the guest password. I actually had to remove the stored shares using the command line.


net use \\192.168.1.10\jeff /delete




Here is my final smb.conf file:

[global]
security = user
username map = /etc/samba/smbusers
smb passwd file = /etc/samba/smbpasswd
guest ok = yes
guest account = nobody
workgroup = LINUX
server string = Samba Server %v
log file = /var/log/samba/log.%m
max log size = 50
interfaces = lo eth0
bind interfaces only = yes
hosts allow = 127.0.0.1 192.168.1.0/24
hosts deny = 0.0.0.0/0
browseable = yes
map to guest = Bad User
domain logons = no

# follow symlinks
follow symlinks = yes
wide links = yes
unix extensions = no

#printers
printcap name = cups
printing = cups


[printers]
browseable = yes
printable = yes
public = yes
create mode = 0700
guest only = yes
use client driver = yes
path = /tmp

[homes]
comment = Home Directories
browseable = no
read only = no
create mode = 0750
guest ok = no

[nas]
comment = move to here
path = /home/nas
read only = no
public = yes
guest ok = yes

[docs]
comment = documents
path = /home/docs
read only = no
guest ok = no





Don't forget to add passwords for users and enable them:

smbpasswd -a jeff
smbpasswd -e jeff


They also need to exist in your /etc/samba/smbusers file:

jeff = "jeff"

21 October 2010

My Favorite Android Productivity Apps

Here are a list of my favorite Android Apps:

  1. Advanced Task Killer by ReChild


    1. Allows you to kill running apps


  2. GMail by Google Inc.


    1. quick access to Gmail


  3. GTasks by Dato


    1. A widget and app that integrates with google tasks


  4. SMS Backup+ by Jan Berkel


    1. An app that backups all SMS and MMS to gmail with a SMS label


  5. Calendar Widget by Motorola


    1. A widget and app that integrates with Google Calander