postIt

        Post-It sticky notes with PasteBin sense

  • 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

     
  • 5:42 am on April 7, 2010 | 0 | # |
    Tags: , ,

    Install package from directory
    1. extract
    gunzip -c SUNWxxx.tar.gz | tar -xvf -
    or
    unzip -q SUNWxxx.zip

    2. install in the directory that has SUNWxxx directory in it
    pkgadd -d $PWD
    It will list installable package found within (including SUNWxxx)

     
  • 3:01 am on April 5, 2010 | 0 | # |
    Tags: , , , ,

    errdisable_recovery.pdf explains why our HP-Blade suddenly has disabled port (turn red light from initial green) when connected to a switch.

    This blade Catalyst 3020 ports must have been in errdisable/error disable state. First, look for something like

    1
    2
    3
    4
    
    #show interfaces gigabitethernet 4/1 status
     
    Port    Name       Status       Vlan       Duplex  Speed Type
    Gi4/1              err-disabled 100          full   1000 1000BaseSX
     
  • 2:55 am on April 5, 2010 | 0 | # |
    Tags: , , ,

    Downloaded several IOS images. But the that truly boots and up-running in console is c3620-io3-mz.120-7.T.bin for c3600 platform model 3620. A quick look at GNS3-0.5-tutorial.pdf shows that GNS3 only supports some platform.

    What I don’t really know is that can we emulate unsupported platform.

     
  • 6:07 am on April 3, 2010 | 0 | # |
    Tags: , ,

    net = newff([0 10],[5 1],{'tansig' 'purelin'});
    implements a feed forward ANN with input range of 1 to 10, 5 neuron in its hidden-layer with tansig transfer function, and a single purelin transfer function in output layer.

     
  • 6:03 am on April 3, 2010 | 0 | # |
    Tags: ,

    tansig
    implements

    n = 2/(1+exp(-2*n))-1

    Hyperbolic tangent sigmoid transfer function.

     
  • 12:14 pm on March 30, 2010 | 0 | # |
    Tags: , ,

    tcp.flags == 0x18 and ip.src == 10.201.62.249 and ip.dst == 10.201.62.78

    Filter out PSH ACK (flags 0x18: “Push” and “Acknowledgement”). In UCIP XML-RPC, it carries response from AIR server e.g. the following stream

    HTTP/1.1 401 Access to /Air denied for this user ...
    Content-Length: 366
    Content-Type: text/html
    Date: Fri, 26 Mar 2010 07:52:55 GMT
    Server

     
  • 11:49 am on March 28, 2010 | 0 | # |
    Tags:

    training(:,3)
    ans =

    0.0754
    0.0636
    0.0745
    ...

    Access third row.

     
  • 11:46 am on March 28, 2010 | 0 | # |
    Tags:

    [training] = xlsread('ift-ann.xls', 'training')

    Read the sheet “training” inside that xls and populate it to training.

     
  • 12:16 am on March 21, 2010 | 4 | # |
    Tags: , ,

    Running a binary (xmlrpcsimulator) to simulate Balance Enquiry request in UCIP:
    ./xmlrpcsimulator nv 10.2xx.xxx.xxx 10010 "UGw Server/2.2/1.0/" /Air BalanceEnquiry.xml f