Search This Blog

Sunday, January 27, 2013

Plasma NM 0.9.0.7


Plasma NM 0.9.0.7

SHA256Sum: 926e9bbbc848219ea6314cc84325216397732c8ad1b94ba41b5c9e53b54773b2

Because of bug 313291 I really recommend upgrading to this new version.

Changelog:

. fix version string (it is wrong in Plasma NM 0.9.0.6).
311837: fix Metric edit box in VPN's routes window.
304466: add workaround to prevent crash when disabling wireless also disconnects the wifi card from motherboard.
313291: fix Ok button when adding/editing connections.
312305: add support to IPv6 Privacy Extension.
312656: quote file names when exporting openvpn configuration file in case they contain white spaces in their names.
. improve vpn import/export error handling.
311032: ignore "ghost" connections.
311348: workaround visual glitch in Back button in interface details window.
311894: fix disabling IPv4 configuration (usefull if you only use IPv6).

The following languages have more than 80% of strings translated:

bs ca cs da de el es et fi fr gl hu it kk km lt nb nds nl pl pt pt_BR ru sk sl sr sr@ijekavian sr@ijekavianlatin sr@latin sv uk zh_CN zh_TW

Also read some usefull information about Plasma NM in my past posts.

Sunday, January 6, 2013

New (old) toy 2: Samsung Galaxy i9100 (aka Galaxy SII)

Well, my old phone was in really back shape after more than three years so I decided to buy a new one.

I really do not like that big smartphones that are becoming common these days :-( I already own a tablet, so why buy an almost-tablet-sized smartphone? I searched for some months for smartphones with good features, like Galaxy SIII, HTC One S/X, Motorola RarZ (Maxx HD), etc. In all benchmarks I have read Galaxxy SIII would be the best choice, but I really do not like its size and the cracked screen problems made uneasy to buy one of them. I really try hard to preserve my phones (I still own all phone I have used so far, including an ancient Nokia 3320 from more than 10 years ago).

After consider all posibilities, size of the phone, battery size and price I decided to buy a Samsung Galaxy SII. It's is old phone, but still capable of running new Android versions and is has proven to be a very good phone. The best part is that it also cheap compared to SIII and one of the web sites I usually buy things from made a clearance sale and I could buy for a reasonable price and buying conditions :-D. The only thing I would really miss from Galaxy SIII is the bigger battery, but I can live with that and I already installed and configured some software that helps me increase the battery time.

Update: I have noticed that ICS is really really bad at connecting to my operator's 3G network. That is a known bug and there is no simple solution for it unfortunately :-( From time to time my 3G connection just disconnects and never comes back until I reboot the phone. Even when connected the performance is really poor compared to my old Samsung i8910.

Monday, December 31, 2012

New (old) toy: Samsung Galaxy p7300 (8.9" tablet)

Last September I bought an used tablet in the hope to make Plasma Active run in it and also to read some .pdf files when I am on bed and when travelling. The four things I really like in this tablet is:


  1. Its 8.9" screen size, which is the perfect size in my oppinion. 7" is too small and 10" is too big and heavy;
  2. 6000 mAh battery, which should last 10 hours playing video;
  3. 3G support;
  4. Good screen contrast, it helps when reading under sunlight.
Now the things I do not like:

  • It suffers from the eMMC bug :-( so there is a risk that it bricks forever.
  • It does not run ordinary Linux distributions. Remember: Android is Linux, just not an ordinary Linux distribution. Well, that is expected, most tablets also show this problem;
  • Proprietary port and no USB. You can easly buy a OTG adapter, which I did, so this is not a big deal;
  • Comes with Android 2.3. I upgraded it to Android 4.0.4 (Ice Screen Sandwich) last weekend and in this post I going to show you how to do. Unfortunately it seems this tablet is never going to receive any other Android upgrade, so ICS is the lastest Android we can get unless someone can port the drivers (specially the 3G modem driver) to Android 4.1.1 (Jelly Bean).
To upgrade the tablet to ICS P7300XXLQ6_P7300OXALQ6_ATO:

  1. root the tablet using these instructions. This is easier to do than it sounds.
  2. Download the firmware from here and follow these instructions. Unfortunatelly the Odin programa needed in this step run only in Windows. I tried to use Reimdall, but it does not recognize my tablet.
  3. Follow these instructions to root the new installed ICS firmware.

Saturday, December 8, 2012

Plasma NM 0.9.0.6


Plasma NM 0.9.0.6

SHA256Sum: 13fd521abd065117b6bd8091b038d0a7f1270defc24ac501fce54f9c491a4a23

Update: the fix for bug 299863 caused a regression and I really recommend using Plasma NM 0.9.0.7 instead of this release.

Changelog:

. fix password dialog for VPN connections. This same fix probably fixes this crash too.
299863: add mechanism to validate EAP methods' settings. The first one implemented is for TLS, which requires the identify field to be filled or it will crash the edit dialog. Now the Ok button in edit dialog will be disabled if the identify field is empty.
. correctly detect if 802-1x security setting is enabled or not.
310496: fix settings window too small when opened from tray icon.
310988: add MD5 and GTC options to WPA2 Enterprise's TTLS setting dialog.
. fix crash when saving WirelessSecuritySetting.
309262: fix importing of CISCO vpn pcf files.
308630: correctly handle bad certificates in openconnect vpn connections.
308777: make systray icon go passive (hide itself) if there is no network interface available.
308722: update systray icon even when not in a panel containment. This is usefull when using systray widget outside a panel.
. make version string selectable by mouse in the kcm.
308293: fix crash when deleting connection.
308125: fix crash on NetworkManager restart.
. pre-fill secrets in password dialog for wifi connections.
307710: add warning when storage mode is kwallet and kwallet is not enabled. The warning will be printed in ~/.xsession-errors.

The following languages have more than 80% of strings translated:

ca cs da de el es et fi fr hu it kk km lt nb nds nl pl pt pt_BR ro ru sk sr sr@ijekavian sr@ijekavianlatin sr@latin sv uk zh_TW

Also read some usefull information about Plasma NM in my past posts.

Wednesday, December 5, 2012

Workaround for vpn problem with NetworkManager

Some people have approached me about problems to activate vpn connections using Plasma NM. I have just found a workaround that enables vpnc (Cisco VPN) connections to work: just remove the /usr/libexec/nm-vpnc-auth-dialog file that comes with networkmanager-vpnc package. Yeah, that sounds strange but it works here. That seems an upstream problem, maybe that dialog is not working properly and yet blocking the dialog from Plasma NM. Do the same for the other vpn types, the workaround should work for them too.

Update: Ok, I think I have found the real problem and pushed a fix for it in Plasma NM's repo. I will release a new Plasma NM tar ball once the fix is confirmed. It is odd that the change was not required before and now it is, however the change makes sense.

Sunday, October 7, 2012

upower & hibernation & swap

I have just found out that upower mark hibernation as not possible when there is no swap space available. Well, although most suspend to disk (hibernation) implementations use swap space to store the RAM image TuxOnIce is able to store the image in a dedicated file, which is not a swap space. This week I upgraded my notebook from 4 GB to 8 GB of RAM to compile webkit (one of my work for basysKom from now on :-)). 4 GB used to be enough for almost all my needs, only when I boot up a machine my notebook started to use part of the 2 GB of swap file I set up. Now with 8 GB I really do not need a swap file anymore (not even when compiling webkit), so I decided to remove my swap file and consequently upower disabled hibernation :-( As far as I could figure out there is no option in upower for force hibernation to be enable, so I created a patch to disable the swap check :-) If anyone has this same problem you can try my patch (or create something more sofisticated to  add an option to disable the swap check in upower).

Sunday, September 16, 2012

New acquisition: Samsung ML-2165w printer

Last week I ordered a laser printer for me in a Brazilian web site (I live Brazil by the way). I made the order on last Monday night and it arrived here last Saturday morning, that's half of the ETA :-) I chose ML-2165w because it is cheap (around USD 125 with shipping) and is wireless. I am not going to print a lot of documents, but some of them contain sensitive data that I prefer to print at home. My brother also own an ink jet printer, but it is usually out of order because its cartridge ink is dry (not empty, the ink is not fluid after several weeks without using it).

It took me sometime to find the correct driver for the printer, believe or not it is on Samsung's website [1] :-) Unfortunately, Gentoo does not come with an ebuild (package) to install the driver. The calculate overlay [2] contains an ebuild to install an old version of the driver (net-print/samsung-unified-linux-driver/samsung-unified-linux-driver-1.01.ebuild), so I copied the ebuild from there to my personal overlay, edit it to updated SRC_URI url to [1], commented the part that install sane configuration, which this newer version of the driver does not have anymore, run ebuild digest comand to calculate the checksums used to check the source code integrity used by the ebuild, installed the new ebuild and voilà. cups-1.6.1 recognised the printer and after configuring it as network printer (URI == socket://:9100) it printed my test document like a charm.

A short review of this printer:

PROS:

. the printer is cheap. However, the toner is very expensive, in some cases more expensive than the printer.
. toner lasts longer than ink cartridges when not used for long periods of time. That is the main reason I bought a laser printer, besides the fact that the cost per page of a toner is better than ink cartridges.
. comes with USB cable. You must be asking why USB cable if it is a wireless printer, well, you need the USB cable to configure the wireless part :-) If you have an access point that supports WPS (Wifi Protected Setup) then you do not need USB cable, that is not my case though.
. it is small and fast.
. it is wireless.
. I think the printing is very good even in toner economy mode.
. it is easy to configure even in Linux :-D as long as you know where to find the driver. As a side note even Win7 does not come with the driver for this printer, I needed to use the supplied DVD to install it in the Win7 that came with my notebook. OBS: when in doubt always reset the  network configuration and start from zero instead of overriding the current configuration. It took me sometime to re-configure the wifi configuration because of that detail.
. I read on the Internet that Samsung implemented the Easy Printer software for Linux as well. That is the software used to configure the printer on Windows. I have not tried it though. I used its Windows version to set up the wireless (wifi) configuration, if you do not have a Windows computer or a special access point that supports WPS you will probably need to install the Linux version of Easy Printer to set up the printer's wifi configuration. I also fixed the printer's IP on my wifi router, so it will always get the same IP from my router's dhcp server.


CONS:

. toner is very expensive.
. supplied toner prints up to 700 pages. That is enough for me, may not be for everyone.
. manual duplex printing, like most cheap printers.
. it consumes a considerable amount of energy (gets hot easily too).
. curles the paper considerably.
. does not come with printed manual, which is available on Samsung's website.
. documentation is a bit confusing regarding wireless configuration. It explains how to configure it but do not explain how to re-configure the wireless part. Repeating the configuration process does not work (it never associates to the access point even though it finds it when scanning) until you reset the printer's network configuration using Easy Printer. That crutial detail is not written in the manual.

[1] http://org.downloadcenter.samsung.com/downloadfile/ContentsFile.aspx?VPath=DR/201110/20111019151150392/UnifiedLinuxDriver_1.01.tar.gz

[2] overlays are like unofficial repositories, usually with unstable programs or data (firmware, drivers, etc).