Skip to Content

Linux

xrayspx's picture

A week with the Asus EB1006

Just bought an Asus EB-1006, and wanted to post how it works rather than send one email to half a dozen folks. I got it working pretty well with XP for HD movies and MAME, here's what I did:

  • Set res to 720p, actually a little higher, 1360x768, 1080p will display, but large MKVs have problems. My test video is a 4.5GB 2 hour movie.
    (*note, you can play these just fine at 1080p with the ArcSoft Total Theater 3 that comes bundled, but there is no ability to skip within the file)
  • In the ATI video driver, set all settings to lowest quality, highest performance.
  • Disable all AV, Windows Search, Windows FW, anything else that might use any amount of RAM or CPU at all
  • I've got a 2GB DIMM on the way, I'll throw it in but I don't see it making a huge difference, since I am baseline at 450MB utilization, and even playing video only raises that slightly.
  • Disabled the RealTek sound card in the machine's BIOS. (To get to BIOS, go past the initial screen with ExpressGate stuff, then it's the Delete key to get into BIOS) This was for Linux, but there's no need for it since we're using HDMI for sound here.

That setup lets me play any movie I've tried, 720p Youtube is usually OK. Just as importantly, MAME works just fine, though it's really right on the edge. Without the ATI driver tweaks and disabling of services, I would get sound duplication in some games, notably Sega games (OutRun), which is apparently an indicator that your framerate isn't what it should be.

Getting things going in Linux hasn't been quite as easy as all that. It's mainly down to the video driver. The drivers from AMD suck, but radeonHD hasn't really been my friend yet either. The machine works fine, but with no or poor 3D acceleration, video and flash are pointless. The AMD driver made this a little more bearable, but not much, so I trashed it. Sound is also a bit of an issue. I had HDMI sound working somewhat with the AMD driver, but haven't gotten it working with the Open Source driver yet. This is probably because I haven't really tried, not because it won't work. I imagine I'll use Windows until I get nailed with malware for the first time and then dump some time into making Linux work properly.

Here are some more un-ordered thoughts:

The bundled wireless keyboard and mouse seem to be working great so far, I may look for a wireless touchpad, but they're not going to be cheap, so I probably won't bother for a while. The mouse has an off switch so it's not constantly sucking batteries while the machine isn't in use, the keyboard does not though.

The power button and all lights are behind a door on the EB1006, which is good, because that means you can put electrical tape on the inside of the door and block all light without having to get goo all over the power button.

The case only takes two screws to open, but there are also clips all around the edges, meaning you have to dig around with a screwdriver, meaning you'll end up dinging up the case a little if you're anal about that sort of thing, which I am not.

Wireless looks like it only has 1 antenna, unless there's a second one buried inside. I connected to 802.11n at 65Mb/sec. It seemed rather sluggish but I didn't really "test it" test it since I have a Gb switch in my TV stand anyway, so I've just been using gig ether.

As you would hope, the machine's absolutely silent.

Also, let me take a moment to evangelize for the Logitech Dual Action Gamepad. This thing is friggin sweet, especially for like the $15 or whatever I paid at Best Buy. You'll want to make sure you have a nice long USB extension cable though. Huh, the one on the site seems to have a different d-pad than the one I have, which looks like it might be better. The only complaint I have is that with MAME, and especially the ST and 8-bit games, most things are looking for a digital joystick. The problem with the analog sticks is that games like BoulderDash for instance, suck with them because the game only expects cardinal directions, they don't know what to do with a 15 degree angle on an analog joystick, so they're not very responsive. They also suck to play with a d-pad because you can't (I can't) change direction as fast with a pad as with a joystick. I don't like the idea of the Wireless one on principle alone, they're probably fine.

xrayspx's picture

Dear Internet Advertisers

[music | Nick Cave and the Bad Seeds - All Tomorrows Parties]

This week both Ars Technica and Fark, both of whom get decent traffic, have basically begged users not to use ad blockers. I think people would be less likely to use ad block if your ads didn't kill our browsers, below are some examples.

On Fark, the square ad at the top of the right-hand navigation bar demolishes WebKit based browsers on Linux. Doesn't matter what the ad actually is, but if I hit Fark in Arora or ReKonq without Flash turned off, they die as soon as they hit that ad, every single time, write it down. Fix that shit.

Sprint ads. Sprint ads have been consistently crippling Mozilla based browsers on Linux as well, both Firefox and Flock. "Occasionally", using autoscroll (mid click scrolling), the browser will just crawl and become unresponsive. It will continue to slowly scroll until the ad is off the page, then become responsive again. I can't tell if this happens on Mac, since I mainly use Safari.


Holy fuck, it's the Perfect Storm(or perfect Curve I guess)! Luckily this session is in Chrome on a Mac or else my machine might have just shot itself in the face

I realize these are both Flash issues, and that the state of Flash on Linux and Mac is pretty abysmal, I use both platforms. So…. you want people to stop blocking your ads? Show ads that don't break my goddamn computer, is it a deal? Maybe stop dealing Flash ads? JS only? Maybe?

Now, I honestly don't use ad blockers. In the case of Arora or ReKonq, the only way is to turn off Flash, which is annoying, and in a general sense I don't mind getting ads. I do hate ads that break my browser, or which open popups, resize my browser, redirect me, etc. Stop that shit Fark, stop trying to open pop-ups, and fix the ad in the right-hand nav on the homepage and we'll be buds.

One more time: Don't complain that no one wants to view your ads when your ads are harmful.

Find LDAP groups with obsolete users

OpenLDAP has a nice "feature" that allows for group members to continue to exist, even if the user does not exist any more. Really handy! Problem is, if you, say, have a user in the "Domain Admins" group, and you delete that account, and then some normal user comes along with the same username, they will end up with unexpected elevated privileges.

So I created a script that I run weekly that finds group members that no longer exist, and sends me a report. It also tells me which groups are empty.

This relies on my toolbox... Find it here.

Using some of our new tools

Ok... Now that we have our toolbox Let's do something with it. Today we'll look at a simple solution to an everyday problem. Resetting a password.

Part 4: Wrapping up the foundations

Just to wrap up, and in case you are lazy like me, give you a whole file worth of subroutines. It's my toolbox and I'm giving it to you. I put this in a secure location and just call it from my other scripts. This makes the code much shorter in my other scripts, nearly auto-commenting, and avoids bugs because if it works in one, it will work in others.

NOTE: This uses the foundations in parts 1, 2 and 3. You can find them here: Part 1 Part 2 Part3

Part 3: The SubRoutines

Now for the tools. There's a lot here, but in further articles you will see how this can be useful. I'll go through each tool with what it does, how to call it, and then the code itself.

NOTE: This uses the foundations in parts 1 and 2. You can find them here: Part 1 Part 2

Part 2: Some Standard declarations and personalizing for your site

More foundational work. This stuff will configure for your site, and the routines that follow will regularly rely on them.

Part 1: Foundations

In our journey of code, it is always useful to have a foundation. For starters you will need to make sure that you have the following PERL packages installed, as we will be using them regularly.

Net::LDAP
Authen::SASL
IO::Socket::SSL
Digest::SHA
Mail::Sendmail
Crypt::SmbHash
CGI

I have found that some of these are much easier to install via packages (yum or apt-get), specifically Authen::SASL, as it requires Net::SSLeay, which requires it be compiled with the same compiler as your original perl installation. Most of the others can be installed from cpan.

Opening Message

Hello and Welcome!

Over the course of my time as an Admin I've done a lot of Google searches and writeen a lot of code that has been very helpful to me in my work. I will be posting things here that hopefully will help you in your quest to master some of these technologies (Or simply stand on the shoulders of midgets).

I by no means consider myself a Perl or LDAP expert. It has been a "Learn as you go" ordeal. No formal training, just get things done on an as-needed basis.

I assume that you have a basic knowledge of PERL and LDAP.

Enjoy!

-Sean

Syndicate content