Linux: Difference between revisions

From esoterum.org
Jump to navigationJump to search
No edit summary
No edit summary
Line 42: Line 42:
=== Drivers ===
=== Drivers ===
*[http://www.freesoftwaremagazine.com/articles/drivers_linux Short tutorial on writing drivers in linux]
*[http://www.freesoftwaremagazine.com/articles/drivers_linux Short tutorial on writing drivers in linux]
== Utilities ==


=== Bootloader ===
=== Bootloader ===
Line 58: Line 60:
*[http://www.livibetter.com/blog/2007/06/14/installing-tftp-on-fedora/ Installing tftp on Fedora 6]
*[http://www.livibetter.com/blog/2007/06/14/installing-tftp-on-fedora/ Installing tftp on Fedora 6]
*[http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch16_:_Telnet,_TFTP,_and_xinetd tftp instructions]
*[http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch16_:_Telnet,_TFTP,_and_xinetd tftp instructions]
=== [[Fedora Red Hat Enterprise Linux]] (RHEL) ===
*[http://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo Create bootable USB drive using Fedora script]
*[http://www.livibetter.com/blog/2007/06/14/installing-tftp-on-fedora/ Installing tftp on Fedora]
*[http://fr.rpmfind.net/linux/RPM/Dag_Apt_Repository_for_Fedora_Core_1.html Fedora Core 1 Repository]
*[http://www.redhat.com/docs/manuals/linux/RHL-7-Manual/ref-guide/s1-rpm-using.html Using rpm]


=== Compilers ===
=== Compilers ===
Line 71: Line 67:
=== Make ===
=== Make ===
*[http://www.gnu.org/software/make/manual/make.html Make manual]
*[http://www.gnu.org/software/make/manual/make.html Make manual]
=== Virtual Network Computing, (~Remote Desktop) ===
*[http://en.wikipedia.org/wiki/VNC VNC on Wikipedia]
== [[Fedora Red Hat Enterprise Linux]] (RHEL) ==
*[http://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo Create bootable USB drive using Fedora script]
*[http://www.livibetter.com/blog/2007/06/14/installing-tftp-on-fedora/ Installing tftp on Fedora]
*[http://fr.rpmfind.net/linux/RPM/Dag_Apt_Repository_for_Fedora_Core_1.html Fedora Core 1 Repository]
*[http://www.redhat.com/docs/manuals/linux/RHL-7-Manual/ref-guide/s1-rpm-using.html Using rpm]

Revision as of 14:00, 25 January 2008

CygWin

  • Installing minicom on cygwin:
  1. Add folder: /var/lock
  2. Move file minirc.dfl to /usr/local/etc
  3. Fix serial port /dev/ttyS1 -> /dev/com1 ???

Unix/Linux

Commands

  • To get information on the server/computer:
cat /proc/cpuinfo
cat /proc/meminfo
dmesg
lspci

  • xhost +[server name, i.e. vlsi] (give permission to remote server to use local display)
  • setenv DISPLAY=###.###.###.###:0.0 (set DISPLAY variable to local ip address)
  • cat /var/log/messages |grep *** (Search system messages for specific word)
  • service xinetd restart (Restart xinetd server)
  • rpm -ivh foo-1.0-1.i386.rpm (Add a package with rpm)
  • rpm -e foo (Remove a package with rpm)
  • ps (processes)
  • top (processes dynamic list)
  • strace ./ldecod.exe -e trace=gmon.out Debugging: print system calls made by ldecod.exe during execution
  • bzip2 -cd files.tar.bz2 | tar xvf - Bzip
  • tar -cf ouput.tar folder Tar a folder
  • tar -czvf output.tar.gz folder Tar and gzip a folder
  • tar -xzvf input.tar.gz Untar and unzip a tar-ball

Drivers

Utilities

Bootloader

USBNET (USBDNET)

-BLOB requires cdc_subset module (# modprobe cdc_subset)
-apparently uhci-hcd is the usb 1.0 driver from linux 2.4

TFTP

Compilers

Make

Virtual Network Computing, (~Remote Desktop)

Fedora Red Hat Enterprise Linux (RHEL)