User:Digimer: Difference between revisions

From Alteeve Wiki
Jump to navigation Jump to search
No edit summary
(18 intermediate revisions by the same user not shown)
Line 6: Line 6:


This page below is my scratch pad.
This page below is my scratch pad.
= Hardware =
* [[Interlink ClusterPairs - May 2011]]
= Compile a Kernel =
== RHEL 6 ==
Using a kernel source RPM.
<source lang="bash">
# Setup the build environment.
yum -y groupinstall "Development Tools"
yum -y install xmlto elfutils-libelf-devel zlib-devel binutils-devel
# ASCIIdoc needs to be installed from source at the moment.
wget -c http://downloads.sourceforge.net/project/asciidoc/asciidoc/8.6.3/asciidoc-8.6.3.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fasciidoc%2Ffiles%2F&ts=1290017689&use_mirror=superb-sea2
tar -xvzf asciidoc-8.6.3.tar.gz
cd asciidoc-8.6.3
autoconf
./configure
make
make install
cd ~
# Get the src RPM
wget -c http://fedorapeople.org/~myoung/dom0/src/kernel-2.6.32.25-172.xendom0.fc12.src.rpm
# Install the source.
rpm -i kernel-2.6.32.25-172.xendom0.fc12.src.rpm
# Edit the spec file and build (remove the 'asciidoc' requirement as it was fulfilled via tarball).
cd rpmbuild/SPECS/
vim kernel.spec
rpmbuild -ba kernel.spec
</source>
Enable the source RPM repo
<source lang="bash">
vim /etc/yum.repos.d/rhel-src.repo
</source>
<source lang="bash">
[rhel-src]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/SRPMS/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
</source>
Enable the 'RHEL Server Optional' repo and then add your system to it.
* https://rhn.redhat.com/network/software/channels/details.pxt?cid=10508
* RHN -> Software Channel Entitlements -> RHEL Server Optional
Build the Xen hypervisor
<source lang="bash">
yum install transfig libidn-devel SDL-devel curl-devel libX11-devel python-devel ghostscript tetex-latex ncurses-devel gtk2-devel libaio-devel gnutls-devel openssl-devel libuuid-devel bzip2-devel xz-devel e2fsprogs-devel glibc-devel.i686 java-1.6.0-openjdk-devel libICE-devel libSM-devel gd libXpm-devel libjpeg-devel libXaw-devel imake qt-devel qt3-devel libtiff-devel cmake expat-devel dvipng ImageMagick dos2unix ruby PyXML qemu-img qemu-kvm cyrus-sasl-devel pulseaudio-libs-devel spice-server-devel
# Build dependency 'pciutils-devel'
cd ~
yumdownloader --source pciutils
rpm -ivh pciutils-3.1.4-9.el6.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba pciutils.spec
cd ~
rpm -ivh rpmbuild/RPMS/x86_64/pciutils-devel-3.1.4-9.el6.x86_64.rpm
# Build dependency 'iasl'
cd ~
wget -c ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/14/Everything/source/SRPMS/iasl-20100528-2.fc14.src.rpm
rpm -ivh iasl-20100528-2.fc14.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba iasl.spec
cd ~
rpm -ivh rpmbuild/RPMS/x86_64/iasl-*
# Build dependency 'dev86'
cd ~
wget -c ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/14/Everything/source/SRPMS/dev86-0.16.17-16.fc14.src.rpm
rpm -ivh dev86-0.16.17-16.fc14.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba dev86.spec
# type 'quit' at the prompt.
cd ~
rpm -ivh rpmbuild/RPMS/x86_64/dev86-*
# Build dependency 'perl-Text-Unidecode'
cd ~
wget -c ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/14/Everything/source/SRPMS/perl-Text-Unidecode-0.04-9.fc14.src.rpm
rpm -ivh perl-Text-Unidecode-0.04-9.fc14.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba perl-Text-Unidecode.spec
cd ~
rpm -ivh rpmbuild/RPMS/noarch/perl-Text-Unidecode-0.04-9.el6.noarch.rpm
### This should be done after poppler... sort out the best order in the next go-round.
# Build dependency 'latex2html'
cd ~
wget -c ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/14/Everything/source/SRPMS/latex2html-2008-4.fc13.src.rpm
rpm -ivh latex2html-2008-4.fc13.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba latex2html.spec
cd ~
rpm -ivh rpmbuild/RPMS/noarch/latex2html-2008-4.el6.noarch.rpm
# Build dependency 'gd'
cd ~
yumdownloader --source gd
rpm -ivh gd-2.0.35-10.el6.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba gd.spec
cd ~
rpm -ivh rpmbuild/RPMS/x86_64/gd-devel-2.0.35-10.el6.x86_64.rpm
# Build dependency 't1lib-devel'
cd ~
yumdownloader --source t1lib
rpm -ivh t1lib-5.1.2-6.el6.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba t1lib.spec
cd ~
rpm -ivh rpmbuild/RPMS/x86_64/t1lib-*
# Build dependency 'Xaw3d-devel'
cd ~
yumdownloader --source Xaw3d
rpm -ivh Xaw3d-1.5E-15.1.el6.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba Xaw3d.spec
cd ~
rpm -ivh rpmbuild/RPMS/x86_64/Xaw3d-*
# Build dependency 'lcms-devel'
cd ~
yumdownloader --source lcms-libs
rpm -ivh lcms-1.19-1.el6.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba lcms.spec
cd ~
rpm -ivh rpmbuild/RPMS/x86_64/lcms-devel-1.19-1.el6.x86_64.rpm
# Build dependency 'openjpeg-devel'
cd ~
yumdownloader --source openjpeg
rpm -ivh openjpeg-1.3-7.el6.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba openjpeg.spec
cd ~
rpm -ivh rpmbuild/RPMS/x86_64/openjpeg-devel-1.3-7.el6.x86_64.rpm
### NOTE: If this step fails, log out and then back in, then try again.
# Build dependency 'poppler-data'
cd ~
yumdownloader --source poppler-data
rpm -ivh poppler-data-0.4.0-1.el6.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba poppler-data.spec
cd ~
rpm -ivh rpmbuild/RPMS/noarch/poppler-data-0.4.0-1.el6.noarch.rpm
# Build dependency 'poppler-devel'
cd ~
yumdownloader --source poppler
rpm -ivh poppler-0.12.4-3.el6_0.1.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba poppler.spec
cd ~
rpm -Uvh rpmbuild/RPMS/x86_64/poppler-*
# This may be needed if the shipped poppler was removed, taking these with them.
yum install latex2html tex-preview texlive texlive-dvips texlive-latex texlive-texmf-latex texlive-utils
# Build dependency 'teckit'
cd ~
yumdownloader --source teckit
rpm -ivh teckit-2.5.1-4.1.el6.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba teckit.spec
cd ~
rpm -ivh rpmbuild/RPMS/x86_64/teckit-*
# Build dependency 'sharutils'
cd ~
wget -c ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/14/Everything/source/SRPMS/sharutils-4.10-1.fc14.src.rpm
rpm -ivh sharutils-4.10-1.fc14.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba sharutils.spec
cd ~
rpm -ivh rpmbuild/RPMS/x86_64/sharutils-4.10-1.el6.x86_64.rpm
# Build dependency 'plotutils'
cd ~
yumdownloader --source plotutils
rpm -ivh plotutils-2.5-7.1.el6.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba plotutils.spec
cd ~
rpm -ivh rpmbuild/RPMS/x86_64/plotutils-*
# Build dependency 'libEMF'
cd ~
yumdownloader --source libEMF
rpm -ivh libEMF-1.0.4-1.el6.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba libEMF.spec
cd ~
rpm -ivh rpmbuild/RPMS/x86_64/libEMF-*
# Build dependency 'pstoedit'
cd ~
yumdownloader --source pstoedit
rpm -ivh pstoedit-3.45-10.el6.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba pstoedit.spec
cd ~
rpm -ivh rpmbuild/RPMS/x86_64/pstoedit-*
### Yes, the 'kpathsea' source is 'texlive', that's not a typo.
# Build dependency 'kpathsea-devel'
cd ~
yumdownloader --source kpathsea
rpm -ivh texlive-2007-56.el6.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba texlive.spec
cd ~
rpm -ivh rpmbuild/RPMS/x86_64/kpathsea-devel-2007-56.el6.x86_64.rpm
### Left off here...
yum remove texlive latex2html tex-preview texinfo-tex texlive-dvips texlive-latex texlive-texmf-latex texlive-utils
yum install tex-preview
### This also creates 'info-4.13a-8.el6.x86_64.rpm', may need to update to it...
# Build dependency 'texinfo-tex'
cd ~
yumdownloader --source texinfo
rpm -ivh texinfo-4.13a-8.el6.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba texinfo.spec
cd ~
rpm -ivh rpmbuild/RPMS/x86_64/texinfo-*
### Get dependent packages.
# yum install texlive-context texlive-xetex
# Build dependency 'tetex-tex4ht'
cd ~
wget -c ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/14/Everything/source/SRPMS/tetex-tex4ht-1.0.2008_09_16_1413-3.fc12.src.rpm
rpm -ivh tetex-tex4ht-1.0.2008_09_16_1413-3.fc12.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba tetex-tex4ht.spec
cd ~
rpm -ivh rpmbuild/RPMS/x86_64/tetex-tex4ht-1.0.2008_09_16_1413-3.el6.x86_64.rpm
# Build dependency 'texi2html'
cd ~
wget -c ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/14/Everything/source/SRPMS/texi2html-1.82-5.fc12.src.rpm
rpm -ivh texi2html-1.82-5.fc12.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba texi2html.spec
yum install cyrus-sasl-devel pulseaudio-libs-devel spice-server-devel
# Build qemu-common
cd ~
wget -c ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/14/Fedora/source/SRPMS/qemu-0.13.0-0.7.rc1.fc14.src.rpm
# Build Xen
cd ~
wget -c ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux/releases/14/Fedora/source/SRPMS/xen-4.0.1-6.fc14.src.rpm
rpm -ivh xen-4.0.1-6.fc14.src.rpm
cd rpmbuild/SPECS/
rpmbuild -ba xen.spec
cd ~
</source>
= COS Stuff =
* [[Leah - README COS Software]]
= Ongoing =
* [[Red Hat Cluster Service 3 Tutorial]]
* [[Xen vs. KVM Benchmark - Nov. 2010]]
= Sandbox =
I ask people questions here.
<source lang="text">
Dec  1 10:45:57 eeescape pppd[2488]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xd4ef02ac> <mrru 1492> <endpoint [MAC:00:22:15:88:82:c5]>]
Dec  1 10:45:58 eeescape pppd[2059]: sent [LCP EchoReq id=0x49 magic=0x9dd6f062]
Dec  1 10:45:58 eeescape pppd[2059]: rcvd [LCP EchoReq id=0x24 magic=0x59ad8e43] 82 84 88 79 00 00 00 00 92 f3 30 f9 d2 ae d9 58 19 05 22 14 d5 3f 25 14 93 00 00 00 b3 69 c8 e2 ...
Dec  1 10:45:58 eeescape pppd[2059]: sent [LCP EchoRep id=0x24 magic=0x9dd6f062]
Dec  1 10:45:58 eeescape pppd[2059]: rcvd [LCP EchoRep id=0x49 magic=0x59ad8e43] 24 14 d2 dd e7 ef 00 00 22 26 14 c3 87 da 64 cb 12 b5 da 1c 3d 79 a7 9c ba 00 00 00 00 46 3c 0a ...
Dec  1 10:45:59 eeescape pppd[2513]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x27c840da> <mrru 1492> <endpoint [MAC:00:22:15:88:82:c5]>]
Dec  1 10:45:59 eeescape kernel: Shorewall:net2fw:DROP:IN=ppp0 OUT= MAC= SRC=184.82.35.172 DST=206.108.5.129 LEN=128 TOS=0x00 PREC=0x00 TTL=51 ID=0 DF PROTO=UDP SPT=6821 DPT=46081 LEN=108
Dec  1 10:46:00 eeescape pppd[2488]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xd4ef02ac> <mrru 1492> <endpoint [MAC:00:22:15:88:82:c5]>]
Dec  1 10:46:02 eeescape kernel: Shorewall:net2fw:DROP:IN=ppp0 OUT= MAC= SRC=123.254.151.242 DST=206.108.5.129 LEN=131 TOS=0x00 PREC=0x00 TTL=108 ID=24215 PROTO=UDP SPT=32113 DPT=46081 LEN=111
Dec  1 10:46:02 eeescape pppd[2513]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x27c840da> <mrru 1492> <endpoint [MAC:00:22:15:88:82:c5]>]
Dec  1 10:46:03 eeescape pppd[2059]: rcvd [LCP EchoReq id=0x25 magic=0x59ad8e43] 06 9e 49 ac 62 e4 54 9f 36 b2 8d 2e 66 71 a1 dc 9b 82 18 a0 4b c0 f1 8c 00 00 00 00 f8 36 37 f9 ...
Dec  1 10:46:03 eeescape pppd[2059]: sent [LCP EchoRep id=0x25 magic=0x9dd6f062]
Dec  1 10:46:03 eeescape pppd[2488]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xd4ef02ac> <mrru 1492> <endpoint [MAC:00:22:15:88:82:c5]>]
Dec  1 10:46:04 eeescape kernel: Shorewall:net2fw:DROP:IN=ppp0 OUT= MAC= SRC=59.161.89.30 DST=206.108.5.129 LEN=131 TOS=0x00 PREC=0x00 TTL=49 ID=2188 PROTO=UDP SPT=35539 DPT=46081 LEN=111
Dec  1 10:46:05 eeescape pppd[2513]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x27c840da> <mrru 1492> <endpoint [MAC:00:22:15:88:82:c5]>]
Dec  1 10:46:05 eeescape kernel: Shorewall:net2fw:DROP:IN=ppp0 OUT= MAC= SRC=79.168.158.249 DST=206.108.5.129 LEN=131 TOS=0x00 PREC=0x00 TTL=112 ID=15309 PROTO=UDP SPT=51668 DPT=46081 LEN=111
Dec  1 10:46:05 eeescape kernel: Shorewall:net2fw:DROP:IN=ppp0 OUT= MAC= SRC=41.97.174.5 DST=206.108.5.129 LEN=131 TOS=0x00 PREC=0x00 TTL=109 ID=20900 PROTO=UDP SPT=59716 DPT=46081 LEN=111
Dec  1 10:46:06 eeescape pppd[2488]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xd4ef02ac> <mrru 1492> <endpoint [MAC:00:22:15:88:82:c5]>]
Dec  1 10:46:08 eeescape pppd[2513]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x27c840da> <mrru 1492> <endpoint [MAC:00:22:15:88:82:c5]>]
Dec  1 10:46:08 eeescape pppd[2059]: rcvd [LCP EchoReq id=0x26 magic=0x59ad8e43] 19 4d 7d 0e 41 49 5e ce 13 fe cc c5 b9 a7 04 73 f5 02 04 92 39 39 05 95 2c 00 00 00 bc d5 4a 38 ...
Dec  1 10:46:08 eeescape pppd[2059]: sent [LCP EchoRep id=0x26 magic=0x9dd6f062]
Dec  1 10:46:09 eeescape pppd[2488]: LCP: timeout sending Config-Requests
Dec  1 10:46:09 eeescape pppd[2488]: Connection terminated.
Dec  1 10:46:09 eeescape pppd[2488]: Modem hangup
Dec  1 10:46:09 eeescape pppd[2488]: Waiting for 1 child processes...
Dec  1 10:46:09 eeescape pppd[2488]:  script /usr/sbin/pppoe -p /var/run/pppoe-adsl-eth1.pid -I eth1 -T 80 -U  -m 1412, pid 2489
Dec  1 10:46:11 eeescape pppd[2513]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x27c840da> <mrru 1492> <endpoint [MAC:00:22:15:88:82:c5]>]
Dec  1 10:46:12 eeescape kernel: Shorewall:net2fw:DROP:IN=ppp0 OUT= MAC= SRC=90.162.100.213 DST=206.108.5.129 LEN=131 TOS=0x00 PREC=0x00 TTL=110 ID=17788 PROTO=UDP SPT=1027 DPT=46081 LEN=111
Dec  1 10:46:12 eeescape kernel: Shorewall:net2fw:DROP:IN=ppp0 OUT= MAC= SRC=95.56.205.135 DST=206.108.5.129 LEN=131 TOS=0x00 PREC=0x00 TTL=112 ID=31853 PROTO=UDP SPT=25790 DPT=46081 LEN=111
Dec  1 10:46:13 eeescape pppd[2059]: rcvd [LCP EchoReq id=0x27 magic=0x59ad8e43] c2 ad 38 4f 9e af f3 ef 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 53 65 00 00 00 97 6e ce 99 ...
Dec  1 10:46:13 eeescape pppd[2059]: sent [LCP EchoRep id=0x27 magic=0x9dd6f062]
Dec  1 10:46:13 eeescape pppoe[2489]: Timeout waiting for PADO packets
Dec  1 10:46:13 eeescape pppd[2488]: Script /usr/sbin/pppoe -p /var/run/pppoe-adsl-eth1.pid -I eth1 -T 80 -U  -m 1412 finished (pid 2489), status = 0x1
Dec  1 10:46:13 eeescape pppd[2488]: Exit.
Dec  1 10:46:14 eeescape pppd[2513]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x27c840da> <mrru 1492> <endpoint [MAC:00:22:15:88:82:c5]>]
Dec  1 10:46:14 eeescape pppd[2518]: pppd 2.4.5 started by root, uid 0
Dec  1 10:46:14 eeescape pppd[2518]: using channel 90
Dec  1 10:46:14 eeescape pppd[2518]: Starting negotiation on /dev/pts/6
Dec  1 10:46:15 eeescape pppd[2518]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x8b0b96f5> <mrru 1492> <endpoint [MAC:00:22:15:88:82:c5]>]
Dec  1 10:46:16 eeescape kernel: Shorewall:net2fw:DROP:IN=ppp0 OUT= MAC= SRC=83.69.227.33 DST=206.108.5.129 LEN=131 TOS=0x00 PREC=0x00 TTL=109 ID=63587 PROTO=UDP SPT=59039 DPT=46081 LEN=111
Dec  1 10:46:17 eeescape pppd[2513]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x27c840da> <mrru 1492> <endpoint [MAC:00:22:15:88:82:c5]>]
Dec  1 10:46:18 eeescape pppd[2059]: sent [LCP EchoReq id=0x4a magic=0x9dd6f062]
Dec  1 10:46:18 eeescape pppd[2059]: rcvd [LCP EchoReq id=0x28 magic=0x59ad8e43] 4d 12 e5 0e 3a 9c 51 fa 13 fe cc c5 b9 a7 04 73 f5 02 01 16 64 ba 05 98 7d 00 00 00 ab 23 d8 49 ...
Dec  1 10:46:18 eeescape pppd[2059]: sent [LCP EchoRep id=0x28 magic=0x9dd6f062]
Dec  1 10:46:18 eeescape pppd[2059]: rcvd [LCP EchoRep id=0x4a magic=0x59ad8e43] 0b cf ca bb dd 2b b4 5a 1d e6 0b 58 6e 61 ab f2 70 bc 26 80 73 09 87 db 89 00 00 00 7b 23 20 00 ...
Dec  1 10:46:18 eeescape kernel: Shorewall:net2fw:DROP:IN=ppp0 OUT= MAC= SRC=95.221.139.124 DST=206.108.5.129 LEN=131 TOS=0x00 PREC=0x00 TTL=116 ID=28085 PROTO=UDP SPT=16711 DPT=46081 LEN=111
Dec  1 10:46:18 eeescape pppd[2518]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x8b0b96f5> <mrru 1492> <endpoint [MAC:00:22:15:88:82:c5]>]
Dec  1 10:46:20 eeescape pppd[2513]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x27c840da> <mrru 1492> <endpoint [MAC:00:22:15:88:82:c5]>]
Dec  1 10:46:21 eeescape pppd[2518]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x8b0b96f5> <mrru 1492> <endpoint [MAC:00:22:15:88:82:c5]>]
Dec  1 10:46:23 eeescape kernel: Shorewall:net2fw:DROP:IN=ppp0 OUT= MAC= SRC=84.43.183.148 DST=206.108.5.129 LEN=131 TOS=0x00 PREC=0x00 TTL=115 ID=28702 PROTO=UDP SPT=33426 DPT=46081 LEN=111
Dec  1 10:46:23 eeescape pppd[2513]: LCP: timeout sending Config-Requests
Dec  1 10:46:23 eeescape pppd[2513]: Connection terminated.
Dec  1 10:46:23 eeescape pppd[2513]: Modem hangup
Dec  1 10:46:23 eeescape pppd[2513]: Waiting for 1 child processes...
Dec  1 10:46:23 eeescape pppd[2513]:  script /usr/sbin/pppoe -p /var/run/pppoe-adsl-eth1.pid -I eth1 -T 80 -U  -m 1412, pid 2514
Dec  1 10:46:23 eeescape pppd[2059]: rcvd [LCP EchoReq id=0x29 magic=0x59ad8e43] 0b de 1e 59 6e 01 4a d2 4b 77 e2 c8 4c ea da f5 00 26 39 fb 21 02 d4 4a fa 00 00 00 93 a9 6b 7d ...
Dec  1 10:46:23 eeescape pppd[2059]: sent [LCP EchoRep id=0x29 magic=0x9dd6f062]
Dec  1 10:46:23 eeescape kernel: Shorewall:net2fw:DROP:IN=ppp0 OUT= MAC= SRC=24.132.188.43 DST=206.108.5.129 LEN=131 TOS=0x00 PREC=0x00 TTL=119 ID=5964 PROTO=UDP SPT=10882 DPT=46081 LEN=111
Dec  1 10:46:24 eeescape kernel: Shorewall:net2fw:DROP:IN=ppp0 OUT= MAC= SRC=95.25.240.47 DST=206.108.5.129 LEN=131 TOS=0x00 PREC=0x00 TTL=111 ID=28437 PROTO=UDP SPT=31448 DPT=46081 LEN=111
Dec  1 10:46:25 eeescape pppd[2518]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x8b0b96f5> <mrru 1492> <endpoint [MAC:00:22:15:88:82:c5]>]
Dec  1 10:46:25 eeescape kernel: Shorewall:net2fw:DROP:IN=ppp0 OUT= MAC= SRC=61.252.247.56 DST=206.108.5.129 LEN=131 TOS=0x00 PREC=0x00 TTL=105 ID=6951 PROTO=UDP SPT=10256 DPT=46081 LEN=111
Dec  1 10:46:25 eeescape kernel: Shorewall:net2fw:DROP:IN=ppp0 OUT= MAC= SRC=184.1.4.241 DST=206.108.5.129 LEN=131 TOS=0x00 PREC=0x00 TTL=113 ID=6188 PROTO=UDP SPT=10505 DPT=46081 LEN=111
Dec  1 10:46:27 eeescape pppoe[2514]: Timeout waiting for PADO packets
Dec  1 10:46:27 eeescape pppd[2513]: Script /usr/sbin/pppoe -p /var/run/pppoe-adsl-eth1.pid -I eth1 -T 80 -U  -m 1412 finished (pid 2514), status = 0x1
Dec  1 10:46:27 eeescape pppd[2513]: Exit.
Dec  1 10:46:28 eeescape pppd[2518]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x8b0b96f5> <mrru 1492> <endpoint [MAC:00:22:15:88:82:c5]>]
Dec  1 10:46:28 eeescape pppd[2522]: pppd 2.4.5 started by root, uid 0
Dec  1 10:46:28 eeescape pppd[2522]: using channel 91
Dec  1 10:46:28 eeescape pppd[2522]: Starting negotiation on /dev/pts/0
Dec  1 10:46:28 eeescape pppd[2059]: rcvd [LCP EchoReq id=0x2a magic=0x59ad8e43] b3 ab c8 ac 00 00 7b 23 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d 0a 43 6f 00 00 00 00 00 00 02 ...
Dec  1 10:46:28 eeescape pppd[2059]: sent [LCP EchoRep id=0x2a magic=0x9dd6f062]
Dec  1 10:46:29 eeescape kernel: Shorewall:net2fw:DROP:IN=ppp0 OUT= MAC= SRC=95.155.65.199 DST=206.108.5.129 LEN=131 TOS=0x00 PREC=0x00 TTL=117 ID=24900 PROTO=UDP SPT=13004 DPT=46081 LEN=111
Dec  1 10:46:29 eeescape pppd[2522]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xcfa8ae82> <mrru 1492> <endpoint [MAC:00:22:15:88:82:c5]>]
Dec  1 10:46:29 eeescape kernel: Shorewall:net2fw:DROP:IN=ppp0 OUT= MAC= SRC=86.51.120.192 DST=206.108.5.129 LEN=131 TOS=0x00 PREC=0x00 TTL=117 ID=43275 PROTO=UDP SPT=1072 DPT=46081 LEN=111
Dec  1 10:46:31 eeescape pppd[2518]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x8b0b96f5> <mrru 1492> <endpoint [MAC:00:22:15:88:82:c5]>]
</source>
= Papers to write =
I took these off the front page until I am actually ready to start them.
* [[3+ Node CentOS5 Cluster + SoftSAN]] - How to build a 3+ Node Cluster using a home-brew iSCSI/SAN server on CentOS 5
* [[Setting Up Multilink PPP on Fedora 13]]
* [[Postfix + Postgrey + PostgreSQL on Debian|Postfix + Postgrey + PostgreSQL]] - Multi-domain, PgSQL authenticated mail server
= Code Dump =
== AVR from CLI ==
<source lang="bash">
perl -MDevice::SerialPort -e 'Device::SerialPort->new("/dev/ttyUSB0")->pulse_dtr_on(1000)'; \
./hardware/tools/avrdude -Chardware/tools/avrdude.conf -q -q -pm328p -cstk500v1 -P/dev/ttyUSB0 -b57600 -D -Uflash:w:/home/pekka/sketchbook/Blink2/applet/Blink2.hex;
</source>
== Mux/Demux ==
<source lang="text">
                                                                        <- Outputs ->
        1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16              17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32
        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
        -+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-              -+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
S0 ----/                                                              \    S0 ----/                                                              \
S1 ---/                                                                \    S1 ---/                                                                \
S2 --/                                                                  \  S2 --/                                                                  \
S3 -/                                                                    \  S3 -/                                                                    \
  /_______________________________________________________________________\    /_______________________________________________________________________\
                                      |                                                                            |
                                      \-----------------------------------.  .------------------------------------/
                                                                          |  |
                                                                          -+---+-
                                                                    S4 -/      \
                                                                        /_________\
                                                                            |
                                                                          Input
S0-S5 = Source pins
</source>
= Research =
[[MediaWiki on Debian/PostgreSQL]]
[[MediaWiki on CentOS/MySQL]]
[[Bath Bookshelf]]
-----


= Misc =
= Misc =


* [[Pics]]
{| class="wikitable"
 
|- style="vertical-align:top;"
*** Madi: Look up [http://en.wikipedia.org/wiki/Tsugaru-jamisen] when you get home!
| style="height:100px; width:100px; text-align:left;" | A
 
| style="height:100px; width:100px; text-align:center;" | B
# whut?
| style="height:100px; width:100px; text-align:right;" | C
## b
|- style="vertical-align:middle;"
# c
| style="height:100px; width:100px; text-align:left;" | D
## d
| style="height:100px; width:100px; text-align:center;" | E
### e
| style="height:100px; width:100px; text-align:right;" | F
 
|- style="vertical-align:bottom;"
= Main Links =
| style="height:100px; width:100px; text-align:left;" | G
 
| style="height:100px; width:100px; text-align:center;" | H
[[T400s]]
| style="height:100px; width:100px; text-align:right;" | I
 
|}
[[Node Assassin]]
 
[[Red Hat Clustering]]
 
[[Sample Xen 2-node Cluster Network Map]]
 
= MW Code Testing =
 
Indent
 
<pre>
Pretext
</pre>
 
<source lang="perl">
package AN::Tools;
# This is the "root" package that manages the sub modules and controls access
# to their methods.
#
# Dedicated to Leah Kubik who helped me back in the early days of TLE-BU.
#
 
BEGIN
{
our $VERSION="0.1.001";
}
 
use strict;
use warnings;
my $THIS_FILE="Tools.pm";
 
# Setup for UTF-8 mode.
use utf8;
$ENV{'PERL_UNICODE'}=1;
</source>
 
Test <span class="code">while (1) { code... }</span> span.
 
* [[DNS - Bind9 Master/Slave Setup on Debian 5.x]]
 
= Code Debugging =
 
<source lang="c">
#include <Ethernet.h>
 
// MAC Address; Array of six bytes.
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xEF };
// Arduino IP, netmask and gateway.
byte ip[] = { 192, 168, 1, 66 };
// Netmask defaults to 255.255.255.0.
byte nm[] = { 255, 255, 255, 0 };
// Default gateway defaults to IP with the last octal set to 1.
byte dg[] = { 192, 168, 1, 1 };
// Laptop's IP address that I test connecting to.
byte remote[] = { 192, 168, 1, 105 };
// This is the port that I will listen on.
int port=238;
 
// Setup the server.
Server server = Server(port);
 
void setup()
{
// Setup the IP info.
Ethernet.begin(mac, ip, dg, nm);
// Start the server listening for connections.
server.begin();
// Print what comes in over telnet.
Serial.begin(9600);
Serial.println("Node Assassin: 'Ariel' now listening for orders.");
}
 
void loop()
{
Client client=server.available();
if (client)
{
char reading = client.read();
// This is what I am trying to concatenate and to print as a whole line.
Serial.println(reading);
server.write(reading);
}
}
</source>


= Doorbot UTF8 Test =


[[Doorbot UTF8 Test - ドアボト語テスト]]
{| class="wikitable" width="100%"
{{template:footer}}
|- style="vertical-align:middle;"
| style="text-align:center; vertical-align:middle;" | [[image:Brocade_icx6610-48_front-left.png|thumb|center|400px|Brocade [http://www.brocade.com/products/all/switches/product-details/icx-6610-switch/index.page ICX6610-48] 8x SFP+, 48x 1Gbps RJ45, 160Gbit stacked switch. Photo by [http://newsroom.brocade.com/Image-Gallery/Product-Images Brocade].]]
| style="text-align:center; vertical-align:middle;" | [[image:Brocade_icx6450-25_front_01.jpg|thumb|center|400px|Brocade [http://www.brocade.com/products/all/switches/product-details/icx-6430-and-6450-switches/index.page ICX6450-48] 4x SFP+, 24x 1Gbps RJ45, 40Gbit stacked switch. Photo by [http://newsroom.brocade.com/Image-Gallery/Product-Images Brocade].]]
|}

Revision as of 21:12, 10 November 2016

 AN!Wiki :: Digimer

Me

Digimer <- about me.

This page below is my scratch pad.

Misc

A B C
D E F
G H I


Brocade ICX6610-48 8x SFP+, 48x 1Gbps RJ45, 160Gbit stacked switch. Photo by Brocade.
Brocade ICX6450-48 4x SFP+, 24x 1Gbps RJ45, 40Gbit stacked switch. Photo by Brocade.