tag:blogger.com,1999:blog-41299455534044495272024-03-13T12:21:12.997-07:00All About HobbyI just want to write down every techie thing I did so I wouldn't missed it again next time when I need it.
This page mainly for computer and networking stuff, how to configure or how to do it.Unknownnoreply@blogger.comBlogger54125tag:blogger.com,1999:blog-4129945553404449527.post-91592517672636936632021-06-01T20:04:00.005-07:002021-06-01T20:04:50.992-07:00Grafana with field name modification and flux <p><span style="font-family: helvetica;">Grafana with field name modification and flux</span> </p><p><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeK4wG84-dULtcmO4jfu0Te3lOuE7w3FIhjNSMvZRaqc6rRb5FDb859IYYq9vRMbQlu_tPzX3MQAhdgg8eMIBlBoYagS-yDCbr-GVzPI5y_9kXkIRXVoQvgyFkVhuzf3zIyvNL_KXFkG8/" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img alt="" data-original-height="878" data-original-width="1148" height="441" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeK4wG84-dULtcmO4jfu0Te3lOuE7w3FIhjNSMvZRaqc6rRb5FDb859IYYq9vRMbQlu_tPzX3MQAhdgg8eMIBlBoYagS-yDCbr-GVzPI5y_9kXkIRXVoQvgyFkVhuzf3zIyvNL_KXFkG8/w577-h441/image.png" width="577" /></a></div><br /><p></p><p><br /></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv5DFFRRTPHLBt6t-1k0lLD7fc2jCQyhUZRLSMeVNkYQ3nNABxttDETmWVCLFQZ2vHmCJIq-cOja99q6FuB-JOZFqTEw9N-eAAEzYZay7gyiGZYmMROOCQBZeYzqmXshvrJQyRTK6Y3Tg/" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img alt="" data-original-height="884" data-original-width="1113" height="456" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv5DFFRRTPHLBt6t-1k0lLD7fc2jCQyhUZRLSMeVNkYQ3nNABxttDETmWVCLFQZ2vHmCJIq-cOja99q6FuB-JOZFqTEw9N-eAAEzYZay7gyiGZYmMROOCQBZeYzqmXshvrJQyRTK6Y3Tg/w574-h456/image.png" width="574" /></a></div><br /><br /><p></p>arpolhttp://www.blogger.com/profile/13686560794056356291noreply@blogger.com0tag:blogger.com,1999:blog-4129945553404449527.post-72588792938931353022021-05-31T18:56:00.007-07:002021-05-31T23:24:00.632-07:00How to change Git clone URL (and SSH) when using docker Gitlab<p><span style="font-family: Roboto;"> wonder how to change this ?</span></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNkn-6e7iNzsBxoqcgmBw8enmtLDrFcQZQoriFrAg453v5C6ZOm3NEn0lTvqfHWyjM-IYFlR1SOyfquc2XrRNBGc1Zd5guFLrC6Tmqix1N4-_TZIpIly7ymyE244gI2BljTsqOgnwcvbSk/" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img alt="" data-original-height="310" data-original-width="371" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNkn-6e7iNzsBxoqcgmBw8enmtLDrFcQZQoriFrAg453v5C6ZOm3NEn0lTvqfHWyjM-IYFlR1SOyfquc2XrRNBGc1Zd5guFLrC6Tmqix1N4-_TZIpIly7ymyE244gI2BljTsqOgnwcvbSk/" width="287" /></a></div><br /><br /><p></p><p><br /></p><p><br /></p><p><br /></p><p><br /></p><p><br /></p><p><br /></p><p><br /></p><p><br /></p><p><span style="font-family: Roboto;">for Clone with SSH, change made under gitlab.rb config file, replace these two</span></p><p></p><ul style="text-align: left;"><li><span style="font-family: Roboto; font-size: x-small;">gitlab_shell_ssh_port </span></li><li><span style="font-family: Roboto; font-size: x-small;">gitlab_ssh_host</span></li></ul><p></p><p><span style="font-family: Roboto;"></span></p><p><span style="font-family: Roboto;">and run </span><span style="font-family: arial; font-size: x-small;">gitlab-ctl reconfigure</span><span style="font-family: Roboto;"> to reload the configuration.</span></p><p><span style="font-family: Roboto;">and for Clone with HTTP, change it under Admin area menu, Settings -> General -> Visibility and access Control.</span></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUYlyY2McnKnwiAKN9qP2kHIk7obp0SVRsBljrhxZxobv3nPLtwkmxqscZuWg2Ctz2sDww3ExtR9Fmco98PKKIs0qjJIoRl9fAT8BSxr5WEvtFEQkZGUPE9n1nPRMwZoyN9R9U6blU6EYf/" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em;"><img alt="" data-original-height="116" data-original-width="566" height="86" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUYlyY2McnKnwiAKN9qP2kHIk7obp0SVRsBljrhxZxobv3nPLtwkmxqscZuWg2Ctz2sDww3ExtR9Fmco98PKKIs0qjJIoRl9fAT8BSxr5WEvtFEQkZGUPE9n1nPRMwZoyN9R9U6blU6EYf/w417-h86/image.png" width="417" /></a></div><br /><br /><p></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4129945553404449527.post-85393037510118461942018-06-18T20:18:00.000-07:002018-06-18T20:18:16.230-07:00reverse task sequence in AnsibleI found this solution to be handy for my need that I need to reverse the task sequence when I remove the instance from the cloud, basically, all task are the same just like when creating the instance, only for removing it, the task should start from the last one, here is my ansible playbook, as you can see I have list of task that needs to be performed in sequence, put them in to the list is the trick here, so I can have them sequenced in reverse.<br />
<div>
<br /></div>
<div>
============================</div>
<div>
<br /></div>
<div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;">- name: Create/Destroy instance</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> hosts: localhost</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> vars:</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> cmd_sequence: [ "projects.yml", "members.yml", "groups.yml", "rules.yml", "networks.yml", "subnets.yml", "ports.yml", "servers.yml", "router.yml", "properties.yml" ]</span></div>
<div>
<br /></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> tasks:</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> - name: DESTROY Instance from the Cloud</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> vars:</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> task_name: "tasks/{{ item }}"</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> include_tasks: "{{ task_name }}"</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> with_items:</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> - "{{ <b><span style="color: lime;">cmd_sequence[::-1]</span></b> }}"</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> when: deploytype=="DESTROY"</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> - name: CREATE Instance in the Cloud</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> vars:</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> task_name: "tasks/{{ item }}"</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> include_tasks: "{{ task_name }}"</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> with_items:</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> - "{{ <b><span style="color: blue;">cmd_sequence</span></b> }}"</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace; font-size: x-small;"> when: deploytype=="CREATE"</span></div>
<div>
<br /></div>
</div>
<div>
=============================</div>
arpolhttp://www.blogger.com/profile/13686560794056356291noreply@blogger.com1tag:blogger.com,1999:blog-4129945553404449527.post-21129374686100268872015-02-02T14:11:00.001-08:002015-02-02T14:13:13.698-08:00Clover IRC105 Color Camera connector 4 pinoutfor the owner or ex-owner that has the IRC105 camera without the cable and want to know what is the pin out for its connector, here is the info :<br />
<br />
this is the camera :<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmsolcB4KVU6sGqm4KBJKj78OiIgOXtq3pSZ08j0fnKQG9n_JbwL4ql2m6VaZSHmVNBqCGy-1SIejuiaCmPCEXwJger3JjZwHMYki21YR8U5HgZZF3eBTRaHBSN27nbneu9Zpq2xFULeU/s1600/79931side1big.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmsolcB4KVU6sGqm4KBJKj78OiIgOXtq3pSZ08j0fnKQG9n_JbwL4ql2m6VaZSHmVNBqCGy-1SIejuiaCmPCEXwJger3JjZwHMYki21YR8U5HgZZF3eBTRaHBSN27nbneu9Zpq2xFULeU/s1600/79931side1big.jpg" height="320" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://cache-m1.smarthome.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/7/9/79931side2big.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://cache-m1.smarthome.com/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/7/9/79931side2big.jpg" height="214" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<span id="goog_1710117596"></span><span id="goog_1710117597"><br /></span>
<br />
<br />
this is the connector pinout :<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://upload.wikimedia.org/wikipedia/commons/thumb/8/8f/MiniDIN-4_Connector_Pinout.svg/170px-MiniDIN-4_Connector_Pinout.svg.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://upload.wikimedia.org/wikipedia/commons/thumb/8/8f/MiniDIN-4_Connector_Pinout.svg/170px-MiniDIN-4_Connector_Pinout.svg.png" /></a></div>
<br />
1 : Video (+) pin<br />
2 : Video (-) pin<br />
3 : Camera Voltage (-) pin<br />
4 : Camera Voltage (+) pin<br />
<br />arpolhttp://www.blogger.com/profile/13686560794056356291noreply@blogger.com0tag:blogger.com,1999:blog-4129945553404449527.post-73390851677160524922014-09-24T21:10:00.003-07:002014-09-24T21:10:33.647-07:00Windows 7 Share inaccessible from non-windows or old media player (PBO, PlayOn, ACRyan)recently my windows 7 PC got the update and suddenly my media player unable to access video files stored in my PC, turned out now windows 7 is too secure for non-microsoft media player, or any old media player.<br />
<br />
here is the remedy, change the windows 7 registry to allow old style authentication from other device.<br />
<br />
open Regedit, go to HKEY_LOCAL_MACHINE (HKLM)<br />
<ul>
<li>in HKLM\SYSTEM\CurrentControlSet\Control\Lsa, create LmCompatibilityLevel = dword "1", and change NoLmHash from "0" to "1"</li>
<li>in HKLM\SOFTWARE\Policies\Microsoft create key Netlogon</li>
<li>in HKLM\SOFTWARE\Policies\Microsoft\Netlogon create key Paramaters</li>
<li>in HKLM\SOFTWARE\Policies\Microsoft\Netlogon\Paramaters create AllowNT4Crypto = dword "1"</li>
<li>in HKLM\SYSTEM\CurrentControlSet\Services\Netlogon\Paramaters create AllowNT4Crypto = dword "1"</li>
<li>make sure in HKLM\SYSTEM\CurrentControlSet\Services\Lanmanserver\Paramaters requiresecuritysignature already set to dword "0"</li>
</ul>
<br />
restart a PC, now window share is accessible again from old media player.<br />
<br />
my media player is PBO from patriot, and run PlayonHD firmware from AC Ryan. arpolhttp://www.blogger.com/profile/13686560794056356291noreply@blogger.com1tag:blogger.com,1999:blog-4129945553404449527.post-21362501132582934222014-09-18T15:31:00.000-07:002014-09-18T15:31:31.735-07:00Driver for Tiny USB wifi dongle, RTL8188BEV or RTL8188CUSjust want to share the link, here is the driver for Linux, Windows XP up to 8 and Mac OSX, looking the right ones was pain in the butt.<br />
<br />
<a href="http://www.infoanda.com/resources/RTL8188EU_RTL8188BEV.rar">http://www.infoanda.com/resources/RTL8188EU_RTL8188BEV.rar</a><br />
<br />
and here is the dongle that I got it from ebay.<br />
<br />
<div class="separator" style="clear: both; text-align: left;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguttHh3zJa_5DniIi4GU9ARzzt3ZDeC-UWq6lIxOJoV2FDQ948n3BgplgEnF_sQQzjNt5LhGymGGKvOV7Txf8OR1e8W9OuHBTFYwqvQzbrRba3nkw4yA6cbav92opmo6gk1cwrJVTFmqM/s1600/realtek8188.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguttHh3zJa_5DniIi4GU9ARzzt3ZDeC-UWq6lIxOJoV2FDQ948n3BgplgEnF_sQQzjNt5LhGymGGKvOV7Txf8OR1e8W9OuHBTFYwqvQzbrRba3nkw4yA6cbav92opmo6gk1cwrJVTFmqM/s1600/realtek8188.jpg" height="307" width="320" /></a></div>
<br />arpolhttp://www.blogger.com/profile/13686560794056356291noreply@blogger.com3tag:blogger.com,1999:blog-4129945553404449527.post-18759506983423038202013-06-03T23:59:00.003-07:002013-06-03T23:59:49.767-07:00traffic measurement with STAK on asterisk with g.729ever wonder how much g729 compare to g711 when it come to use the bandwidth ?, here is the result when I am using STAK, ( stak-1.0b1 on linux) in my asterisk server.<br />
<br />
with g711 codec :<br />
<br />
./stakrate -r5 -ci eth2 -f "host x.x.x.x"<br />
=> Currently 19.57 kBps/100.40 pps, Average: 19.57 kBps/100.40 pps<br />
=> Currently 19.57 kBps/100.40 pps, Average: 19.57 kBps/100.40 pps<br />
=> Currently 19.57 kBps/100.40 pps, Average: 19.57 kBps/100.40 pps<br />
=> Currently 19.61 kBps/100.60 pps, Average: 19.58 kBps/100.45 pps<br />
<br />
with g729 codec :<br />
<br />
./stakrate -r5 -ci eth2 -f "host x.x.x.x"<br />
=> Currently 5.90 kBps/100.40 pps, Average: 5.90 kBps/100.40 pps<br />
=> Currently 5.91 kBps/100.60 pps, Average: 5.90 kBps/100.50 pps<br />
=> Currently 6.75 kBps/101.80 pps, Average: 6.18 kBps/100.93 pps<br />
=> Currently 6.79 kBps/102.20 pps, Average: 6.34 kBps/101.25 pps<br />
<div>
<br /></div>
<div>
almost 1/4.</div>
<div>
<br /></div>
<div>
<br /></div>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-4129945553404449527.post-18020789450338228672013-05-02T22:33:00.004-07:002013-05-02T22:33:40.135-07:00Unlock Linksys Sipura SPA 2102-R from clearwire.I know this is getting old, but continuing the topic, I found another used SPA-2102-R that is no longer attached with the provider, named clearwire, and with the same trick that I use in this link <div>
<a href="http://allabouthobby.blogspot.com/2009/05/unlock-linksys-sipura-spa-2102.html">Unlock Linksys Sipura SPA 2102</a>, I am able to unlock it and use it with my own voip provider, but with slightly different step.</div>
<div>
<br /></div>
<div>
1. without connecting it anywhere, except a phone headset, set device to default configuration, by pressing **** and option 73738# and press 1 to confirm.</div>
<div>
2. make dns record to have us-prov.clearwire.com pointing out to personal webserver address.</div>
<div>
3. and copy that spaMAC.cfg which is explained in above link to webserver directory.</div>
<div>
4. turn on SPA device, and after it get the provision file above the device will have all password cleared.</div>
<div>
<br /></div>
<div>
easy device to work with. </div>
<div>
<br /></div>
<div>
<br /></div>
arpolhttp://www.blogger.com/profile/13686560794056356291noreply@blogger.com7tag:blogger.com,1999:blog-4129945553404449527.post-79887001739434767002013-01-19T21:55:00.002-08:002013-01-19T21:55:39.802-08:00Memory Stick 64bit driver for Sony Vaio VGN-FW140E, dev id 0592download the driver from this site if you want to enable ricoh memory stick controller on windows 7 64bit.<br />
<br />
file name is : MEMORY_CARD_READER_WRITER_DRIVER_RICOH_MS_6.3X64_I_6.3.0.61.ZIP <br />
<br />
ftp://ftp.vaio-link.com/PUB/VAIO/ORIGINAL/MEMORY_CARD_READER_WRITER_DRIVER_RICOH_MS_6.3X64_I_6.3.0.61.ZIPUnknownnoreply@blogger.com1tag:blogger.com,1999:blog-4129945553404449527.post-13927469232262536762012-10-11T15:31:00.002-07:002012-10-11T15:31:09.228-07:00vga options in kernel parameter, for Linux change its console screen resolution<br />
<span class="Apple-style-span" style="color: #373737; font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;">just add one of this options to make our linux screen console to have bigger than old time standard 80x25 mode.<br />
<br />
ie : kernel /vmlinuz-xxxx ro root=/dev/xxx rhgb quiet vga=VVV<br />
<br />
where VVV is one of this number 791 is sufficient enough for me.<br />
</span>
<span class="Apple-style-span" style="color: #373737; font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;">791 - 1024x768, 16 bit<br />792 - 1024x768, 24 bit<br />794 - 1280x1024, 16 bit<br />795 - 1280x1024, 24 bit</span><br />
<span class="Apple-style-span" style="color: #373737; font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;"><br /></span>
<span class="Apple-style-span" style="color: #373737; font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;">reboot the machine for setting to be applied.</span><br />
<span class="Apple-style-span" style="color: #373737; font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;"><br /></span>
<span class="Apple-style-span" style="color: #373737; font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;"><br /></span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4129945553404449527.post-81278096785646086732012-09-09T15:10:00.004-07:002012-09-09T15:20:08.297-07:0012.4-24 IOS on NPE-400, its run, with finger crossed.<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><br />
<b>7206-RT1#sh ver</b></span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b>Cisco IOS Software, 7200 Software (C7200-ADVIPSERVICESK9-M), Version 12.4(24)T5, RELEASE SOFTWARE (fc3)</b></span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b>Technical Support: http://www.cisco.com/techsupport</b></span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b>Copyright (c) 1986-2011 by Cisco Systems, Inc.</b></span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b>Compiled Fri 04-Mar-11 06:49 by prod_rel_team</b></span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b><br />
ROM: System Bootstrap, Version 12.2(4r)B2, RELEASE SOFTWARE (fc2)</b></span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b>BOOTLDR: 7200 Software (C7200-BOOT-M), Version 12.0(22)S, EARLY DEPLOYMENT RELEASE SOFTWARE (fc2)</b></span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b><br />
7206-RT1 uptime is 20 hours, 35 minutes</b></span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b>System returned to ROM by reload at 15:24:50 HPT Sat Sep 8 2012</b></span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b>System restarted at 15:31:13 HPT Sat Sep 8 2012</b></span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b>System image file is "disk0:c7200-advipservicesk9-mz.124-24.T5.bin"</b></span><br />
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b>Last reload reason: Reload Command</b></span><br />
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b><br /></b></span></div>
<div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b>1 FastEthernet interface</b></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b>28 Serial interfaces</b></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b>2 HSSI interfaces</b></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b>125K bytes of NVRAM.</b></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b><br /></b></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b>62720K bytes of ATA PCMCIA card at slot 0 (Sector size 512 bytes).</b></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b>125440K bytes of ATA PCMCIA card at slot 1 (Sector size 512 bytes).</b></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b>4096K bytes of Flash internal SIMM (Sector size 256K).</b></span></div>
<div>
<span style="font-family: Courier New, Courier, monospace; font-size: 10pt;"><b>Configuration register is 0x2102</b></span></div>
</div>
<div>
<br /></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4129945553404449527.post-89309881401267711142012-08-18T12:17:00.002-07:002012-09-11T11:10:36.965-07:00Linksys SPA400 Default IP addressmy SPA400 has default IP address : 192.168.1.151 with default gateway 192.168.1.1, try this ip in yours, default username is : Admin with no password ( blank password ).<br />
<br />
I wrote this because somehow, cisco website, intentionally trying to confuse people by saying, no default ip address, and give this clue on its ip address :<br />
<br />
<blockquote class="tr_bq">
There are only two ways to determine the SPA400 IP address:<br />
<ul style="font-family: arial, helvetica, sans-serif; font-size: 12px;">
<li>Using the SPA9000 Setup Wizard (so people will buy cisco SPA9000 ??? :-) )</li>
</ul>
<ul style="font-family: arial, helvetica, sans-serif; font-size: 12px;">
<li>By generating the DHCP client's table of the main router</li>
</ul>
</blockquote>
that is nonsense right ?<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhn2GnfCPr6dvx3SLn5VISo6epzoUS1tNcqKcmTtxuYha13zkr7PPJL8X6SlzI5MgDE07YUTV7BT1nmF8_WozRCIm3TRSJ2MgDDM-hSPoC3d-DD1TijXuyUieasNm_mnJwqPuLGMFDHeRvS/s1600/5195-001.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="239" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhn2GnfCPr6dvx3SLn5VISo6epzoUS1tNcqKcmTtxuYha13zkr7PPJL8X6SlzI5MgDE07YUTV7BT1nmF8_WozRCIm3TRSJ2MgDDM-hSPoC3d-DD1TijXuyUieasNm_mnJwqPuLGMFDHeRvS/s320/5195-001.png" width="320" /></a></div>
<br />
.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4129945553404449527.post-81333973858218204362012-07-18T19:51:00.001-07:002012-07-18T20:06:52.057-07:00Joomla: 500 - An error has occurred<span style="background-color: white; font-family: inherit;"><br /></span><br />
<span style="background-color: white; font-family: inherit;">Ever reach a strange error like this ? when tried to login to the Administration section of my Joomla(1.7) with wrong username or password ?. </span><br />
<span style="font-family: inherit;"><br /></span><br />
<span style="font-family: inherit;">"500 - An error has occurred - Return to Control Panel"</span><br />
<span style="font-family: inherit;"><br /></span><br />
<span style="font-family: inherit;">dont panic, just look into your configuration.php files, see what is under variable <span style="background-color: white;">$log_path, and </span><span style="background-color: white;">$tmp_path, and work by make sure the directory is writable by your webserver account ( ie apache user) or change it to different address that the server has with write permission. </span></span><br />
<span style="background-color: white; font-family: inherit;"><br /></span><br />
<span style="background-color: white; font-family: inherit;">this problem occurred when we copy joomla installation to new server or for some reason, permission change.</span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4129945553404449527.post-22000125326075710402012-07-06T19:55:00.000-07:002012-07-18T20:05:53.194-07:00ltdl libtool-ltdl-devel missingjust to remind me, if -ltdl error is appear when trying to build something under linux, check if libtool-ltdl-devel is there,<br />
<br />
and another reason I put this on the page seems that internet has less information regarding ltdl library, and I just want to populate internet with this information :-)Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4129945553404449527.post-28405599997086987402012-07-02T16:49:00.001-07:002012-07-03T00:45:14.191-07:00AMD E-350 vs AMD E2-1800 on windows experience index number<br />
anyone want to see how this almost identical processor will look compared each other ? just for the information, the only difference for this two processor other than the production year (more than 1 year apart), is the CPU clock speed and of course, the clock speed of its GPU, pretty sad for such "good" processor only got this improvement after 1 year, AMD should name this E2-1800 with E-550 for this small improvement right ?<br />
<br />
These windows experience index result below are coming from E350 foxconn NTA350 nettop and E2-1800 Sony Vaio SVE11113FXW netbook.<br />
<br />
this is E-350, with processor score 3.8<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigHtEhSL298ZSjQehA_kTdCUlCqWtNshCHEJ9BIbN0ET_DAkuWXF3IO-n-Cg_VJb_u_8UYEXUfj1FH0g6TsZtsH7Vih7F_RW59B33cD6M0aj91yW0zz0nwsJFL32kamamUpOxQrTM8bqJ5/s1600/e350.jpg" imageanchor="1"><img border="0" height="100" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigHtEhSL298ZSjQehA_kTdCUlCqWtNshCHEJ9BIbN0ET_DAkuWXF3IO-n-Cg_VJb_u_8UYEXUfj1FH0g6TsZtsH7Vih7F_RW59B33cD6M0aj91yW0zz0nwsJFL32kamamUpOxQrTM8bqJ5/s320/e350.jpg" width="320" /></a><br />
<br />
and this is E2-1800, with processor score 3.9<br />
<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDcrEQEJdfdQrRtrbu2OONAy7whRSUlpSVpCyNg17P12HXK-KQrVTTAjMWKDykwsMgn9tC0IuIgbH3jedXsb-dIoz_IKAatyJjXGmMWCmWyAJY1W6PqNsf2VRf730itWYqwWartNXi2qGQ/s1600/G98Wz.jpg" imageanchor="1"><img border="0" height="98" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDcrEQEJdfdQrRtrbu2OONAy7whRSUlpSVpCyNg17P12HXK-KQrVTTAjMWKDykwsMgn9tC0IuIgbH3jedXsb-dIoz_IKAatyJjXGmMWCmWyAJY1W6PqNsf2VRf730itWYqwWartNXi2qGQ/s320/G98Wz.jpg" width="320" /></a><br />
<br />
I wish that at least AMD pump more juice on this already good processor, like more Mhz, or decreased the lithography to 32nm maybe, with only 0.1 processor score differences, well, that we got it already with E-450.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4129945553404449527.post-63297962132996209382012-03-31T00:02:00.000-07:002012-05-14T00:04:05.379-07:00Ivy Bridge Quad-Core, Eight-Thread Mo bile CPUs<span style="background-color: white;">Released within first quarter 2012</span><br />
<br />
<span style="background-color: white;"><b>Ivy Bridge Quad-Core, Eight-Thread Desktop CPUs </b></span><br />
<ul>
<li><span style="background-color: white;">Core i7-3770K (3.5GHz, 3.9 GHz w/Turbo Boost, 8MB L3 Cache, 77W): $332</span></li>
<li><span style="background-color: white;">Core i7-3770 (3.4GHz, 3.9GHz w/Turbo Boost, 8MB L3 Cache, 77W): $294</span></li>
<li><span style="background-color: white;">Core i7-3770S (3.1GHz, 3.9 GHz w/Turbo Boost, 8MB L3 Cache, 65W): $294</span></li>
<li><span style="background-color: white;">Core i7-3770T (2.5GHz, 3.7GHz w/Turbo Boost, 8MB L3 Cache, 45W): $294</span><span style="background-color: white;"> </span></li>
</ul>
<span style="background-color: white;"><b>Ivy Bridge Quad-Core, Four-Thread Desktop CPUs </b></span><br />
<ul>
<li><span style="background-color: white;">Core i5-3570K (3.4GHz, 3.8GHz w/Turbo Boost, 6MB L3 Cache, 77W): $225</span><span style="background-color: white;"> </span></li>
<li><span style="background-color: white;">Core i5-3570T (2.3GHz, 3.3 GHz w/Turbo Boost, 6MB L3 Cache, 45W): $205</span><span style="background-color: white;"> </span></li>
<li><span style="background-color: white;">Core i5-3550 (3.3GHz, 3.7GHz w/Turbo Boost, 6MB L3 Cache, 77W): $205</span><span style="background-color: white;"> </span></li>
<li><span style="background-color: white;">Core i5-3550S (3.0GHz, 3.7GHz w/Turbo Boost, 6MB L3 Cache, 65W): $205</span><span style="background-color: white;"> </span></li>
<li><span style="background-color: white;">Core i5-3450 (3.1GHz, 3.5GHz w/Turbo Boost, 6MB L3 Cache, 77W): $184</span><span style="background-color: white;"> </span></li>
</ul>
<span style="background-color: white;"><b>Ivy Bridge Quad-Core, Eight-Thread Mobile CPUs </b></span><br />
<ul>
<li><span style="background-color: white;">Core i7-3920XM (2.9GHz, 3.8GHz w/Turbo Boost, 8MB L3 Cache, 55W): $1096</span><span style="background-color: white;"> </span></li>
<li><span style="background-color: white;">Core i7-3820QM (2.7GHz, 3.7GHz w/Turbo Boost, 8MB L3 Cache, 45W): $568</span><span style="background-color: white;"> </span></li>
<li><span style="background-color: white;">Core i7-3720QM (2.6GHz, 3.6GHz w/Turbo Boost, 6MB L3 Cache, 45W): $378</span></li>
</ul>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4129945553404449527.post-43584116309608347702012-03-22T15:04:00.000-07:002012-09-30T01:50:01.171-07:00NPE-G1 Show version <br />
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;">DISTROUTER1#sh ver</span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><br />Cisco IOS Software, 7200 Software (C7200-C6IS-M), Version 12.3(14)YX9, RELEASE SOFTWARE (fc2)<br /><span style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;">Technical Support: </span><a class="jive-link-external-small" href="http://www.cisco.com/techsupport" style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #2e6583; list-style: none; margin: 0px; outline: 0px; padding: 0px;" target="_blank">http://www.cisco.com/techsupport</a><br />Copyright (c) 1986-2007 by Cisco Systems, Inc.<br />Compiled Tue 14-Aug-07 02:17 by kellythw</span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><br /></span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;">ROM: System Bootstrap, Version 12.3(4r)T3, RELEASE SOFTWARE (fc1)<br />BOOTLDR: 7200 Software (C7200-KBOOT-M), Version 12.3(15), RELEASE SOFTWARE (fc3)</span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><br /></span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: arial; font-size: 12px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;">DISTROUTER1 </span></strong>uptime is 6 hours, 2 minutes<br />System returned to ROM by reload at 10:24:05 Tue Aug 18 2009<br />System restarted at 10:26:29 Tue Aug 18 2009<br />System image file is "disk2:c7200-c6is-mz.123-14.YX9.bin"<br />Last reload reason: Reload command</span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><br /></span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><br />Cisco 7206VXR (NPE-G1) processor (revision B) with 983040K/65536K bytes of memory.<br />Processor board ID 35565483<br />SB-1 CPU at 700MHz, Implementation 1025, Rev 0.2, 512KB L2 Cache<br />6 slot VXR midplane, Version 2.11</span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><br /></span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;">Last reset from power-on</span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><br /></span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;">PCI bus mb1 (Slots 1, 3 and 5) has a capacity of 600 bandwidth points.<br />Current configuration on bus mb1 has a total of 400 bandwidth points.<br />This configuration is within the PCI bus capacity and is supported.</span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><br /></span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;">PCI bus mb2 (Slots 2, 4 and 6) has a capacity of 600 bandwidth points.<br />Current configuration on bus mb2 has a total of 0 bandwidth points.<br />This configuration is within the PCI bus capacity and is supported.</span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><br /></span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;">Please refer to the following document "Cisco 7200 Series Port<br />Adaptor Hardware Configuration Guidelines" on CCO <www .cisco.com=".cisco.com">,<br />for c7200 bandwidth points oversubscription/usage guidelines.</www></span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><br /></span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><br />2 FastEthernet interfaces<br />3 Gigabit Ethernet interfaces<br />509K bytes of NVRAM.</span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><br /></span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;">125184K bytes of ATA PCMCIA card at slot 2 (Sector size 512 bytes).<br />16384K bytes of Flash internal SIMM (Sector size 256K).<br />Configuration register is 0x2102</span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><br /></span></strong></div>
<div style="background-color: white; border-collapse: collapse; border-spacing: 0px; border: 0px; color: #333333; font-family: arial; font-size: 12px; list-style: none; outline: 0px; padding: 0px;">
<strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><strong style="background-color: transparent; border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: arial; font-size: 12px; list-style: none; margin: 0px; outline: 0px; padding: 0px;"><span style="border-collapse: collapse; border-spacing: 0px; border: 0px; font-family: 'courier new', courier; font-size: 10pt; list-style: none; margin: 0px; outline: 0px; padding: 0px;">DISTROUTER1</span></strong>#</span></strong></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4129945553404449527.post-74288135240794568662012-02-06T13:54:00.001-08:002012-02-06T13:58:30.975-08:00Enabling AHCI after Windows 7 installed on IDE ModeIf there is any chance that you guys installing windows 7 while in IDE mode for your SATA drives (just like me) and now want to change it to AHCI mode in the bios only to get windows startup crash, here is the step.<br /><br />in the BIOS, change back the SATA mode to IDE, start windows normally and do below step :<br /><br />1. start "Regedit"<br />2. Go to : HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlset / Services<br />3. Open msahci <br />4. In the right field double click on "start".<br />5. In the value Data field enter "0" and click "ok"<br />6. exit "Regedit" <br /><br />restart your PC, back to BIOS again, and change the SATA mode to AHCI, your windows should start without any problem.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4129945553404449527.post-43445216876338170832012-01-04T12:41:00.000-08:002012-09-30T01:49:02.954-07:00phpize error: unknown type name 'pval'<br />
got this error ? suddenly unknown pval type ? because upgrading from php 5.3 to php 5.4 ?, sucks right ?<br />
<br />
yeah, pval has been changed to zval, so if we find any source that use pval type, we need to find the newer source that has been updated to zval, if we unlucky to find one, edit the source by our self.<br />
<br />
I got this problem when I tried to do 'pecl install stats' under php 5.4, the error was beginning with :<br />
<br />
/var/tmp/stats/statistics.c:165:2: error: unknown type name 'pval'<br />
<br />
well, then manually replace all pval with zval under statistics.c file (total 5 replacement, using %s vi command), but with one trick, since PECL will always reload from the source and delete any temporary local file, we have to make our updated file unwriteable, by issuing chattr +ui /var/tmp/stats/statistics.c., and the trick to get that statistic.c at the first time, press ctrl break on the first stage of pecl install when it decompressing the source, then update and lock the file with above trick.<br />
<br />
<br />
<br />
<br />
<br />Unknownnoreply@blogger.com5tag:blogger.com,1999:blog-4129945553404449527.post-71201669685890471772011-06-20T06:10:00.000-07:002011-08-23T00:37:52.832-07:00TP-Link TL-MR3420 Wireless router is compatible with Nokia E52 PhoneI just realized today that my TP-Link Wireless router is supporting Nokia E52 phone on its native firmware, without any additional modem firmware.
<br />
<br />although on their website, nokia support isnt mentioned anywhere, it does detect the nokia phone as 3G USB modem, here is the "officially" modem support from their website.
<br />
<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjgAiYnA7k8TlOgkGsYt0TZwhrq23nGCUhMOjeh978s3h6N_yeAwi1DCxkEN8YpI35wkkPmNpGYl22l0oVAeg7Jnfg4DtB24T7tgjmWVVKmIlOurmvz-gDkOv-mT35xnphyenYLT5JQ9G-/s1600/Picture+20.png"><img style="cursor:pointer; cursor:hand;width: 290px; height: 320px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjgAiYnA7k8TlOgkGsYt0TZwhrq23nGCUhMOjeh978s3h6N_yeAwi1DCxkEN8YpI35wkkPmNpGYl22l0oVAeg7Jnfg4DtB24T7tgjmWVVKmIlOurmvz-gDkOv-mT35xnphyenYLT5JQ9G-/s320/Picture+20.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5620289895000265714" /></a>
<br />
<br />and here is my TL-MR3420 configuration that shows Nokia E52-1 as 3G USB Modem.
<br />
<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZfI_-hnb9xCKLIDlRqkymwY1lhSH0HYyFl0FiWYPaMFdVlFACRRazvPJd1hCYkfIq10i3gF4azJrFDp4IAVck_Qb8hoVTpHWQi28idEujHk4KG4BxOAv0hYQVjGlRJz5EX7OLiqGfbUx3/s1600/Picture+18.png"><img style="cursor:pointer; cursor:hand;width: 320px; height: 194px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZfI_-hnb9xCKLIDlRqkymwY1lhSH0HYyFl0FiWYPaMFdVlFACRRazvPJd1hCYkfIq10i3gF4azJrFDp4IAVck_Qb8hoVTpHWQi28idEujHk4KG4BxOAv0hYQVjGlRJz5EX7OLiqGfbUx3/s320/Picture+18.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5620290381329440226" /></a>
<br />
<br />if somebody mind to ask, why I use my expensive phone as 3G modem on wireless router ???, why not ??, I have unlimited data plan on the phone, and the router is charging the phone too on its USB port. :-D
<br />
<br />==========================
<br />
<br />update for firmware version :
<br />
<br />Firmware Version: 3.11.10 Build 100901 Rel.52652n
<br />Hardware Version: MR3420 v1 00000000
<br />
<br />==========================Unknownnoreply@blogger.com4tag:blogger.com,1999:blog-4129945553404449527.post-49465720826662105252011-06-08T02:34:00.000-07:002011-06-08T02:46:14.662-07:00J2ME: Graphic Text and Bars<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3_9aHv9seyp1gzcVpSO7lB8gYNARc75gTXTwvpxCeOfHKOg76kBEZxLLOckWPJLzETKIqvWe_iNYbNDLGLUAVICHGgFiffbUuLSJw9A72DRFkSu-CbFncBvwC_L4Kul3Xeeja9E7cnYbO/s1600/first.png"><img style="WIDTH: 182px; HEIGHT: 233px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5615780385061093122" border="0" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3_9aHv9seyp1gzcVpSO7lB8gYNARc75gTXTwvpxCeOfHKOg76kBEZxLLOckWPJLzETKIqvWe_iNYbNDLGLUAVICHGgFiffbUuLSJw9A72DRFkSu-CbFncBvwC_L4Kul3Xeeja9E7cnYbO/s320/first.png" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhzDgqz0KN1jVE8iOhPkTyzluzeFZlyxxfcupFvwfGFvj1WkDCU0mvRZeEcNu7kEyORgwhHumyPqrxdXzaTKO0hGS27kI6VOAFSIdKawNUDzhSn_Id4HHiJQ-_tx5ALsu6UWYs1gxjd9pl/s1600/third.png"><img style="WIDTH: 182px; HEIGHT: 235px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5615780433099458386" border="0" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhzDgqz0KN1jVE8iOhPkTyzluzeFZlyxxfcupFvwfGFvj1WkDCU0mvRZeEcNu7kEyORgwhHumyPqrxdXzaTKO0hGS27kI6VOAFSIdKawNUDzhSn_Id4HHiJQ-_tx5ALsu6UWYs1gxjd9pl/s320/third.png" /></a> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwiPE824be8URX8hU8Y1hd2xL4nkakSSbEfFji3SCXTSA-XvjezqeBw_C3eFCwm5RFZKU49L7dbiVT0E1k84AqKyc8VlZs0MOLajbClG7xunXy-Y5P_6HIjZE3Ka8Z9y8U44phxvsCd5JB/s1600/second.png"><img style="WIDTH: 184px; HEIGHT: 234px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5615780427920522450" border="0" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwiPE824be8URX8hU8Y1hd2xL4nkakSSbEfFji3SCXTSA-XvjezqeBw_C3eFCwm5RFZKU49L7dbiVT0E1k84AqKyc8VlZs0MOLajbClG7xunXy-Y5P_6HIjZE3Ka8Z9y8U44phxvsCd5JB/s320/second.png" /></a><br /><br />Above J2ME graphic demonstration is a combination between text display, for the menu, and canvas for the graphic, here is the source code, each screen above is on separate file.<br /><br /><code><br />/*<br /> * Filename : GraphicDemo.java<br /> */<br />package GraphicDemo;<br /><br />import javax.microedition.midlet.*;<br />import javax.microedition.lcdui.*;<br /><br />public class GraphicDemo extends MIDlet implements CommandListener {<br /><br /> private Command exitCommand; // The exit command<br /> private Display display; // The display for this MIDlet<br /> List lsMain;<br /> GDBars GDBars = null;<br /> GDText GDText = null;<br /> static final Command EXIT_CMD = new Command("Exit", Command.EXIT, 1);<br /> static final Command BACK_CMD = new Command("Back", Command.BACK, 1);<br /><br /> public GraphicDemo() {<br /> display = Display.getDisplay(this);<br /><br /><br /><br /> lsMain = new List("Graphic Demo menu", Choice.IMPLICIT);<br /><br /> lsMain.append("Bars Demo",null);<br /> lsMain.append("Text Demo",null);<br /><br /> lsMain.addCommand(EXIT_CMD);<br /><br /> lsMain.setCommandListener(this);<br /> GDBars = new GDBars(this, lsMain);<br /> GDText = new GDText(this, lsMain);<br /> }<br /><br /> public void startApp() {<br /> display.setCurrent(lsMain);<br /> }<br /><br /> public void pauseApp() {<br /> }<br /><br /> public void destroyApp(boolean unconditional) {<br /> }<br /><br /> public void setDisplay(Displayable d)<br /> {<br /> display.setCurrent(d);<br /> }<br /><br /> public void commandAction(Command c, Displayable s) {<br /> if (s instanceof List) {<br /> List obj = (List)s;<br /><br /> if (obj == lsMain) {<br /> if (c == EXIT_CMD)<br /> {<br /> destroyApp(false);<br /> notifyDestroyed();<br /> }<br /> else {<br /> switch(lsMain.getSelectedIndex()) {<br /> case 0:<br /> display.setCurrent(GDBars);<br /> break;<br /> case 1:<br /> display.setCurrent(GDText);<br /> break;<br /><br /> }<br /> }<br /> }<br /> }<br /> }<br /><br />}<br /></code><br /><br /><code><br />/*<br /> * Filename : GDText.java<br /> */<br /><br />package GraphicDemo;<br /><br />import javax.microedition.lcdui.Canvas;<br />import javax.microedition.lcdui.CommandListener;<br />import javax.microedition.lcdui.Displayable;<br />import javax.microedition.lcdui.Graphics;<br />import javax.microedition.lcdui.Command;<br />import javax.microedition.lcdui.Font;<br /><br />/**<br />Draws Text on a Canvas using the drawing methods<br />in the javax.microedition.lcdui.Graphics class.<br />@see javax.microedition.lcdui.Graphics<br /><br />*/<br />public class GDText extends Canvas implements CommandListener<br />{<br />// Constant representing the color white.<br />private static final int WHITE = 0xFF << 16 | 0xFF << 8 | 0xFF;<br /><br />private Command back = new Command("Back",Command.BACK,1);<br /><br /> GraphicDemo graphicdemo; // Reference to display object<br /> Displayable backscreen;<br />//private Display display = Display.getDisplay(GraphicsDemo.getInstance());<br /><br />public GDText ( GraphicDemo graphicdemo, Displayable backscreen )<br />{<br />super();<br />this.graphicdemo = graphicdemo;<br />this.backscreen = backscreen;<br /><br />addCommand(back);<br />setCommandListener(this);<br />}<br />/**<br />Paints the clip rectangle white, effectively erasing<br />whatever was displayed on the Canvas previously.<br />*/<br />protected void paintClipRect(Graphics g)<br />{<br />int clipX = g.getClipX();<br />int clipY = g.getClipY();<br />int clipH = g.getClipHeight();<br />int clipW = g.getClipWidth();<br />int color = g.getColor();<br />g.setColor(WHITE);<br />g.fillRect(clipX, clipY, clipW, clipH);<br />g.setColor(color);<br />}<br /><br />/**<br />Paints the look of this Canvas subclass.<br />*/<br />public void paint(Graphics g)<br />{<br />paintClipRect(g);<br />int width = getWidth();<br />int height = getHeight();<br />g.setFont(Font.getDefaultFont());<br />g.drawString("Default", 5, 30,Graphics.LEFT | Graphics.BOTTOM);<br />g.setFont(Font.getFont(Font.FACE_SYSTEM,Font.STYLE_PLAIN,Font.SIZE_LARGE));<br />g.drawString("Large", 5, 53,Graphics.LEFT | Graphics.BOTTOM);<br />g.setFont(Font.getFont(Font.FACE_MONOSPACE,Font.STYLE_ITALIC,Font.SIZE_MEDIUM));<br />g.drawString("Medium", 5, 71,Graphics.LEFT | Graphics.BOTTOM);<br />g.setFont(Font.getFont(Font.FACE_PROPORTIONAL,Font.STYLE_UNDERLINED,Font.SIZE_SMALL));<br />g.drawString("Small", 5, 90,Graphics.LEFT | Graphics.BOTTOM);<br />g.setFont(Font.getFont(Font.FACE_MONOSPACE,Font.STYLE_BOLD,Font.SIZE_MEDIUM));<br />g.drawString("V", width - 10, 20,Graphics.RIGHT | Graphics.BOTTOM);<br />g.drawString("E", width - 10, 32,Graphics.RIGHT | Graphics.BOTTOM);<br />g.drawString("R", width - 10, 44,Graphics.RIGHT | Graphics.BOTTOM);<br />g.drawString("T", width - 10, 56,Graphics.RIGHT | Graphics.BOTTOM);<br />g.drawString("I", width - 10, 68,Graphics.RIGHT | Graphics.BOTTOM);<br />g.drawString("C", width - 10, 80,Graphics.RIGHT | Graphics.BOTTOM);<br />g.drawString("A", width - 10, 92,Graphics.RIGHT | Graphics.BOTTOM);<br />g.drawString("L", width - 10, 104,Graphics.RIGHT | Graphics.BOTTOM);<br />g.drawChar('B', width - 25, 20,Graphics.RIGHT | Graphics.BOTTOM);<br />g.drawChar('O', width - 25, 32,Graphics.RIGHT | Graphics.BOTTOM);<br />g.drawChar('L', width - 25, 44,Graphics.RIGHT | Graphics.BOTTOM);<br />g.drawChar('D', width - 25, 56,Graphics.RIGHT | Graphics.BOTTOM);<br /><br /> }<br />public void commandAction(Command c, Displayable d)<br />{<br />if (c == back)<br />{<br /> graphicdemo.setDisplay(backscreen);<br />}<br />}<br />}<br /></code><br /><br /><br /><code><br />/*<br /> * Filename : GDBars.java<br /> */<br /><br />package GraphicDemo;<br /><br />import javax.microedition.lcdui.Canvas;<br />import javax.microedition.lcdui.CommandListener;<br />import javax.microedition.lcdui.Displayable;<br />import javax.microedition.lcdui.Graphics;<br />import javax.microedition.lcdui.Command;<br /><br />/**<br />Draws rectangles on a Canvas using the drawing methods<br />in the javax.microedition.lcdui.Graphics class.<br />@see javax.microedition.lcdui.Graphics<br /><br />*/<br />public class GDBars extends Canvas implements CommandListener<br />{<br />// Constant representing the color white.<br />private static final int WHITE = 0xFF << 16 | 0xFF << 8 | 0xFF;<br /><br />private Command back = new Command("Back",Command.BACK,1);<br /><br /> GraphicDemo graphicdemo; // Reference to display object<br /> Displayable backscreen;<br />//private Display display = Display.getDisplay(GraphicsDemo.getInstance());<br /><br />public GDBars ( GraphicDemo graphicdemo, Displayable backscreen )<br />{<br />super();<br />this.graphicdemo = graphicdemo;<br />this.backscreen = backscreen;<br /><br />addCommand(back);<br />setCommandListener(this);<br />}<br />/**<br />Paints the clip rectangle white, effectively erasing<br />whatever was displayed on the Canvas previously.<br />*/<br />protected void paintClipRect(Graphics g)<br />{<br />int clipX = g.getClipX();<br />int clipY = g.getClipY();<br />int clipH = g.getClipHeight();<br />int clipW = g.getClipWidth();<br />int color = g.getColor();<br />g.setColor(WHITE);<br />g.fillRect(clipX, clipY, clipW, clipH);<br />g.setColor(color);<br />}<br /><br />/**<br />Paints the look of this Canvas subclass.<br />*/<br />public void paint(Graphics g)<br />{<br />paintClipRect(g);<br /><br />int width = getWidth();<br />int height = getHeight();<br />int x0 = 5;<br />int y0 = 5;<br />int barW = 10;<br />int initHeight = height - 10;<br />int deltaH = 10;<br />g.drawRect(x0, y0, barW, initHeight);<br />g.fillRect(x0 + barW, y0 + deltaH, barW,<br />initHeight - deltaH + 1);<br />g.drawRect(x0 + barW * 2, y0 + deltaH * 2,<br />barW, initHeight - deltaH * 2);<br />g.setColor(255, 00, 00);<br />g.fillRect(x0 + barW * 3, y0 + deltaH * 3,<br />barW, initHeight - deltaH * 3 + 1);<br />g.setColor(0, 0, 0);<br />g.drawRect(x0 + barW * 4, y0 + deltaH * 4,<br />barW, initHeight - deltaH * 4);<br />g.fillRect(x0 + barW * 5, y0 + deltaH * 5,<br />barW, initHeight - deltaH * 5 + 1);<br />g.drawRect(x0 + barW * 6, y0 + deltaH * 6,<br />barW, initHeight - deltaH * 6);<br />g.fillRect(x0 + barW * 7, y0 + deltaH * 7,<br />barW, initHeight - deltaH * 7 + 1);<br /><br /> }<br />public void commandAction(Command c, Displayable d)<br />{<br />if (c == back)<br />{<br /> graphicdemo.setDisplay(backscreen);<br />}<br />}<br />}<br /></code>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4129945553404449527.post-20292662648105966022011-06-02T06:28:00.000-07:002011-06-02T06:35:10.767-07:00Got error code 2869 on Vista or Seven ??Basically this error is coming from MSI packages that build for system before Vista, means, installation process is not compatible with new security schemes that applied on Vista and 7.<div><br /></div><div>on EXE file type installation, we can right click on the icon and choose "Run As Administrator", but on MSI packages, we dont have that option, here is the work around to get MSI packages run under administrator privileges.</div><div><br /></div><div><div style="font-family: 'Times New Roman'; font-size: medium; ">1) Copy the .MSI file to the root directory of main hard drive (i.e. C:\).</div><div style="font-family: 'Times New Roman'; font-size: medium; "><br /></div><div style="font-family: 'Times New Roman'; font-size: medium; ">2) Open Windows Notepad.</div><div style="font-family: 'Times New Roman'; font-size: medium; "><br /></div><div style="font-family: 'Times New Roman'; font-size: medium; ">3) Copy this text into windows notepad:</div><div style="font-family: 'Times New Roman'; font-size: medium; "><br /></div><div style="font-family: 'Times New Roman'; font-size: medium; ">msiexec /i C:\program_name.msi</div><div style="font-family: 'Times New Roman'; font-size: medium; "><br /></div><div style="font-family: 'Times New Roman'; font-size: medium; ">4) Replace the text "program_name" in with the actual name of the .MSI file .</div><div style="font-family: 'Times New Roman'; font-size: medium; "><br /></div><div style="font-family: 'Times New Roman'; font-size: medium; ">5) Click File -> Save ... </div><div style="font-family: 'Times New Roman'; font-size: medium; "><br /></div><div style="font-family: 'Times New Roman'; font-size: medium; ">Instead of saving it as a .txt file, change the file name to installer.bat.</div><div style="font-family: 'Times New Roman'; font-size: medium; "><br /></div><div style="font-family: 'Times New Roman'; font-size: medium; ">Save the file to place where we can find it easily, ie desktop.</div><div style="font-family: 'Times New Roman'; font-size: medium; "><br /></div><div style="font-family: 'Times New Roman'; font-size: medium; ">6) right click on the file and select Run as Administrator.</div></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4129945553404449527.post-9187440124654441382011-05-24T18:41:00.000-07:002011-06-06T07:50:41.767-07:00Make Fedora Linux as Xserve file server for MacApple need afp to connect to other server, and that means linux need to run one.<br /><br />first install netatalk and avahi.<br /><code><br />#yum install avahi netatalk<br /></code><br />for RPM package, on my case, I use Fedora 9, so here is the RPM that my linux has :<br /><br />avahi-0.6.22-10.fc9.i386, netatalk-2.0.3-21.fc9.i386<br /><br />Configure Appletalk Netatalk<br /><code><br /># vi /etc/atalk/afpd.conf<br />- -noddp -tcp -uamlist uams_randnum.so,uams_dhx.so,uams_dhx2.so -nosavepassword -advertise_ssh<br /><br /># vi /etc/atalk/netatalk.conf<br /></code><br />Change the following values:<br /><code><br />ATALKD_RUN=no<br />PAPD_RUN=no<br />CNID_METAD_RUN=yes<br />AFPD_RUN=yes<br />TIMELORD_RUN=no<br />A2BOOT_RUN=no<br /></code><br />Configure Netatalk to share home folders<br /><code><br /># vi /etc/atalk/AppleVolumes.default<br /></code><br />allow: users and groups allowed to access share<br /><br />rwlist: users and groups allowed read and write access<br /><br />Change <users> to your users separated by commas jim.bob.doug<br />Change <@group> to your groups separated by commas @accounting, @marketing (keep the @ infront of the group name)<br />* Users and Groups must already exist in Linux<br /><br />Add for Users Home Folders<br /><code><br />~/ "$u" allow:<users> rwlist:<user>,<@group> cnidscheme:cdb<br /></code><br />Add a folder:<br /><code><br />/home/folder <share_name> allow:<users>,<@group> rwlist:<users>,<@group> cnidscheme:cdb options:usedots,upriv<br /></code><br />Configure Avahi and mDNS (linux version of bonjour)<br /><br />We need to configure Avahi and mDNS so the Mac computers on the network can find our Appletalk file server<br /><br />We need to create a service file for our afpd service:<br /><code><br /># vi /etc/avahi/services/afpd.service<br /></code><br />Add the following:<br /><code><br /><?xml version="1.0" standalone='no'?><br /><!DOCTYPE service-group SYSTEM "avahi-service.dtd"><br /><service-group><br /><name replace-wildcards="yes">%h Xserve</name><br /><service><br /><type>_afpovertcp._tcp</type><br /><port>548</port><br /></service><br /><service><br /><type>_device-info._tcp</type><br /><port>0</port><br /><txt-record>model=Xserve</txt-record><br /></service><br /></service-group><br /></code><br />Add mDNS to nsswitch<br /><code><br /># vi /etc/nsswitch.conf<br /></code><br />Add mdns to the line hosts:<br /><code><br />hosts: files dns mdns<br /></code><br />source <a href="http://www.kernelhardware.org/appletalk-file-server-on-fedora-linux/">http://www.kernelhardware.org/appletalk-file-server-on-fedora-linux/></a>;Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4129945553404449527.post-120144321939381932011-02-04T18:13:00.000-08:002011-08-18T16:13:32.151-07:00add static route after vpn interface up on Mac OSXto do this on mac is simply create a script and put it under /etc/ppp/ , and name it ip-up, here is my example, on script you can see I need both 10.10.20.0/24 and 10.10.10.0/24 to be routed to ppp interface after vpn interface get connected.
<br />
<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNYWO4FmTZIEr_hfe3X8eCeL9D8vrPExRwC42AHLxzjdhMUClZ67QxXYmM83gED6KE_jWYklgJfz2lCfPKgHrWSyHT9sGWVPwo20J2LqcE_954zubDIgVfABTVuW8-At9oFo-ahjHlqLib/s1600/Picture+10.png"><img style="cursor:pointer; cursor:hand;width: 320px; height: 82px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNYWO4FmTZIEr_hfe3X8eCeL9D8vrPExRwC42AHLxzjdhMUClZ67QxXYmM83gED6KE_jWYklgJfz2lCfPKgHrWSyHT9sGWVPwo20J2LqcE_954zubDIgVfABTVuW8-At9oFo-ahjHlqLib/s320/Picture+10.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5570023655937452706" /></a>
<br /><code>
<br />bash-3.2#
<br />bash-3.2# cat /etc/ppp/ip-up
<br />#!/bin/sh
<br />PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec:/System/Library/CoreServices; export PATH
<br />
<br />ifppp=$(ifconfig ppp0 | grep inet | awk '(print $2}')
<br />/sbin/route add -net 10.10.20.0/24 $ifppp
<br />/sbin/route add -net 10.10.10.0/24 $ifppp
<br />
<br />bash-3.2#
<br /></code>Unknownnoreply@blogger.com4tag:blogger.com,1999:blog-4129945553404449527.post-22159491566227192752011-01-08T00:33:00.000-08:002011-01-08T00:33:48.131-08:00DG31PR Geekbench result on Mac OSX vs Windows7This is the reason I keep my DG31PR mobo to run hackintosh, instead of installing it with Msoft OS, named Windows 7.<br /><br />Geekbench 32bit result show different performance between OSX 10.5.8 and Windows 7, and honestly, I can feel this system run better on OSX compare to Windows 7.<br /><br /><a href='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizVwwD_G6bZuYWZmz6jsNG6CpF7X2rTo127jRhQ79fwNg1gYUISYEpvxKBEWQv-FtcGhjj0F3KH1BCQJQxHUmOse_bc-mjc68EtQuFWYwu5XcDgK1sVSSRRK89P97TSKQ-auglMkiYw1sO/s1600/geek7result.jpg'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizVwwD_G6bZuYWZmz6jsNG6CpF7X2rTo127jRhQ79fwNg1gYUISYEpvxKBEWQv-FtcGhjj0F3KH1BCQJQxHUmOse_bc-mjc68EtQuFWYwu5XcDgK1sVSSRRK89P97TSKQ-auglMkiYw1sO/s320/geek7result.jpg' border='0' alt=''style='clear:both;float:left; margin:0px 10px 10px 0;' /></a> <br /><a href='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrMETj-ycfUYcHVmU46RD9GK0n1ggvq44ptkRLEejBJ_qb3MKDLw07VD0SAnpYJyE6PtuJZut1bUDMO69H2-2uSg2Q3rZk80JiBdG-gSsMS20-Xpu1LSzlLWyqAznityqAkTNPzlcC7Fns/s1600/Picture+3.jpg'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrMETj-ycfUYcHVmU46RD9GK0n1ggvq44ptkRLEejBJ_qb3MKDLw07VD0SAnpYJyE6PtuJZut1bUDMO69H2-2uSg2Q3rZk80JiBdG-gSsMS20-Xpu1LSzlLWyqAznityqAkTNPzlcC7Fns/s320/Picture+3.jpg' border='0' alt=''style='clear:both;float:left; margin:0px 10px 10px 0;' /></a> <br /><br />another reason why I use this OSX, its solve the audio problem on DG31PR, this motherboard known to has bug on its onboard audio chip, some people solve it by adding a soundcard, but I found installing OSX make the problem goes away.<br /><br />while using Windows 7 (and XP too), I got no sound on audio output in random situation, almost everytime I start my computer, I got no sound, restarting the PC sometimes solve the problem, but mostly not, but when running OSX, only sometimes I got no sound, and on this situation restarting the PC always solve the problem.<br /><br />Well, now I am a Mac User :D.<div style='clear:both; text-align:LEFT'><a href='http://picasa.google.com/blogger/' target='ext'><img src='http://photos1.blogger.com/pbp.gif' alt='Posted by Picasa' style='border: 0px none ; padding: 0px; background: transparent none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;' align='middle' border='0' /></a></div>Unknownnoreply@blogger.com2