How to install Tracegraph in Linux (Fedora 9)

To Install Tracegraph in Fedora Linux (I used Fedora Core 9)

  1. Step download the Tracegraph software from http://www.tracegraph.com
  2. Select Linux Version and download two files, mglinstaller.gz and tracegraph202.tar.gz
  3. copy the files under /home/pradeep/ (in my case it is /home/pradeep/)
  4. Untar the tracegraph202.tar.gz using the command tar zxvf tracegraph202.tar.gz
  5. A Folder tracegraph202/ will be created and go to the folder using the command cd tracegraph202 or cd /home/pradeep/tracegraph202
  6. copy the mglinstaller.gz file in the above said folder using the following command cp /home/pradeep/mglinstaller.gz /home/pradeep/tracegraph202
  7. now execute the command to unzip the mglinstaller.gz using the following command gzip -d mglinstaller.gz
  8. run the mglinstaller by executing the command ./mglinstaller
  9. the above command will create a folder within the bin folder and set the following lines to the LD_LIBRARY_PATH variable
  10. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/pradeep/tracegraph202/bin/glnx86
  11. The above path will be set to the LD_LIBRARY_PATH Variable in the following file .bashrc which will be available at /home/pradeep (each username will have such a file in the corresponding folder, if you are using more number of users, each user should be set with the LD_LIBRARY_PATH, root will be having the .bash_profile at /root/.bashrc).
  12. To open this file type either vi /home/pradeep/.bashrc or gedit /home/pradeep/.bashrc and include the line of code given in step 10.
  13. Save the file, close and logout and login and go to the tracegraph202 folder and run ./trgraph (thats it!!!!)
  14. After step 13, some Linux versions will get an error called libXp.so.6 error, to overcome that give this command by connecting your machine to internet yum install libXp.so.6 or else download the package XFree86-libs-4.1.0-50.i386.rpm from the website http://rpm2html.osmirror.nl/redhat-archive/updates/7.1/en/os/i386/XFree86-libs-4.1.0-50.i386.html   and then install the package by giving rpm -ivh  XFree86-libs-4.1.0-50.i386.rpm and thats it.

(NB: My username in my System is /home/pradeep/, so all the above steps will be working for me, if your system contains other usernames, then please updated that and add to the paths) all the Best!!!!!!!!!

For More Doubts, ping me to tspembedded@gmail.com or just give me a comment

How to Correct the NS / NAM Problem in Fedora 10

Step 1: download the NS allinone Package from the following link. I Used (ns-allinone2.33).
Step 2: extract it in a folder (Eg: I used /opt/), but you need to be a root to extract in that folder (better extract it under /home/#username#)

NAM wont work because of the compatibility issues with tk8.4.18, so download a patch given in the following link.

Step 3: http://bugs.gentoo.org/show_bug.cgi?id=225999
Step 4: There are two patch files, the second file worked in my case as i tried only the second file (tk-8.4-lastevent.patch)
Step 5: Save the file as .patch and store it in ./ns-allinone-2.33/tk8.4.18/

Step 6: Patch the file by executing the following commands

[rootamiitesh tk8.4.18]$ patch -p1 < /opt/ns-allinone-2.33/tk8.4.18/tk-8.4-lastevent.patch

(you may get the following lines of information…)

can’t find file to patch at input line 3
Perhaps you used the wrong -p or –strip option?
The text leading up to this was:
————————–
|— generic/tk.h.orig 2008-02-06 16:31:40.000000000 +0100
|+++ generic/tk.h 2008-07-24 08:21:46.000000000 +0200
————————–
File to patch: generic/tk.h

Step 7: Enter the file to patch as generic/tk.h

Thats it!!!!!

Step 8: then go for the Installing the Network Simulator 2
click here to see the installation instructions

How to enable GUI root Login in Fedora 10

Steps to enable Root Login in Fedora 10
Step 1: Login with ordinary username and open the terminal and issue the
command su (su is a super user you need to input a password)
Step 2: Open the following file using the command
gedit /etc/pam.d/gdm or vi /etc/pam.d/gdm
Step 3: Comment the following line by including a #
(Eg. #auth required pam_succeed_if.so user != root quiet)
Step 4: Save the file and logout and then login with root.

Picotux – World’s Smallest Linux Based Embedded Systems

Technical Data for picotux

  • The picotux 100 is the world’s smallest Linux computer, only slightly larger (35mm×19mm×19mm) than an RJ45 connector.
  • Inside, there is an ARM7 CPU at 55 MHz running uClinux kernel 2.4.27 and Busybox 1.0.
  • Two communication interfaces are provided, 10/100 Mbit half/full duplex Ethernet and a serial port with up to 230.400 baud.
  • Five additional lines can be used for either general input/output or serial handshaking.
Technical Data picotux 100 module

Processor:

32-bit ARM 7 Netsilicon NS7520

Processor Clock:

55 MHz

Flash Memory:

2 MB

RAM:

8 MB SDRAM

Ethernet:

10/100 Mbit, HD and FD, auto sensing

Serial (TTL):

Up to 230.400 bps

General Input/Output Pins(TTL)

5, can be used as Handshake

LED for Ethernet

2; green (programmable) and yellow (Carrier)

Supply Voltage:

3,3 Volt +- 5%

Supply Current:

250 mA

Operating System:

uClinux 2.4.27 Big Endian (native)

Shell:

Busybox 1.0 and others

File Systems:

CRAMFS, JFFS2, NFS

Applications:

Webserver, Telnet

Size of the Linux Systems in Flash:

720 KB and more

Protected Bootloader for Update over Network:

64 KB Code

Development System:

GNU Tool chain

Compiler

GCC 3.4.4 for C/C++ and Fortran

Binutils

2.15

Library:

uClibc 0.9.26

Dimensions:

Height:

19 mm

Width:

19 mm

Deep:

36 mm

Package:

Shielded by metal

Weight:

ca.18 g

Ambient Temperature:

-40°C to 85°C