Option "IgnoreEDID" "True"
Option "TwinView"
Option "SecondMonitorHorizSync" "30-60"
Option "SecondMonitorVertRefresh" "50-70"
Option "TwinViewOrientation" "Clone"
Option "MetaModes" "1024x768,1024x768; 800x600,800x600; 640x480,640x480"
# I inserted "tac" so that it does eth1 first, THEN eth0... but only if # necessary... interfaces=`ls ifcfg* | tac| LANG=C egrep -v '(ifcfg-lo|:|rpmsave|rpmorig|rpmnew)' | \ ... # before "Bringing up interface %s:" IF-CLAUSE: # continue to skip... eth0 can be ignored if eth1 is up... if [ "$i" = "eth0" ] ; then if [ `/sbin/ifconfig eth1|grep -c inet` -gt 0 ] ; then continue fi fi
ntpdate bigben.cac.washington.edu /sbin/hwclock --systohc hostname weller (change weller to whatever your hostname is)
root@weller /etc/sysconfig 5:17:12pm # more iptables # Generated by iptables-save v1.2.7a on Mon Jul 7 17:15:53 2003 *filter :INPUT ACCEPT [323:92927] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [445:29720] -A INPUT -i lo -j ACCEPT -A INPUT -s 172.16.228.0/24 -d 0/0 -j ACCEPT -A INPUT -s 10.0.0.0/24 -d 0/0 -j ACCEPT -A INPUT -s 137.207.76.3/32 -d 0/0 -j ACCEPT -A INPUT -p tcp --dport 6881:6889 -j ACCEPT #-A INPUT -p tcp --dport 22 -j ACCEPT -A INPUT -p tcp -m tcp --tcp-flags SYN,RST,ACK SYN -j DROP -A INPUT -p tcp -m tcp --tcp-flags SYN,RST,ACK SYN -j DROP -A INPUT -p icmp -m icmp --icmp-type 8 -j DROP -A INPUT -p udp -m udp --dport 53 -j ACCEPT -A INPUT -p udp -m udp --sport 53 -j ACCEPT -A INPUT -p udp -s 140.142.16.34 -d 0/0 --dport 123 -j ACCEPT -A INPUT -p udp -j DROP COMMIT # Completed on Mon Jul 7 17:15:53 2003Note that 172.16.228.0 is a logical network, and is needed for vmware's samba shares. 140.142.16.34 is my NTP server. Port 53 is for DNS. I open things up as I need them.
./configure make make install
> Grab slmdm-2.7.10.tar.gz (no newer version, they're buggy), compile and > install it (you might need to create some dirs), and then let loose. I've > made the modem work that way, I'm getting 52k connects.
emacs msttcorefonts-1.3-4.spec (changed path: < %define ttmkfdir /usr/sbin/ttmkfdir ) rpm -ivh cabextract-0.6-1.i386.rpm rpmbuild -bb msttcorefonts-1.3-4.spec rpm -ivh /usr/src/RPM/RPMS/noarch/msttcorefonts-1.3-4.noarch.rpm rpm -ql msttcorefonts (to check) /etc/init.d/xfs restart xlsfonts | grep ^-microsoft' (to check)
weller 10419 1 0 00:36 ? 00:00:21 /usr/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -l 3 -f weller 11595 1 0 00:49 ? 00:00:07 /usr/bin/esd -terminate -nobeeps -as 2 -spawnfd 31
DOESNT WORK for arts OR esd: (repeat mplayer command several times and it works) audio_setup: Can't open audio device /dev/dsp: Device or resource busy /dev/dsp: Device or resource busy AO: [esd] esd_open_sound failed: Connection refused AO: [null] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps) WORKS via artsd: AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian) AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps) Building audio filter chain for 44100Hz/2ch/16bit -> 48000Hz/2ch/16bit... WORKS via esd, after artsd fails: Can't open audio device /dev/dsp: Device or resource busy AO: [esd] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps) I have no idea what spawned esd. it's orphaned and owned by the kernel.
[WinMM] #"Drivers" = "wineoss.drv" "Drivers" = "winearts.drv"Unfortunately, I get an error: "err:module:BUILTIN_LoadModule loaded .so but dll winearts.drv still not found". Until they fix that bug, I need to stick with artsdsp in front of wine.
Hmmm... i have no idea how shorewall works. iptables is very
low-level and built into the kernel. maybe shorewall is a user-friendly
front-end for iptables or ipchains. i feel like i have more control
by using the kernel-level firewall.
just try this and see if you get entries:
root@weller /home/weller/public_html 5:16:58pm # iptables -nL
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 172.16.228.0/24 0.0.0.0/0
ACCEPT all -- 10.0.0.0/24 0.0.0.0/0
DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x16/0x0
2
DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp flags:0x16/0x0
2
DROP icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 8
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:53
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp spt:53
ACCEPT udp -- 140.142.16.34 0.0.0.0/0 udp dpt:123
DROP udp -- 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
root@weller /home/weller/public_html 8:33:21pm # ipchains -nL
ipchains: Command not found.
so, depending on your system, it could be ipchains or iptables.
you can try temporarily turning off your firewall to see if
things work without it and then you know where your problem lies.
with iptables, it's /etc/init.d/iptables stop
then when you do a "iptables -nL", you don't see anything.
if you type:
ifconfig vmnet1
do you get this:
vmnet1 Link encap:Ethernet HWaddr 00:50:56:C0:00:01
inet addr:172.16.228.1 Bcast:172.16.228.255 Mask:255.255.255.0
etc...?
from windows, try: start -> logoff user -> then log back in as
"dave" or whatever you username is in linux.
login with the same pass that you set here:
smbpasswd -c /etc/vmware/vmnet1/smb/smb.conf -a dave
(replace dave with whatever you use)
then try:
start -> run -> \\172.16.226.1\
then right-click on a folder and go: map network drive. map it to
something like Z:
1134 13:08 setenv WXPREF /usr/local/lib/wxPython 1135 13:08 mkdir build 1136 13:08 cd build 1137 13:08 ../configure --with-gtk --prefix=$WXPREF --enable-rpath=$WXPREF/lib --with-opengl --enable-geometry --enable-optimise --enable-debug_flag 1146 13:19 cd .. 1147 13:20 cd wxPython 1148 13:20 python setup.py WX_CONFIG=$WXPREF/bin/wx-config build installthe last line installed wx and wxPython into /usr/local/lib/python2.3/site-packages. these have a __init__.py file, which make it a package. So, when a .py file calls "from wxPython.wx import *", it looks in site-packages for wxPython/wx.py.
mv BitTorrent /usr/local/lib/python2.3/site-packages/ cp bt*.py /usr/local/bin
-A INPUT -p tcp --dport 6881:6889 -j ACCEPTthen /etc/init.d/iptables restart
1503 16:15 mkdir mplayerin 1504 16:15 cd mplayerin/ 1505 16:15 cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/mplayerplug-in login 1506 16:15 cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/mplayerplug-in co mplayerplug-in 1507 16:16 ls 1508 16:16 cd mplayerplug-in/ 1509 16:16 ls 1510 16:16 ./configure 1511 16:16 make 1512 16:16 cp mplayerplug-in.so /usr/local/MozillaFirebird/plugins/
1587 16:55 cd /usr/local 1588 16:55 mv mozilla mozilla1.4 1581 16:54 tar -xzvf mozilla-i686-pc-linux-gnu-1.6a-sea.tar.gz 1583 16:54 cd mozilla-installer 1585 16:54 ./mozilla-installer 1587 16:55 cd /usr/local/mozilla/plugins 1595 17:09 mv ../../mozilla1.4/plugins/libjavaplugin_oji.so . 1596 17:09 mv ../../mozilla1.4/plugins/flashplayer.xpt . 1597 17:09 mv ../../mozilla1.4/plugins/libflashplayer.so . 1600 17:12 mv ../../mozilla1.4/plugins/raclass.zip . 1601 17:12 mv ../../mozilla1.4/plugins/rpnp.so . 1593 16:56 cp /root/inst/mplayerin/mplayerplug-in/mplayerplug-in.so .
# daemon /usr/local/bin/fan -d /usr/local/bin/toshset -cpu slow /usr/local/bin/toshset -fan high
#!/bin/csh -f set list=(`rpm -qa|egrep -i "gcc|kd|XFree"|sort -u`) @ count = 0 while ($count < $#list) @ count++ echo "" echo $list[$count] rpm -V $list[$count] end
weller@weller /home/weller 4:02:47pm > free
total used free shared buffers cached
Mem: 774816 751564 23252 0 4908 643768
-/+ buffers/cache: 102888 671928
Swap: 361420 361420 0
alias disp4 '\ls -1 *.jpg|xargs display -delay 100'
alias disp2 find . -maxdepth 1 -type f -name \'\*.jpg\' -exec display -delay 10 {} \\\;
DRIVE VENDOR : MATSHITA DRIVE PROID : UJDA720 DVD/CDRW DRIVE REVISION : 1.00 VENDOR SPECIFIC : 11009tKME12040292311 INTERFACE : ATAPI RPC2 SCHEME : NO CDR READ SUPPORT : YES CDRW READ SUPPORT : YES CDRM2 READ SUPPORT : YES CDR WRITE SUPPORT : YES CDRW WRITE SUPPORT : YES DVD-ROM READ SUPPORT : YES DVD-R READ SUPPORT : YES DVD-RAM READ SUPPORT : YES DVD-R WRITE SUPPORT : NO DVD-RAM WRITE SUPPORT : NO MAX CDR READ SPEED : 24 MAX CDR WRITE SPEED : 8
cd /usr/src bunzip2 -cd linux-2.4.21.tar.bz2|tar -xvf - ln -s linux-2.4.21 linux ln -s linux-2.4.21 linux-2.4.21-rc8 ln -s linux-2.4.21 linux-2.4.21-rc8-laptop cat laptopkernel-2.4.21-rc8-laptop1.diff|patch -p0
36 ./drivers/char/drm/i810_dma.c
< #define DO_MUNMAP(m, a, l) do_munmap(m, a, l)
---
> #define DO_MUNMAP(m, a, l) do_munmap(m, a, l, 1)
148 ./drivers/char/agp/agpgart_be.c
> { PCI_DEVICE_ID_VIA_8375,
> PCI_VENDOR_ID_VIA,
> VIA_APOLLO_KM266,
> "Via",
> "Apollo Pro KM266 / KL266",
> via_generic_setup },
5119a5126,5131
> { PCI_DEVICE_ID_VIA_P4M266,
> PCI_VENDOR_ID_VIA,
> VIA_APOLLO_P4M266,
> "Via",
> "Apollo P4M266",
> via_generic_setup },
make mrproper clean xconfig load config file -> use kernel config emacs Makefile (change EXTRAVERSION to mw8) make dep bzImage modules make modules_install make install cd /root/inst sh ./NVIDIA-Linux-x86-1.0-4363.run (this COMPILES nvidia.o to present kernel! if you boot into the new kernel, you can do this in text mode) vmware-config.pl (this COMPILE vmnet.o and vmmon.o for vmware)
/etc/init.d/syslog stop; chown root /dev/console; ( xconsole & ) ; klogd -f /dev/console; echo 1 > /proc/sys/vm/block_dump
(echo "0" > /proc/sys/vm/block_dump ) ; /etc/init.d/syslog stop ; killall xconsole ;/etc/init.d/syslog start
<4>licq: WRITE block 65680/8 on 03:08 <4>kdeinit: READ block 133800/8 on 03:05 <4>kdeinit: READ block 133808/8 on 03:05 <4>kdeinit: READ block 133816/8 on 03:05 <4>kreiserfsd: dirtied buffer <4>kreiserfsd: WRITE block 17144/8 on 03:08 <4>kreiserfsd: dirtied buffer <4>kreiserfsd: dirtied buffer <4>kreiserfsd: WRITE block 17232/8 on 03:08 <4>kreiserfsd: dirtied buffer <4>kreiserfsd: WRITE block 17240/8 on 03:08 <4>mozilla-bin: READ block 8651872/8 on 03:07 <4>mozilla-bin: READ block 8651880/8 on 03:07 <4>kswapd: WRITE block 87992/8 on 03:05 <4>kswapd: WRITE block 88000/8 on 03:05 <4>kswapd: WRITE block 88008/8 on 03:05 <4>kswapd: WRITE block 88016/8 on 03:05 <4>kswapd: dirtied page <4>kswapd: dirtied page <4>kswapd: dirtied page
cd /usr/src/kernel/linux make xconfig (put "m" next to filesystems->network->smbfs) make dep make modules SUBDIRS=fs mkdir /lib/modules/2.4.21mw10/kernel/fs/smbfs cp fs/smbfs/smbfs.o /lib/modules/2.4.21mw10/kernel/fs/smbfs depmod -aNow I can use it!