Posts Mentioning RSS Toggle Comment Threads | Keyboard Shortcuts

  • gas 14:39 on 27 December 2009 Permalink | Rispondi
    Tags: , , , ,   

    Indirizzo ip dinamico e dyndns opendns 

    Ogni qualvolta ci si collega ad internet viene assegnato un indirizzo ip pubblico al proprio computer/router, in Italia quasi tutte le connessioni adsl private hanno un ip dinamico che camba tutte le volte che ci si riconnette. Può tornare comodo conoscere questo ip per poter raggiungere il proprio computer dall’esterno ( lavoro, università ) e per evitare di doverselo scrivere su un “post it” tutte le volte che si accende il modem è possibile utilizzare un dns dinamico .

    Razionale

    1. iscriversi ad un servizio di dns dinamico, si potrà scegliere un dominio di terzo livello ( terzolivello.secondolivello.it) a cui associare l’indirizzo ip del computer.
    2. iscriversi a dnsomatic che provvederà a fornire a tutti i servizi che si usano (come i servizi di dns dinamico ma anche altri come opendns) l’indirizzo ip del computer
    3. usare un client che al cambio dell’indirizzo ip avvisa dnsomatic

    (Continua…)

     
  • gas 22:15 on 17 July 2008 Permalink | Rispondi
    Tags: , , ,   

    Ubuntu on Toshiba A300 PSAJ4E 

    toshiba a300Info
    00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
    00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03)
    00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
    00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
    00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
    00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
    00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
    00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
    00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
    00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
    00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
    00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
    00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
    00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
    00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
    00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
    00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
    01:00.0 VGA compatible controller: ATI Technologies Inc Mobilitiy Radeon HD 3400 Series
    01:00.1 Audio device: ATI Technologies Inc RV620 Audio device [Radeon HD 34xx Series]
    02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
    03:00.0 Ethernet controller: Marvell Technology Group Ltd. Unknown device 4355 (rev 12)
    0a:01.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
    0a:01.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02)
    0a:01.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)

    (Continua…)

     
    • Dave 10:37 on 30 dicembre 2008 Permalink | Rispondi

      Hy!
      Thanks for sharing your experience!

      I plan to buy a “Toshiba Satellite A300-1NO” notebook and use it with Ubuntu.
      Is there any problems with Ubuntu on it?
      Thanks!

    • d1337r 13:42 on 15 marzo 2009 Permalink | Rispondi

      I have installed Ubuntu 8.10 x86-64 on Toshiba Satellite A300D and everything goes OK, except for bluetooth. Now setting up omnibook…

  • gas 17:21 on 12 June 2008 Permalink | Rispondi
    Tags: , ,   

    Superkaramba and Gentoo 

    Nowadays it seems that superkaramba works well, in the past it was heavy and buggy and I used to have conky. There are no particular reasons that made me switch to superkaramba , other than moving from Gnome to Kde.

    My superkaramba monitor is based on the dual cpu monitor by Loacoon, I changed it a little to show some useful stuff , some of them gentoo specific ( last sync, last emerges, currently emerging….. genlop is a dependency).

    superkaramba

    (Continua…)

     
  • gas 17:44 on 7 June 2008 Permalink | Rispondi
    Tags: , ,   

    Laptop ubuntu suspend and nvidia virtual tty 

    I decided to keep ubuntu even if I don’t like this new release ( hardy ) at all. When it came out it used to hang for no reason , the new kernels seem to have solved the issue.

    I had two big problems, I couldn’t hibernate/suspend and I couldn’t switch to the ttys with Alt+F1 for example.

    Starting from the latter I realized that the nvidia-glx package instead of the nvidia-glx-new does the job. Since I don’t know the difference between the two packages and I really don’t care to have the newest nvidia driver I consider this problem fixed.

    Now suspend works and not sometimes or just one time like it used in the past, I had to change some config options in /etc/default/acpi-support

    SAVE_VBE_STATE=false
    POST_VIDEO=false
    SAVE_VIDEO_PCI_STATE=true

    Hiberating is still a problem or better waking up from hibernation is a huge deal on my laptop. It does hibernate and it tries to wake up during next boot but when X starts everything freeze. It seems a kernel or xorg problem because I can’t turn on/off the capslock led. Here’s the bug I’ve filled, hopefully someoene will look at it.

     
  • gas 19:04 on 26 March 2008 Permalink | Rispondi
    Tags: , ,   

    Installazione Windows Xp1 e Linux 

    Ho comperato un nuovo harddisk e ho deciso, dopo averne fatto a meno per un anno, di installare windows xp….magari una mezz’oretta con Cod4 ci sta.

    Inizio col dire che è stata più lunga del previsto.

    Ho una vecchia copia di windows xp sp1 che non ha al suo interno i driver per il controller sata della mia scheda madre (ICH9) e allora ho dovuto scaricarmeli dal sito della Asus. Dopo averlo fatto mi sono ricordato di quel famoso pulsante F6 da premere in fase di installazione di windows per poter caricare driver di terze parti, subito dopo un flash: “Ma serve il floppy??????”. Già…..

    E dove lo prendo un dischetto? Ho varie chiavette, da 128 MB a 8GB, ma di dischetti pochi o nulla…ma uno si,che non va. “Ravana ravana” ho trovato in un angolo di una libreria una vecchia confezione di Verbatim con scritto “Gia Formattati!!” Wow

    Copiati i driver sul dischetto e riavviato facendo il boot da cd di windows mi trovo schermata nera, solo una piccola scritta “Rilevazione Hardware” in corso e poi nero completo e cd fermo che non legge.Sia il cd? Cambiati 3 cd e stesso problema.

    Ho poi scoperto che se l’installer di Microsoft trova sugli harddisk più di una partizione con la flag “bootable” esce senza avvisare lasciandoti li come un pirla con la schermata nera. Ho risolto scollegando gli altri due harddisk in raid (quando ho fatto il raid forse ho creato anche il danno), un altra soluzione con “parted” era di togliere le flag bootable o lasciarne al massimo una.

    In compenso però ora mi ha avvisato che cambierà la risoluzione dello schermo….ma vedi di andare a ….

     
    • Paolo Slanzi 06:56 on 28 marzo 2008 Permalink | Rispondi

      Ma chi te lo ha fatto fare ?! :-)

    • AndyF 01:20 on 18 gennaio 2009 Permalink | Rispondi

      Ciao, sono capitato per puro caso sul tuo blog e volevo esprimere quello che, se vogliamo, potrebbe essere il mio personalissimo sfogo concernente windows. Dopo anni passati davanti al pc, utilizzando unicamente XP, poi vista ed infine, attenzione attenzione, windows 7 beta (pochi giorni fa) sono per così dire definitivamnte scoppiato. Dopo l’ennesimo format dovuto a malfunzionamento di questa o quell’altra DLL ho finalmente deciso di lasciare per sempre l’inutile mondo spazzatura creato da Microsoft ed isuoi fottutissimi sistemi operativi. Mi sono reso conto (meglio tardi che mai) di tutte le ore spese invano a reinstallare un SO instabile ed ormai vetusto. Mi son reso conto del tempo che non ho speso a passeggiare con mia moglie solo perchè dovevo installare i driver del chipset, scheda video, audio e compagnia bella dopo uno dei tanti crash causati da questo e quell’altra applicazione incapace di interfacciarsi con questa o quell’altra periferica. Mi son reso conto semplicemente di aver cercato di rendere perfettamente funzionante un sistema le cui fondamenta si ergono su una distesa di sabbia. Ho deciso quindi di lasciare tutto alle spalle e ricominciare da capo, ho venduto il mio pC desktop ed ho installato sul mio findo netbook una delle tante distro linux (basata su ubuntu). Essendo anche un appassionato di video games, mi son comprato un xbox 360 che non richiede altro che inserire un CD ed il gioco è fatto.

      Microsoft Windows…. ma vafff…. XD

  • gas 23:44 on 22 February 2008 Permalink | Rispondi
    Tags: , , gnome, , ,   

    Nokia N95 and UPNP 

    Finally i got it….at first it was a mess, some explanations on what does what:

    • Media Server: it serves the content on the network
    • Media Renderer: it renders the content served by a media server

    So I actually needed both on my gentoo linux.

    Probably the easiest way to browse content served by upnp servers is djmount , it works as a FUSE file system ( that can be mounted by a normal user) and it looks for all the upnp devices in a network. It works very well even with content provided by Windows Vista (or better from the Media Player that comes with windows vista). You create a directory and simply “djmount it”, in that directory there will be other subdirectories , one for each media server you have in your network.

    Easy and working but not that cool, I mean…all this new stuff and , in the end, I still have to browse directories. I’m not using these new things just because I don’t want to plug in an usb cable, I’m not that lazy. So I went searching in various forums another solution.

    MediatombMy first choice as media server was ushare, somehow connected to the geexbox project but it had its limitation, one above all that it doesn’t read tags, so when you copy a music file to another device you must retag it manually. Another problem was the init script that didn’t work that well and I didn’t have time/will to fix it. Mediatomb seems the definitive choice to me, it seems a nice project, it reads metadata and has a built in sqlite backend. (you can use mysql too but i don’t have the server on my box). Mediatomb has a webserver you can connect to and you can add/delete content to your share and chose how to rescan your library , you can chose inotify on that ( if you are using beagle you should already have inotify in your kernel).

    When it goes to the Media Renderer it seems that there is not much choice yet, but there is some and in particular there is gmediarenderer from the GNU guys. GmediaRender , as the names says, it’s able to render content served from a MediaServer, it needs gstreamer as a backend for all the codecs (it actually uses gstreamer to render the stream ). If you have gmediarender running you can simply go to your nokia N95 media player , chose a song and in options chose “execute on personal network” ( or something like that) and your computer (not the phone) will sound. You can do the same for videos or pictures.

    RhythmboxWhat about coherence? I have it installed and the rhythmbox plugins actually works , I can see my N95 and browse its contents but you can’t (yet) make rhythmbox work as a MediaRenderer. Coherence is supposed to be a full UPNP solution with its server, renderer and controller but the people who develop it are very good in making Youtube videos but not that good to explain the world “how the hell that damn thing works”.

    What is missing? On my nokia I can chose to copy or move stuff to my personal network, I can’t do it and don’t know what part of this upnp mess should provide this feature.

     
    • dev 00:05 on 17 marzo 2008 Permalink | Rispondi

      I can now tell you a bit more why the N95 doesn’t work together with Coherence.

      The long story you can read here: https://coherence.beebits.net/wiki/NokiaN95

      In a nutshell it’s due to a flaw in the Symbian UPnP stack, that doesn’t react on UPnP v2 devices, which Coherence announces itself as default.

      I’m trying to find a solution for this, unfortunately limiting Coherence to v1 isn’t a good one, as that interferes with other things we are working on. :-/

      The whole idea behind UPnP is “that these damn things work”, so if that Symbian stack would follow the spec only a ‘ little bit’ more, you would happily browse and control Rhythmbox/Coherence via UPnP.

      Re your question about copying things from the Nokia to the UPnP MediaServer, there are methods in the ContentDirectory service there, that allow creating and importing of media objects – music, images,…

      The Nokia phones are actually one of the first consumer devices, that unveil these methods to a broader audience. What a shame they fail on such a basic level. :-(

      It seems to be fixed in a future versions of S60 3rd, but I have no idea if that will be available for our ‘older’ phones.

      Ciao,
      dev

    • zx 02:04 on 14 febbraio 2009 Permalink | Rispondi

      Hi,

      could you please explain how you have setup the gmediarender.
      I was able to compile it and also to start it. Here are the last lines of the output:
      gmediarender

      Registering support for ‘application/x-gdp’
      Registering support for ‘audio/x-ttafile’
      Registering support for ‘application/x-icy’
      Registering support for ‘video/x-mve’
      registering ‘/upnp/rendertransportSCPD.xml’
      registering ‘/upnp/renderconnmgrSCPD.xml’
      registering ‘/upnp/rendercontrolSCPD.xml’
      Ready for rendering..
      GStreamer: play: State change: OLD: ‘NULL’, NEW: ‘READY’, PENDING: ‘VOID_PENDING’

      But I don’t have any clue how to use it. The documentation is a little bit limited :-(
      The gmediarender is not found by my control point.

      Regards,
      zx

    • Anonimo 15:27 on 25 febbraio 2009 Permalink | Rispondi

      Hi,
      I am also facing same problem …Any one have solution for it

      Regards,
      Avinash Magdum

    • roxen 11:36 on 18 marzo 2009 Permalink | Rispondi

      Hi all,
      me too.. I have the same problem.. :(
      Does anyone know a good how to for gmediarender??

      Regards,
      Roxen

    • Kuang 00:01 on 31 luglio 2009 Permalink | Rispondi

      I got the same problem. Let me know when you get to know how to do next

  • gas 14:12 on 14 February 2008 Permalink | Rispondi
    Tags: , , , p2p,   

    Mldonkey and conky 

    In the past conky had some built in features regarding mldonkey that have been dropped later. I launch a script that uses netcat to do the same thing ( at least what I need).


    #! /bin/sh
    USER=user ## mldonkey user
    PASS=pass ## mldonkey password for user
    HOST=192.168.1.2 ## host where mldonkey is running
    PORT=4000 ##port
    (echo "auth $USER $PASS";echo $1;echo q) | nc $HOST $PORT

    and then for conkyrc

    ${execi 50 ml_command bw_stats|grep Down|awk -F " " '{print $1,$2,$3,$10,$11,$12}'}

     
    • motarion 23:02 on 30 luglio 2009 Permalink | Rispondi

      I tested your script and it worked only with a “-a” option for the grep. Exemple:

      ${execi 50 /home/motarion/conky_mldonkey bw_stats | grep -a Down|awk -F ” ” ‘{print $1,$2,$3,$10,$11,$12}’}

      This is because of the “>” in the mldonkey command line result ;)

      Thanks by the way for this !

  • gas 01:54 on 12 February 2008 Permalink | Rispondi
    Tags: , ,   

    New Emerald Theme 

    New emerald theme for my desktop, I’ve modified a little Scaled Black Mod by DBO

    screenshot_part

    screenshot_completo

    Emerald Theme
    MurrinaDBO

     
  • gas 18:08 on 29 December 2007 Permalink | Rispondi
    Tags: , , ,   

    Sync: Nokia , Thunderbird and Google Calendar 

    I need to sync many applications on different devices so the best idea for me was using a central server where I can sync too. ScheduleWolrd is a funambol based service that regardless of its ugly interface does what I want .This small howto covers my Nokia N95 , thunderbird + lightning and Google Calendar but it should work with many other devices or applications. Syncing between ScheduleWorld and Google Calendar works mostly out of the box.
    (Continua…)

     
    • Antti Lagus 13:27 on 21 gennaio 2009 Permalink | Rispondi

      Thanks!

      This is the best solution for linux- and nokia users! GREAT HowTO !
      Now I got everything syncing. Great!

      I sure hope others find this post too.

  • gas 21:33 on 4 September 2007 Permalink | Rispondi
    Tags: , bluetooth,   

    Cuffie bluetooth in linux 

    Assieme al cellulare mi sono arrivate un paio di cuffie bluetooth della motorola, il supporto in linux c’è anche se le cose sono in continuo cambiamento.

    Requisiti:
    poter compilare , alsa e bluetooth gia testati e funzionanti , detto questo per gentoo dovrebbe solo servire il cvs , per ubuntu invece

    • build-essential
    • libbluetooth2-dev (3.5 or newer)
    • automake
    • autoconf
    • cvs
    • libtool
    • libasound2-dev
    • libdbus-1-dev
    • libdbus-glib-1-dev

    Io sono su gentoo e sono riuscito a far andare il tutto con bluez-utils>=3.16, la guida originale è per ubuntu

    (Continua…)

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
esc
cancel