postIt

        Post-It sticky notes with PasteBin sense

  • 3:06 am on August 3, 2010 | 0 | # |
    Tags: , , ,

    Dictionaries for diameter
    /usr/share/wireshark/diameter
    After backup original dictionaries, to use SCAPv1 of Ericsson’ proprietary diameter protocol, replace them with:

    dcca.xml        ericsson.xml    nasreq.xml   tgpp.xml
    dictionary.dtd  imscxdx.xml     pps.xml      vfe.xml
    dictionary.xml  mobileipv4.xml  sunping.xml

    Original files were

    chargecontrol.xml  Ericsson.xml  imscxdx.xml     sip.xml      TGPPRx.xml
    dictionary.dtd     etsie2e4.xml  mobileipv4.xml  sunping.xml  TGPPSh.xml
    dictionary.xml     gqpolicy.xml  nasreq.xml      TGPPGmb.xml
    
     
  • 4:47 am on June 2, 2010 | 0 | # |
    Tags: , ,

    Single permanent IP (up on boot) on one interface:
    /etc/inet/hosts content:
    #
    # Internet host table
    #
    ::1 localhost
    127.0.0.1 localhost
    192.168.40.91 cxnode01 .cxnode01 loghost
    192.168.40.92 cxnode02

    The interface where you want to bind the above ip: /etc/hostname.e1000g2 containing
    cxnode01

     
  • 7:10 am on May 24, 2010 | 0 | # |
    Tags: ,

    WordPress has

    <?php make_clickable( $ret ) ?>

    no need to write complete

    <a href ...

    etc, hyperlink plain text will appears as clickable link.

    Regularly put it in wp-content/themes/some_theme/function.php as

    ...
    add_filter( 'the_content', 'make_clickable' );
    ...
     
  • 7:04 am on May 24, 2010 | 0 | # |
    Tags: , , , ,

    Run Ettercap without disabling kernel forward (/proc/sys/net/ipv4/ip_forward)

    gksu "/usr/sbin/ettercap --gtk --unoffensive"

    GTK display can also transported from remote host

     
  • 7:00 am on May 24, 2010 | 0 | # |
    Tags: , , ,

    Ask GDebi to install the .deb
    /usr/bin/python /usr/bin/gdebi-gtk virtualbox-3.1_3.1.6-59338_Ubuntu_jaunty_amd64.deb

     
  • 2:59 am on May 6, 2010 | 0 | # |
    Tags: ,

    Enabling mod_rewrite in Apache:

    $ sudo cp /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/

    and restart Apache. This also may need editing /etc/apache2/sites-available/default to AllowOverride all:

    <virtualHost *:80>
            ServerAdmin webmaster@localhost
     
            DocumentRoot /var/www
            <directory />
                    Options FollowSymLinks
                    AllowOverride all
     
  • 3:29 am on April 13, 2010 | 0 | # |
    Tags: , ,

    To run AT+command to my modem (HSDPA Huawei E220), the software must be configured 115200 bps, 8 bits, stop bit 1, parity none, hardware handshake.

    I use Cutecom or minicom.

     
  • 4:12 am on April 12, 2010 | 0 | # |
    Tags: , ,

    For ssh-server and client there exists SUNWsshcu, SUNWsshdr, SUNWsshdu, and SUNWsshr. So we can install them instead of OpenSSH. But there is bug that will show UTF-8 error, so we need to install also SUNWuiu8 for iconv as workaround.

     
  • 3:38 am on April 12, 2010 | 0 | # |
    Tags: , ,

    $ iostat -En

    c0t0d0 Soft Errors: 9 Hard Errors: 2 Transport Errors: 1
    Vendor: VBOX Product: CD-ROM ...

    Mount it:
    $ mount -F hsfs -o ro /dev/dsk/c0t0d0s0 /mnt

     
  • 1:13 pm on April 11, 2010 | 0 | # |
    Tags: , ,

    Change hostname etc.


    /etc/hosts
    /etc/nodenames
    /etc/hostname.[device]
    /etc/defaultrouter
    /etc/defaultdomain
    /etc/nodename