Wii

List:

wwt LIST

Adding:

wwt -a ADD /somewhere/something.iso

FreeBSD auth to LDAP

How to have a FreeBSD Server auth to an OpenLDAP server. This was originally documented here but is long gone. The LDAP Server being used is administered with PhpLDAPAdmin.

  • Install pam_ldap, which will get openldap-client as a dependency. This should be fairly quick, on a 850mhz machine it was done in under 10 minutes:
cd /usr/ports/security/pam_ldap/
make install


  • Install nss_ldap, which should take about a minute:
cd /usr/ports/net/nss_ldap/
make install


  • Create /usr/local/etc/ldap.conf:
# LDAP client config
host			ldap.something.net
uri			ldap://ldap.something.net/
base			dc=something,dc=net
port			389
binddn			uid=ldapclient$,ou=machines,ou=staff,dc=something,dc=net
bindpw			<somepassword>
#timeout stuff
timelimit		10
bind_timelimit		5
bind_policy		soft
#nss/pam stuff
nss_base_passwd		ou=staff,dc=something,dc=net
nss_base_group		cn=tech,ou=groups,ou=staff,dc=something,dc=net
pam_password		SSHA


  • Symlink this new conf to nss_ldap.conf:
ln -s /usr/local/etc/ldap.conf /usr/local/etc/nss_ldap.conf


  • Edit /etc/nsswitch.conf (comment two lines, add two lines):
#group: compat
group: files ldap
group_compat: nis
hosts: files dns
networks: files
#passwd: compat
passwd: files ldap
passwd_compat: nis
shells: files


  • Add a line to these files. Be sure to place it above all other uncommented lines!
    • /etc/pam.d/sshd (ssh login)
    • /etc/pam.d/system (local console login)
auth		sufficient	/usr/local/lib/pam_ldap.so	no_warn try_first_pass

Enable MultiTouch for Synaptics Touchpad on Debian

Data for this was found primarily in the first link below. It took a while to get it working until I found the 2nd link.

Your xorg.conf must use the synaptics driver with some options for InputDevice and must contain a ServerLayout section:

Section "ServerLayout"
	Identifier	"Default Server Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"	"CoreKeyboard"
	InputDevice	"Synaptics Touchpad"	"CorePointer"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
	Option		"SHMConfig"		"on"
	Option		"HorizEdgeScroll"	"on"
	Option		"VertEdgeScroll"	"on"
	Option		"VertTwoFingerScroll"	"on
	Option		"HorizTwoFingerScroll"	"on"
	Option		"CornerCoasting"	"on"
	Option		"PalmDetect"		"on"
	Option		"CircularScrolling"	"on"
	Option		"CircScrollTrigger"	"3"
EndSection

Restart X and run test it out by dragging two fingers on your touchpad. You can debug it with:

synclient -m 100

Sample output below. the f column is the number of fingers it senses. The bold parts show a successful vertical scroll.

   time     x    y   z f  w  l r u d m     multi  gl gm gr gdx gdy
  0.414     1 5855   2 2  5  0 0 0 0 0  00000000   0  0  0   0   0
  0.514     1 5855   0 0  0  0 0 0 0 0  00000000   0  0  0   0   0
  0.714     1 5855   1 2  5  0 0 0 0 0  00000000   0  0  0   0   0
  0.814     1 5855   0 0  0  0 0 0 0 0  00000000   0  0  0   0   0
  2.115  4032 3273  23 1  8  0 0 0 0 0  00000000   0  0  0   0   0

Palm Pre Tips & Tricks

The Palm Pre came out on June 6th, I was fortunate to get one on the release date. Here are some tips and tricks related to its WebOS.

Tips/Tricks

  • Palm's gesture documentation
  • Enable advanced gestures. Once enabled from "Screen & Lock", a swipe left or right along full gesture area (below screen) goes to next/previous app, like alt-tab. The "Back" gesture then becomes a swipe only from the middle of the screen + swipe left.
  • Delete Icon/Uninstall app: Hold down Orange key and tap icon. Cannot delete everything.
  • Take a screenshot: Hold down Orange key and press P
  • Debugging info: Orange Key + Sym + i
  • Delete an email without opening it: press the message with your finger and just slide it off of the screen.
  • Change icons in the launcher bar: hold down an existing icon + drag up to remove. To add, hold down an icon and drag it down to the launcher.
  • Ignore an incoming call when the phone is locked: tap the power button.
  • PDF Guide/cheat sheet from here.

Issues/Bugs/Wishlist

  • There is no way (yet) to sync only some contacts from Gmail/Facebook. Hopefully they will support groups in the future and let you sync only certain ones.
  • When connecting to a WPA2 WiFi Access Point, it always seems to think it's "Enterprise" mode and requires a username which isn't valid in all cases.
  • No option to disable images in e-mail.
  • Instant Messenger program is AIM/Google talk only. Cannot manually add a jabber account to a non Google server.
  • Google Maps application doesn't support Latitude

Wallpapers

Linux (Debian Lenny) on Dell Vostro 1500

Notes on install of Debian Lenny 5.01 in April 2009. Xorg with Xfce4. Previously was running FreeBSD, but moved away due to some ACPI sleep issues with Nvidia drivers.

FreeBSD 7 on Dell Vostro 1500

Dell had another wacky special that they were selling a 1500 for $499. Its base features were:

  • Intel Core 2 Duo T5270 CPU
  • NVIDIA 8400M GS Video
  • CD/DVD Burner
  • 2GB Ram
  • 80GB HDD

Seemed like a good deal so I decided to replace my previous laptop and get one, while upgrading the screen to WSXGA+(1680x1050) and upping the HDD to 120GB.

Install VMWare Tools on FreeBSD

VMWare versions prior to 3.5.0 has an out of date set of client tools for FreeBSD. The tools that come with version 3.5.0 install and build fine. The install script is completely incorrect and tries to copy modules in the wrong locations. This doc was created to show how to get it installed correctly. While you can run a VM without the client tools installed, you shouldn't. They let the VM talk with the host to let it reclaim memory, extra CPU cycles, etc. You're supposed to be able to use the VMWare Windows client to just initiate a tools install, but it failed every time I tried it. Instead, on the VMWare host machine, the FreeBSD iso is located at:

/vmimages/tools-isoimages/freebsd.iso


Copy that to the client VM (/root/freebsd.iso in this case) then mount the iso:

mdconfig -a -t vnode -f /root/freebsd.iso -u 0
mkdir /mnt/iso
mount -t cd9660 /dev/md0 /mnt/iso


Xbox 360 Streaming Media from FreeBSD

As of December 2007, Microsoft added Xvid codec support to the Xbox 360, making it a fairly capable media streaming device. The 360 already supported Universal Plug and Play (UPnP) for streaming, but it wasn't until this update that I wanted to get it working on FreeBSD. There are many UPnP servers, but only a few that like FreeBSD:

So, this narrowed it down to uShare and FUPPES. I would recommend trying both, but starting with uShare since it's MUCH easier to get running initially. FUPPES has more features, so you may wish to try that out as well.


How to find a falcon Xbox 360 (65nm cpu)

All information on this page is found in this forum thread which has nearly 3000 posts. I did not discover any of this information, I am merely trying to keep it in one location to save you a few hours of reading.


As has been expected for a while, the Falcon (65nm CPU) Xbox 360's started to trickle into stores. At first they were only in some of the Halo Edition consoles, but they've since trickled into many of the new consoles that have HDMI ports. It has become very easy to know for sure if you have one. Simply look on the box and look for a label of 175W indicating a 175 watt power supply, as in this picture:



  • If GO PLAY, GO PRO, or GO BIG are printed on the box, not a sticker, it should be a Falcon.
  • Some falcons can be had in a box marked 203w. However, it is not possible to determine with 100% accuracy which model it is without opening the box and using the method in this thread to look through its vents at the heat sink to see certain characteristics.


Other information:

Syndicate content