Εμφάνιση αναρτήσεων με ετικέτα debian. Εμφάνιση όλων των αναρτήσεων
Εμφάνιση αναρτήσεων με ετικέτα debian. Εμφάνιση όλων των αναρτήσεων

Τρίτη 23 Δεκεμβρίου 2008

Cowsay sodomized:D

You probably know the cowsay program.
If you do not, install cowsay, run it, type "hello" and press CTRL+D.
Then you will see this:

______
< hello >
-------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||

Nothing' s special till now.

now run it with the -f sodomized flag and you will see this:

______
< hello >
------
\ _
\ (_)
\ ^__^ / \
\ (oo)\_____/_\ \
(__)\ ) /
||----w ((
|| ||>>



The creativity doesn't stop here of course...
run it with the -f sodomized-sheep flag and you will see this:

______
< hello >
------
\ __
\ (oo)
\ ( )
\ /--\
__ / \ \
UooU\.'@@@@@@`.\ )
\__/(@@@@@@@@@@) /
(@@@@@@@@)((
`YY~~~~YY' \\
|| || >>


Ok, and what's the point of this post?
Nothing, it is just funny, but:
still 122 release critical bugs on Debian :)
http://bugs.debian.org/release-critical/

Πέμπτη 18 Δεκεμβρίου 2008

Some usefull notes on Debian Sid

I found a very useful article here: http://wooledge.org/~greg/sidfaq.html

The answered questions are the following:

1. What is sid?
2. What is unstable?
3. How do I install sid?
4. Does sid have package foo?
5. Is package foo broken?
6. How do I know what version of package foo I'm using?
7. When will package foo version bar be in sid?
8. But I need package foo version bar right now!
9. Can I use sid packages on stable?
10. Can I use sid packages on testing?
11. How do I backport a sid package to testing or stable?
12. Aren't there already backports...?
13. Should I use sid on my server?
14. Should I use sid on my desktop?
15. Does sid have security updates?
16. When is sid going to be released?

Τρίτη 3 Ιουνίου 2008

Destinator GPS usb on linux tutorial BU-303

I bought a BU-303 GPS Receiver [http://gpsd.berlios.de/bu_303b.html] with USB with the idea to connect it to my Asus EEE with Debian. It has an internal serial to usb adapter.
After plugging it in, a did a "dmesg" a got this result:

usb 3-1: new full speed USB device using uhci_hcd and address 2
usb 3-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
pl2303 3-1:1.0: pl2303 converter detected
usb 3-1: pl2303 converter now attached to ttyUSB0
usbcore: registered new interface driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver



So the device was fully recognized by the 2.6.24-1 kernel I use.
As stated by the kernel, the device was now attached and usable from ttyUSB0.
ttyUSB0 is at the /dev directory, so the full path to the device is /dev/ttyUSB0.

The second step I had to take was to install GPSd.

sudo aptitude install gpsd


GPSd is a interface daemon for GPS receivers. I started it using

sudo gpsd -n /dev/ttyUSB0

.

This step is unnecessary but it is really interesting.
try installing gpsd-clients and do

gpspipe -s /dev/ttyUSB0 -r


This will show you all the raw data the gps sends back.
[Check this page ( http://www.gpsinformation.org/dale/nmea.htm ) to get an explanation of what the codes mean]

Now all you have to do is install wine

sudo aptitude install wine

.
Wine is a program that emulating Window's dlls, accomplishes to run Windows programs on Linux.

Install Destinator just by clicking the .exe (I used Destinator 7 for Windows edition) through wine. [ok, make your own research on how to get Destinator].

Now all we have to do is to make wine see the serial port for communicating with the GPS.
Wine reads the name of a file representing a serial's port name and links it with a "true" serial port. For example: com2 -> /dev/ttyS1 links the wine's port com2 with our pc's serial port ttyS1.

To do this, go to the ~/.wine/dosdevices folder and create a symboling link between com13 and /dev/ttyUSB0

cd ~/.wine/dosdevices
ln -s /dev/ttyUSB0 com13

.

Now start the Destinator and choose to search automatically for a GPS at a com port. Choose Sirf as protocol.

When the Destinator find the port you are ready to navigate!
Have a nice trip!

I will post a photo soon!

Παρασκευή 7 Σεπτεμβρίου 2007

Για να δούμε και το Beryl!

Επειδή δεν γίνεται να ησυχάσω τόσο εύκολα, αποφάσισα να (ξανα) δοκιμάσω το Beryl!

Να και ο οδηγός που με βοήθησε:
http://technowizah.com/2007/02/debian-how-to-aiglx-beryl.html

Απο τον οδηγό λοιπόν:

Εγκαταστήστε τους τελευταίους Nvidia drivers (και όχι τους nv που φτιάχνει το Debian, σσ: πιο κάτω γράφω ένα ωραιότατο πρόγραμμα για αυτή τη δουλειά)

Βεβαιονόμαστε οτι το xorg.conf έχει τις παρακάτω ρυθμίσεις:

In Section "Modules", have
Load "dbe"
in first position.

The Section "Devices" needs this line:
Option "XAANoOffscreenPixmaps" "true"
in last position.

Also, make sure that a Section "Extensions" with this content:
Section "Extensions"
Option "Composite" "Enable"
EndSection
is present.

NVIDIA users have a few extra requirements.
In Section "Devices", those lines are required:
Option "AllowGLXWithComposite" "true"
Option "TripleBuffer" "true"

Finally, the Section "Screen" must includes those entries:
Option "AddARGBGLXVisuals" "true"
DefaultDepth 24

Αφαιρούμε το Compiz (αν το έχουμε)
apt-get remove --purge compiz compiz-gtk compiz-core compiz-gnome compiz-plugins

Προσθέτουμε τις γραμμές:
deb http://debian.beryl-project.org etch main
deb-src http://debian.beryl-project.org etch main
στο /etc/apt/sources.list

πατάμε wget http://debian.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add - | apt-get update | sudo apt-get install beryl emerald

γράφουμε beryl-manager, περιμένουμε λίγο να φορτώσει και VOILA!

Για να φορτώνεται αυτόματα το beryl κάθε φορά που ξεκινάει το gnome κάντε το εξής:
Desktop -> Preferences -> Sessions and choose the Startup Programs tab. Simply add an entry for Beryl: beryl-manager

Πέμπτη 6 Σεπτεμβρίου 2007

ΤΕΛΕΙΑ ΚΑΙ ΠΑΥΛΑ ΤΟ COMPIZ ΕΙΝΑΙ ΚΑΥΛΑΑΑ

Απο τον οδηγό του: http://www.ee.oulu.fi/~sta/howto/xgl-debian.html
εγκατέστησα το XGL και το compiz και ΠΕΘΑΙΝΩ με αυτά που βλέπω:):):)

Συνοπτικά απο τον οδηγό:

Εγκαταστήστε τους τελευταίους Nvidia drivers (και όχι τους nv που φτιάχνει το Debian, σσ: πιο κάτω γράφω ένα ωραιότατο πρόγραμμα για αυτή τη δουλειά)

Γράψτε: aptitude install compiz compiz-gnome compiz-gtk compiz-plugins

Βεβαιωθείτε οτι το xorg.conf μεταξύ άλλων περιλαμβάνει ΚΑΙ τα εξής:

Section "Device"
Identifier "NVIDIA Corporation NV36 [GeForce ******]"
Driver "nvidia"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
Option "backingstore" "true"
Option "AddARGBGLXVisuals" "True"
EndSection

Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
Option "DAMAGE" "Enable"
EndSection

Φτιάξτε το αρχείο $HOME/.gnomerc --- και γράψτε μέσα του τις εξής δύο γραμμές (μία): compiz --replace gconf decoration wobbly fade minimize cube\
rotate zoom scale move resize place switcher &

Δώστε τα κατάλληλα δικαιώματα στο .gnomerc: chmod a+x .gnomerc

Και παρακαλώ όπως επανεκινήσατε τον υπολογιστή σας, ξαπλώσατε αναπαυτικά στην καρέκλα με το mouse στο χέρι και απολαύσατε το θέαμα!

Παρασκευή 17 Αυγούστου 2007

Οι περιπέτειες του μικρού Ventrix στον μαγικό κόσμο του Linux

Όσο θυμάμαι τον εαυτό μου μπροστά απο εναν υπολογιστή, αδυνατώ να ξεχάσω τις στιγμές που προσπαθούσα, να εγκαταστήσω μια διανομή linux. Αυτό το ̔με τρελές δυνατότητες̔ λειτουργικό είχε εξιτάρει την φαντασία μου και η επιμονή μου με κράτησε αρκετές μέρες άυπνο...

Μάταια όμως.

Εκείνη την εποχή το linux ήταν για τους λίγους και εγώ δεν ήμουν (ακόμα πιστεύω οτι δεν είμαι) ένας απο αυτούς. Ακόμα και μετά απο μερικές πετυχημένες εγκαταστάσεις (mandrake, suse) και παρόλα τα προβλήματα που αντιμετώπιζα (μη αναγνώριση του modem της κάρτας ήχου κλπ) μετά απο λίγο έχανα το ενδιαφέρον μου.

Φτάσαμε αισίως στο σήμερα. Μετά απο ένα ακόμα μεγάλο κενό οφειλόμενο στην απογοήτευση της μη εύρεσης μιας διανομής που να μην αντιμετωπίζει τραγικά (έστω) προβλήματα και κατόπιν μερικών ακόμα περιπετειών με διάφορες ̔εκσυγχρονισμένες̔ διανομές γνώρισα το Debian.

Μην πολυλογώ περισσότερο, μετά απο αρκετό πειραματισμό και στην εν λόγω διανομή (που ομολογουμένως τα πήγα αρκετά καλά, δεδομένου οτι η κάθε εγκατάσταση κρατούσε ΤΟΥΛΑΧΙΣΤΟΝ 4-5 ημέρες) αποφάσισα να εξαφανίσω τα Windows 2003 Server και να εγκαταστήσω αποκλειστικά Debian.

Σε αυτό εδώ λοιπόν το blog, θα κρατάω απο εδώ και πέρα όλες μου τις περιπέτειες που έχουν σχέση με το παράτολμο εγχείρημά μου.

Φύγαμε!