Sunday, February 28, 2010

FreeBSD (III)

BSD Jails – some improved version of traditional chroot environment. It allows you to configure a hostname, an IP address, and processes does not leave in any case the jail they run into.
So, if you’re already using bash like I am, this are the steps:
# i used /usr/jail/myjail as my first jail in FreeBSD.
export J /usr/jail/myjail
mkdir -p $J
cd /usr/src
make buildworld # run it when using jails for the first time…and wait, it’s gonna last..
make ‌installworld DESTDIR=$J
make distribution DESTDIR=$J
mount -t devfs devfs $J/dev

Enable it on startup by editing /etc/rc.conf like this:
jail_enable=”YES”
jail_list=”myjail”
jail_myjail_rootdir=”/usr/jail/myjail”
jail_myjail_hostname=”myjail.localdomain”
jail_myjail_ip=”192.168.0.224″
jail_myjail_devfs_enable=”YES”
jail_myjail_devfs_ruleset=”myjail_ruleset”

To start/stop your jail, use this:
/etc/rc.d/jail start myjail
/etc/rc.d/jail stop myjail
To cleanly shutdown a jail, run:
sh /etc/rc.shutdown #from inside a jail
or, use jexec utility.
Some other programs you’ll probably use with jails, are found in /usr/ports/sysutils:
jailadmin, jailctl, jailutils
To see what jails are running you can run:
jls
To run a tcsh on a jail, run:
jexec JID tcsh
…which will get you directly on that jail.

Compiz Fusion – how to make inactive windows transparent

I’ve search for this on Google because i couldn’t find it myself. First of all, you’ll need compizconfig-settings-manager so you should apt-get install this first.
After this, go check the Effects > Trailfocus and then click the Appearance tab. You’ll see there:

- Opacity level of focused windows – normally left at 100
- Opacity level of unfocused windows – set this to whatever you want (this is the opacity of inactive windows)

BTW, i’m on Ubuntu 9.10 over here…

[update]: Well, it seems Compiz is running smoothly on my EeePC 1008HA with enough settings enabled, including that one from above…including the Water effect thing, which is actually …damn…filling out my desktop..and couldn’t see what i was writing) I know, i act like a 2 years old kid. But it looks veeery veeeery nice. Practicly, you don’t need a screen saver. If you don’t want anyone seeing what you have on your desktop, just run the water effect thing, and that’s all..

Ubuntu/Debian network adapter bonding

apt-get install ifenslave
nano /etc/modprobe.d/bonding.conf
alias bond0 bonding
options bonding mode=0 miimon=100
modes:
0 – Transmit packets in sequential order from the first available slave through the last.
1 – Only one slave in the bond is active. A different slave becomes active if, and only if, the active slave fails.
2 – This selects the same slave for each destination MAC address.
3 – Transmits everything on all slave interfaces.
4 – IEEE 802.3ad Dynamic link aggregation.
nano /etc/network/interfaces
auto lo
interface lo inet loopback
auto bond0
iface bond0 inet static
address 10.10.10.10
netmask 255.255.255.0
gateway 10.10.10.1
slaves eth0 eth1
bond-mode 0
bond-miimon 100

FreeBSD resource performance

…after 2 tries to recompile its kernel, and some sendmail disable, i finally got it working like this:
last pid:   814;  load averages:  0.12,  0.15,  0.07
up 0+00:14:50  20:02:00
9 processes:   1 running, 8 sleeping
CPU:     % user,     % nice,     % system,     % interrupt,     % idle
Mem: 3816K Active, 4968K Inact, 20M Wired, 9632K Buf, 968M Free
Swap: 537M Total, 537M Free
PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
769 root          1  44    0  9400K  4380K select  1   0:00  0.00% sshd
720 root          1  70    0  3372K  1380K nanslp  0   0:00  0.00% cron
772 root          1  44    0  4572K  2316K wait    1   0:00  0.00% bash
473 root          1  44    0  3344K  1328K select  1   0:00  0.00% syslogd
711 root          1  44    0  6676K  3616K select  0   0:00  0.00% sshd
768 root          1  76    0  3344K  1180K ttyin   0   0:00  0.00% getty
767 root          1  76    0  3344K  1180K ttyin   1   0:00  0.00% getty
814 root          1  44    0  3680K  1796K CPU0    0   0:00  0.00% top
370 root          1  44    0  1888K   540K select  1   0:00  0.00% devd

[root@ ~]# vmstat
procs      memory      page                    disks     faults         cpu
r b w     avm    fre   flt  re  pi  po    fr  sr da0 pa0   in   sy   cs us sy id
0 0 0  39704K   968M    64   0   0   0    54   0   0   0    2  129   78  0  1 99

Now that’s a veeeery light resource consuming operating system, isn’t it?!

FreeBSD (II)

Installing X11 on FreeBSD
# cd /usr/ports/x11/xorg
# make install clean
# nano /etc/rc.conf
add this to rc.conf for keyboard and mouse auto-detection:
hald_enable="YES"
dbus_enable="YES"
Nice thing with installing things in FreeBSD. For example, using a package manager in Red Hat and Debian based distributions doesn’t allow you to install multiple packages from different consoles, that’s mainly because it has to track every changes to the internal database of packages installed, so if you’re installing a package in a console windows, and you try to install another package in another console window, you’ll get an error telling you the package database is locked. Well, in my newly installed FreeBSD I’m installing X.org in a console window, and nano editor in another one. Pretty cool shit!!
To test if X is starting, you run “startx” in CLI, and you should see some green window crap.
Installing Gnome is way too easy:
# pkg_add –r gnome2
Additionally, if you want gnome to be started automatically, you add this to /etc/rc.conf:
# gdm_enable=”YES”
# gnome_enable=”YES”
Upgrading installed ports. You can easily do that by using one of the commands:
# portmanager –u
# portmaster –a
# portupgrade –a
Cleaning disk space after using ports can be done like this:
# portsclean –C # to clean up ports collection
# portsclean –DD # to clean up dist files

FreeBSD (I)

How to update installed ports:
# portsnap fetch
# portsnap extract update
How to install and switch default shell to bash:
# cd /usr/ports/shell/bash
# make install clean
(and prepare yourself for a looong waiting…because it’s installing a lot of dependencies)
chsh –s /usr/local/bin/bash
So now, you’ll have filename, path and command autocompletion.
You can install Midnight Commander like this:
# cd /usr/ports/misc/mc
# make install clean
…and of course, wait…
After that, you can have VI iMproved installed like this:
# cd /usr/ports/editors/vim
# make install clean
If you don’t like default “top”, you can install “htop” by doing this:
# cd /usr/ports/sysutils/htop
# make install clean
I also installed “lsof”, because it was in the handbook they have on the website, so  you can find it in “/usr/ports/sysutils/lsof”.
Another few network settings, and i’m done for today. So, if you need static IP for your internet card you can set it up in “/etc/rc.conf” like this:
ifconfig_le0="inet 192.168.0.100 netmask 255.255.255.0"
If you need to configure a gateway, you can add this to the same “rc.conf”:
defaultrouter="192.168.0.1"
And for domain resolution, i had to manually create a file called “/etc/resolv.conf” and add my
wireless router to the file like this:
nameserver 192.168.0.1
That’s all for today.

UNIX/Linux common kill signals

NAME
kill — terminate or signal a process
SYNOPSIS
kill [-s signal_name] pid
kill -l [exit_status]
kill -signal_name pid
kill -signal_number pid
DESCRIPTION
The kill utility sends a signal to the processes specified by the pid operands. Only the super-user may send signals to other users’ processes. The options are as follows:
-s signal_name A symbolic signal name specifying the signal to be sent instead of the default TERM.
-l [exit_status] If no operand is given, list the signal names; otherwise, writethe signal name corresponding to exit_status.
-signal_name A symbolic signal name specifying the signal to be sent instead of the default TERM.
-signal_number A non-negative decimal integer, specifying the signal to be sent instead of the default TERM.
The following PIDs have special meanings:
-1 If superuser, broadcast the signal to all processes; otherwise broadcast to all processes belonging to the user.
Some of the more commonly used signals:
1 HUP (hang up)
2 INT (interrupt)
3 QUIT (quit)
6 ABRT (abort)
9 KILL (non-catchable, non-ignorable kill)
14 ALRM (alarm clock)
15 TERM (software termination signal)
This is copied from the freebsd kill manual from here. It’s copied over here cause i keep forgetting all this crap.

Saturday, February 27, 2010

Linux Atheros AR9285 wireless driver

So, my 1008HA eee pc has a Atheros Communications Inc. AR9285 Wireless Network Adapter as lspci shows me. Usually, linux uses the default ath9k driver for it, but unfortunately, it sucks. It disconnects, it’s slow, it’s a big fucking mess. So, if you need wireless drivers for your Atheros wireless adapter, i’d proudly recommend this website:


http://linuxwireless.org/

From there, you can download an archive called compat-wireless. Unarchive it, make, make install, …and then reboot your computer. You’ll have a brand new ath9k driver that …RULEZ! No more disconnecting from the wireless AP, no more 30% signal when u’re 5m away from the AP…

IPSec + L2TP on Ubuntu

The requirements were to find a way to make secure VPN tunnel with the workplace, and dial-up VPN being not so secured, we opted for IPsec with L2TP, the built-in VPN client in Windows distributions – including my newly Windows Mobile 6.1, which i actually tested and works great with the VPN.
Basically, we’ll start with a fresh clean installation of Ubuntu Server, in my case, the lastest one 9.04. You start to apt-get everything you need:
apt-get update
apt-get install openswan xl2tpd
PPP is already installed so you won’t have any problems with it. This scenario will be a “road warrior”, because we want to be able to connect from every kind of internet connection to the company’s network – including home internet, 3G modem connected to the laptop, GPRS connection on the mobile phone, ..whatever.
Ok, so you’ll need to configure some files first. Let’s start with ipsec:

ipsec.conf
conn L2TP-PSK-NAT
rightsubnet=vhost:%priv
also=L2TP-PSK-noNAT
conn L2TP-PSK-noNAT
authby=secret
pfs=no
auto=add
keyingtries=3
rekey=no
left=99.99.99.99                  #your external IP address for the clients to enter in their VPN wizzard
leftnexthop=99.99.99.1    #your gateway
leftprotoport=17/1701
right=%any
rightprotoport=17/0
This is the default ipsec.conf configuration file that is installed together with openswan. Next, you’ll have to configure a secret for IPsec, and you’ll do that by configuring /etc/ipsec.secrets file:
99.99.99.99 %any : PSK “yourfavouritepresharedkey”
That should be all for IPsec to work. You just have to put it on startup with:
update-rc.d ipsec defaults
Ok, next, you’ll have to configure xl2tp to work. For that, there is a file called /etc/xl2tpd/xl2tpd.conf that needs to be edited:
[global]                                                                ; Global parameters:
ipsec saref = yes
listen-addr = 99.99.99.99
port = 1701                                                     ; * Bind to port 1701
auth file = /etc/ppp/chap-secrets       ; * Where our challenge secrets are
rand source = dev                     ; Source for entropy for random
[lns default]                                                   ; Our fallthrough LNS definition
exclusive = no                                          ; * Only permit one tunnel per host
ip range = 88.88.88.50-88.88.88.150     ; * Allocate from this IP range
local ip = 88.88.88.1                           ; * Our local IP to use
length bit = yes                                                ; * Use length bit in payload?
refuse pap = yes                                                ; * Refuse PAP authentication
refuse chap = yes                                               ; * Refuse CHAP authentication
require authentication = yes                    ; * Require peer to authenticate
name = vpn-srv                                        ; * Report this as our hostname
ppp debug = yes                                         ; * Turn on PPP debugging
pppoptfile = /etc/ppp/options.l2tpd                     ; * ppp options file
I guess this is almost self explanatory, ..but if you need some help on this, just put a comment. 2 files to go. First is the pppoptfile – /etc/ppp/options.l2tpd

/etc/ppp/options.l2tpd
asyncmap 0
auth
crtscts
lock
hide-password
modem
name l2tpd
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx
After configuring ppp to work with xl2tp, there is one more step for things to work – authentication. You accomplish that by editing the auth file /etc/ppp/chap-secrets

/etc/ppp/chap-secrets
user1      l2tpd     user1password    88.88.88.5
#specify an IP from the range or out of it; whenever user1 is logging in, it will get the same IP
user2      l2tpd     user2password *
# user2 will always get an IP from the range specified in the range from xl2tpd.conf file.
That’s about it. When I’ll feel like doing print screens, I’ll show you how you add your VPN connection in a Windows XP, but i guess you can already find that out with google search.

[update]: i tried the configuration i posted on my blog, but vista client behind NAT didn’t work at all. There are 2 things you should do:

1. registry modification on windows xp/vista:
for windows xp:
in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\IPsec create a DWORDcalled AssumeUDPEncapsulationContextOnSendRule and assign the hex value of “2″. This should allow both client and server behind NAT.
for windows vista:

in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent create a 32-bit DWORD called AssumeUDPEncapsulationContextOnSendRule and assign the same value of “2″ for the same reasons.

2. you should define private networks in ipsec.conf by adding this into ipsec.conf in config setup section:
virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12
It should work after all this.

[update2]: here is the latest configuration that worked, with computers behind NAT or not, with Vista or XP..works with all combinations – of course, with the registry key inserted where it has to be.
conn ROADW-NAT
rightsubnet=vhost:%priv
authby=secret
pfs=no
rekey=no
keyingtries=3
left=80.80.80.80
leftnexthop=80.80.80.1
leftprotoport=17/1701
right=%any
rightprotoport=17/%any
dpddelay=15
dpdtimeout=60
dpdaction=clear
type=transport
auto=add
conn ROADW
authby=secret
pfs=no
rekey=no
keyingtries=3
left=80.80.80.80
leftnexthop=80.80.80.1
leftprotoport=17/1701
right=%any
rightprotoport=17/%any
dpddelay=15
dpdtimeout=60
dpdaction=clear
type=transport
auto=add
and of course, insert this line in ipsec.conf:
virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12
This should work in every type of road warrior. Have fun!! The rest of the configuration files are exactly the ones from above..

Hot vs Cold cloning

It’s not about human cloning, ok?
It’s about VMware cloning. VMware, which is the new project i have to finish in few months – virtualizing almost every server we have. So, there are 2 ways to clone a physical machine:

- cold cloning – you boot the machine into a VMware converter ISO, operating system is off, no activity on the hard drive, and you get to clone everything just the way it was just before you shut down the machine. Configured IP address on the VMware converter that boots up has to have access to the VCenter or ESX machine in order for things to work.

- hot cloning – the physical machine is booted into the operating system it currently has. You start VMware converter on another machine. This machine has to have access to both physical machine that you want to virtualize and the VCenter / ESX machines, and they have to be visible to each other too. Bad part about this method is that the machine is not turned off, i mean, the operating system is not turned off, then hard drive might change during cloning, and data loss occurs.

Unfortunately, cold cloning is not working for me at all. It gives all kinds of errors. Yesterday i tried cold cloning again…made some changes and tried again..and so on, till i finally decided to close all services on the server and then do a hot cloning. I looked the error on VMware KB and they said it’s something related to network problems – something like the NICs are not configured with automatic negociation, ..or something like that. I made sure every NIC from ESX or the physical machine i wanted to virtualize were both auto-negociating speed and duplex and tried again. But i had the same problem. After closing every service on the machine, so no hard drive changes during cloning, and my computer at work coordinating the conversion from the VMware converter standalone, everything work great. Started everything at around 10pm. At 6:30 am i had almost 400GB of virtual machines (2 of them) converted from physical to virtual. All i had to do was changing IP addresses for the new VMware adapter on the host, and installing VMware tools. That was all. BTW, physical machines were Windows 2000.

Anyway, after a good night sleep, when i woke up in the morning at 7am, both machines were converted. No errors, too.

saslauthd problem

Well, i have this server on my hands, built from scratch, and used mostly for hosting websites and email. So, i had to make postfix use virtual tables with mysql, dovecot too..and so on. Anyway, after following some tuturial i made everything running except for smtp authentication using SASLAUTHD. So, on my CentOS 5.3 to make smtp authentication running, i had to create a smtpd.conf file in /usr/lib/sasl2/ with the following content:
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN
And /etc/sysconfing/saslauthd should have the following content:
START=yes
PIDFILE=”/var/spool/postfix/var/run/${NAME}/saslauthd.pid”
SOCKETDIR=/var/run/saslauthd
MECH=pam
FLAGS==”-m /var/spool/postfix/var/run/saslauthd -r”
Usually, default saslauthd file doesn’t have any flags nor pidfile. After that, you should see saslauthd finally authenticating people. Bad part is that i spent almost whole day yesterday trying to figure this shit out. Hopefully, i’ll remember my post next time i’m in this kind of trouble.

postfix + sasl + ssl/tls + mysql support compilation

make -f Makefile.init makefiles ‘CCARGS=-DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH -I/usr/include/sasl -DUSE_SSL -I/usr/include/openssl/ -DUSE_CYRUS_SASL -DUSE_TLS -I/usr/include’ ‘AUXLIBS=-L/usr/lib/mysql/ -lmysqlclient -lz -lm -L/usr/lib/sasl2/ -lsasl2 -L/usr/lib -L/usr/lib/openssl/engines/ -lssl -lcrypto’
make
make install

linux resolv.conf nameserver rotation

This post is about linux resolver. It’s the one that reads /etc/resolv.conf and translates names into IPs. I had this problem with my linux at work. I wanted to resolve both internet hostnames and internal hostnames. For that i needed 2 nameservers. But the lame default resolver configuration works like this. Let’s say that /etc/resolv.conf looks like this:
nameserver 192.168.1.1 #for internal hosts
nameserver 194.102.1.1 #for external hosts
So, linux resolver tries the first nameserver. If the nameserver responds quickly it doesn’t try the second one. It ONLY tries the second one if the first times out. So if i try with this configuration to resolve internet hosts, it fails. Because it only tries the first nameserver, it replies in 1 ms so if i ask for yahoo.com, it tells me “unknown host”. Great. If i switch them, then it will only resolve internet hosts, but no internal ones.
After googling around, i found out that you can balance dns queries between resolv.conf entries. So, there’s a big chance that it will rotate just the way you need. So, to make it rotate, just add options rotate on the first line of resolv.conf, before other nameserver lines, it will then work beautifully.

ubuntu lightning problem

So, Lightning is a calendar client for Mozilla Thunderbird. Nothing new. Well, installing the xpi on linux may give you some problems and that’s only because someone normal, like me, doesn’t get to the producer website to see the requirements, someone normal just installs the xpi. Anyway, ubuntu users should install libstdc++5 before installing the xpi from mozilla. If you already installed the xpi, then uninstall it, install the libstdc++5 using apt-get, and then reinstall the xpi file. It should work like a charm. The original linux system requirement for lightning (taken from mozilla website) are like this:
Linux kernel – 2.2.14 or higher with the following libraries or packages:
  • glibc 2.3.2 or higher
  • XFree86-3.3.6 or higher
  • gtk+2.0 or higher
  • fontconfig (also known as xft)
  • libstdc++5
    (Many modern Linux distributions only package libstdc++6, which is incompatible with Lightning. Therefore please install the package “libstdc++5″ or “compat-libstdc++” on your system before installing Lightning)

linux vmware workstation 6.5 arrow keys problem

Well, vmware on linux has a lil problem. When u try using the arrow keys in the virtual machine, they don’t work. You have to use the arrows from the numpad keys to work. So, eventually u have enough of this and want to solve this. So, in the home folder of the linux user u use for running vmware it should be a .vmware folder. Create a file called “config” in that folder (/home/youruser/.vmware/config) with the following content:
xkeymap.keycode.108 = 0×138 # Alt_R
xkeymap.keycode.106 = 0×135 # KP_Divide
xkeymap.keycode.104 = 0×11c # KP_Enter
xkeymap.keycode.111 = 0×148 # Up
xkeymap.keycode.116 = 0×150 # Down
xkeymap.keycode.113 = 0×14b # Left
xkeymap.keycode.114 = 0×14d # Right
xkeymap.keycode.105 = 0×11d # Control_R
xkeymap.keycode.118 = 0×152 # Insert
xkeymap.keycode.119 = 0×153 # Delete
xkeymap.keycode.110 = 0×147 # Home
xkeymap.keycode.115 = 0×14f # End
xkeymap.keycode.112 = 0×149 # Prior
xkeymap.keycode.117 = 0×151 # Next
xkeymap.keycode.78 = 0×46 # Scroll_Lock
xkeymap.keycode.127 = 0×100 # Pause
xkeymap.keycode.133 = 0×15b # Meta_L
xkeymap.keycode.134 = 0×15c # Meta_R
xkeymap.keycode.135 = 0×15d # Menu
Restart VMware and it should work.

Dlink and RPM Sports (but no connection between them)

So, i have to really blog about this, and in a good way, for they put a smile on my face, and made me trust them once more.

Let’s start with RPM Sports. For those who don’t know what i’m talking about, they’re the producers of the powerball i have. If you still don’t know what i’m talking about, visit their webpage. Akis rulez!!! Anyway…my powerball is a neon pro, and has some LEDs that lighten up with the more rotations the powerball has, and has a digital counter. I had a problem with the counter, ..it just stopped working. And a co-worker thought he’d try start the powerball on the floor, which kinda fucked it. Anyway, i wrote to the powerball producers about my counter and about what happened to my powerball, and they instantly decided they should send me the spare parts for me to change: the counter, the bottom shell, and the top shell. So this guy i talked for by e-mail..let’s say ..10 e-mails most, told me he’s gonna send those for free. Although when i bought this powerball in Romania they told me i have 6 months guarantee, RPM Sports tell everybody it’s lifetime. And i didn’t believe him till today. When my mom called me that i have waiting for me at the postal office. And he kept his word. He sent me everything i needed to make my powerball spin smoothly again. And that’s what i did today, replacing parts and test it. Kinda works better than it worked when i first bought it. Thanks Philip.

D-Link. As some of my friends know, i have a DIR-635 wireless-N router in my place giving me internet connection to everything wireless: my laptop, gf’s laptop, my cell phone. Today, while my internet connection was down, i discovered the firmware update page of the router. And after a quick internet check (the internet came back), i discovered a new firmware update and successfully applied it to my router. After that, a new menu item appeared – USB Settings. When i bought this, i thought the usb port was for storage or something, but after reading the manual, i realized that its purpose was waaay different. Well, after applying this firmware update, i discovered some new functionalities to my USB port on the router. So now, i can access a storage system attached to the router on that USB, using a D-Link software called SharePort. So, SharePort detects what the router has connected to its USB port and asks me if i wanna connect to it. After agreeing with that, it automatically appears in Computer window on my Vista. The only bad part is that it only supports 1 user connected to the USB at a time. Hopefully, they’ll fix that very soon.

mozy.com

Well, i’ve started looking for another online storage. And, i got into mozy.com. They look nice, they’re cheap, there’s unlimited storage, but they have a fucking shitty EULA. Why is it shitty? ..well, i’ll just copy and paste my whole e-mail that i sent to them, because i’m too fucking lazy to just write all of that again. So, here it is..
Hello,
i just made a test account to see if this worth paying or not, and, what can i say?..the software and backup system works great. But i also discovered the terms for this service, and i have some questions about some parts of it:
  • You agree to indemnify, defend, and hold harmless Decho and its suppliers from any and all loss, cost, liability, and expense arising from or related to your data, your use of the Service, or your violation of these terms.
By this, you mean that in case of data loss, because of your server fail, or anything not related to the customer, thus related to the provider, i have to “indemnify, defend, and hold harmless Decho and its suppliers”? or it’s just related to data loss because of the customer?
  • The Software and Service may collect certain non-personally identifiable information that resides on your computer, including, without limitation, statistics relating to how often backups are started and completed, performance metrics relating to the Software, and configuration settings. This information collected will be sent to Decho and may be used by Decho without restriction.
What exactly “without limitation” means? I know what non-personally identifiable information means, but maybe you’re interested on how much time i make use of yahoo messenger?..or mozilla thunderbird?..or you might install a keylogger to see how many “A” i press on the keyboard ..please explain “without limitation” better to me.
  • When you back up data via the Service, you agree that we and our service providers may copy and store such data as part of the Service.
I’m not sure what “as part of the Service means”. Because i don’t want my data to be stored anywhere on your hardware without my consent and someone to have physical access to the hardware involved in the storage.
  • Decho reserves the right at any time to modify, suspend, or discontinue providing the Service or any part thereof in its sole discretion with or without notice.
So, today i have my whole hard-drive backed “as part of the Service”, but tomorrow when i reinstall my operating system and try to restore things, i see my account disabled without notice? I really hope you’re kidding about this.
  • Decho reserves the right at any time to modify this Agreement in its sole discretion, without liability to you. This Agreement, as amended, will be effective upon acceptance of registration for new users and effective for all existing users 15 days after the posting of any amended terms on the Mozy.com website. You agree to be bound by this Agreement, as modified. If you do not agree to any changes to this Agreement, you must terminate your account immediately.
Hopefully, i will be noticed on my e-mail about agreement changes?..or do i have to browse your website every day to see if something is changed to the agreement, and see if i still comply or not. In case i’m not, hopefully get a refund on my money paid.
And in “payment + refunds” i found this:
  • You are free to cancel your account at any time. Similarly, Decho reserves the right to cancel any account at any time, for any reason, including, but not limited to, a breach of this Agreement or the EULA.
What exactly “for any reasons” means? If it rains too much, and my first name initial draws itself magically on the window of your office, and this upsets you, i get my account revoked and i loose all my files?..and that of course, “without notice”?
Please correct me if i’m wrong, but i must be out of my mind to pay for something like this, no matter how cheap this could be. If i want some online storage, and trust me, i tried almost every usable online storage there is, that has no guarantees and preferably cheap (or free), there’s always www.mybloop.com, which is free, and i didn’t even read their license agreement, and that’s because it’s free, and i can understand terms and agreement like you have on your website.
I know that not everybody reads the licence agreement, but i wanna know what happens to my personal files, pictures,..everything, and first of all, i don’t wanna loose any of them, so i need some guarantees.
Thanks in advance.
Best regards,
Radu
[update]: Motherfuckers still didn’t reply to my e-mail. I guess they’re still thinking of a reason for me to pay for their crap service.

mybloop.com

Unfortunately, they let me down. First, they restricted access to upload page of their website, now i can’t install blooploader on my newly install vista, and i can’t even use the website upload flash utility… Too bad, i thought i searched enough…
Well now…searching again, for some online storage…

[update]: i gave it another shot to mybloop. Windows client doesn’t install right because it can’t download some zip file from they website, and the linux version of the client keeps crashing like a motherfucker…i’ve had it with this website and their tool..Maybe they’ll hire some good programmers sometime soon and i will try them again. For now, they suck..

[update #2]: mybloop.com is down, mainly because they couldn't make money out of it. Too bad, they had this romanian guy in their team, i hoped they'd do a really great job out of it.

Windows Live Essentials

So, yesterday i just reinstalled windows vista x64 ultimate on my laptop, after unsuccessfully trying to get a linux desktop on it. I fucking tried every fucking driver for my ATI Radeon Mobility HD3470, but none of them worked. So, back to windows.
I wanted to have my hotmail accounts directly into a mail client software. So, after being sick of Mozilla’s webmail software that suddenly didn’t work ..that was before i formatted everything..i tried using vista’s Windows Mail. Well, that was unsuccessful as well. But, nice thing, they recommended me to install Windows Live Mail. And i did, and beside that, some other Windows Live software, ..like Windows Live Writer.
So, Windows Live Mail eventually worked with my hotmail accounts, so now i have almost all accounts in one place – the one it’s missing is yahoo…and i am not going to pay to them very soon just to read my e-mail, and the new software i discovered was this Windows Live Writer. Despite all microsoft shit i have been using for years now, well, this one i like, mostly because it’s not only supporting blogging to microsoft blogging platform ..spaces, but also has support for different platforms like wordpress, blogger..and so on.
Well, this is my first post from this nice microsoft software, but if i don’t have problem with it, there’s more to come..
[update]: it also recognizes wordpress categories…nice job!

online file hosting

So, 2 days ago i was getting my external hdd almost full, and i started looking for online storage that can fulfill my needs. Well, i needed something that can be easy to administer, large storage, no bandwidth limitations, and a desktop client/protocol to manage downloads/uploads. So i started trying everything out there. Bad part is that i’m going to enjoy a lot of spam to my only gmail account that didn’t had any..till today. Anyway, after trying few solutions that were highly recommended on some reviews websites, i got over www.mybloop.com . So, what they offer?..well, about exactly the same with my needs. They offer unlimited space, unlimited bandwidth, and they offer a tool called “blooploader” for people to manage files they own over there. Good part is that the client is cross platform, has windows, mac and linux version, and the best part is that all this is completely free.
Some weeks ago i was looking for a bigger external drive, ..somewhere around 2TB, …but now, i’m just testing my internet speed, to see how much time it will take me to upload everything to mybloop)
I tried testing the client at home today, because i had some problems with it at work on both linux and windows platforms. And, i saw they don’t have the download link anymore for their client, because they  said people have problems connecting. So, now i understand it wasn’t my secured bank connection that stopped me from using blooploader, it was their servers.
Hopefully, they’ll solve this issue very soon, and of course, they’ll get ready for massive uploads from me..

GMX.com

They almost rule!! And that’s because they have something i really wanted for some time now. So, what they have?..or..what they can do? Well, it’s simple. They can retrieve e-mails from yahoo and hotmail free accounts and put them in your GMX inbox. And the best part is, they offer POP3. So, GMail being my favourite webmail, i can collect yahoo and hotmail accounts to my gmx account, and then POP3 them to my gmail account. So i guess there is a God after all…
Too bad the “mail collector”, as God named his wonderful tool, is kinda buggy. Hopefully, God will keep working on it till it’s buggy-less. Anyway, good luck to GMX team in perfecting this tool they have and which is the greatest of them all.

Digsby messenger + Twitter

So, this post will be about 2 things I discovered today. One of them is a free messenger for many IM networks ..something like Miranda, Trillian, GAIM.. But, looks very nice, has many functionalities, and most IM features works in this multimessenger called Digsby. I checked file transfer and video & audio conference on YM network – works great! After this, i discovered some conectivity with few social networking websites, like ..facebook, myspace, …and twitter. I already knew what facebook is …what myspace is…what linkedin is..but i didn’t know about twitter.
In twitter you connect to people you already find there, meaning you’re following them – getting updates of what they write and shit. And other people can follow you, called themselves “followers”, and they get every update of the people they follow, including yourself. I already found someone who had an account on twitter, so now i’m following him) And, i can get updates in my Digsby messenger, i can write new tweet directly from the interface, i can write e-mails to people from my contact list using Digsby. I don’t know…i’m just amazed of this messenger, and the idea of twitter, so now i’m their no.1 fan.

[update]: I'm just waiting for their linux version now..

Mobile internet with Huawei E220 and Ubuntu

So, you’ll need the following:
- ubuntu desktop 8.04 fully updated – including kernel > 2.6.20 (i think the latest is 2.6.24 on that distro)
- huawei E220 (currently on Orange Romania)
First of all, make sure you have kernel > 2.6.20 by typing:
uname -r
After that, make sure you have “wvdial” command available. If you not, just apt-get install it.
Then, insert the SIM card from the modem in a cell phone, and remove the pin protection.
Create a file called .wvdialrc in your home directory (ex. /home/user/.wvdialrc) and put the following lines in it:
[Dialer Defaults]
Phone = *99#
Username = orange
Password = orange
Stupid Mode = 1
Dial Command = ATDT
Init1 = AT
Init2 = ATE0V1&F&D2&C1S0=0
Init3 = AT
Init4 = ATS0=0
Init5 = ATE0V1&F&D2&C1S0=0
Init6 = AT+CPMS=”SM”
Init7 = AT+CMGF=1
# below, you can replace “2″ by “0″ to force EDGE connection
Init8 = AT+COPS=0,0,”RO ORANGE”,2
Modem = /dev/ttyUSB0
Baud = 460800
ISDN = 0
Modem Type = Analog Modem
# below, you can set APN name; maybe your provider gave you in order to get fixed IP – in this case, it’s called “internet”
#Init9 = AT+CGDCONT=1,”IP”,”internet”;
After saving the file, run as “user” the command wvdial. It should work perfectly. BTW, it will try to connect more than 1 time before succeeding. Did the same thing to me. If it doesn’t work, make sure your linux loads the correct driver to this USB modem.

/var/log/messages should look like this:

Oct  3 02:03:27 xxx kernel: [ 4072.581107] usb 1-1: new full speed USB device using uhci_hcd and address 2
Oct  3 02:03:27 xxx kernel: [ 4073.038320] usb 1-1: configuration #1 chosen from 1 choice
Oct  3 02:03:27 xxx kernel: [ 4073.319908] usb 1-2: new full speed USB device using uhci_hcd and address 3
Oct  3 02:03:28 xxx kernel: [ 4073.747801] usb 1-2: configuration #1 chosen from 1 choice
Oct  3 02:03:28 xxx kernel: [ 4073.756208] hub 1-2:1.0: USB hub found
Oct  3 02:03:28 xxx kernel: [ 4074.103785] hub 1-2:1.0: 7 ports detected
Oct  3 02:03:28 xxx kernel: [ 4074.240712] usbcore: registered new interface driver usbserial
Oct  3 02:03:28 xxx kernel: [ 4074.240926] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial support registered
for generic
Oct  3 02:03:28 xxx kernel: [ 4074.241394] usbcore: registered new interface driver usbserial_generic
Oct  3 02:03:28 xxx kernel: [ 4074.241420] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial Driver core
Oct  3 02:03:28 xxx kernel: [ 4074.259436] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial support registered
for airprime
Oct  3 02:03:28 xxx kernel: [ 4074.259720] airprime 1-1:1.0: airprime converter detected
Oct  3 02:03:28 xxx kernel: [ 4074.260264] usb 1-1: airprime converter now attached to ttyUSB0
Oct  3 02:03:28 xxx kernel: [ 4074.260347] usb 1-1: airprime converter now attached to ttyUSB1
Oct  3 02:03:28 xxx kernel: [ 4074.260403] usb 1-1: airprime converter now attached to ttyUSB2
Oct  3 02:03:28 xxx kernel: [ 4074.260431] usbcore: registered new interface driver airprime
Oct  3 02:03:28 xxx kernel: [ 4074.294027] usbcore: registered new interface driver libusual
 Hopefully, it will work as beautiful as it worked for me. If it doesn’t, just send a comment.