Using Fujitsu scansnap ix500 in ubuntu 16.04

One way to use Fujitsu scansnap ix500 scanner in ubuntu 16.04 is thru virtualbox using windows 7.

Virtualbox needs to detect the usb.
Unable to view/connect usb devices to a virtualbox guest from ubuntu host
Add your user to the vboxuser group.
$ sudo usermod -a -G vboxusers $USER

Plug scanner usb into a usb 2 and NOT usb 3 port or you will get an error “failed to create a proxy device for the USB device. (Error: VERR_PDM_NO_USB_PORTS)” because virtualbox may not support usb 3.

Enable usb 2 controller

Inside virtualbox
downloaded the installer
http://www.fujitsu.com/global/support/products/computing/peripheral/scanners/scansnap/software/ix500w-installer.html

Run installer

Enable ix500 usb

and finish the installer

SNMP Getting Started

# install
sudo apt-get install snmp snmpd snmp-mibs-downloader

# configuration
# server
$ sudo nano /etc/snmp/snmpd.conf

rocommunity VegetaRocks
syslocation Vegeta planet 
sysContact Vegeta <vegeta@dbz.com>;

# restart snmpd
$ sudo /etc/init.d/snmpd restart

# Test. On client
$ snmpwalk -v1 -c VegetaRocks 192.168.0.13
$ snmpget -v1 -c VegetaRocks 192.168.0.13 1.3.6.1.4.1.2021.4.5.0

# example of traffic in wireshark
snmp traffic wireshar

# list of SNMP OID
http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html

# sources

Virtual box Increase disk size

http://trivialproof.blogspot.com.br/2011/01/resizing-virtualbox-virtual-hard-disk.html#expand_partition_on_new_vdi
https://www.howtogeek.com/124622/how-to-enlarge-a-virtual-machines-disk-in-virtualbox-or-vmware/

command example
$ VBoxManage modifyhd /home/user/VirtualBox\ VMs/windows7/windows7.vdi --resize 50000

I had an issue where new memory was not showing up in GParted GUI to be allocated. I cloned the virtual drive and use that one instead and it worked

Samba Installation

Installing samba
$ sudo apt-get update
$ sudo apt-get install samba samba-common-bin
$ sudo nano /etc/samba/smb.conf

Configuration example

[global]
	netbios name = PI
	server string = The Pi File Center
	workgroup = WORKGROUP
	hosts allow =
	socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
	remote announce =
	remote browse sync =

[homepi]
	path = /home/pi
	comment = No comment
	browsable = yes
	read only = no
	valid users =
	writable = yes
	guest ok = yes
	public = yes
	create mask = 0777
	directory mask = 0777
	force user = root
	force create mode = 0777
	force directory mode = 0777
	hosts allow =

# password protected
[fsq]
	comment = fsq
	path = /var/fsq
	browseable = Yes
	writeable = Yes
	only guest = no
	create mask = 0777
	directory mask = 0777
	public = no

Creating Samba User:
$ sudo smbpasswd -a pi
type password, press enter

Restart Samba Service:
$ sudo service smbd restart

Resources:

Ubuntu Server wifi Dell Latitude D630

  • run “ifconfig -a” to show all available networks

    • wlan0 did not show !!
  • to show wlan0 on dell latitude d630

    • http://ubuntuforums.org/showthread.php?t=2188955
    • run
      • $ lspci -nnk | grep -iA2 net
      • $ sudo iwlist wlan0 scan # scan available networks
      • $ sudo apt-get install linux-firmware-nonfree
      • $ sudo poweroff
      • $ sudo modprobe -rv ssb_hcd b43 ssb
      • $ sudo modprobe -v b43
    • received this error that showed on the actual laptop screen, not the putty terminal
      • ERROR: Firmware file “b43/ucode5.fw” not found
      • http://ubuntuforums.org/showthread.php?t=1966631#post_11878658
        • solution
          • http://ubuntuforums.org/showthread.php?t=1966631#post_11910851
          • ran
            • $ sudo nano /etc/modprobe.d/blacklist.conf
              • edited file
            • $ sudo apt-get purge broadcom-sta-common broadcom-sta-source bcmwl-kernel-source
            • $ sudo apt-get purge b43-fwcutter firmware-b43-installer
            • $ sudo poweroff
            • $ sudo apt-get install b43-fwcutter firmware-b43-installer
            • $ sudo nano /etc/modprobe.d/blacklist.conf
              • edited file
            • $ sudo poweroff
            • $ sudo nano /etc/modules
              • edited file
            • $ sudo poweroff
  • edit the “/etc/network/interfaces” file

    • http://askubuntu.com/questions/464507/ubuntu-14-04-server-wifi-wpa2-personal#answer-650369
    • added auto wlan0
      iface wlan0 inet dhcp
      wpa-ssid xxxxxx
      wpa-psk xxxxxx
  • related post

    • http://baligena.com/fixing-the-internet-in-ubuntu-using-driver-bcm4312-802-11bg-lp-phy/
  • tags
    • wireless

Zend 2 notes

# creating a new module folders
$ mkdir -p Album/{config,src/Album/{Controller,Form,Model},view/album/album}
# using zf.php, http://framework.zend.com/manual/current/en/modules/zendtool.introduction.html
$ vendor/bin/zf.php create module

tags:
zf2