dual monitor on Dell M60
1.get drivers from:
http://us.download.nvidia.com/XFree86/Linux-x86/173.14.05/NVIDIA-Linux-x86-173.14.05-pkg1.run
(***link above is not kept up-to-date!!)
2. configure xorg.conf (below) and restart X.
########### xorg.conf ##################
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
Section "Files"
# path to defoma fonts
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
/X11R6/lib/X11/fonts/100dpi/:unscaled"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28.0 - 51.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Second Monitor"
HorizSync 28.0 - 51.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
Option "NoLogo" "True"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
Option "TwinView" "True"
Option "TwinViewOrientation" "RightOf"
Option "UseEdidFreqs" "True"
Option "MetaModes" "1280x800, 1024x768"
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Tuesday, July 22, 2008
Wednesday, July 09, 2008
Posted by
Saša Čavara ( Sasa Cavara )
at
Wednesday, July 09, 2008
0
comments
Tuesday, July 08, 2008
checking available memory on cisco routers:
boot/reload
press ctrl-break
rommon> dev
rommon2> meminfo
Posted by
Saša Čavara ( Sasa Cavara )
at
Tuesday, July 08, 2008
0
comments
configure wireless bcm43xx on lenny (2.6.22-3-686)
1. blacklist the existing module
edit /etc/modprobe.d/blacklist
add following at the end of file: blacklist bcm43xx
2. using module-assistant select and install ndiswrapper
3. download bcm43xx drivers:
wget freewebs.com/ronserver/bcm43xx.tar.gz
4. extract downloaded file. you'll get two files:
bcm43xx/oem3.inf
bcm43xx/bcmwl5.sys
5. run:
ndiswrapper -i oem3.inf
ndiswrapper -m
ndiswrapper -a xxxx:xxxx oem3
you should be able to find xxxx:xxxx with this:
lspci -nn | grep BCM43 | perl -pe 's/^.*BCM43.*\[(.*)\].*$/$1/'
6. reboot?!?
Posted by
Saša Čavara ( Sasa Cavara )
at
Tuesday, July 08, 2008
0
comments
syncing time for domU (viraul machine) from dom0 (parent):
date -s "`date`"
Posted by
Saša Čavara ( Sasa Cavara )
at
Tuesday, July 08, 2008
0
comments
wireless... ipw2100 and debain lenny/sid (2.6.24-1-686)
1. wget latest_firmware_URL
tar zxvf latest_firmware
cd latest_firmware_DIR
cp *.fw /lib/firmware/
2. wget latest(ieee80211-1.2.18.tgz)_URL
tar zxvf latest(ieee80211-1.2.18.tgz)_FILE
cd latest(ieee80211-1.2.18.tgz)_DIR
./remove-old
cd ..
3. wget latest_driver_URL
tar zxvf latest_driver_file
cd latest_driver_DIR
./remove-old
cd ../latest(ieee80211-1.2.18.tgz)_DIR
make && make install
cd ../latest_driver_DIR
make && make install
insmod ipw2100...
Posted by
Saša Čavara ( Sasa Cavara )
at
Tuesday, July 08, 2008
0
comments
install phpbb3 on debian etch
1. apt-get install mysql-server-5.0 php5 php5-mysql zlib-bin zlib1g zlibc libapache2-mod-php5 imagick php5-imagick php5-gd
2. download and extract phpbb3 package
3. cp -rf phpBB3/ /var/www/
4. cd /var/www/phpBB3/
5. chown www-data:root config.php cache/ files/ store/ images/avatars/upload/
7. mysqladmin create phpbb3
8. mysqladmin -u root -p create phpbb3
9. mysql -u phpbbadmin -p
10.mysql>GRANT ALL PRIVILEGES ON phpbb3.* TO 'phpbbadmin'@'localhost'IDENTIFIED BY 'password';
11. cd /etc/php5/conf.d/
12. edit conf.d/gd.ini
13. comment 2nd line
14. /etc/init.d/apache2 restart
15. start installation process http://server/phpBB3/install/install.php
Posted by
Saša Čavara ( Sasa Cavara )
at
Tuesday, July 08, 2008
0
comments
installing JAVA RRD MA 3.0+ on debian etch
1. install etch
2. apt-get install apache2 rrdtool sun-java5-jre jsvc jsvc-dev libcommons-daemon-java
3. download rrd ma: http://monstera.man.poznan.pl/jra1-wiki/images/files/geant2-java-rrd-ma_3.0-1_i386.deb
4. download perfsonar tomcat and exist: http://downloads.perfsonar.eu/dependencies/debian/
5. add 'capability' module in /etc/modules
6. reboot
if /opt/perfsonar dir deleted..do:
dpkg --force-confmiss -i perfsonar-tomcat_6.0.16-2_all.deb
dpkg --force-confmiss -i perfsonar-exist_1.1.1-3_all.deb
dpkg --force-confmiss -i geant2-java-rrd-ma_3.0-1_i386.deb
Posted by
Saša Čavara ( Sasa Cavara )
at
Tuesday, July 08, 2008
0
comments
install nfsen/nfdump on debian etch
0. install prerequisites..
1. download nfdump and extract to /tmp
2. go to /tmp/nfdump-1xxx and run ./configure --enable-profile THEN make THEN make install
3. download nfsen and extract to ~
4. go to ~/nfsen-xxxx/etc and copy nfsen-dist.conf to nfsen.conf
5. edit accordingly
6. cd .. and run ./install.pl etc/nfsen.conf
7. in this example, base dir is /data/nfsen
8. cd /etc/init.d/ && ln -s /data/nfsen/bin/nfsen
9. /etc/init.d/nfsen start
Posted by
Saša Čavara ( Sasa Cavara )
at
Tuesday, July 08, 2008
0
comments
mount share with space in share name:
1. trough cli:
mount -t smbfs -o username=someuser,password=somepassword "//machine/share_with space" /mnt/local_dir/
2. trough fstab:
//machine/share_with\040space /mnt/local_dir smbfs auto,username=someuser,password=somepassword,rw 0 0
Posted by
Saša Čavara ( Sasa Cavara )
at
Tuesday, July 08, 2008
0
comments
changing amount of memory used by xen child:
edit 'memory=####' line in /etc/xen/something.cfg
# xm list (get domain 'dom-num')
# xm mem-set 'dom-num' 1024 (in this case 1024MB)
# xm reboot 'dom-num'
Posted by
Saša Čavara ( Sasa Cavara )
at
Tuesday, July 08, 2008
0
comments



