My new not-so-smart-phone: Motorola C123.
My place to post silly pictures and rants, even though I’m no longer a PhD-student.
Saturday, March 27, 2010
Thursday, February 18, 2010
Monday, February 15, 2010
Sunday, January 31, 2010
Snow
There’s currently a lot of very pretty snow around here.
I especially like the funny shapes the wind has created at one corner of the house.
Sunday, January 24, 2010
Wednesday, January 13, 2010
Wednesday, January 06, 2010
VLANs on a cheap switch
Today I read on tmbinc’s blog about how he modified a cheap Ethernet-switch to be VLAN capable.
With VLANs you can fan out the single built-in Ethernet-interface of your computer to several isolated networks. These cheap switches (you can get them with 8 ports for about 10€) have this functionality because they use the same chips as common plastic routers that separate their three different types of network ports with the same technique and usually connect with a ninth MII-port that’s not being used in a common desktop-switch.
I had tried to do the same in the past, but initially failed as I blew the serial i2c-eeprom during my attempts of programming it, but today I didn’t make any mistakes that destroyed the little thing. As my configuration is different from tmbinc’s, I’ll make it also available in the archive linked to below.
The Process to make your switch (that has to use a RTL8309SB IC) VLAN capable.
- Get a switch that preferably already has a I2C eeprom to store it’s configuration. Mine had, because it advertised QOS (quality of service) functionality that requires the IC it to be configured by some external memory. I used a Longshine LCS-FS6108, but it’s already 4 years old, so most likely they’ve switched to a different IC already? One never knows.
- Remove the I2C eeprom. On that particular switch the ground planes are very thick so I wasn’t able to desolder it properly. I just cut off the pins and…
- Put it on top of a IC socket providing replacements for the severed limbs.
- Change the contents of the eeprom using your favorite programmer, the text files in the archive linked to below contain some explanations (see details.txt)
- Put chip back into switch.
The configuration in the .zip-file provides you with 6 untagged ports and 2 tagged ports according to the table below:
Label on Switch | RTL8309SB Port Number | VLANs |
---|---|---|
8,7 | 0,1 | 1, untagged |
6,5 | 2,3 | 2, untagged |
4,3 | 4,5 | 3, untagged |
2,1 | 6,7 | 1…9, tagged |
- | MII | Unused |
Download Configuration:
20100106_switch_eeprom_vlan.zip (798k)
- switch_eeprom_vlan.dat : VLAN Configuration of Switch, copy contents to eeprom
- switch_eeprom_orig.dat : Original configuration of Switch, Backup
- switch_eeprom_detail.txt : VLAN Configuration with comments
- switch_eeprom_detail.pdf : VLAN Configuration with comments, as pdf
I tested the switch with a Linux machine that has a NVIDIA nForce Gigabit Controller and my OpenSolaris NAS that uses a RTL8111/8168B PCI Express Gigabit Ethernet controller.
Update 2011-02-18: zip-file available again on new server
Friday, January 01, 2010
Sunday, November 22, 2009
Wednesday, November 04, 2009
Ubuntu & Gdm make me angry.
I installed the new and shiny Ubuntu Karmic on my computer today. Now there’s a speciality: I run the same installation (on a 2nd harddrive) both natively on the computer, but also in a VirtualBox VM.
That’s actually not complicated to setup, and most of the things work out fine, but there’s a remaining wart, which is the X-server needs additional and different configs for native-mode and running under the VM.
In former times, I just set the X-server being run by gdm (in /etc/gdm.conf) to /usr/local/sbin/Xserver.sh and used that shell-script to launch the correct server (with a different config, or even the same config but different “layouts”).
Now the wise men of gnome (gdm programmers) and Ubuntu decided to hardcode the paths of every component involved… And I only found out after learning…
- that gdm no longer looks at /etc/gdm/gdm.conf, but rather is configured via the gconfd-mechanism
- that the X-server configuration is not included in the new mechanism, but rather a compile-time default is hardcoded
- that the X-server is not run directly, but rather via the wrapper /usr/bin/X, which is, indeed, configurable… but also lacks a configuration directive to choose which server to run.
So, again, in the sake of… “simplification”, or should I say dumbing-down, of their core programs, they made deviating from their “single user on a dedicated machine with internet dial-up” standard scenario even more painful. I might just use MS Windows then, because it basically adheres to the same “do what we have forseen and don’t deviate” belief.
Immediate update: One can adjust the symlink /etc/X11/X! Which isn’t documented (as far as I see) and also not as flexible as the original gdm.conf solution, but should suffice.
Saturday, October 31, 2009
Opera 10.1 Upgrade FAIL!
Opera just announced the existence of a upgrade to it. I told it to proceed, shorty after I noticed my (usually silent) PC to spin its fans vigorously…
This repeats whenever Opera is restarted, so I had to delete the offending file somwhere in %TEMP%. Great engineering, guys!
Broken Kepco Power-Supply
Update: Looks very shitty, but it works. I’ll replace those with real 6.2V Zeners the next time I order some electronics stuff.
Saturday, October 10, 2009
Wednesday, October 07, 2009
LCD - Update
Success! Even though I’m still scratching my head about the funny memory layout in graphics mode when using a 6x8 font. Time to read the datasheet (again).
Sunday, October 04, 2009
Graphical LCD Controller
New project: Using a Atmel ATmega168 to control a graphical Everbouquet LCD that itself uses a T6963C Controller. Right now it seems that I can read the status-register and data successfully. The integrated DC/DC controller (for the negative LCD driving voltage) powers up and delivers –9V.
Tuesday, August 18, 2009
Monday, August 17, 2009
Sunday, August 02, 2009
Copying VHS to DVD...
Tuesday, July 28, 2009
Sunday, July 26, 2009
Sunday, July 19, 2009
Breadboard
I started playing around with a breadboard. Until now, I never had done this, but I have to say, it’s kind of convenient. The only downside: I don’t have pre-cut cables, so I used the one from a big spool I found, but they are kind of pink-ish ;-).
Saturday, July 11, 2009
Gainclone
It hums. And I’m annoyed.
What did I do on Saturday? Well, via the wonder of the web, I watched my friend burn both himself and his baby daughter with his home-made amplifier, then rail against excel and python in an attempt to print out some gradesheets. He eventually got so angry he threw himself out the window. He was in the basement, but you have to appreciate the attempt.
Update: I modified the last stage to have less gain (4 instead of 20), so it better matches my source, furthermore I added a 5k resistor at the input to have less input impedance. That helped a lot.