domingo, 13 de janeiro de 2013

How to eject usb disck on ubuntu


udisks --unmount /dev/sdb1 && udisks --detach /dev/sdb

quarta-feira, 2 de janeiro de 2013

Build-essential equivalent for fedora

Again something went wrong.....

Here is Recipe:

  1. yum groupinstall 'Development Tools'
  2. yum groupinstall 'Development Libraries'

Wait about 4m and you are done..... And smells like pasta when is done!
VirtualBox and Fedora update

The small letters are the worse.....

So i've upgraded fedora and guess what troubles with virtualbox. Whent to the site and found a small note....

"Note: Users of Fedora/Mandriva might want to install the dkms package (not available on openSUSE) to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the linux kernel version changes during the next kernel update."


Where is the recipe:


  1. sudo yum install dkms
  2. sudo ./etc/sysconfig/modules/VirtualBox.modules
And that's all folks.....

quarta-feira, 5 de dezembro de 2012

Fedora Nixnote

Well! i like Evernote....

I'm trying NixNote... Guess what, problems in instalation. Here's is the recipe for fedora:


  1. Download the rpm from http://sourceforge.net/projects/nevernote/
  2. sudo yum install nixnote-1.4-2.x86_64.rpm
  3. Start Nixnote
  4. Go to Tools Connect
  5. PROBLEM FOUND  Error: ssl support not found
  6. sudo yum install openssl-static
By now you should be able to connect to Evernote server

quinta-feira, 29 de novembro de 2012

Finnaly Cisco VPN working....

Here is my recipe:
  1. Install network vpnc plugin for network manager.
  2. According to the server you want to connect, you can have different settings to be made, in my case, i did the folowing:
  3.                        
                            Gateway: vpnc url where your client will connect
                            Username: your username
                            Username Password: your username password
                            Group Name: Cisco vpn group configured at server site
                            Group Password: Cisco vpn group password

    Well at this point  i was ready to go! Connecting and.... NOTHING....! Again and.... Nothing. Again and again! Some times i just hate my work. :)

  4. Googling

    After a few days googling i found some interesting information,  vpnc client would have to set is MTU to 500. So i talked with my guru for divine enlightenment (command man).... And exercised those teachings in terminal
    Through sudo ifconfig check the characteristics of your network cards, and usually by default all are set to MTU 1500. So lets change the MTU size...


  5. sudo ifconfig [networkcard] mtu 500

Guess what!!??!?! It worked!!!! I thought this MTU negotiation should be done automatically, i don't know why is not made, i don't know if it is a bug in network manager or is just supposed to work like this. If someone knows how to explain it. Please don't hesitate.
Even if you install the vpnc client (terminal mode), the problem remains, it just won't work, i add to change the network card MTU.

My regards to you all...


Links:
Wikipedia Maximum Transmission Unit
Network Manager
Cisco VPn Groups

Documentation
man ifconfig

Logs
tail -f /var/log/messages