I have been asking for this for a while .. and the only answer is : buy a CD.
That said, here a sample doc found here: http://deadly.org/article.php3?sid=20031105030127
Linksys WMP54G second post
After talk on slashdot, i just discover that driver released by linuxant seems to have a open source version at http://ndiswrapper.sourceforge.net/
This should be a nice try ?
How to create favicon-icons on Unix machines
I’m tired of finding so much 404 in my apache logs so i decide to add a icon to my blog.
http://www.mavetju.org/unix/favicon.php
use gimp to build a 16x16 ppm file ppmtowinicon -output favicon.ico <inputfile.pnm>
Bind zone files
A really nice tutorial for bind zone files here
Shell Scripting with KDE Dialogs
I have been a long user of dialog ( mainly to write some small things w/ GUI for my girlfriend) and using KDE will perhaps be better no ? I guess so . Let’s give it a try:
http://developer.kde.org/documentation/tutorials/kdialog/t1.html
PPPd Old School
Setting up PPPD server (with no auth )
edit /etc/ppp/options change auth to noauth ( cause -noauth is disable on debian)
pppd /dev/ttyS1 115200 192.168.2.3:192.168.2.10
on the iPaq just pppd .. that all :))
Python Versus others
This is really a fun reading, cause I think this gonna make a lot of Java users going crazy. So if you ususally write some Java code, please read it. You will understand why i really consider Python as a rich and fully usuage alternative, and why this is the “one”.
And again Ian Bicking ( which is really proselic now), have a nice way to explain why you can have the same performance in Python as in C.
Speed is a Process, not an Attribute. I’m quite sure that it’s the way every projects should go, not because C is a bad language but because it is something hard to tailor, or worst for refactoring.
Medusa strikes back
While I was thinking about some sync / async download for iAggregator (mainly to reduce the time needed to this), i remember that i’ve read it previously somewhere .. After a little search i have found this : http://effbot.org/zone/effnews-1.htm
Perhaps you don’t know the Effbot ? Python’s user should take a look at http://effbot.org/zone/ .
Test Post from PyMT
Using RPC for bloging is funny no ? In fact it”s really usefull to post thought email.. or console tools so
This is my first post w/ XML-RPC mainly using PyMT check out: http://pymt.sf.net for more infos
import PyMT
mt = PyMT.PyMT("http://larsen-b.com/cgi-bin/mt/mt-xmlrpc.cgi","user","xxxx")
p = {'title':'Test Post from PyMT','description':'This is my first post w/ XML-RPC mainly using PyMT','categories':[] }
mt.newPost(1,p,1)
Using Broadcom Wireless-G card (Linksys WMP54G) on Linux
After searching a while on the net to find a 802.11g card supported by Linux. I have found that only the cards based on Atheros Chipset are support by the http://madwifi.sourceforge.net driver. After a little of investigation I discover that this driver seems to work quite nicely ( I managed to build it and so on ..). So I decided to buy this kind of card.
So I went to my webstore ( not a really good one ..) and decide to purchase a D-Link or a Linksys, Atheros based card. And this is impossible cause most of them aren’t sell in France. So I have bought a Linksys WMP54G ( at the time i do this I haven’t noticed that it isn’t supported by madwifi ..) as Linksys seem to support Linux ( I found a big GPL center on their website ).
After 2 weeks ( my f**king webstore is sloww ), I received it. Fine .. give it a try on this nice old Asus P2B which I use as gateway.. hum .. Bios locked .. grr .So I tried it out on another host w/ windows and works fine. Using windows only for bridging wifi is a bit expensive for me. So I went to #linux on freenode and they all say the same. "Linksys doesn’t release the code".
This morning ( after a long night chatting on irc ) I decide to write a mail to support@linksys.com. And guess why: "We are working on the driver for linux. But it isn’t ready yet .." Hum this sound really strange isn’t it ? cause Broadcom use the same chipset on the AP selled by Linksys and they use Linux IN !! ( you can check out the GPL center on linksys website you will found the firmwares )
So I decided to post a mail to friends at finix.eu.org which i have talk about Wifi before. And tonight i receive a email from David ( many thanks guy !! ) saying " use linuxant driver". So i take a look at http://www.linuxant.com/drivers_bcmwl/ . I found that the WMP54G is supported. After a registration form and a "Free trial" key. I dpkg -i the driver loader. point my webbrowser to http://localhost:18020/ upload the right .sys and it works !!!

PCI: Found IRQ 11 for device 00:0b.0 PCI: Sharing IRQ 11 with 00:11.0 eth1: New link status: Disconnected (0002) eth1: MAC address 00:0C:41:13:90:8C eth1: Broadcom Wireless LAN Adapter at 00:0b.0, mem:0xCFFF8000 to 0xCFFFA000 irq:11 ready
I just added a little iwconfig / ifconfig / iptables script and now I can post on my blog from my notebook ( which have a cisco aironet ) thought my new wifi gateway :)
/sbin/iwconfig eth1 mode ad-hoc /sbin/iwconfig eth1 essid ametsa /sbin/ifconfig eth1 192.168.2.1 /sbin/route add 192.168.2.0 eth1 /sbin/iptables -F; /sbin/iptables -t nat -F; /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE echo 1 > /proc/sys/net/ipv4/ip_forward
Many thanks to Linuxant and David for pointing it .
Please look on other posts.. There is other posts about this card