Tuxyves ;-)

Just my technological notepad

Jun

28

VirtualBox et USB (Ubuntu)

By admin

Je pense que vous n’avez pas les droits d’accès nécessaires, donc voilà ce que vous devez faire :
1- Allez à : Système -> Administration -> Utilisateurs et groupes
2- cliquez sur déverrouiller ensuite entrez votre mot de passe.
3-cliquez sur : gérer les groupes
4-défilez en bas et sélectionnez vboxusers ensuite cliquez sur propriétés
5-Mettez 128 ou 127 dans ID de groupe
6-Cochez Tous les membres de groupes (Vous pouvez les cocher tous ou bien en choisir un ou deux selon le besoin)
7- Cliquez sur valider ensuite fermer
8-Redémarrer votre ordinateur

May

20

Bashrc color configuration

By admin

edit ~/[nom]/.bashrc

uncommant : force_color_prompt=yes

exemple : PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[m\]\w\[\033[00m\]\$ '

http://perso.telecom-paristech.fr/~hmessaou/Doku/couleur_prompt.pdf

rougefonce=’\[\033[00;31m\]‘
rougeclair=’\[\033[01;31m\]‘
vertfonce=’\[\033[00;32m\]‘
vertclair=’\[\033[01;32m\]‘
jaunefonce=’\[\033[00;33m\]‘
jauneclair=’\[\033[01;33m\]‘
bleufonce=’\[\033[00;34m\]‘
bleuclair=’\[\033[01;34m\]‘
rosefonce=’\[\033[00;35m\]‘
roseclair=’\[\033[01;35m\]‘
cyanfonce=’\[\033[00;36m\]‘
cyanclair=’\[\033[01;36m\]‘
blanc=’\[\033[01;37m\]‘
OFF=’\[\033[m\]‘

Apr

28

How to compress folder

By admin

=> “c” parameter for compress

tar -vcjf dest_folder.tar.bz2 folder_file_src

Mar

24

Mini 2440 – Kernel 2.6.13

By admin

into kernel-2.6.13 folder read README + kernel-2.6.13/Documentation/arm/Samsung-S3C24XX

CROSS_COMPILE=/opt/[crosstool-S3C2440A]/arm/arm-unknown-linux-gnu make 0=../kernel-bin/ menuconfig

chose alternate conf => confA70
modify it + save it to .conf

CROSS_COMPILE=/opt/[crosstool-S3C2440A]/arm/arm-unknown-linux-gnu make 0=../kernel-bin/

Mar

24

Linux Book

By admin

http://blog.developpez.com/index.php?blog=58&title=le_kit_de_survi_du_developpeur_linux&more=1&c=1&tb=1&pb=1

Mar

8

Search under Linux

By admin

- To search something in all of the disk :
locate "file or folder"
- To search something with path (word in all files) :
find /path/to/dir/ | xargs grep --color "1234" -n
find ../../ -name "*.c" | xargs grep --color "long"
or
grep -r "1234" *

NB: for find : “-L” to follow the symbolic link; for grep “-r” <= recursive; "-n" <= display line number

- To search where is installed an executable on disk :
which “software_name”
$> which nautilus
/usr/bin/nautilus

Mar

8

Linux symbolic link

By admin

To create a symbolic link in Unix or Linux, at the shell prompt, enter the following command:
ln -s {$target-filename} {$symbolic-filename}

Alias => to call “vim” with “vi” shell command :
alias vi=vim

Feb

20

Mini2440 environment tools configuration

By admin

In order to configure your workspace, you have to follow this links :
- Mini2440 & uboot downloader setting up :

Google project at http://wiki.linuxmce.org/index.php/Mini2440

Tuto + wondefull video at http://narnia.cs.ttu.edu/drupal/node/131

http://wiki.linuxmce.org/index.php/Mini2440

http://blog.leshak.ru/english/pages/how-to-install-u-boot-linux-2629-rootfsjffs2-busybox-1132-into-nand-qq2440/

http://docwiki.gumstix.org/index.php/Uboot

http://wiki.openembedded.net/index.php/Getting_Started

- Cross-compilator configuration :

- tftptboot :

sudo apt-get install tftpd-hpa tftp-hpa xinetd

Debian / Ubuntu

With the Debian / Ubuntu distributions, the TFTP server configuration file is /etc/default/tftpd-hpa and by default it instructs the TFTP daemon to use the/var/lib/tftpboot directory to store its files. Also by default, the daemon is disabled.

Another thing to remember is that the tftpd-hpa server daemon runs independently of xinetd and has its own startup script in the /etc/init.d directory. By default, the daemon is started at boot time, but the configuration file’s default configuration setting disables it by forcing the daemon to exit prematurely.

This example enables the daemon in the configuration file and then starts the TFTP server:

root@u-bigboy:/tmp# vi /etc/default/tftpd-hpa
...
...
...
#
# File: /etc/default/tftpd-hpa
#
#Defaults for tftpd-hpa
RUN_DAEMON="yes"
OPTIONS="-l -s /var/lib/tftpboot"
...
...
...
root@u-bigboy:/tmp# /etc/init.d/tftpd-hpa start
Starting HPA's tftpd: in.tftpd.
root@u-bigboy:/tmp#

Note: With both Redhat and Debian distributions, you can test whether the TFTP process is running with the netstat command which is used to check the TCP/UDP ports on which your server is listening. If it isn’t running then there will be no response.

[root@bigboy tmp]# netstat -a | grep tftp
udp        0      0 *:tftp                  *:*
[root@bigboy tmp]#

Preparing TFTP Server Files

The TFTP server will not create files in its transfer directory if they don’t already exist. Each device must have a pre-existing configuration file in the tftpboot directory. The files also need to have their permissions adjusted to allow them to be updated by the TFTP daemon.

[root@bigboy tmp]# touch /tftpboot/pixfw-config
[root@bigboy tmp]# chmod 666 /tftpboot/pixfw-config
[root@bigboy tmp]# ll /tftpboot/
total 1631
-rw-rw-rw- 1 root root 3011 Oct 29 14:09 pixfw-config
[root@bigboy tmp]#

/****************/
Have a look to these good links/tutorials:Tutoriel intéressant 2440
http://www.friendlyarm.net/downloads
http://www.pobot.org/-La-Mini2440-de-FriendlyARM-.html
http://forum.pobot.org/topic81.html
http://code.google.com/p/friendlyarm/wiki/Linux_Tutorial
intersting videos : http://farm2440.blogspot.fr/
/***************/

Jan

30

iPad Mouhaaaa Ahahaha !!!

By admin

Pad = “serviette hygénique” in French ;-) )

This video was shooted in 2006 :

Jan

30

My first ticket

By admin

WordPress and Free Host mariage ?

http://www.lashon.fr/wordress/free-et-wordpress/