Mechatronics and Life
http://templeton.blog.shinobi.jp/
There is simply nothing of importance whatsoever. ja2012-04-10T00:14:30+09:00
http://templeton.blog.shinobi.jp/computer/system%20recovery
System RecoveryI had the idea of swapping out one of the Harddisk from my Desktop box simply because it refused to boot under AHCI mode.
Under my plan, my desktop...
Under my plan, my desktop box would change from a combination of 640GB+1TB (where my debian installation sits) HDD to a 2TB+1TB. The 2TB had been sitting inside my portable HDD case for a long time. The portable case had minimal reliability to speak of because of it's tendency to lose connection after a while. I planned for the action for a lengthy period but never got to execute it as I didn't have the effort and the time required.
Here comes the mid-semester break (I don't think I have said that I am now a 1st year University Student) and that certainly means that I can afford to waste some time. So I opened the case and swapped the HDD. I brought everything back to place and powered the box on. It refused to boot. By then I realised Grub was actually on the 640GB that was replaced. By then I had no bootloader to go with. I needed to install Grub again on the 1TB HDD so that it boots and I get my OS back.
Without any second thought I went to search for my Debian Installation Disk. It turned out that I lost it and had to burn a new replacement. Easy job there. Here comes the hard part. When I tried to install grub back on to /dev/sda it showed an error of "This GPT partition label has no BIOS Boot Partition; embedding won’t be possible!". I panicked slightly and decided to google for an answer.
It ended up that I had to make a small partion on /dev/sda (1MB would do finely) and execute "sudo parted /dev/sda set <partition_number> bios_grub on" in a shell of any sort. Easily done and I hit the reboot button. When it finished doing POST, Grub came back on and once again I was a happy man.
Ended doing some cleanups and compiled 3.4.0-rc1 for my Debian box. I also made a 680GB btrfs partition to test the reliablity of this young filesystem.
]]>Computer2012-04-10T00:14:30+09:00Hamrag YatlerotNINJA BLOGHamrag Yatlerot
http://templeton.blog.shinobi.jp/computer/ipv4%20nat%20on%20ubuntu%20
IPv4 NAT on Ubuntu Setting up my Ubuntu Router Box does require a bit of port forwarding and NAT work. I am glad that there&#39;s only 2 or 3 clients on my network at an...
-A PREROUTING -i ppp0 -p udp -m udp --dport 16384:16482 -j DNAT --to-destination 192.168.0.20
-A PREROUTING -i ppp0 -p udp -m udp --dport 5060:5061 -j DNAT --to-destination 192.168.0.20
-A POSTROUTING -o ppp0 -j MASQUERADE
-A POSTROUTING -o ppp1 -j MASQUERADE
I don't think I need "-A POSTROUTING -o ppp1 -j MASQUERADE" on my iptables anymore. I am not using my PPTP VPN anymore. It's not stable compared to OpenVPN which uses TLS/SSL and as such much more stable connection can be made over Windows/Linux.
つづきはこちら]]>Computer2011-08-19T00:22:26+09:00Hamrag YatlerotNINJA BLOGHamrag Yatlerot
http://templeton.blog.shinobi.jp/%E6%9C%AA%E9%81%B8%E6%8A%9E/double%20a-
Double A+You know when you are happy when you got A+ for both Chemistry and Physics&nbsp;つづきはこちら...つづきはこちら]]>未選択2011-08-19T00:11:02+09:00Hamrag YatlerotNINJA BLOGHamrag Yatlerot
http://templeton.blog.shinobi.jp/%E6%9C%AA%E9%81%B8%E6%8A%9E/new%20toy%20
New Toy 498RC2 and 190XPROB
Very decent stuff
The head without anything
If I put my 7D+70-200 on it, it looks rather cool.&nbsp;
&nbsp;
...
Very decent stuff
The head without anything
If I put my 7D+70-200 on it, it looks rather cool.
A very dangerous configuration, not sure if I want my 70-200 to stay on it like that .
Overall my new tripod/head is some fun stuffs. I don't really have any time to head out and shoot though :-( ]]>未選択2011-07-31T00:39:01+09:00Hamrag YatlerotNINJA BLOGHamrag Yatlerot
http://templeton.blog.shinobi.jp/computer/building%20a%20ubuntu%20ipv4-ipv6%20dual%20stack%20router%20box%20
Building a Ubuntu IPv4/IPv6 Dual Stack Router Box It has been my interest to build a Dual Stack Router Box that allows me to do more fun stuff than a modem. Now I have the time to get to it.
OS: Ub...
OS: Ubuntu 11.04
interfaces:
ppp0:The PPP part of it
ppp1:My VPN
eth0: the interface which is connected to the modem
eth1: the interface which is goes to my LAN
Doing the IPv6 Part of network
It's actually relatively easy compared to Ipv4. Get pppoeconf setup to handle PPP.
sudo apt-get install wide-dhcpv6-client
That will allow me to get a static /60 subnet by Prefix Delegation
sudo apt-get radvd
That allows me to advertise my subnet to eth1
sudo ip -6 route add default dev ppp0
Then I just have to manually set up DNS in my host which is a slight pain.
Things needed to be considered:
Need to consider how to automate this process every time ppp0 comes up.
The other issue I need to solve is how to advertise the DNS automatically to my host.
Will do the IPv4 part in the coming days.]]>Computer2011-07-20T22:32:56+09:00Hamrag YatlerotNINJA BLOGHamrag Yatlerot
http://templeton.blog.shinobi.jp/%E6%9C%AA%E9%81%B8%E6%8A%9E/it-s%20over
It's overI went to watch the final Harry Potter yesterday. It was an awesome movie, no I am not joking as such. It's
excellent. Plenty of actions and tense m...
excellent. Plenty of actions and tense moments. I could not look at it at times.
What's behind the end of the movie is that it also signals the end of my childhood. During my childhood I used to anticipate the next Harry Potter movie and always asks "When it will come?". Even I didn't read any of the books I still have the anticipation. I grew up with it. Sometimes I go and watch it again.
When the movie came to an end I had an feeling of emptiness. I still do. There's no more next chapter to anticipate for. But what it tells me that I have to grow, I have to move on. I am reluctant to do so but I need to.
]]>Life2011-07-02T00:51:20+09:00Hamrag YatlerotNINJA BLOGHamrag Yatlerot
http://templeton.blog.shinobi.jp/life/weird%20indeed
Weird IndeedOverheard a few things about one particular person today. If it was that particular person right on I would not be surprised. Life is indeed wierd tho... ]]>Life2011-06-20T23:32:31+09:00Hamrag YatlerotNINJA BLOGHamrag Yatlerot
http://templeton.blog.shinobi.jp/school/mid%20years%20mid%20years%20
Mid Years Mid Years It mid-June and as we know it's mid year Exam time.&nbsp;
Because I am a Chemistry and Physics student, I have to do 2 mid years and the awesome GA...
Because I am a Chemistry and Physics student, I have to do 2 mid years and the awesome GAT.
For me is all about understanding all concepts and tackling the trickier questions. Indeed, doing a fair number of practice exams.
Well there's only a couple of hours until Physics Exams starts so better hop off.]]>School2011-06-13T19:39:48+09:00Hamrag YatlerotNINJA BLOGHamrag Yatlerot
http://templeton.blog.shinobi.jp/life/%E3%82%82%E3%81%86%E3%81%AA%E3%82%93%E3%81%8B%E5%A4%89%E3%82%8F%E3%81%A3%E3%81%9F
もうなんか変わった最近私は大きく変わったな。&nbsp;
学校での会話があまり参入されないのか,授業だけで話しております以外は家or私だけで入ります。
ネットで会話の程度が>現実で会話とか
興味の程度には撮り鉄ほぼやめましたのところで,写真対象は他なものに。最近鉄道への興味もしばらく止まった。
ゲーム...
学校での会話があまり参入されないのか,授業だけで話しております以外は家or私だけで入ります。
ネットで会話の程度が>現実で会話とか