<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d14658917\x26blogName\x3dWhat+Would+You+Say+It+Is+You+Do+Here?\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://jackmamapoker.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://jackmamapoker.blogspot.com/\x26vt\x3d-1285644035944464005', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script>

Friday, February 22, 2008

AT&T Wireless Broadband on Ubuntu Linux

The Option GT Max 3.6 Express is supported under Ubuntu 7.10. When you insert the card, it should appear as /dev/ttyUSB0, /dev/ttyUSB1, and /dev/ttyUSB2. It functions as a regular modem, so pick one of the devices and see if it works. If not, move on until one of them actually dials out.

The login information for the AT&T wireless connection is:

Phone number: *99***1#
Username: ISP@CINGULARGPRS.COM
Password: CINGULAR1

UPDATE: As of xubuntu 9.04, there's a fancy graphical interface that pops up to help you set up your card. It sets up the AT&T card with a username of WAP@CINGULARPRS.COM and an APN of WAP.CINGULAR. These needed to be changed to ISP@CINGULARGPRS and ISP.CINGULAR for my card to work. The number they use is *99#, which works fine.

Thursday, February 21, 2008

OpenBSD + Squid + pf Transparent www Proxy Firewall

There is a perfectly serviceable squid package in the OpenBSD ports collection. I have found that I sometimes require a newer version of squid, or that I'm running an older version of OpenBSD, and the newer squid ports are not available. Also, the port doesn't offer a straightforward method to compile squid with more than 1024 file descriptors, which you will need on a moderately busy proxy.

This is the process for setting up squid from the source tarball.


o Compile kernel with
option MAXFILES=8192

o Edit /etc/sysctl.conf
kern.maxfiles=8192

o Download squid, extract the file and run configure as root. Set ulimit -n 8192 before running
configure or it will use the default 1024.
# ulimit -n 8192
# ./configure --sysconfdir="/etc"
--prefix="/usr/local/squid"
--datadir="/usr/local/share/squid"
--enable-removal-policies="lru heap"
--enable-ssl
--enable-pf-transparent

o Add a rule to /etc/pf.conf to redirect all port 80 traffic to squid
rdr on $int_if inet proto tcp from any to any \
port www -> 127.0.0.1 port 2005

o Create the new user & group (use vipw to add the user, any editor to modify /etc/group)
vipw:
_squid:*:515:515:daemon:0:0:Squid Account:/nonexistent:/sbin/nologin
/etc/group:
_squid:*:515

o Allow the _squid group access to /dev/pf
chgrp _squid /dev/pf
chmod g+rw /dev/pf

o In squid 2.6 and above, a single line enables the transparent proxy
http_port 2005 transparent

o /var/squid partitions, in /etc/fstab
mount options:
noatime, nodev, nosuid, softdep

o rc.local
ulimit -n 8192
/usr/local/squid/sbin/squid

o rc.shutdown
/usr/local/squid/sbin/squid -k shutdown

Tuesday, February 12, 2008

D-E-D, Dead

How's that online gambling ban working out? A look around the poker blogosphere indicates that people are playing it up at Full Tilt and PokerStars, and it looks like plenty of people are playing online when I launch a client. People must have found a decent way to fund their accounts after all.

Yesterday, I got a hankering to play a little online poker and so I installed the latest PokerStars client. It runs using WINE in Linux, so that's a bonus (for people that care about such things. Probably no one reading this. Sorry). I clicked into the funding options and saw that Visa/Mastercard was listed. Yeah, right. My card (Chase Visa) was declined for online gaming *before* Frist's sneak attack. That reminds me--has anyone seen Bill Frist lately? It does my hard good to see that pandering douchebags sometimes get what's coming to them.

So, anyway, funding options. Cashier's check or money order sounds like a lot of work. If I wanted to work, I wouldn't be looking to gamble online. So, ePassporte seemed to be the best option. From an end-user perspective, it looked mostly like Neteller, so I figured I'd give it a shot. I went through the sign-up process, and then hit the point where I had to verify that I was the cardholder by calling my credit card company and verifying the amount of a small pre-authorization charge. Are they high? Did they not notice what I just said about work?

Fuck it, I don't want to gamble that badly. There's a poker room at the local Native American Gaming Entertainment Hall, and I could always go there for a game. It turned out that ePassporte was going to get another chance, though. The pre-authorizations from ePassporte for the tiny amount, and for the larger amount I intended to transfer, triggered the anti-fraud mechanisms at Chase, and I got a call to verify the charges.

"Yep, I recognize that charge," I told the helpful gentleman on the phone. "Is there another charge in there from them? A smaller one?"

He told me that there was, and the amount. Well, this was a lot less work again, so I logged back into my ePassporte account and verified the account. I was then taken to a Verified by Visa authorization site (what. the. fuck. How many times do I have to authorize this charge?), and created a password to use. Enter password, continue on, enter deposit amount (AGAIN). Transaction is progress......Declined. That's a joke, right? Nope, Chase actually declined the charged after my many interventions to specifically allow it.

That's all she wrote for ePassporte. I'm not going to go through all that hassle for each of my credit cards until I get lucky enough for one to go through. If my experience is at all representative, online poker in the US is dead. It just seems unlikely that the masses are going to jump through all these hoops in order to play poker online. Chalk up a victory for the Nanny State.

Chalk up a victory for the horse racing lobby as well. It's still perfectly legal to bet on horses, and it's sure as hell a lot easier to deposit money with an online horse racing service (again, for the non-Windows support. Die Windows-only products).

I may or may not begin blogging regularly, but the poker content will certainly be thin. Which may not be a bad thing. My brief survey of poker blogs shows that the same bad-beat posts continue to well up*. There's no need for me to contribute more of those.

* Except, of course, for Pauly. His writing about Vegas always makes me want to jump on the next plane out.