Linux tips

Linux links 
Linux Today
LDP
freshmeat
kernel patches

Networking links
Net World Fusion
RFCs et al
ntop
ethereal
Freesco

Security links
Linux Security
Security Focus
Nessus
CERT
SecurePoint
BUGTRAQ

Other links
Google
Gildot
Slashdot
Megatokyo


 

- Compiling the linux kernel 

#cd /usr/src/linux

#make menuconfig  dep modules 

#make

#make modules_install install

 

- accessing a Windows share

#smbclient //netbiosname/directory -I ip_address

 

- performing backups through the network

host sending backup: tar -cvf - * | gzip -c | nc caramel 3002

host saving  backup (caramel): nc -l -p 3002 | tar -zxvf -

 

- mirroring web pages

$wget --mirror -l20 --convert-links -X cgi-bin -b -nv  --no-parent -nh -N URL -o /tmp/$$ 
(where URL is the page URL to mirror)

 

- backuping and restoring Palm Pilot handheld

backup Pilot files        : #pilot-xfer /dev/pilot -b directory

restoring files to Pilot: # pilot-xfer /dev/pilot -r directory

(/dev/pilot is a symlink to the serial port where your cradle is connected)

 

- Performing SSL tests

$openssl s_client -connect url_site:443 -state -debug

(where url_site is a SSL enable site)

 

- Enabling sound with buggy VIA sound chipsets

use gom or cam

 

- Fixing font corruption in console mode after running X

#/usr/bin/consolechars -f lat1u-16.psf.gz

(this font is for Latin - substitute for your own)

 

- reseting serial mouse

#echo "*n" > /dev/mouse

 

- checking your notebook's battery level

#cat /proc/apm

 

- Creating iso CD image compatible with Windows and Linux (and other UNIX versions)

#mkisofs -a -l -J -L -r -o path_iso.iso  /directory

 

- creating a bootable (El Torito) CD (RedHat boot CD as example)

#mkisofs -a -b images/boot.img -c boot.catalog -ARH72 -l -r -T -o rh72.iso

Linux tips
Misc Linux tips

Performance tips
Linux performance tips

Slam Project page
Linux traffic measurement util w/ JAVA and MRTG plug-in

Windows Spectrum emulator
Documentation, sources and dissertation 

Photos
A few personal pictures

Home

 

 

 

 

 

 

 

 

 

 

 

Rui Fernando Ferreira Ribeiro (rui AT techemail.com)    Last Updated: August 2003