<?xml version="1.0" encoding="UTF-8" ?>
<feed xml:lang="ja" xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:thr="http://purl.org/syndication/thread/1.0">
  <title type="text">Mechatronics and Life </title>
  <subtitle type="html">There is simply nothing of importance whatsoever. </subtitle>
  <link rel="self" type="application/atom+xml" href="https://templeton.blog.shinobi.jp/atom"/>
  <link rel="alternate" type="text/html" href="https://templeton.blog.shinobi.jp/"/>
  <updated>2008-03-21T10:02:44+09:00</updated>
  <author><name>Hamrag Yatlerot</name></author>
  <generator uri="//www.ninja.co.jp/blog/" version="0.9">忍者ブログ</generator>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" />
  <entry>
    <id>templeton.blog.shinobi.jp://entry/331</id>
    <link rel="alternate" type="text/html" href="https://templeton.blog.shinobi.jp/computer/system%20recovery" />
    <published>2012-04-10T00:14:30+09:00</published> 
    <updated>2012-04-10T00:14:30+09:00</updated> 
    <category term="Computer" label="Computer" />
    <title>System Recovery</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[I had the idea of swapping out one of the Harddisk from my Desktop box simply because it refused to boot under AHCI mode.<br />
<br />
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.&nbsp; The portable case had minimal reliability to speak of because of it&#39;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&#39;t have the effort and the time required.<br />
<br />
Here comes the mid-semester break (I don&#39;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.&nbsp; I needed to install Grub again on the 1TB HDD so that it boots and I get my OS back.<br />
<br />
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&nbsp; an error of &quot;This GPT partition label has no BIOS Boot Partition; embedding won&rsquo;t be possible!&quot;. I panicked slightly and decided to google for an answer.<br />
<br />
It ended up that I had to make a small partion on /dev/sda (1MB would do finely) and execute &quot;sudo parted /dev/sda set &lt;partition_number&gt; bios_grub on&quot; 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.<br />
<br />
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.<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
]]> 
    </content>
    <author>
            <name>Hamrag Yatlerot</name>
        </author>
  </entry>
  <entry>
    <id>templeton.blog.shinobi.jp://entry/330</id>
    <link rel="alternate" type="text/html" href="https://templeton.blog.shinobi.jp/computer/ipv4%20nat%20on%20ubuntu%20" />
    <published>2011-08-19T00:22:26+09:00</published> 
    <updated>2011-08-19T00:22:26+09:00</updated> 
    <category term="Computer" label="Computer" />
    <title>IPv4 NAT on Ubuntu </title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[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 any moment of time. &nbsp;Now I just have to get those configuration to come up when the router boots. &nbsp;So far I have got ipv6 default route ppp0 working wherever ppp0 comes up. (ppp1 is my PPTP VPN which is useless at the moment)<br />
<br />
-A PREROUTING -i ppp0 -p udp -m udp --dport 16384:16482 -j DNAT --to-destination 192.168.0.20<br />
-A PREROUTING -i ppp0 -p udp -m udp --dport 5060:5061 -j DNAT --to-destination 192.168.0.20<br />
-A POSTROUTING -o ppp0 -j MASQUERADE<br />
-A POSTROUTING -o ppp1 -j MASQUERADE<br />
<br />
I don&#39;t think I need&nbsp;&quot;-A POSTROUTING -o ppp1 -j MASQUERADE&quot; on my iptables anymore. I am not using my PPTP VPN anymore. It&#39;s not stable compared to OpenVPN which uses TLS/SSL and as such much more stable connection can be made over Windows/Linux.<br />
<br /><a href="https://templeton.blog.shinobi.jp/computer/ipv4%20nat%20on%20ubuntu%20" target="_blank">つづきはこちら</a>]]> 
    </content>
    <author>
            <name>Hamrag Yatlerot</name>
        </author>
  </entry>
  <entry>
    <id>templeton.blog.shinobi.jp://entry/329</id>
    <link rel="alternate" type="text/html" href="https://templeton.blog.shinobi.jp/%E6%9C%AA%E9%81%B8%E6%8A%9E/double%20a-" />
    <published>2011-08-19T00:11:02+09:00</published> 
    <updated>2011-08-19T00:11:02+09:00</updated> 
    <category term="未選択" label="未選択" />
    <title>Double A+</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[You know when you are happy when you got A+ for both Chemistry and Physics&nbsp;<br /><a href="https://templeton.blog.shinobi.jp/%E6%9C%AA%E9%81%B8%E6%8A%9E/double%20a-" target="_blank">つづきはこちら</a>]]> 
    </content>
    <author>
            <name>Hamrag Yatlerot</name>
        </author>
  </entry>
  <entry>
    <id>templeton.blog.shinobi.jp://entry/328</id>
    <link rel="alternate" type="text/html" href="https://templeton.blog.shinobi.jp/%E6%9C%AA%E9%81%B8%E6%8A%9E/new%20toy%20" />
    <published>2011-07-31T00:39:01+09:00</published> 
    <updated>2011-07-31T00:39:01+09:00</updated> 
    <category term="未選択" label="未選択" />
    <title>New Toy </title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[498RC2 and 190XPROB <br />
<br>
<br />
</br>
 <br />
Very decent stuff<br />
<img alt="" width="342" height="512" src="http://users.on.net/~lau.susanna/IMG_0465.jpg" /><br />
The head without anything<br />
<br />
<img alt="" width="512" height="683" src="http://users.on.net/~lau.susanna/IMG_7620.jpg" /><br />
If I put my 7D+70-200 on it, it looks rather cool.&nbsp;<br />
&nbsp;<br />
<img alt="" width="384" height="512" src="http://users.on.net/~lau.susanna/IMG_7621.jpg" /><br />
A very dangerous configuration, not sure if I want my 70-200 to stay on it like that .<br />
<br />
Overall my new tripod/head is some fun stuffs. I don't really have any time to head out and shoot though :-(&nbsp;]]> 
    </content>
    <author>
            <name>Hamrag Yatlerot</name>
        </author>
  </entry>
  <entry>
    <id>templeton.blog.shinobi.jp://entry/327</id>
    <link rel="alternate" type="text/html" href="https://templeton.blog.shinobi.jp/computer/building%20a%20ubuntu%20ipv4-ipv6%20dual%20stack%20router%20box%20" />
    <published>2011-07-20T22:32:56+09:00</published> 
    <updated>2011-07-20T22:32:56+09:00</updated> 
    <category term="Computer" label="Computer" />
    <title>Building a Ubuntu IPv4/IPv6 Dual Stack Router Box </title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[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.<br />
<br />
OS: Ubuntu 11.04<br />
interfaces:<br />
ppp0:The PPP part of it<br />
ppp1:My VPN<br />
eth0: the interface which is connected to the modem<br />
eth1: the interface which is goes to my LAN<br />
<ul>
    <li>Doing the IPv6 Part of network</li>
    &nbsp;     It's actually relatively easy compared to Ipv4. Get pppoeconf setup to handle PPP.&nbsp;<br />
    &nbsp; <br />
    sudo apt-get install wide-dhcpv6-client<br />
    &nbsp; That will allow me to get a static /60 subnet by Prefix Delegation<br />
    &nbsp; <br />
    sudo apt-get radvd&nbsp;<br />
    &nbsp; That allows me to advertise my subnet to eth1<br />
    <br />
    sudo ip -6 route add default dev ppp0<br />
    <br />
    Then I just have to manually set up DNS in my host which is a slight pain.&nbsp;<br />
    <br />
    Things needed to be considered:<br />
    &nbsp; Need to consider how to automate this process every time ppp0 comes up.<br />
    The other issue I need to solve is how to advertise the DNS automatically to my host.<br />
    <br />
    <br />
    <br />
</ul>
Will do the IPv4 part in the coming days.]]> 
    </content>
    <author>
            <name>Hamrag Yatlerot</name>
        </author>
  </entry>
  <entry>
    <id>templeton.blog.shinobi.jp://entry/326</id>
    <link rel="alternate" type="text/html" href="https://templeton.blog.shinobi.jp/%E6%9C%AA%E9%81%B8%E6%8A%9E/it-s%20over" />
    <published>2011-07-17T00:02:27+09:00</published> 
    <updated>2011-07-17T00:02:27+09:00</updated> 
    <category term="未選択" label="未選択" />
    <title>It&#039;s over</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[I went to watch the final Harry Potter yesterday. It was an awesome movie, no I am not joking as such. It's <br />
excellent. Plenty of actions and tense moments. I could not look at it at times.<br />
<br />
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 &quot;When it will come?&quot;. 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. <br />
<br />
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. &nbsp; 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. <br />
<br />]]> 
    </content>
    <author>
            <name>Hamrag Yatlerot</name>
        </author>
  </entry>
  <entry>
    <id>templeton.blog.shinobi.jp://entry/325</id>
    <link rel="alternate" type="text/html" href="https://templeton.blog.shinobi.jp/life/%E3%81%8B%E3%81%AA%E3%82%8A%E4%B8%80%E8%A8%80" />
    <published>2011-07-02T00:51:20+09:00</published> 
    <updated>2011-07-02T00:51:20+09:00</updated> 
    <category term="Life" label="Life" />
    <title>かなり一言</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[この数週間,人､時間の流れ,地点も変わったな｡<br />
<br />
勉強は順調に進んでる｡それは一番の本望です｡別のものがあまり興味がならないので,11月までいろいろ止まるのことです。当然英語は難しいなのでかなり時間がかかりますよ。数学Aも同じですが。<br />
<br />
最近は写真によって1600円入手した。EF-S　17-55mmまで遠いですがw　まぁ,大学でバイト･学業もがんばりましょう。その前に技術向上も欲しいですが。<br />
<br />
友人たちとか,正常通りで話し合いを進んでます。少ないのままも変わりません。<br />
<br />
最近はあの氏はあまり気付けないのところです｡ドイツに行ったので,さらに需要にはありません｡　前々に少し話せましたが｡最近は通常の流れです,　別にいいよ｡順調に進めれば,誰も気付けるの需要がないです。一番の友人の場合は別ですが。<br />
<br />
疲れたので寝ます。<br />
おやすみなさい～<br />
<br />
<br />]]> 
    </content>
    <author>
            <name>Hamrag Yatlerot</name>
        </author>
  </entry>
  <entry>
    <id>templeton.blog.shinobi.jp://entry/324</id>
    <link rel="alternate" type="text/html" href="https://templeton.blog.shinobi.jp/life/weird%20indeed" />
    <published>2011-06-20T23:32:31+09:00</published> 
    <updated>2011-06-20T23:32:31+09:00</updated> 
    <category term="Life" label="Life" />
    <title>Weird Indeed</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[Overheard 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 though. &nbsp;Mistakening Engineer as a technician is no fun for me. I don't want to be the one doing it, but the one designing it.&nbsp;<font color="#000000"><span style="background-color:#000000;"><br />
</span></font><span style="background-color:#000000;">
    </span>]]> 
    </content>
    <author>
            <name>Hamrag Yatlerot</name>
        </author>
  </entry>
  <entry>
    <id>templeton.blog.shinobi.jp://entry/323</id>
    <link rel="alternate" type="text/html" href="https://templeton.blog.shinobi.jp/school/mid%20years%20mid%20years%20" />
    <published>2011-06-13T19:39:48+09:00</published> 
    <updated>2011-06-13T19:39:48+09:00</updated> 
    <category term="School" label="School" />
    <title>Mid Years Mid Years </title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[It mid-June and as we know it's mid year Exam time.&nbsp;<br />
<br />
Because I am a Chemistry and Physics student, I have to do 2 mid years and the awesome GAT.&nbsp;<br />
<br />
For me is all about understanding all concepts and tackling the trickier questions. Indeed, doing a fair number of practice exams.&nbsp;<br />
<br />
Well there's only a couple of hours until Physics Exams starts so better hop off.]]> 
    </content>
    <author>
            <name>Hamrag Yatlerot</name>
        </author>
  </entry>
  <entry>
    <id>templeton.blog.shinobi.jp://entry/322</id>
    <link rel="alternate" type="text/html" href="https://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" />
    <published>2011-05-23T22:50:24+09:00</published> 
    <updated>2011-05-23T22:50:24+09:00</updated> 
    <category term="Life" label="Life" />
    <title>もうなんか変わった</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[最近私は大きく変わったな｡&nbsp;<br />
<br />
学校での会話があまり参入されないのか,授業だけで話しております以外は家or私だけで入ります｡<br />
ネットで会話の程度が＞現実で会話とか<br />
<br />
興味の程度には撮り鉄ほぼやめましたのところで,写真対象は他なものに｡最近鉄道への興味もしばらく止まった｡<br />
ゲームの時間も大きく減らせた<br />
<br />
私のマインドは勉強､&nbsp; 写真技術だけになった｡<br />
<br />
それは,改変か?]]> 
    </content>
    <author>
            <name>Hamrag Yatlerot</name>
        </author>
  </entry>
</feed>