To override dns for sulbalcon.net, which does not do port forwarding when coming from the inside, simply added a line to /etc/hosts on openwrt@rd
The point was to browse to sulbalcon.net from inside rd.sologlobe.com network
Of course the browsing host has to use openwrt as its dns...
/etc/hosts.old -> /rom/etc/hosts
/etc/hosts
127.0.0.1 localhost OpenWrt
192.168.3.200 sulbalcon.net www.sulbalcon.net sulbalcon
dig before
sulbalcon.net. 244 IN CNAME rd-sologlobe.dnsalias.net.
rd-sologlobe.dnsalias.net. 60 IN A 74.56.226.92
dig after
sulbalcon.net. 0 IN A 192.168.3.200
2008-01-23
2008-01-09
PhotoMosaics
- metapixel setup
- linksInOneDir
- export from picasa
- size sort
- aspect ratio gymnastics
- slicing up for cheap printing
- linksInOneDir
- export from picasa
- size sort
- aspect ratio gymnastics
- slicing up for cheap printing
2007-10-12
2007-10-06
Bucky Moire Revisited Wide (16:9)
Tried to re-render my Bucky Moire project, and found that the MPEG files were making Powerdirector crash. Investigating, I decided to re-render in 16:9, with better aspect-ratio management.
- so rendering in 720x480, with an explicit aspect ratio in pov files:
camera{ .. right x*1.778 ..} does the trick (implicitly 4:3 is the default.)
-That makes the png picture distorted (when viewing with sqaure pixels.)
- I also removed the -f dvd flag from the ffmpeg line
- old vs new ffmpeg, is the one that I built in the dome directory vs the one from rpmforge under centos5
- so the MPEG file needs to be told about the aspect ratio: e.g.
/home/daniel/dome/ffmpeg/ffmpeg/ffmpeg -r 30 -i work/buckyMoireF2427-%03d.png -aspect 1.778 -b 9000 -y oldffmpeg-nodvd-aspect169-nonsquare.mpg
This is what it looks like on the DVD after rescaling to 16:9.
I must also redo the intro storyboard with the same mods.
Moved all scripts into svn:
camera{ .. right x*1.778 ..} does the trick (implicitly 4:3 is the default.)
-That makes the png picture distorted (when viewing with sqaure pixels.)
- I also removed the -f dvd flag from the ffmpeg line
- old vs new ffmpeg, is the one that I built in the dome directory vs the one from rpmforge under centos5
- so the MPEG file needs to be told about the aspect ratio: e.g.
/home/daniel/dome/ffmpeg/ffmpeg/ffmpeg -r 30 -i work/buckyMoireF2427-%03d.png -aspect 1.778 -b 9000 -y oldffmpeg-nodvd-aspect169-nonsquare.mpg
This is what it looks like on the DVD after rescaling to 16:9.
Moved all scripts into svn:
svn checkout https://snookr.googlecode.com/svn/trunk/buckyMoire buckyMoire --username daniel.lauzon -Parts, there are now three top level scripts. all scripts run for both 1.778 (16:9), and 1.333 (4:3) aspect ratios) doStory.sh : story board animation doMesh.sh : creates 24...48x24..48 sequences doAnnotate.sh: creates longer seamless animations -combine the 9 styoryBoard parts (with repeats into one sequence) as in 1,1,1,2,3,3,3,4,5,5,5,6,7,7,7,8,9,9,9 -combines all mesh animations for one constant outter frequency and adds freq pair anotation to bottom of image.
2007-09-28
Gmail transfer
Setup pop server on boole.
netstat -anop --tcp :to find open ports. 993/995 are listening
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 3260/xinetd off (0.00/0/0)
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 3260/xinetd off (0.00/0/0)
map hole in firewall to 995 (pop3s), say rd:8995 -> 201:995
load up the mailboxes one by one, in /var/mail/spool/catherine, and let it rip
Sometimes have problems with mbox locks...
kill the ipop process and restarting xinet seem to help.
netstat -anop --tcp :to find open ports. 993/995 are listening
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 3260/xinetd off (0.00/0/0)
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 3260/xinetd off (0.00/0/0)
map hole in firewall to 995 (pop3s), say rd:8995 -> 201:995
load up the mailboxes one by one, in /var/mail/spool/catherine, and let it rip
Sometimes have problems with mbox locks...
kill the ipop process and restarting xinet seem to help.
2007-07-24
Using Virtual Ethernet Adapters in Promiscuous Mode on a Linux Host
Reference from vmware:
http://www.vmware.com/support/ws5/doc/ws_net_advanced_linux_vadapter_promiscuous.html
change permissions on /dev/vmnet[018] to specific group or all
before:
[root@euler ~]# ls -ltr /dev/vm*
crw------- 1 root root 10, 165 Jul 20 13:38 /dev/vmmon
crw------- 1 root root 119, 0 Jul 20 13:38 /dev/vmnet0
crw------- 1 root root 119, 1 Jul 20 13:38 /dev/vmnet1
crw------- 1 root root 119, 8 Jul 20 13:38 /dev/vmnet8
after:
[root@euler ~]# chmod go+rw /dev/vmnet[018]
[root@euler ~]# ls -ltr /dev/vm*
crw------- 1 root root 10, 165 Jul 20 13:38 /dev/vmmon
crw-rw-rw- 1 root root 119, 0 Jul 20 13:38 /dev/vmnet0
crw-rw-rw- 1 root root 119, 1 Jul 20 13:38 /dev/vmnet1
crw-rw-rw- 1 root root 119, 8 Jul 20 13:38 /dev/vmnet8
and back:
[root@euler ~]# chmod go-rw /dev/vmnet[018]
[root@euler ~]# ls -ltr /dev/vm*
crw------- 1 root root 10, 165 Jul 20 13:38 /dev/vmmon
crw------- 1 root root 119, 0 Jul 20 13:38 /dev/vmnet0
crw------- 1 root root 119, 1 Jul 20 13:38 /dev/vmnet1
crw------- 1 root root 119, 8 Jul 20 13:38 /dev/vmnet8
http://www.vmware.com/support/ws5/doc/ws_net_advanced_linux_vadapter_promiscuous.html
change permissions on /dev/vmnet[018] to specific group or all
before:
[root@euler ~]# ls -ltr /dev/vm*
crw------- 1 root root 10, 165 Jul 20 13:38 /dev/vmmon
crw------- 1 root root 119, 0 Jul 20 13:38 /dev/vmnet0
crw------- 1 root root 119, 1 Jul 20 13:38 /dev/vmnet1
crw------- 1 root root 119, 8 Jul 20 13:38 /dev/vmnet8
after:
[root@euler ~]# chmod go+rw /dev/vmnet[018]
[root@euler ~]# ls -ltr /dev/vm*
crw------- 1 root root 10, 165 Jul 20 13:38 /dev/vmmon
crw-rw-rw- 1 root root 119, 0 Jul 20 13:38 /dev/vmnet0
crw-rw-rw- 1 root root 119, 1 Jul 20 13:38 /dev/vmnet1
crw-rw-rw- 1 root root 119, 8 Jul 20 13:38 /dev/vmnet8
and back:
[root@euler ~]# chmod go-rw /dev/vmnet[018]
[root@euler ~]# ls -ltr /dev/vm*
crw------- 1 root root 10, 165 Jul 20 13:38 /dev/vmmon
crw------- 1 root root 119, 0 Jul 20 13:38 /dev/vmnet0
crw------- 1 root root 119, 1 Jul 20 13:38 /dev/vmnet1
crw------- 1 root root 119, 8 Jul 20 13:38 /dev/vmnet8
Subscribe to:
Posts (Atom)