I’ll admit it, I really like that when i click “reply to …” then a new window pops up and the composition is set to “fixed width” on HTML, just to see everything being seperated with color. So I am just using the HTML view with monospace fixed width composed emails.
The thing I really hate with Thunderbird is the fact that getting the cursor at the end of a quote, pressing enter, creating a new line feed – getting from fixed width onto variable width – wtf is going on over there?
In “Edit” – “Preferences” – “Composition” there is “HTML – Font” being set to “fixed width” instead of “variable width”. That does not really affect the situation when Thunderbird decides that it will be using “variable width” instead of my decision. I could press Ctrl+A and set the dropdown menu to “fixed width” again, but that kind of sucks.
The real problem is not the HTML fonts being used, or the HTML format either. In the preferences window, switch to the “Display” and “Formatting” tab. You will recognize that the “default font” is set to “serif” with size 16.
Setting that to “monospace” with size 12 resolves the problem and replying to emails with the correct view even with HTML is much more fun 🙂
Appearantly, the Samsung LCD does not like mkv containers which contain subtitles as seperated track. But it can read .srt files, so let’s try to extract them 🙂
$ mkvmerge -i movie.x264.mkv
File 'movie.x264.mkv': container: Matroska
Track ID 1: video (V_MPEG4/ISO/AVC)
Track ID 2: subtitles (S_TEXT/UTF8)
Track ID 3: subtitles (S_TEXT/UTF8)
Track ID 4: audio (A_AC3)
$ mkvextract tracks movie.x264.mkv 2:sub1.srt 3:sub2.srt
And then name the .srt the same as .mkv
$ mv sub1.srt movie.x264.srt
It works 🙂
# vim /var/www/blog/wp-config.php
add at the top:
Go to your blog and have fun 🙂
While installing minidlna onto a media server, using the dual band draft-n wireless nic it came up to iptables over there.
First thing is to adapt related state from eth0 to ra0, or everythin else will fail.
Afterwards make sure that you’ll open tcp/udp 8200 for minidlna’s listening port. And next to that make sure that udp 1900 is open too, otherwise UPnP clients will not discover the presence of the DLNA server.
My last post was about draft n dual band with normal channel (6) and frequency (2,437 Ghz) but for what it’s worth – dual band needs media being transported through the second frequency band (first one is for clients only, but the streaming box for the tv will be the other one).
On Debian Lenny, make sure you’ll have the latest kernel installed, then sort some prerequisites:
$ sudo apt-get install wireless-tools wpasupplicant
in order to use all wireless extensions. Then apply the same routine for ralink’s driver – change wpasupplicant support in os/linux/config.mk, type make and make install as root but then do not reboot yet.
# vim /etc/Wireless/RT2860STA/RT2860STA.dat
and change channel to 36 (5.18 Ghz)
Afterwards, same procedure as usual – define the ra0 interface.
# vim /etc/network/interfaces
iface ra0 inet dhcp
Reboot and then check with ifconfig. If it did not work out, try the following steps.
If you are not sure about the frequency and channel, scan for it (therefore we needed wireless-tools):
# iwlist ra0 scan
ra0 Scan completed :
Cell 01 - Address: XX:XX:XX:XX:XX:XX
Frequency:5.18 GHz (Channel 36)
Quality:100/100 Signal level:-49 dBm Noise level:-92 dBm
Bit Rates:300 Mb/s
Check back in your RT2860STA.dat if it’s correct and if not change and reboot then.
To check on your actual frequency, do this:
# iwconfig ra0
ra0 Ralink STA ESSID:"xxxxxxx" Nickname:"RT2860STA"
Mode:Managed Frequency=5.18 GHz Access Point: XX:XX:XX:XX:XX:XX
Bit Rate=270 Mb/s
RTS thr:off Fragment thr:off
Link Quality=100/100 Signal level:-50 dBm Noise level:-43 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
That’s all – traffic between the 2 frequency bands is routed through the draft-n wireless router and our wireless cloud is ready to work 🙂
Finally I got the rt2860 driver working with draft-n and dual band. The original kernel module coming through firmware-ralink in debian sid is ralink 18.104.22.168 (rather current than ubuntu which ships 22.214.171.124) but it has debugging output enabled which throws a message every second into the syslog. Furthermore the driver only supports 54 MBit/s out-of-the-box. But why bying drat-n and dualb band then? Yep right, I needed to search for other solutions.
One of them was to just create /etc/Wireless/RT2860STA/RT2860STA.dat with the file from the ralink rt2860 source. Well, tried that but the debianized staging driver did not recognize it. The things mentioned in debian wiki to just set desired rate values through iwconfig also did not work – iwconfig from wireless-tools simply does not have the privileges adding ioctl to the driver.
But iwlist wlan0 scan always showed that there is my draft-n dual band wlan router available. So, another solution was needed. Reading the ubuntu wiki just collects on what to do when installing the driver source from ralink against the actual kernel. The only problem stays there – after booting into a new kernel the wireless driver module needs to be compiled and installed too.
But in fact it’s the most suitable solution right now, because no more syslog debug spam and more wireless rates 🙂
Here we go:
Download the actual source for rt2860 – 126.96.36.199 currently. Copy the tar.bz to /usr/src and then
$ tar xvjf 2010_01_29_RT2860_Linux_STA_v188.8.131.52.tar.bz2
$ cd 2010_01_29_RT2860_Linux_STA_v184.108.40.206
$ vim os/linux/config.mk
Change the 2 wpa supplicant entries to ‘y’
$ sudo make
$ sudo make install
This will install the kernel module and also the RT2860STA.dat with the right settings.
Next step – wlan0 changes into ra0, so fire up vim again.
$ sudo vim /etc/network/interfaces
Then reboot the system. ra0 will go up and now has full speed enabled – the debug stuff remains, but this comes through the firmware then.
Check the speed with
$ sudo iwconfig ar0
$ sudo iwlist ar0 scan
And just to remember the steps after booting into a new kernel:
Linux phoenix 2.6.33-2.slh.5-sidux-686 #1 SMP PREEMPT Sat Apr 10 23:29:25 UTC 2010 i686 GNU/Linux
ifdown ra0; cd /usr/src/2010_01_29_RT2860_Linux_STA_v220.127.116.11; make; make install; ifup ra0