Home
Home
HowTo: Use The New RTL-8185 Driver With Hardy PDF Print E-mail
Articles - HowTo

OK, so I've mentioned before on a few occasions that there is a newer version of this driver, which is essentially a port of the same original code over to the mac80211 stack that was recently added to the kernel. This new rtl8180 module is now in the mainline kernel and is being backported for Hardy as part of a "wireless compatibility stack" in the linux-modules-backports package. It's a good idea to use this driver in preference to my patched copy of the older r8180 module source here, not least because it supports the later WEXT extensions that allow you to use WPA through the standard graphical tools. From what I can tell based on comments and other messages received, almost everyone has been able to get basic wireless, either unsecured or using WEP, working in Hardy using the sources and guides that I published here. However, WPA has been less successful. It worked fine for me and some others have commented that it worked for them too, but just as many people seem to have had trouble with it. I'm not sure what all the variables could be there, and to be honest I don't think it's worth the trouble to find out. That is because there is an alternative solution using this new driver just around the corner, and you can use it right now so long as you're willing to jump a couple of revisions ahead with the kernel.

Read more...
 
Δεν μπορώ να μάθω τα Ελληνικά PDF Print E-mail
Blog - Greek

I can't learn Greek. Honestly, I have tried time and time again. I've never really been much of a language person but I don't remember having this much trouble with French or German at school, and that was not only without any genuine interest but also without the advantage of living in those countries. It has nothing to do with the different alphabet - I got that part fine, in fact I'd managed to learn the Greek script almost completely during one long bus journey in London before I moved. And with Greek being a phonetic language, that means I can read all the Greek words around me and know how they should be pronounced (mostly). But that doesn't seem to help at all. It's not just the complicated grammar that I'm having trouble with either - I can't even get to a point where correct grammar is vaguely relevant!

Read more...
 
HowTo: Do AdSense In XHTML PDF Print E-mail
Articles - HowTo

There are two reasons why XHTML has a problem with Google's AdSense code:

  1. It uses the javascript function Document.Write(), which XHTML can't handle because it would output new markup whilst the document is still being parsed.
  2. It creates an <iframe> element, which cannot be used with strict varieties of XHTML.

It's inconvenient, but fortunately not impossible to deal with. The solution is basically to render the ads as plain old text/html inside an object element. This does mean that you need to put your AdSense code into a separate file, referenced by the object element. An example using PHP...

Read more...
 
HowTo: Build & Install The Legacy r8180 Module On Hardy PDF Print E-mail
Articles - HowTo

Note: There is a new and improved version of this driver that you can use with Hardy instead

A few days ago I posted a patch for the Realtek 8185 driver (r8180), updating it for 2.6.24 kernels. I expected at the time that somebody would fix it properly before the final release of Hardy and that any people coming here for the patch would be running the development branch, so they would probably already know what to do with it.

But I hadn't realised quite how close the Hardy release date was, and as it turns out Hardy was released without this driver completely. Consequently, quite a lot of people have ended up here looking for a solution, so this is an attempt to provide more complete instructions on what to do.

I've already written a brief guide on using this driver with wpa_supplicant, but for getting it compiled and installed in the first place, this is what you need to do...

Read more...
 
Serving XHTML Content With Joomla! PDF Print E-mail
Blog - Tech Stuff

XHTML has been around long enough now that most people have heard of it, and most web developers know what to do to ensure their code produces valid XHTML. You will often see little notes in page footers claiming "Valid XHTML" or similar, and often enough, it even is valid XHTML. Unfortunately, however, the overwhelming majority of valid XHTML web pages might as well not be, because the browser has no idea that they are, and treats them as the bog-standard tag soup anyway.

Attachments:
 plgSystemXHTML-0.2.zip[An updated version that sets the MIME type and charset through JDocument methods in the onAfterDispatch event.]2 Kb
 plgSystemXHTML.zip[Joomla! System Plugin For XHTML]2 Kb
Read more...