teach the old Nokia 5800 some new tricks
Sorry, this entry is only available in Deutsch.
Sorry, this entry is only available in Deutsch.
The movement has its own web presence by now: *click*
Sorry, this entry is only available in Deutsch.
Sorry, this entry is only available in Deutsch.
My Arch Linux desktop system uses a Belkin F5D7000 wifi card which caused some trouble lately.
So, what are we talking about when I say Belkin F5D7000? That’s what lspci -vnn tells me about it:
03:06.0 Network controller [0280]: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller [14e4:4320] (rev 02)
Subsystem: Belkin F5D7000 v1000 Wireless G Desktop Card [1799:7000]
Some years ago, this card was working perfectly fine with the bcm43xx module. However, this module became deprecated and got replaced by the b43 and b43legacy modules. My card now had to use the b43legacy module and that’s where the problems started:
The connection speed was very slow and the connection dropped every few minutes. Trying to download a larger file became a pain. dmesg was full of these messages:
b43legacy-phy0 ERROR: PHY transmission error
Pasting that into google showed me that I was not alone with these issues, the only fix that seemed to work was dropping the b43legacy module and using ndiswrapper with a windows driver file. It took me some while to find a 64bit Windows driver file for that specific card [contact me if you can't find one] because it’s quite outdated, but I finally got one.
So I went ahead, installed ndiswrapper and the driver for it…
adi64@tux ~ % sudo ndiswrapper -l
bcmwl5 : driver installed
device (14E4:4320) present
…but wlan0 wouldn’t show up, despite the fact that ndiswrapper found the device:
adi64@tux ~ % sudo rmmod b43legacy
adi64@tux ~ % sudo modprobe ndiswrapper
adi64@tux ~ % iwconfig
lo no wireless extensions.eth0 no wireless extensions.
There were no errors or any debug info from ndiswrapper in either dmesg or /proc/net/ndiswrapper/debug.
After googling the hell out of keywords like b43legacy, bcm4306, ndiswrapper etc. I found the Comprehensive ndiswrapper troubleshooting guide on the Ubuntu forums which finally helped.
In a nutshell: The ssb module claimed the device although being unable to do anything with it, therefore ndiswrapper couldn’t take control of the device.
Knowing this, the solution is simple. You need to blacklist the b43legacy and ssb modules and tell the kernel to load the ndiswrapper module.
I opened up the new file /etc/modprobe.d/b43legacy_blacklist.conf and pasted in the following:
blacklist b43legacy
blacklist ssb
Then I added ndiswrapper to my MODULES Array in /etc/rc.conf.
Doing a reboot and BAM! The card was working fine. Note however that you won’t be able to do things like Monitor Mode etc. with ndiswrapper as device driver.
I’ve just tried out go-preload on Arch Linux. However, it does not really seem to speed up things. Here are my three benchmarks:
application (preloaded/non-preloaded)
codeblocks (16s/18s)
keepass (5s/5s)
opera-next (6s/8s)
I’ve noticed that it makes a huge difference whether you start codeblocks for the first time on a freshly rebooted linux or not (no matter if you use any extra preload software): Starting it the second time takes only about 7 seconds on my system. So for the above test values, I have always restarted my machine.
Conclusion: not worth it :p
Here’s a little script I wrote for a not so ordinary router, the WBR-6600.
Compared to others, its main difference is that it only accepts connection change requests, when you add your login ID as GET parameter. The login ID gets assigned every time you login and thus it is always different. AFAIK most other routers handle sessions via cookies, so for those reconnect scripts can easily be made from within JDownloader for example.
Anyway, if you happen to own one of these little machines, feel free to use my reconnect script. I wrote it in AutoIT3, source license is GPLv3.
On first start a .ini file gets generated and opened, where you can type in the login information. It will also open if the script can’t login (but never more than one window).
I think other Level One routers may either work without or with little hacking of this script. So users with similar routers might enjoy to make it work with their routers. If you do so, please share your results in the comments.
Enjoy
PS: The configuration file gets written to the same path as the program is in, so make sure you put it somewhere with write access (C:\Users\you\Apps\reconnect for example).
Download:
For those who like using the commandline interface and like to have access to their contacts outside the X Server, abook is a good option if you like a ncurses-based program. Alternatively you could let a few scripts do the work. These will be presented in this article.
Read more…
Sorry, this entry is only available in Deutsch.
There’s that great freeware music player called foobar2000. I really use it a lot to, play music, rate music, sort music, apply good ID3 tags and so on. Sadly there’s no (official) linux version of it, so this post will be all about windows. You might be able to run both Virtual DJ and foobar2000 with wine though.
Anyway, my preferred DJ mix tool is Virtual DJ. Foobar can only do very basic crossfades which mostly sound acceptable, if you set the crossfade duration to 20 seconds and activate the skip silence DSP. However, if you would like to pump some good beats while changing the tracks at your party, you are better off using a real mixing software. Here’s where Virtual DJ comes in. Its transitions can sound waaaay better than these automated crossfades.
The only downside is, that it comes with a very bad music browser interface: It can not recognize tags of ogg and flac files, the search is very limited and it does not support custom tags on files, where it does actually scan them. Lately I found out that it is possible to drop songs directly on a deck from any application. Wohoo, that’s fucking awesome!
So let’s see, we’ve got a crappy music browser, which we want to replace with foobar. The only thing you are required to get exactly that is editing your preferred VDJ skin.
As they are zip compressed xml files, stored in My Documents\VirtualDJ\Skins, you need to unpack your favorite one and open it up in an editor.
Somewhere in the first line, you’ll see the height of the skin. Change it to what you like (type in some less value), rename and repack the zip file and you are ready to go. For performance reasons, you might want to delete the the <browser>…</browser> stuff.
I recommend to set foobar2000′s output to your headphones, because then you have yet another deck for previews. (yes, there are more than 2 possible with virtual dj too, but they do not really sync well)
Oh and here are some foobar2000 plugins you might want to use with this combination: