<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4129945553404449527</id><updated>2011-11-28T14:25:02.372-08:00</updated><category term='selinux'/><category term='sipura'/><category term='hackintosh'/><category term='MacOSX'/><category term='System Profiler'/><category term='spa2102'/><category term='mysql'/><category term='java'/><category term='T7300'/><category term='sources-list'/><category term='T2330'/><category term='spa2102-sf'/><category term='apt-get'/><category term='Linksys'/><category term='program'/><category term='SPA2102-R'/><category term='SPA2102-NA'/><category term='vonage'/><category term='rocketvoip'/><category term='asterisk'/><category term='gutsy'/><category term='j2me'/><category term='Nvidia'/><category term='Vaio VGN NR220E'/><category term='Linksys spa 2102'/><category term='magicjack'/><category term='html'/><category term='spa 2100'/><category term='XFX Nvidia 9400GT'/><category term='windows'/><category term='Audiocodes'/><category term='copy mysql data file'/><category term='ubuntu'/><category term='Virtualization'/><category term='MP108'/><title type='text'>All About Hobby</title><subtitle type='html'>I 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.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>35</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-7120166968589047177</id><published>2011-06-20T06:10:00.000-07:00</published><updated>2011-08-23T00:37:52.832-07:00</updated><title type='text'>TP-Link TL-MR3420 Wireless router is compatible with Nokia E52 Phone</title><content type='html'>I just realized today that my TP-Link Wireless router is supporting Nokia E52 phone on its native firmware, without any additional modem firmware.&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-Lp3pJq9dw1Q/Tf9H4cY1U_I/AAAAAAAAAU8/ygDKp3z1780/s1600/Picture%2B20.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 290px; height: 320px;" src="http://4.bp.blogspot.com/-Lp3pJq9dw1Q/Tf9H4cY1U_I/AAAAAAAAAU8/ygDKp3z1780/s320/Picture%2B20.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5620289895000265714" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;and here is my TL-MR3420 configuration that shows Nokia E52-1 as 3G USB Modem.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-jpnlMuA8-yA/Tf9IUwGvneI/AAAAAAAAAVE/HXLUt1Bkaw8/s1600/Picture%2B18.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 194px;" src="http://4.bp.blogspot.com/-jpnlMuA8-yA/Tf9IUwGvneI/AAAAAAAAAVE/HXLUt1Bkaw8/s320/Picture%2B18.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5620290381329440226" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;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&lt;br /&gt;&lt;br /&gt;==========================&lt;br /&gt;&lt;br /&gt;update for firmware version :&lt;br /&gt;&lt;br /&gt;Firmware Version: 3.11.10 Build 100901 Rel.52652n  &lt;br /&gt;Hardware Version: MR3420 v1 00000000 &lt;br /&gt;&lt;br /&gt;==========================&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-7120166968589047177?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/7120166968589047177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=7120166968589047177' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/7120166968589047177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/7120166968589047177'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2011/06/tp-link-tl-mr3420-wireless-router.html' title='TP-Link TL-MR3420 Wireless router is compatible with Nokia E52 Phone'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-Lp3pJq9dw1Q/Tf9H4cY1U_I/AAAAAAAAAU8/ygDKp3z1780/s72-c/Picture%2B20.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-4946572082666210525</id><published>2011-06-08T02:34:00.000-07:00</published><updated>2011-06-08T02:46:14.662-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='program'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='j2me'/><title type='text'>J2ME: Graphic Text and Bars</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/-UdEUEgMIzo8/Te9CgawsPwI/AAAAAAAAAUc/esmlaLdQ9Bg/s1600/first.png"&gt;&lt;img style="WIDTH: 182px; HEIGHT: 233px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5615780385061093122" border="0" alt="" src="http://3.bp.blogspot.com/-UdEUEgMIzo8/Te9CgawsPwI/AAAAAAAAAUc/esmlaLdQ9Bg/s320/first.png" /&gt;&lt;/a&gt;&lt;a href="http://1.bp.blogspot.com/-Yv2AZ5rCPm8/Te9CjNt7h1I/AAAAAAAAAUs/UYyim-7STm0/s1600/third.png"&gt;&lt;img style="WIDTH: 182px; HEIGHT: 235px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5615780433099458386" border="0" alt="" src="http://1.bp.blogspot.com/-Yv2AZ5rCPm8/Te9CjNt7h1I/AAAAAAAAAUs/UYyim-7STm0/s320/third.png" /&gt;&lt;/a&gt; &lt;a href="http://4.bp.blogspot.com/-dBwsmlte5jw/Te9Ci6bLPNI/AAAAAAAAAUk/ieontGpGtI0/s1600/second.png"&gt;&lt;img style="WIDTH: 184px; HEIGHT: 234px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5615780427920522450" border="0" alt="" src="http://4.bp.blogspot.com/-dBwsmlte5jw/Te9Ci6bLPNI/AAAAAAAAAUk/ieontGpGtI0/s320/second.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;/*&lt;br /&gt; * Filename : GraphicDemo.java&lt;br /&gt; */&lt;br /&gt;package GraphicDemo;&lt;br /&gt;&lt;br /&gt;import javax.microedition.midlet.*;&lt;br /&gt;import javax.microedition.lcdui.*;&lt;br /&gt;&lt;br /&gt;public class GraphicDemo extends MIDlet implements CommandListener {&lt;br /&gt;&lt;br /&gt;    private Command exitCommand; // The exit command&lt;br /&gt;    private Display display;     // The display for this MIDlet&lt;br /&gt;    List lsMain;&lt;br /&gt;    GDBars GDBars = null;&lt;br /&gt;    GDText GDText = null;&lt;br /&gt;    static final Command EXIT_CMD = new Command("Exit", Command.EXIT, 1);&lt;br /&gt;    static final Command BACK_CMD = new Command("Back", Command.BACK, 1);&lt;br /&gt;&lt;br /&gt;    public GraphicDemo() {&lt;br /&gt;        display = Display.getDisplay(this);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        lsMain = new List("Graphic Demo menu", Choice.IMPLICIT);&lt;br /&gt;&lt;br /&gt;        lsMain.append("Bars Demo",null);&lt;br /&gt; lsMain.append("Text Demo",null);&lt;br /&gt;&lt;br /&gt;        lsMain.addCommand(EXIT_CMD);&lt;br /&gt;&lt;br /&gt;        lsMain.setCommandListener(this);&lt;br /&gt;        GDBars = new GDBars(this, lsMain);&lt;br /&gt;        GDText = new GDText(this, lsMain);&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public void startApp() {&lt;br /&gt;         display.setCurrent(lsMain);&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public void pauseApp() {&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public void destroyApp(boolean unconditional) {&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public void setDisplay(Displayable d)&lt;br /&gt;    {&lt;br /&gt;  display.setCurrent(d);&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public void commandAction(Command c, Displayable s) {&lt;br /&gt;          if (s instanceof List) {&lt;br /&gt;            List obj = (List)s;&lt;br /&gt;&lt;br /&gt;            if (obj == lsMain) {&lt;br /&gt;                if (c == EXIT_CMD)&lt;br /&gt;                {&lt;br /&gt;                    destroyApp(false);&lt;br /&gt;                    notifyDestroyed();&lt;br /&gt;                }&lt;br /&gt;                else {&lt;br /&gt;                    switch(lsMain.getSelectedIndex()) {&lt;br /&gt;                        case 0:&lt;br /&gt;                            display.setCurrent(GDBars);&lt;br /&gt;                        break;&lt;br /&gt;                        case 1:&lt;br /&gt;                            display.setCurrent(GDText);&lt;br /&gt;                        break;&lt;br /&gt;&lt;br /&gt;                    }&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;/*&lt;br /&gt; * Filename : GDText.java&lt;br /&gt; */&lt;br /&gt;&lt;br /&gt;package GraphicDemo;&lt;br /&gt;&lt;br /&gt;import javax.microedition.lcdui.Canvas;&lt;br /&gt;import javax.microedition.lcdui.CommandListener;&lt;br /&gt;import javax.microedition.lcdui.Displayable;&lt;br /&gt;import javax.microedition.lcdui.Graphics;&lt;br /&gt;import javax.microedition.lcdui.Command;&lt;br /&gt;import javax.microedition.lcdui.Font;&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt;Draws Text on a Canvas using the drawing methods&lt;br /&gt;in the javax.microedition.lcdui.Graphics class.&lt;br /&gt;@see javax.microedition.lcdui.Graphics&lt;br /&gt;&lt;br /&gt;*/&lt;br /&gt;public class GDText extends Canvas implements CommandListener&lt;br /&gt;{&lt;br /&gt;// Constant representing the color white.&lt;br /&gt;private static final int WHITE = 0xFF &lt;&lt; 16 | 0xFF &lt;&lt; 8 | 0xFF;&lt;br /&gt;&lt;br /&gt;private Command back = new Command("Back",Command.BACK,1);&lt;br /&gt;&lt;br /&gt; GraphicDemo graphicdemo;     // Reference to display object&lt;br /&gt; Displayable backscreen;&lt;br /&gt;//private Display display = Display.getDisplay(GraphicsDemo.getInstance());&lt;br /&gt;&lt;br /&gt;public GDText ( GraphicDemo graphicdemo, Displayable backscreen )&lt;br /&gt;{&lt;br /&gt;super();&lt;br /&gt;this.graphicdemo = graphicdemo;&lt;br /&gt;this.backscreen = backscreen;&lt;br /&gt;&lt;br /&gt;addCommand(back);&lt;br /&gt;setCommandListener(this);&lt;br /&gt;}&lt;br /&gt;/**&lt;br /&gt;Paints the clip rectangle white, effectively erasing&lt;br /&gt;whatever was displayed on the Canvas previously.&lt;br /&gt;*/&lt;br /&gt;protected void paintClipRect(Graphics g)&lt;br /&gt;{&lt;br /&gt;int clipX = g.getClipX();&lt;br /&gt;int clipY = g.getClipY();&lt;br /&gt;int clipH = g.getClipHeight();&lt;br /&gt;int clipW = g.getClipWidth();&lt;br /&gt;int color = g.getColor();&lt;br /&gt;g.setColor(WHITE);&lt;br /&gt;g.fillRect(clipX, clipY, clipW, clipH);&lt;br /&gt;g.setColor(color);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt;Paints the look of this Canvas subclass.&lt;br /&gt;*/&lt;br /&gt;public void paint(Graphics g)&lt;br /&gt;{&lt;br /&gt;paintClipRect(g);&lt;br /&gt;int width = getWidth();&lt;br /&gt;int height = getHeight();&lt;br /&gt;g.setFont(Font.getDefaultFont());&lt;br /&gt;g.drawString("Default", 5, 30,Graphics.LEFT | Graphics.BOTTOM);&lt;br /&gt;g.setFont(Font.getFont(Font.FACE_SYSTEM,Font.STYLE_PLAIN,Font.SIZE_LARGE));&lt;br /&gt;g.drawString("Large", 5, 53,Graphics.LEFT | Graphics.BOTTOM);&lt;br /&gt;g.setFont(Font.getFont(Font.FACE_MONOSPACE,Font.STYLE_ITALIC,Font.SIZE_MEDIUM));&lt;br /&gt;g.drawString("Medium", 5, 71,Graphics.LEFT | Graphics.BOTTOM);&lt;br /&gt;g.setFont(Font.getFont(Font.FACE_PROPORTIONAL,Font.STYLE_UNDERLINED,Font.SIZE_SMALL));&lt;br /&gt;g.drawString("Small", 5, 90,Graphics.LEFT | Graphics.BOTTOM);&lt;br /&gt;g.setFont(Font.getFont(Font.FACE_MONOSPACE,Font.STYLE_BOLD,Font.SIZE_MEDIUM));&lt;br /&gt;g.drawString("V", width - 10, 20,Graphics.RIGHT | Graphics.BOTTOM);&lt;br /&gt;g.drawString("E", width - 10, 32,Graphics.RIGHT | Graphics.BOTTOM);&lt;br /&gt;g.drawString("R", width - 10, 44,Graphics.RIGHT | Graphics.BOTTOM);&lt;br /&gt;g.drawString("T", width - 10, 56,Graphics.RIGHT | Graphics.BOTTOM);&lt;br /&gt;g.drawString("I", width - 10, 68,Graphics.RIGHT | Graphics.BOTTOM);&lt;br /&gt;g.drawString("C", width - 10, 80,Graphics.RIGHT | Graphics.BOTTOM);&lt;br /&gt;g.drawString("A", width - 10, 92,Graphics.RIGHT | Graphics.BOTTOM);&lt;br /&gt;g.drawString("L", width - 10, 104,Graphics.RIGHT | Graphics.BOTTOM);&lt;br /&gt;g.drawChar('B', width - 25, 20,Graphics.RIGHT | Graphics.BOTTOM);&lt;br /&gt;g.drawChar('O', width - 25, 32,Graphics.RIGHT | Graphics.BOTTOM);&lt;br /&gt;g.drawChar('L', width - 25, 44,Graphics.RIGHT | Graphics.BOTTOM);&lt;br /&gt;g.drawChar('D', width - 25, 56,Graphics.RIGHT | Graphics.BOTTOM);&lt;br /&gt;&lt;br /&gt; }&lt;br /&gt;public void commandAction(Command c, Displayable d)&lt;br /&gt;{&lt;br /&gt;if (c == back)&lt;br /&gt;{&lt;br /&gt;     graphicdemo.setDisplay(backscreen);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;/*&lt;br /&gt; * Filename : GDBars.java&lt;br /&gt; */&lt;br /&gt;&lt;br /&gt;package GraphicDemo;&lt;br /&gt;&lt;br /&gt;import javax.microedition.lcdui.Canvas;&lt;br /&gt;import javax.microedition.lcdui.CommandListener;&lt;br /&gt;import javax.microedition.lcdui.Displayable;&lt;br /&gt;import javax.microedition.lcdui.Graphics;&lt;br /&gt;import javax.microedition.lcdui.Command;&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt;Draws rectangles on a Canvas using the drawing methods&lt;br /&gt;in the javax.microedition.lcdui.Graphics class.&lt;br /&gt;@see javax.microedition.lcdui.Graphics&lt;br /&gt;&lt;br /&gt;*/&lt;br /&gt;public class GDBars extends Canvas implements CommandListener&lt;br /&gt;{&lt;br /&gt;// Constant representing the color white.&lt;br /&gt;private static final int WHITE = 0xFF &lt;&lt; 16 | 0xFF &lt;&lt; 8 | 0xFF;&lt;br /&gt;&lt;br /&gt;private Command back = new Command("Back",Command.BACK,1);&lt;br /&gt;&lt;br /&gt; GraphicDemo graphicdemo;     // Reference to display object&lt;br /&gt; Displayable backscreen;&lt;br /&gt;//private Display display = Display.getDisplay(GraphicsDemo.getInstance());&lt;br /&gt;&lt;br /&gt;public GDBars ( GraphicDemo graphicdemo, Displayable backscreen )&lt;br /&gt;{&lt;br /&gt;super();&lt;br /&gt;this.graphicdemo = graphicdemo;&lt;br /&gt;this.backscreen = backscreen;&lt;br /&gt;&lt;br /&gt;addCommand(back);&lt;br /&gt;setCommandListener(this);&lt;br /&gt;}&lt;br /&gt;/**&lt;br /&gt;Paints the clip rectangle white, effectively erasing&lt;br /&gt;whatever was displayed on the Canvas previously.&lt;br /&gt;*/&lt;br /&gt;protected void paintClipRect(Graphics g)&lt;br /&gt;{&lt;br /&gt;int clipX = g.getClipX();&lt;br /&gt;int clipY = g.getClipY();&lt;br /&gt;int clipH = g.getClipHeight();&lt;br /&gt;int clipW = g.getClipWidth();&lt;br /&gt;int color = g.getColor();&lt;br /&gt;g.setColor(WHITE);&lt;br /&gt;g.fillRect(clipX, clipY, clipW, clipH);&lt;br /&gt;g.setColor(color);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt;Paints the look of this Canvas subclass.&lt;br /&gt;*/&lt;br /&gt;public void paint(Graphics g)&lt;br /&gt;{&lt;br /&gt;paintClipRect(g);&lt;br /&gt;&lt;br /&gt;int width = getWidth();&lt;br /&gt;int height = getHeight();&lt;br /&gt;int x0 = 5;&lt;br /&gt;int y0 = 5;&lt;br /&gt;int barW = 10;&lt;br /&gt;int initHeight = height - 10;&lt;br /&gt;int deltaH = 10;&lt;br /&gt;g.drawRect(x0, y0, barW, initHeight);&lt;br /&gt;g.fillRect(x0 + barW, y0 + deltaH, barW,&lt;br /&gt;initHeight - deltaH + 1);&lt;br /&gt;g.drawRect(x0 + barW * 2, y0 + deltaH * 2,&lt;br /&gt;barW, initHeight - deltaH * 2);&lt;br /&gt;g.setColor(255, 00, 00);&lt;br /&gt;g.fillRect(x0 + barW * 3, y0 + deltaH * 3,&lt;br /&gt;barW, initHeight - deltaH * 3 + 1);&lt;br /&gt;g.setColor(0, 0, 0);&lt;br /&gt;g.drawRect(x0 + barW * 4, y0 + deltaH * 4,&lt;br /&gt;barW, initHeight - deltaH * 4);&lt;br /&gt;g.fillRect(x0 + barW * 5, y0 + deltaH * 5,&lt;br /&gt;barW, initHeight - deltaH * 5 + 1);&lt;br /&gt;g.drawRect(x0 + barW * 6, y0 + deltaH * 6,&lt;br /&gt;barW, initHeight - deltaH * 6);&lt;br /&gt;g.fillRect(x0 + barW * 7, y0 + deltaH * 7,&lt;br /&gt;barW, initHeight - deltaH * 7 + 1);&lt;br /&gt;&lt;br /&gt; }&lt;br /&gt;public void commandAction(Command c, Displayable d)&lt;br /&gt;{&lt;br /&gt;if (c == back)&lt;br /&gt;{&lt;br /&gt;     graphicdemo.setDisplay(backscreen);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-4946572082666210525?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/4946572082666210525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=4946572082666210525' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/4946572082666210525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/4946572082666210525'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2011/06/j2me-graphic-text-and-bars.html' title='J2ME: Graphic Text and Bars'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-UdEUEgMIzo8/Te9CgawsPwI/AAAAAAAAAUc/esmlaLdQ9Bg/s72-c/first.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-2029266264810596602</id><published>2011-06-02T06:28:00.000-07:00</published><updated>2011-06-02T06:35:10.767-07:00</updated><title type='text'>Got error code 2869 on Vista or Seven ??</title><content type='html'>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.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;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.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; "&gt;1) Copy the .MSI file to the root directory of main hard drive (i.e. C:\).&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; "&gt;2) Open Windows Notepad.&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; "&gt;3) Copy this text into windows notepad:&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; "&gt;msiexec /i C:\program_name.msi&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; "&gt;4) Replace the text "program_name" in  with the actual name of the    .MSI file .&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; "&gt;5) Click File -&amp;gt; Save ... &lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; "&gt;Instead of saving it as a .txt file, change the file name to installer.bat.&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; "&gt;Save the file to place where we can find it easily, ie desktop.&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; font-size: medium; "&gt;6)  right click on the file and select Run as Administrator.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-2029266264810596602?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/2029266264810596602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=2029266264810596602' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/2029266264810596602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/2029266264810596602'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2011/06/got-error-code-2869-on-vista-or-seven.html' title='Got error code 2869 on Vista or Seven ??'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-918744012465444138</id><published>2011-05-24T18:41:00.000-07:00</published><updated>2011-06-06T07:50:41.767-07:00</updated><title type='text'>Make Fedora Linux as Xserve file server for Mac</title><content type='html'>Apple need afp to connect to other server, and that means linux need to run one.&lt;br /&gt;&lt;br /&gt;first install netatalk and avahi.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#yum install avahi netatalk&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;for RPM package, on my case, I use Fedora 9, so here is the RPM that my linux has :&lt;br /&gt;&lt;br /&gt;avahi-0.6.22-10.fc9.i386, netatalk-2.0.3-21.fc9.i386&lt;br /&gt;&lt;br /&gt;Configure Appletalk Netatalk&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# vi /etc/atalk/afpd.conf&lt;br /&gt;- -noddp -tcp -uamlist uams_randnum.so,uams_dhx.so,uams_dhx2.so -nosavepassword -advertise_ssh&lt;br /&gt;&lt;br /&gt;# vi /etc/atalk/netatalk.conf&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Change the following values:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;ATALKD_RUN=no&lt;br /&gt;PAPD_RUN=no&lt;br /&gt;CNID_METAD_RUN=yes&lt;br /&gt;AFPD_RUN=yes&lt;br /&gt;TIMELORD_RUN=no&lt;br /&gt;A2BOOT_RUN=no&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Configure Netatalk to share home folders&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# vi /etc/atalk/AppleVolumes.default&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;allow: users and groups allowed to access share&lt;br /&gt;&lt;br /&gt;rwlist: users and groups allowed read and write access&lt;br /&gt;&lt;br /&gt;Change &amp;lt;users&amp;gt; to your users separated by commas jim.bob.doug&lt;br /&gt;Change &amp;lt;@group&amp;gt; to your groups separated by commas @accounting, @marketing (keep the @ infront of the group name)&lt;br /&gt;* Users and Groups must already exist in Linux&lt;br /&gt;&lt;br /&gt;Add for Users Home Folders&lt;br /&gt;&lt;code&gt;&lt;br /&gt;~/ "$u" allow:&amp;lt;users&amp;gt; rwlist:&amp;lt;user&amp;gt;,&amp;lt;@group&amp;gt; cnidscheme:cdb&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Add a folder:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;/home/folder &amp;lt;share_name&amp;gt; allow:&amp;lt;users&amp;gt;,&amp;lt;@group&amp;gt; rwlist:&amp;lt;users&amp;gt;,&amp;lt;@group&amp;gt; cnidscheme:cdb options:usedots,upriv&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Configure Avahi and mDNS (linux version of bonjour)&lt;br /&gt;&lt;br /&gt;We need to configure Avahi and mDNS so the Mac computers on the network can find our Appletalk file server&lt;br /&gt;&lt;br /&gt;We need to create a service file for our afpd service:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# vi /etc/avahi/services/afpd.service&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Add the following:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;?xml version="1.0" standalone='no'?&amp;gt;&lt;br /&gt;&amp;lt;!DOCTYPE service-group SYSTEM "avahi-service.dtd"&amp;gt;&lt;br /&gt;&amp;lt;service-group&amp;gt;&lt;br /&gt;&amp;lt;name replace-wildcards="yes"&amp;gt;%h Xserve&amp;lt;/name&amp;gt;&lt;br /&gt;&amp;lt;service&amp;gt;&lt;br /&gt;&amp;lt;type&amp;gt;_afpovertcp._tcp&amp;lt;/type&amp;gt;&lt;br /&gt;&amp;lt;port&amp;gt;548&amp;lt;/port&amp;gt;&lt;br /&gt;&amp;lt;/service&amp;gt;&lt;br /&gt;&amp;lt;service&amp;gt;&lt;br /&gt;&amp;lt;type&amp;gt;_device-info._tcp&amp;lt;/type&amp;gt;&lt;br /&gt;&amp;lt;port&amp;gt;0&amp;lt;/port&amp;gt;&lt;br /&gt;&amp;lt;txt-record&amp;gt;model=Xserve&amp;lt;/txt-record&amp;gt;&lt;br /&gt;&amp;lt;/service&amp;gt;&lt;br /&gt;&amp;lt;/service-group&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Add mDNS to nsswitch&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# vi /etc/nsswitch.conf&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Add mdns to the line hosts:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;hosts:      files dns mdns&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;source &lt;a href="http://www.kernelhardware.org/appletalk-file-server-on-fedora-linux/"&gt;http://www.kernelhardware.org/appletalk-file-server-on-fedora-linux/&gt;&lt;/a&gt;;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-918744012465444138?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/918744012465444138/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=918744012465444138' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/918744012465444138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/918744012465444138'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2011/05/make-fedora-linux-as-xserve-file-server.html' title='Make Fedora Linux as Xserve file server for Mac'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-12014432193938193</id><published>2011-02-04T18:13:00.000-08:00</published><updated>2011-08-18T16:13:32.151-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MacOSX'/><category scheme='http://www.blogger.com/atom/ns#' term='hackintosh'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>add static route after vpn interface up on Mac OSX</title><content type='html'>to 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.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_NteYO_Xuj_I/TUyzAPqsqqI/AAAAAAAAAQ4/sRAEVjhg6dI/s1600/Picture%2B10.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 82px;" src="http://3.bp.blogspot.com/_NteYO_Xuj_I/TUyzAPqsqqI/AAAAAAAAAQ4/sRAEVjhg6dI/s320/Picture%2B10.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5570023655937452706" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;bash-3.2# &lt;br /&gt;bash-3.2# cat /etc/ppp/ip-up &lt;br /&gt;#!/bin/sh &lt;br /&gt;PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec:/System/Library/CoreServices; export PATH&lt;br /&gt; &lt;br /&gt;ifppp=$(ifconfig ppp0 | grep inet | awk '(print $2}') &lt;br /&gt;/sbin/route add -net 10.10.20.0/24 $ifppp &lt;br /&gt;/sbin/route add -net 10.10.10.0/24 $ifppp &lt;br /&gt;&lt;br /&gt;bash-3.2#&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-12014432193938193?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/12014432193938193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=12014432193938193' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/12014432193938193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/12014432193938193'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2011/02/add-static-route-after-vpn-interface-up.html' title='add static route after vpn interface up on Mac OSX'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_NteYO_Xuj_I/TUyzAPqsqqI/AAAAAAAAAQ4/sRAEVjhg6dI/s72-c/Picture%2B10.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-2215949156622719275</id><published>2011-01-08T00:33:00.000-08:00</published><updated>2011-01-08T00:33:48.131-08:00</updated><title type='text'>DG31PR Geekbench result on Mac OSX vs Windows7</title><content type='html'>This is the reason I keep my DG31PR mobo to run hackintosh, instead of installing it with Msoft OS, named Windows 7.&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;&lt;a href='http://3.bp.blogspot.com/_NteYO_Xuj_I/TSghaiF2VJI/AAAAAAAAAQA/UcQ-zclxw9o/s1600/geek7result.jpg'&gt;&lt;img src='http://3.bp.blogspot.com/_NteYO_Xuj_I/TSghaiF2VJI/AAAAAAAAAQA/UcQ-zclxw9o/s320/geek7result.jpg' border='0' alt=''style='clear:both;float:left; margin:0px 10px 10px 0;' /&gt;&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;a href='http://1.bp.blogspot.com/_NteYO_Xuj_I/TSghawKn4sI/AAAAAAAAAQI/jsns-3MCzv4/s1600/Picture%2B3.jpg'&gt;&lt;img src='http://1.bp.blogspot.com/_NteYO_Xuj_I/TSghawKn4sI/AAAAAAAAAQI/jsns-3MCzv4/s320/Picture%2B3.jpg' border='0' alt=''style='clear:both;float:left; margin:0px 10px 10px 0;' /&gt;&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;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.&lt;br /&gt;&lt;br /&gt;Well, now I am a Mac User :D.&lt;div style='clear:both; text-align:LEFT'&gt;&lt;a href='http://picasa.google.com/blogger/' target='ext'&gt;&lt;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' /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-2215949156622719275?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/2215949156622719275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=2215949156622719275' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/2215949156622719275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/2215949156622719275'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2011/01/dg31pr-geekbench-result-on-mac-osx-vs.html' title='DG31PR Geekbench result on Mac OSX vs Windows7'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_NteYO_Xuj_I/TSghaiF2VJI/AAAAAAAAAQA/UcQ-zclxw9o/s72-c/geek7result.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-5535718993537301328</id><published>2010-11-28T03:01:00.000-08:00</published><updated>2010-11-29T07:28:31.132-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MacOSX'/><category scheme='http://www.blogger.com/atom/ns#' term='hackintosh'/><category scheme='http://www.blogger.com/atom/ns#' term='System Profiler'/><title type='text'>There was an error while gathering this information fix</title><content type='html'>Really annoying to get "There was an error while gathering this information" on System profiler, after hours looking through internet, several try and noresult, finally get it fixed, here is the step.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;remove : &lt;br /&gt;&lt;br /&gt;/System/Library/SystemProfiler/ SPPlatformReporter.spreporter&lt;br /&gt;/System/Library/SystemProfiler/ SPiPlatformReporter.spreporter&lt;br /&gt;&lt;br /&gt;get from any MacOSX DVD installation using pacifist the original for those file above, copy them from DVD to above directory, remove /System/Library/Extensions.mkext and reboot. it should get it fixed.&lt;br /&gt;&lt;br /&gt;I got this instructions from this &lt;a href="http://www.insanelymac.com/forum/index.php?showtopic=73073"&gt;link&lt;/a&gt;, but instead using 10.4.10 DVD (as it said on that page instructions), I am using any DVD that available on my shack, and found iatkos 10.5.4, currently I am running 10.5.8 system, installed through ideneb 1.5.1.&lt;br /&gt;&lt;br /&gt;side note : you need to have this SMBIOSEnabler.kext installed on your system too, and edit the contents of /System/Library/Extensions/SMBIOSEnabler.kext/Contents/Info.plist to reflect your system info.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-5535718993537301328?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/5535718993537301328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=5535718993537301328' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/5535718993537301328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/5535718993537301328'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2010/11/there-was-error-while-gathering-this.html' title='There was an error while gathering this information fix'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-880854711168246041</id><published>2010-11-27T05:54:00.000-08:00</published><updated>2010-11-27T06:19:29.985-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MacOSX'/><category scheme='http://www.blogger.com/atom/ns#' term='hackintosh'/><category scheme='http://www.blogger.com/atom/ns#' term='Nvidia'/><category scheme='http://www.blogger.com/atom/ns#' term='XFX Nvidia 9400GT'/><title type='text'>Nvidia XFX GF 9400GT 550M 512MB on 10.5.8 osx</title><content type='html'>I can confirm that XFX GF 9400GT PCI-E card (Product Code: PV-T94G-YAK2) can run on OSX 10.5.8 (with ideneb 10.5.1) installation (then do the combo upgrade from mac website) with full QE/CI support.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_NteYO_Xuj_I/TPEOYbdkmRI/AAAAAAAAANI/cP_YRObBMOg/s1600/Picture%2B1.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 311px;" src="http://1.bp.blogspot.com/_NteYO_Xuj_I/TPEOYbdkmRI/AAAAAAAAANI/cP_YRObBMOg/s320/Picture%2B1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5544228429121231122" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;things you need are :&lt;br /&gt;&lt;br /&gt;nVidia Driver from this &lt;a href="http://www.insanelymac.com/forum/lofiversion/index.php/t132089.html"&gt;link&lt;/a&gt; or this &lt;a href="http://rapidshare.com/files/156247292/NVIDIA_9000_Series_Driver_v2.zip.html"&gt;link&lt;/a&gt;.&lt;br /&gt;osX86Tools&lt;br /&gt;edit com.apple.Boot.plist under /Library/Preferences/SystemConfiguration/&lt;br /&gt;&lt;br /&gt;here is procedure to edit that com.apple.Boot.plist&lt;br /&gt;&lt;br /&gt;1. Open osX86Tools.&lt;br /&gt;2. Click on Add EFI Strings/Boot Flag and open it &lt;br /&gt;3. now do these steps:&lt;br /&gt;4. Click GFX String [On upper Left]&lt;br /&gt;5. On Graphics Card, Drop down the list and choose Custom Geforce [should be at very last]&lt;br /&gt;6. On the box Type 'nVidia Geforce 9400 GT'&lt;br /&gt;7. Select 512MB as cards Memory and click OK&lt;br /&gt;8. Select VGA / DVI-I as display output configuration (NVCAP) note : this one need to be correct, I tried the DVI-I / VGA before, and it didnt work.&lt;br /&gt;9. Copy Hexadecimal EFI String box contents and paste it to previous OSx86Tools windows called Boot Editor on the box above "Apply Changes to com.apple.Boot.Plist button.&lt;br /&gt;10. close all and then restart the machine, your screen will now ready and good to go like mine, as you see on the snapshot above, its feed 24 inch screen with 1920x1200 resolution, nice...&lt;br /&gt;&lt;br /&gt;other &lt;a href="http://www.insanelymac.com/forum/index.php?showtopic=158685"&gt;link&lt;/a&gt; to read, the same nvidia 9400 chipset video card but different brand.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-880854711168246041?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/880854711168246041/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=880854711168246041' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/880854711168246041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/880854711168246041'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2010/11/nvidia-xfx-gf-9400gt-550m-512mb-on-1058.html' title='Nvidia XFX GF 9400GT 550M 512MB on 10.5.8 osx'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_NteYO_Xuj_I/TPEOYbdkmRI/AAAAAAAAANI/cP_YRObBMOg/s72-c/Picture%2B1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-1824152875441518913</id><published>2010-11-16T21:39:00.000-08:00</published><updated>2010-11-16T21:43:11.639-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>What is the Windows 7 edition that is best for me ?</title><content type='html'>One thing is for sure Windows XP Mode runs only on Windows 7 Professional and Ultimate, for complete list of the difference between these windows 7 edition, here is the table :&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_NteYO_Xuj_I/TONrRNAfeEI/AAAAAAAAANA/OMPdeEUjls0/s1600/windows7-compare.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 274px; height: 320px;" src="http://1.bp.blogspot.com/_NteYO_Xuj_I/TONrRNAfeEI/AAAAAAAAANA/OMPdeEUjls0/s320/windows7-compare.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5540389909889513538" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-1824152875441518913?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/1824152875441518913/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=1824152875441518913' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/1824152875441518913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/1824152875441518913'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2010/11/whati-is-windows-7-edition-that-is-best.html' title='What is the Windows 7 edition that is best for me ?'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_NteYO_Xuj_I/TONrRNAfeEI/AAAAAAAAANA/OMPdeEUjls0/s72-c/windows7-compare.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-5390242145610396626</id><published>2010-08-21T17:35:00.000-07:00</published><updated>2010-08-21T17:48:19.686-07:00</updated><title type='text'>Linux USB Drive boot problem</title><content type='html'>Universal-USB-Installer.exe from  http://www.pendrivelinux.com is great tool to make any linux boot on USB flash drive, but one weird thing happened to me, I bought couple 4Gb USB flash, none of them work and giving this Syslinux load error :&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(153, 0, 0);"&gt;No Default or UI Configuration Directive found!...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;but when I use my smaller flash drive (ie 1Gb and 512Mb) it work just fine.&lt;br /&gt;&lt;br /&gt;figured out for a while, typed this on the prompt below that error message :&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;grub# vmlinuz initrd=initrd.gz pmedia=cd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;with that line typed after the error, my usb boot work just fine, then I checked what files are inside my flash drive, I found there is no syslinux.cfg, only isolinux.cfg, so I renamed the file to syslinux.cfg, and bam, every time I rebooted the machine, it work without any intervention.&lt;br /&gt;&lt;br /&gt;I know since long time ago, isolinux.cfg is for CD boot, and for HDD boot, it use syslinux.cfg, but not sure why my 1Gb and 512Mb flash drive able to boot its linux kernel with isolinux.cfg.&lt;br /&gt;&lt;br /&gt;anyway, just change isolinux.cfg to syslinux.cfg, and it will take care the problem.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-5390242145610396626?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/5390242145610396626/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=5390242145610396626' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/5390242145610396626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/5390242145610396626'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2010/08/linux-usb-drive-boot-problem.html' title='Linux USB Drive boot problem'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-5582257678103158941</id><published>2010-07-03T23:53:00.000-07:00</published><updated>2010-06-23T23:55:01.736-07:00</updated><title type='text'>openvpn simple command</title><content type='html'>here is two simple command to have openvpn tunnel up between server and client on linux system&lt;br /&gt;&lt;br /&gt;on server :&lt;br /&gt;&lt;br /&gt;/usr/local/sbin/openvpn --port PORT --proto udp --dev tun0 --bcast-buffers 512 --fast-io --ifconfig 192.168.20.1 192.168.20.2 --comp-lzo --comp-noadapt --daemon --route some_net its_masking 192.168.20.2 --keepalive 30 90&lt;br /&gt;&lt;br /&gt;on client :&lt;br /&gt;&lt;br /&gt;/usr/local/sbin/openvpn --remote SERVERADDR --port PORT --proto udp --dev tun0 --bcast-buffers 512 --fast-io --comp-lzo --comp-noadapt --daemon --ifconfig 192.168.20.2 192.168.20.1 --keepalive 30 90 --float&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-5582257678103158941?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/5582257678103158941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=5582257678103158941' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/5582257678103158941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/5582257678103158941'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2010/06/openvpn-simple-command.html' title='openvpn simple command'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-4720916722318346280</id><published>2010-06-07T14:24:00.000-07:00</published><updated>2010-06-07T16:15:07.126-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MP108'/><category scheme='http://www.blogger.com/atom/ns#' term='Audiocodes'/><category scheme='http://www.blogger.com/atom/ns#' term='asterisk'/><title type='text'>Audiocodes Hunt Group routing table and its Routing Manipulation</title><content type='html'>After configuring audiocodes to work with &lt;a href="http://allabouthobby.blogspot.com/2009/10/configuring-audiocodes-mp108-mp104-fxo.html"&gt;asterisk&lt;/a&gt;, one thing need to be done properly, to make audiocodes just route the ip call  to PSTN the way asterisk want it.&lt;br /&gt;&lt;br /&gt;on my case here, I have my asterisk adding prefix 011 and 012 before sending it to any FXO gateway attached to my asterisk, the problem is audiocodes by default will use hunting system and use any available FXO to make a call, which I dont want it to be happen as every port is attached to different provider and I want the call to be routed properly to save the cost (and cost calculation is done on asterisk).&lt;br /&gt;&lt;br /&gt;two configurations need to be done on audiocodes for this case :&lt;br /&gt;1. Protocol Management -&gt; Manipulation Tables -&gt; IP Tel Destination Numbers, below is the screen shot.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_NteYO_Xuj_I/TA1mXrsEJDI/AAAAAAAAAMo/1SRvS4gMFH4/s1600/manipulation.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 198px;" src="http://2.bp.blogspot.com/_NteYO_Xuj_I/TA1mXrsEJDI/AAAAAAAAAMo/1SRvS4gMFH4/s320/manipulation.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5480148878630331442" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. Protocol Management -&gt; Routing Tables -&gt; IP to Hunt Group routing, below is the screen shot.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_NteYO_Xuj_I/TA1meqwuzNI/AAAAAAAAAMw/hLWmji4JwYE/s1600/routing.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 202px;" src="http://4.bp.blogspot.com/_NteYO_Xuj_I/TA1meqwuzNI/AAAAAAAAAMw/hLWmji4JwYE/s320/routing.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5480148998640553170" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;by looking at both screen shot above, we will get the idea easily.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-4720916722318346280?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/4720916722318346280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=4720916722318346280' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/4720916722318346280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/4720916722318346280'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2010/06/audiocodes-hunt-group-routing-table-and.html' title='Audiocodes Hunt Group routing table and its Routing Manipulation'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_NteYO_Xuj_I/TA1mXrsEJDI/AAAAAAAAAMo/1SRvS4gMFH4/s72-c/manipulation.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-7422086156939052996</id><published>2010-06-01T12:49:00.000-07:00</published><updated>2010-06-07T19:18:39.817-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='T2330'/><category scheme='http://www.blogger.com/atom/ns#' term='Vaio VGN NR220E'/><category scheme='http://www.blogger.com/atom/ns#' term='Virtualization'/><category scheme='http://www.blogger.com/atom/ns#' term='T7300'/><title type='text'>Intel T7300 on Sony Vaio VGN-NR220E</title><content type='html'>This is another upgrade for my 2 years old Sony &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;Vaio&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;VGN&lt;/span&gt;-NR220E. As previous project done to this low cost laptop (I got it for only US$ 320, on &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;BestBuy&lt;/span&gt; sale) that changed it from Windows Vista to Windows &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;XP&lt;/span&gt; and then to &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;MacOSX&lt;/span&gt; &lt;a href="http://allabouthobby.blogspot.com/2008/05/mac-osx-on-vaio-vgn-nr220e.html"&gt;Leopard 10.5.2&lt;/a&gt;, everything was fine except the horse power that come with this laptop, Intel T2330, is not really a horse power, more like mule power :D.&lt;br /&gt;&lt;br /&gt;Last week, I look for the replacement of its processor, I was looking for T8100 processor initially, as other guy do the upgrade on this laptop with success ( &lt;a href="http://forum.notebookreview.com/hardware-components-aftermarket-upgrades/316889-who-says-gl960-doesnt-do-penryn-800-mhz-fsb.html"&gt;this link &lt;/a&gt;), but after looking around at &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;ebay&lt;/span&gt;, this processor is still damn expensive, even used one, the price never below US$80.&lt;br /&gt;&lt;br /&gt;Well, then I had to lower my expectations, I only need faster processor, bigger cache, and most important thing, can do &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;virtualization&lt;/span&gt;, so T7300 is my next choice, if this laptop can do T8100, so it should be able to do T7300.&lt;br /&gt;&lt;br /&gt;finally after 2 weeks restless bidding on &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;ebay&lt;/span&gt;, got a bargain price at US$48, it used one but come with 30 days warranty, not bad at all.&lt;br /&gt;&lt;br /&gt;now I am a happy user, my &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;MacOSX&lt;/span&gt; Sony &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;Vaio&lt;/span&gt; is run faster then before, I completely migrated my &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;XP&lt;/span&gt; to run under &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;MacOSX&lt;/span&gt; with Virtual machine that utilize its &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;intel&lt;/span&gt; VT-x hardware &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;virtualization&lt;/span&gt;, sweet.......&lt;br /&gt;&lt;br /&gt;below pictures are for &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_14"&gt;comparison&lt;/span&gt; of the core size between T2330, T8100 and T7300.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_NteYO_Xuj_I/TAQZR3tERiI/AAAAAAAAAMQ/7GQ-sWtepCk/s1600/T7300.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5477530841590810146" style="width: 320px; height: 243px;" alt="" src="http://2.bp.blogspot.com/_NteYO_Xuj_I/TAQZR3tERiI/AAAAAAAAAMQ/7GQ-sWtepCk/s320/T7300.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_NteYO_Xuj_I/TAQZXjqXEtI/AAAAAAAAAMY/bucLeCxtrxk/s1600/T8100-T2330.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5477530939289965266" style="width: 320px; height: 150px;" alt="" src="http://4.bp.blogspot.com/_NteYO_Xuj_I/TAQZXjqXEtI/AAAAAAAAAMY/bucLeCxtrxk/s320/T8100-T2330.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-7422086156939052996?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/7422086156939052996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=7422086156939052996' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/7422086156939052996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/7422086156939052996'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2010/05/intel-t7300-on-sony-vaio-vgn-nr220e.html' title='Intel T7300 on Sony Vaio VGN-NR220E'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_NteYO_Xuj_I/TAQZR3tERiI/AAAAAAAAAMQ/7GQ-sWtepCk/s72-c/T7300.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-8125294793378409510</id><published>2010-05-31T16:19:00.000-07:00</published><updated>2010-05-31T16:34:58.181-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='html'/><title type='text'>Disable copy and paste into form text field</title><content type='html'>People sometimes got lazy just to enter information such thing like this below :&lt;br /&gt;&lt;br /&gt;your email : &lt;input class="medium" name="contactEmail"&gt;&lt;br /&gt;confirm your email : &lt;input class="medium" name="contactEmail"&gt;&lt;br /&gt;&lt;br /&gt;the second question to confirm your email address, or to be exact, to retype again the email address is having a purpose to minimize the typo or any other problem like incorrect email address, or by mistake, entering another person email address.&lt;br /&gt;&lt;br /&gt;but because of laziness, many times for second question, people just do copy and paste, ctrl-c and ctrl-v to that column, so at this point, the purpose of having second question is no longer valid anymore.&lt;br /&gt;&lt;br /&gt;to prevent such behaviour, here is simple trick on the HTML form.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#3366ff;"&gt;&lt;em&gt;&amp;lt;input type="text" class="medium" name="contactEmail2" id="contactEmail2" onCopy="return false" onDrag="return false" onDrop="return false" onPaste="return false" tabindex="23"/&amp;gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;with that addition, people are no longer able to do paste/ctrl-v into it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-8125294793378409510?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/8125294793378409510/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=8125294793378409510' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/8125294793378409510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/8125294793378409510'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2010/05/disable-copy-and-paste-to-form-text.html' title='Disable copy and paste into form text field'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-1445239390152869016</id><published>2010-05-24T15:07:00.000-07:00</published><updated>2011-06-06T07:40:28.968-07:00</updated><title type='text'>Put ipv6 configuration on linux</title><content type='html'>I always need this once a while and always forgot it, so this is my note on ipv6 for linux (Fedora flavor of course :) ).&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;/sbin/vconfig add eth0 600&lt;br /&gt;/sbin/ifconfig eth0.600 up&lt;br /&gt;/sbin/ifconfig eth0.600 inet6 add 2001:AA00:F:F::2/64&lt;br /&gt;/sbin/route -A inet6 add ::/0 gw  2001:AA00:f:f::1&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-1445239390152869016?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/1445239390152869016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=1445239390152869016' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/1445239390152869016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/1445239390152869016'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2010/05/put-ipv6-configuration-on-linux.html' title='Put ipv6 configuration on linux'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-7133976615842196103</id><published>2010-03-07T16:26:00.000-08:00</published><updated>2010-06-07T16:43:48.014-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='magicjack'/><category scheme='http://www.blogger.com/atom/ns#' term='asterisk'/><title type='text'>Patch Asterisk 1.4 to work with MagicJack.</title><content type='html'>I know, its against MagicJack TOS but I have to do this because that small MJack USB phone adapter is hot, I really dont like to have it that way while attached in my laptop.&lt;br /&gt;&lt;br /&gt;once MagicJack guys can fix that issue, I will back again to use that phone adapter, here is the suggestion for you guys, put some power management control on that adapter, and just enabled the rest of device (that make it hot) only when there is a call placed, seems simple ha ? yes it is dude.&lt;br /&gt;&lt;br /&gt;and why I bother to use MagicJack with Asterisk and not using any SIP Adapter directly ?, because I dont know how to configure SIP adapter to work with MagicJack server .. :D&lt;br /&gt;&lt;br /&gt;here is the step (I use Asterisk 1.4.24, not sure if this work on 1.6).&lt;br /&gt;&lt;br /&gt;1. go to asterisk source, on this directory ../asterisk-1.4.24/channels&lt;br /&gt;2. download &lt;a href="http://rapidshare.com/files/396469993/mjack_patch_chan_sip.patch"&gt;chan_sip patch&lt;/a&gt; &lt;br /&gt;3. patch -l chan_sip.c &lt; mjack_patch_chan_sip.patch&lt;br /&gt;4. rm chan_sip.o chan_sip.so&lt;br /&gt;5. cd ..&lt;br /&gt;6. make&lt;br /&gt;7. cp channels/chan_sip.so /usr/lib/asterisk/modules/chan_sip.so&lt;br /&gt;8. start asterisk /usr/sbin/asterisk -Fvvvvvvvvvv&lt;br /&gt;9. have fun.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-7133976615842196103?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/7133976615842196103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=7133976615842196103' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/7133976615842196103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/7133976615842196103'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2010/03/patch-asterisk-14-to-work-with.html' title='Patch Asterisk 1.4 to work with MagicJack.'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-5490219029218717592</id><published>2009-12-12T21:05:00.000-08:00</published><updated>2011-06-06T07:37:55.249-07:00</updated><title type='text'>Cisco router as a PPTP client</title><content type='html'>Cisco router as a PPTP client, configured it without encryption to another VPN server.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;vpdn enable&lt;br /&gt;!&lt;br /&gt;vpdn-group 1&lt;br /&gt;request-dialin&lt;br /&gt;protocol pptp&lt;br /&gt;rotary-group 0&lt;br /&gt;initiate-to ip VPN_SERVER&lt;br /&gt;&lt;br /&gt;interface Dialer0&lt;br /&gt;ip address negotiated&lt;br /&gt;ip pim dense-mode&lt;br /&gt;encapsulation ppp&lt;br /&gt;dialer in-band&lt;br /&gt;dialer idle-timeout 0&lt;br /&gt;dialer string 222&lt;br /&gt;dialer vpdn&lt;br /&gt;dialer-group 1&lt;br /&gt;no cdp enable&lt;br /&gt;ppp pfc local request&lt;br /&gt;ppp pfc remote apply&lt;br /&gt;ppp encrypt mppe auto&lt;br /&gt;ppp chap hostname USERNAME&lt;br /&gt;ppp chap password PASSWORD&lt;br /&gt;&lt;br /&gt;dialer-list 1 protocol ip permit&lt;br /&gt;ip multicast-routing&lt;br /&gt;no ip gratuitous-arps&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-5490219029218717592?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/5490219029218717592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=5490219029218717592' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/5490219029218717592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/5490219029218717592'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2009/12/cisco-router-as-pptp-client.html' title='Cisco router as a PPTP client'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-3747575822964825392</id><published>2009-10-15T22:49:00.000-07:00</published><updated>2009-10-15T23:27:48.978-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MP108'/><category scheme='http://www.blogger.com/atom/ns#' term='Audiocodes'/><category scheme='http://www.blogger.com/atom/ns#' term='asterisk'/><title type='text'>Configuring Audiocodes MP108 MP104 FXO with Asterisk</title><content type='html'>Audiocodes MP108 FXO is 8 FXO port on single device, its really well built, but with that, it comes with a lot of setting to deal, basically audiocodes is not simple FXO gateway which normally relies on asterisk to do the switching/PBX stuff, I hope that I can disable all the functionality and just use this gateway with asterisk.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ok now how to set this audiocodes just to forward all call come from PSTN that connect on FXO port to asterisk and vice versa, forward all call from astersik to any available FXO port, this is the few step that will make audiocodes work with such configuration.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Step 1:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Configure audiocodes to have registration account with asterisk, this can be done easily with "Protocol Management -&gt; Protocol Definition -&gt; Proxy&amp;amp;Registration", fill on "Proxy IP Address", "Enable Registration : Yes", "Username", "Password", and "Authentication Mode : Per Endpoint". &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Step 2:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Configuring "Protocol Management -&gt; Endpoint Phone Number", this is important part for make each FXO port on audiocodes registered with asterisk, in here, under "Channel", you can fill with either 1, 1-2, 1-8, 3-4, or whatever you want to have, this means that port 1, or port 1-2, etc will registered on astersik with userid/username filled on "Phone Number", yes, that is correct, "Phone Number" on this configuration page is AlphaNumeric, the password is using global "Password" on First step.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;next, on same page configure "Hunt Group ID", this is another important configuration which make audiocodes forward incoming call from asterisk to any available FXO. Hunt Group ID is number from 0 to any, I put 1.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Step 3:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;to make audiocodes forward call from FXO to asterisk, configure "Endpoint Settings -&gt; Automatic Dialing", I have 777 number on asterisk to handle all incoming call, so I put "Destination Phone Number" as 777 so every incoming call on FXO will be forwarded to 777 on my Astersik.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Step 4:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;this is the last configuration that everyone need, forward call from asterisk to any available FXO. in "Routing Tables -&gt; IP to Hunt Group Routing Table" configure under "Dest. Phone Prefix" with "*" (or any prefix that you might have), "Source Phone Prefix" with "*", "Source IP Address" with "*", "Hunt Group ID" with any number you configure on Step 2, in my case, 1.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;thats it, all configurations are complete. the audiocodes now can forward the call from FXO to asterisk, and vice versa.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;step 3 and step 4 basically the configuration that need to have if audiocodes reporting error such "&lt;span class="Apple-style-span"   style="  white-space: pre; font-family:-webkit-monospace;font-size:13px;"&gt;[ERROR] #0:TrunkGroup::AllocateEndPoint- Can't find EndPoint for phone number"&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-3747575822964825392?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/3747575822964825392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=3747575822964825392' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/3747575822964825392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/3747575822964825392'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2009/10/configuring-audiocodes-mp108-mp104-fxo.html' title='Configuring Audiocodes MP108 MP104 FXO with Asterisk'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-3513386630064089161</id><published>2009-08-30T15:10:00.000-07:00</published><updated>2009-08-30T15:17:59.590-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='selinux'/><category scheme='http://www.blogger.com/atom/ns#' term='copy mysql data file'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><title type='text'>SELinux is preventing the mysqld from using potentially mislabeled files</title><content type='html'>"setroubleshoot: SELinux is preventing the mysqld from using potentially mislabeled files, ....,  For complete SELinux messages. run sealert -l ...."&lt;br /&gt;&lt;br /&gt;above error is appear after I manually copy Mysql data files from /var/lib/mysql directory from one server to another new server, I usually choose this direct copy path to create another identical mysql server machine for its effectiveness, its faster compare to use the regular mysql tool.&lt;br /&gt;&lt;br /&gt;but when the linux machine has SElinux enabled on it, direct copy will resulting the file unreadable from mysql server point of view, it will showing above error, to make these data file readable on mysql simply issue this command :&lt;br /&gt;&lt;br /&gt;chcon --reference=/var/lib/mysql new_db_directory/*&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-3513386630064089161?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/3513386630064089161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=3513386630064089161' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/3513386630064089161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/3513386630064089161'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2009/08/selinux-is-preventing-mysqld-from-using.html' title='SELinux is preventing the mysqld from using potentially mislabeled files'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-829450331346401348</id><published>2009-08-18T21:01:00.000-07:00</published><updated>2009-08-18T21:08:15.540-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sources-list'/><category scheme='http://www.blogger.com/atom/ns#' term='apt-get'/><category scheme='http://www.blogger.com/atom/ns#' term='gutsy'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Ubuntu gutsy got "package is missing, has been obsoleted etc"</title><content type='html'>Its sucks maintaining an old server while upgrading the OS is not an option, especially if said machine is just work fine and serve well with its obsolete hardware and not worth enough to put some additional investment, except just add a hard drive.&lt;br /&gt;&lt;br /&gt;while trying to update using apt-get, if one got the :&lt;br /&gt;"package is missing, has been obsoleted, or is only available from another source" error, update the content of /etc/apt/sources.list with below entry, all obsolete ubuntu now filed under old-releases.ubuntu.com server :&lt;br /&gt;&lt;br /&gt;===========================================================&lt;br /&gt;deb http://old-releases.ubuntu.com/ubuntu gutsy main restricted universe multiverse&lt;br /&gt;deb-src http://old-releases.ubuntu.com/ubuntu gutsy main restricted universe multiverse&lt;br /&gt;deb http://old-releases.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse&lt;br /&gt;deb-src http://old-releases.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse&lt;br /&gt;deb http://old-releases.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse&lt;br /&gt;deb-src http://old-releases.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse&lt;br /&gt;===========================================================&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-829450331346401348?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/829450331346401348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=829450331346401348' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/829450331346401348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/829450331346401348'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2009/08/ubuntu-gutsy-got-package-is-missing-has.html' title='Ubuntu gutsy got &quot;package is missing, has been obsoleted etc&quot;'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-6607720041754494246</id><published>2009-08-10T16:33:00.000-07:00</published><updated>2009-08-10T16:40:00.552-07:00</updated><title type='text'>running asterisk with SELinux enabled</title><content type='html'>&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;The common problem on asterisk running on top of linux with SELinux enabled is the error while trying to load the codecs&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;the error usually said : &lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span"   style="  -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; font-family:Verdana;font-size:13px;"&gt;&lt;br /&gt;&lt;blockquote&gt;loader.c:359 __load_resource: /usr/lib/asterisk/modules/codec_g729.so: cannot restore segment prot after reloc: Permission denied&lt;/blockquote&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Verdana;font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;font-size:13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "&gt;&lt;span class="Apple-style-span"  style="font-family:arial;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;The majority of user just disabling the SELinux, but if that is not an option, just change the context of said file above wiith this command :&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Verdana;font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;font-size:13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Verdana;font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;font-size:13px;"&gt;&lt;blockquote&gt;chcon -t texrel_shlib_t /usr/lib/asterisk/modules/codec_g729.so&lt;/blockquote&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Verdana;font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px;font-size:13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-6607720041754494246?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/6607720041754494246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=6607720041754494246' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/6607720041754494246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/6607720041754494246'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2009/08/running-asterisk-with-selinux-enabled.html' title='running asterisk with SELinux enabled'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-3473434514593565240</id><published>2009-05-31T01:44:00.000-07:00</published><updated>2009-05-31T12:51:21.960-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sipura'/><category scheme='http://www.blogger.com/atom/ns#' term='Linksys'/><category scheme='http://www.blogger.com/atom/ns#' term='spa2102'/><category scheme='http://www.blogger.com/atom/ns#' term='SPA2102-NA'/><category scheme='http://www.blogger.com/atom/ns#' term='rocketvoip'/><category scheme='http://www.blogger.com/atom/ns#' term='asterisk'/><category scheme='http://www.blogger.com/atom/ns#' term='SPA2102-R'/><category scheme='http://www.blogger.com/atom/ns#' term='spa2102-sf'/><title type='text'>Unlock Linksys Sipura SPA 2102</title><content type='html'>To unlock this linksys SPA 2102, just do exactly the step for &lt;a href="http://allabouthobby.blogspot.com/2009/04/unlock-sipura-spa-2100-from.html"&gt;unlocking Sipura SPA2100 on my other post&lt;/a&gt;.&lt;br /&gt;I did it three times, all SPA-2102 no matter the model number, either SPA-2102-R, SPA-2102-NA or SPA-2102-SF, all can be unlocked using same step.&lt;br /&gt;&lt;br /&gt;note: the only difference on my case with Linksys SPA, the file name on web server is spaMAC.cfg compare to Sipura SPA2100 that use spaMAC.txt as default.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-3473434514593565240?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/3473434514593565240/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=3473434514593565240' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/3473434514593565240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/3473434514593565240'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2009/05/unlock-linksys-sipura-spa-2102.html' title='Unlock Linksys Sipura SPA 2102'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-5990691349667292747</id><published>2009-05-06T14:44:00.000-07:00</published><updated>2011-06-06T07:39:10.735-07:00</updated><title type='text'>Expect, PHP and Fedora 5</title><content type='html'>&lt;span style="font-size:85%;"&gt;I work with ubuntu before for the expect, &lt;a href="http://allabouthobby.blogspot.com/2009/02/expect-php-and-ubuntu.html"&gt;Expect, PHP and Ubuntu&lt;/a&gt;, but now I have to use it on fedora 5, here is the installation :&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;install expect and expect-devel&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# yum install expect expect-devel&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;install PECL Expect.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# wget http://pecl.php.net/get/expect-0.2.5.tgz&lt;br /&gt;# pecl install expect-0.2.5.tgz&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;edit php.ini and put this line :&lt;br /&gt;&lt;code&gt;&lt;br /&gt;extension=expect.so&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;restart httpd and you ready to go.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-5990691349667292747?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/5990691349667292747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=5990691349667292747' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/5990691349667292747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/5990691349667292747'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2009/05/expect-php-and-fedora-5.html' title='Expect, PHP and Fedora 5'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-886544900479341074</id><published>2009-05-04T18:38:00.001-07:00</published><updated>2009-05-04T18:58:27.351-07:00</updated><title type='text'>disable root access on ssh server</title><content type='html'>for the telnet server, to disable root access, normally people just remove everything under /etc/securetty that root doesnt have access, and for ssh server, just edit /etc/ssh/sshd_config file, and change this line "PermitRootLogin Yes" to "PermitRootLogin no"&lt;br /&gt;&lt;br /&gt;thats it, and dont forget to restart sshd service by doing "/etc/rc.d/init.d/sshd restart", dont worry, your current session wont lost because of restarting the ssh server.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-886544900479341074?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/886544900479341074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=886544900479341074' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/886544900479341074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/886544900479341074'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2009/05/disable-root-access-on-ssh-server.html' title='disable root access on ssh server'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-7302552036202506747</id><published>2009-04-05T17:53:00.000-07:00</published><updated>2009-05-31T13:18:57.140-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vonage'/><category scheme='http://www.blogger.com/atom/ns#' term='sipura'/><category scheme='http://www.blogger.com/atom/ns#' term='spa 2100'/><category scheme='http://www.blogger.com/atom/ns#' term='rocketvoip'/><category scheme='http://www.blogger.com/atom/ns#' term='Linksys spa 2102'/><category scheme='http://www.blogger.com/atom/ns#' term='asterisk'/><title type='text'>Unlock Sipura SPA 2100 (from rocketvoip.com) for home asterisk</title><content type='html'>note : You can unlock Linksys SPA2102 using below step as well.&lt;br /&gt;The sipura that I found lying around was belong to rocketvoip.com, and now I use it with asterisk, if somebody ask how to do it, here is the story:&lt;br /&gt;&lt;br /&gt;my instalation use :&lt;br /&gt;- Sipura SPA 2100&lt;br /&gt;- Windows XP Laptop.&lt;br /&gt;- Linux PC&lt;br /&gt;- Wireless Network&lt;br /&gt;- ethereal / wireshark software for windows.&lt;br /&gt;&lt;br /&gt;ps : you can figure out by your self how to not to use 2 system just to serve one purpose, but for me since I have linux PC (which run apache webserver and dns) so I just use it, dont have to install this additional software to my XP laptop.&lt;br /&gt;&lt;br /&gt;after everything ready here is the step :&lt;br /&gt;1. enable windows internet share on XP laptop, so the ethernet port will share wireless connection to access internet.&lt;br /&gt;2. connect sipura SPA 2100 with ethernet cross cable to laptop ethernet port.&lt;br /&gt;3. run ethereal to sniff ethernet interface on XP laptop.&lt;br /&gt;4. turn on SPA 2100 and ethereal will start showing the traffic, this the time I saw what host on rocketvoip.com domain it tried to access, sip1.rocketvoip.com and provisioning.rocketvoip.com.&lt;br /&gt;5. check on HTTP traffic too, and I found it tried to get /spaMAC.txt&lt;br /&gt;6. write down all the info above, and now start to configure your dns and webserver to have it.&lt;br /&gt;7. configure the DNS to have sip1.rocketvoip.com and provisioning.rocketvoip.com pointing out to linux server ( configure named.conf to have this domain, and zone file to have IN A for those two hosts )&lt;br /&gt;8. put this text in /spaMAC.txt file, and save it to /var/www/html directory, so web server will serve it to sipura.&lt;br /&gt;&lt;br /&gt;-----------------------------------------&lt;br /&gt;&lt;flat-profile&gt;&lt;span style=";font-family:verdana;font-size:78%;"  &gt;&amp;lt;flat-profile&amp;gt;&lt;br /&gt;&amp;lt;Enable_Web_Server ua="na"&amp;gt;Yes&amp;lt;/Enable_Web_Server&amp;gt;&amp;lt;Web_Server_Port ua="na"&amp;gt;80&amp;lt;/Web_Server_Port&amp;gt;&amp;lt;Enable_Web_Admin_Access ua="na"&amp;gt;Yes&amp;lt;/Enable_Web_Admin_Access&amp;gt;&amp;lt;Admin_Passwd ua="na"&amp;gt;&amp;lt;/Admin_Passwd&amp;gt;&amp;lt;User_Password ua="na"&amp;gt;&amp;lt;/User_Password&amp;gt;&amp;lt;Provision_Enable ua="na"&amp;gt;No&amp;lt;/Provision_Enable&amp;gt;&amp;lt;Protect_IVR_FactoryReset ua="na"&amp;gt;No&amp;lt;/Protect_IVR_FactoryReset&amp;gt;&lt;br /&gt;&amp;lt;/flat-profile&amp;gt;&lt;br /&gt;&lt;/span&gt;-----------------------------------------&lt;br /&gt;&lt;br /&gt;9. now configure sipura to have static ip (remember, first time sipura run with auto config using windows internet share, and using internet DNS, and have it access real rocketvoip.com domain), configure sipura to have dns pointing out to linux PC too.&lt;br /&gt;10. restart sipura SPA 2100, and voila, it admin page now accessible and ready to configure with my home asterisk.&lt;br /&gt;&lt;br /&gt;simple, and at least I save one usable device for being trashed on junkyard and pollute our only  planet. &lt;/flat-profile&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-7302552036202506747?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/7302552036202506747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=7302552036202506747' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/7302552036202506747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/7302552036202506747'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2009/04/unlock-sipura-spa-2100-from.html' title='Unlock Sipura SPA 2100 (from rocketvoip.com) for home asterisk'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-6315315566417031628</id><published>2009-02-12T03:55:00.000-08:00</published><updated>2009-02-12T04:00:29.037-08:00</updated><title type='text'>Expect, PHP and Ubuntu</title><content type='html'>&lt;span style="font-size:85%;"&gt;here is the Expect installation for PHP on  ubuntu&lt;br /&gt;- apt-get install expect&lt;br /&gt;- apt-get install expect-dev&lt;br /&gt;- wget http://pecl.php.net/get/expect-0.2.5.tgz&lt;br /&gt;- pecl install expect-0.2.5.tgz&lt;br /&gt;- vi /etc/php5/conf.d/expect.ini and add the line :  extension=expect.so&lt;br /&gt;- restart apache&lt;br /&gt;&lt;br /&gt;for other system (fedora in my case), 2 first step is changed to :&lt;br /&gt;- wget http://expect.nist.gov/expect.tar.gz&lt;br /&gt;- tar -zxvf expect.tar.gz&lt;br /&gt;- cd expect-5.43/&lt;br /&gt;- ./configure --with-tclconfig=/usr/lib/tcl8.4 --with-tclinclude=/usr/include/tcl8.4/tcl-private/generic&lt;br /&gt;- make | make install&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-6315315566417031628?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/6315315566417031628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=6315315566417031628' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/6315315566417031628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/6315315566417031628'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2009/02/expect-php-and-ubuntu.html' title='Expect, PHP and Ubuntu'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-7176673592611518324</id><published>2008-12-08T06:04:00.000-08:00</published><updated>2011-06-06T07:37:19.604-07:00</updated><title type='text'>Cracking 64Bit Neighbor Wifi Network</title><content type='html'>64Bit WEP is quite easy to crack, the popular tool is aircrack-ng from this &lt;a href="http://www.aircrack-ng.org/doku.php?id"&gt;website&lt;/a&gt;, I  was cracking (always) 64Bit WEP, never try the 128 or more Bit, the reasons, either I wont spend time or many neighbor network available still using 64Bit WEP, :-).. I guess because it easy for them to remember the key.&lt;br /&gt;&lt;br /&gt;last action, I only need 9129 IVs, ( the manual on aircrack-ng said, at least 1.5Milions IVs, but that is not entirely needed), here is the result from my last try :&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:78%;"  &gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;pre&gt;                [00:00:04] Tested 533 keys (got 9129 IVs)&lt;br /&gt;&lt;br /&gt;KB    depth   byte(vote)&lt;br /&gt; 0    4/ 11   99(12800) E8(12544) 03(12032) DE(12032) 3D(11776)&lt;br /&gt; 1    0/  1   4B(15616) 0F(13056) 67(12288) BB(12288) 0E(12032)&lt;br /&gt; 2    0/  1   57(15360) 5A(13056) AC(13056) B0(13056) 24(12800)&lt;br /&gt; 3    0/  2   CC(14592) 73(12800) 7D(12288) B2(12288) BA(12288)&lt;br /&gt; 4    6/ 35   34(12032) A0(11776) 59(11776) 99(11520) 9C(11520)&lt;br /&gt;&lt;br /&gt;                  KEY FOUND! [ 99:4B:57:38:34 ] (ASCII: .KW84 )&lt;br /&gt;     Decrypted correctly: 100%&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The manual to use this aircrack-ng is very easy to follow, specially this &lt;a href="http://www.aircrack-ng.org/doku.php?id=simple_wep_crack"&gt;Tutorial: Simple WEP Crack.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;and for me, I use this three command :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-family:verdana;"&gt;./airmon-ng start wlan0 11&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;./airodump-ng -c 11 --bssid 00:1a:70:82:7b:28 wlan0 -w output1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;./aircrack-ng -b 00:1a:70:82:7b:28 output1*.cap&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and thats it, you are ready to use your neighbor wifi network.&lt;br /&gt;&lt;br /&gt;oh.. almost forgot, one thing, if you guys only have Windows Machine, which is this aircrack-ng tools are for Linux machine, use this small linux distro, called &lt;a href="http://www.puppylinux.org/"&gt;Puppy Linux,&lt;/a&gt; put in on USB Drive, and start your machine with USB boot, and you are ready to go.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-7176673592611518324?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/7176673592611518324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=7176673592611518324' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/7176673592611518324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/7176673592611518324'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2008/08/cracking-64bit-neighbor-wifi-network.html' title='Cracking 64Bit Neighbor Wifi Network'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-8046841117710731334</id><published>2008-12-07T15:40:00.000-08:00</published><updated>2011-06-06T07:28:57.610-07:00</updated><title type='text'>Net SNMPD smpd.conf minimum configuration on Linux</title><content type='html'>&lt;span style="font-size:85%;"&gt;I did many quick dirty configuration to monitor my linux machine inside "secure" network using SNMP, the monitoring is always related to traffic size flowing the interface and keeping the machine always in ping-able mode, which means at least no power problem for this machine.&lt;br /&gt;&lt;br /&gt;here is the basic snmpd.conf , so I can just use it again without worry misplaced somewhere.&lt;br /&gt;&lt;br /&gt;================================================&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-family:verdana;"&gt;com2sec readonly       default         mypublic ##or public&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;view    readonly        included       .1.3.6.1.2.1.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;view    readonly        included       .1.3.6.1.2.1.25.1.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;view     readonly    included      .1                               80&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;view     system         included      .iso.org.dod.internet.mgmt.mib-2.system&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;view    readonly        included        system.sysContact&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;view    readonly        included        system.sysName&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;view    readonly        included        system.sysLocation&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;view    readonly        included        interfaces.ifTable.ifEntry.ifAdminStatus &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;================================================&lt;br /&gt;&lt;br /&gt;and the snmpwalk command to check whether the configuration is correct or not.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-family: verdana;"&gt;snmpwalk -v2c -c mypublic localhost .1.3.6.1.2.1.31.1&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-8046841117710731334?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/8046841117710731334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=8046841117710731334' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/8046841117710731334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/8046841117710731334'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2008/12/net-snmpd-smpdconf-minimum.html' title='Net SNMPD smpd.conf minimum configuration on Linux'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-3766839546396483638</id><published>2008-08-30T06:42:00.000-07:00</published><updated>2011-06-06T07:27:23.918-07:00</updated><title type='text'>Default Fedora 9 Installed Packages</title><content type='html'>&lt;code&gt;&lt;br /&gt;# yum grouplist&lt;br /&gt;Loaded plugins: refresh-packagekit&lt;br /&gt;Setting up Group Process&lt;br /&gt;Installed Groups:&lt;br /&gt;   Authoring and Publishing&lt;br /&gt;   Development Libraries&lt;br /&gt;   Development Tools&lt;br /&gt;   Editors&lt;br /&gt;   FTP Server&lt;br /&gt;   Fonts&lt;br /&gt;   GNOME Software Development&lt;br /&gt;   Graphical Internet&lt;br /&gt;   Graphics&lt;br /&gt;   Hardware Support&lt;br /&gt;   Legacy Fonts&lt;br /&gt;   Mail Server&lt;br /&gt;   MySQL Database&lt;br /&gt;   Network Servers&lt;br /&gt;   Office/Productivity&lt;br /&gt;   Printing Support&lt;br /&gt;   Sound and Video&lt;br /&gt;   System Tools&lt;br /&gt;   Text-based Internet&lt;br /&gt;   Web Server&lt;br /&gt;   X Software Development&lt;br /&gt;Available Groups:&lt;br /&gt;   Administration Tools&lt;br /&gt;   Clustering&lt;br /&gt;   DNS Name Server&lt;br /&gt;   Educational Software&lt;br /&gt;   Engineering and Scientific&lt;br /&gt;   Fedora Eclipse&lt;br /&gt;   Fedora Packager&lt;br /&gt;   GNOME Desktop Environment&lt;br /&gt;   Games and Entertainment&lt;br /&gt;   Java Development&lt;br /&gt;   KDE (K Desktop Environment)&lt;br /&gt;   KDE Software Development&lt;br /&gt;   Legacy Network Server&lt;br /&gt;   Legacy Software Development&lt;br /&gt;   News Server&lt;br /&gt;   PostgreSQL Database&lt;br /&gt;   SUGAR Desktop Environment&lt;br /&gt;   Server Configuration Tools&lt;br /&gt;   Virtualization&lt;br /&gt;   Web Development&lt;br /&gt;   Window Managers&lt;br /&gt;   Windows File Server&lt;br /&gt;   X Window System&lt;br /&gt;   XFCE&lt;br /&gt;   XFCE Software Development&lt;br /&gt;Done&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-3766839546396483638?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/3766839546396483638/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=3766839546396483638' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/3766839546396483638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/3766839546396483638'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2008/08/yum-grouplist-loaded-plugins-refresh.html' title='Default Fedora 9 Installed Packages'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-6882680520166895796</id><published>2008-05-17T01:18:00.000-07:00</published><updated>2008-05-17T01:25:34.426-07:00</updated><title type='text'>ioreg result on MacBook and MacAir</title><content type='html'>After looking around for ioreg result for original mac I got this two link,&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.infoanda.com/resources/view.php?air"&gt;MacAir&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.infoanda.com/resources/view.php?book"&gt;MacBook&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;I desperately looking for that value, because until now I cant make my GMA X3100 Graphics Chipset to work with "the mac" :-), you know what I mean.&lt;/p&gt;&lt;p&gt;Anyway, for me it just for playing around, after got good deal for Sony Vaio VGN-NR220E for only 415$, and I thought I can use this laptop for OSX other than doing Vista Crap on it.&lt;/p&gt;&lt;p&gt;ps : the difference result for ioreg -l command under terminal, between real Mac, and "The Mac" for the display is, the real one has X3100 name on it, but "The Mac" only give a name "Display", is it bios/hardware value, EFI or what ?&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-6882680520166895796?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/6882680520166895796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=6882680520166895796' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/6882680520166895796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/6882680520166895796'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2008/05/ioreg-result-on-macbook-and-macair.html' title='ioreg result on MacBook and MacAir'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-7329513051983195093</id><published>2008-05-01T20:34:00.000-07:00</published><updated>2010-11-27T06:11:32.255-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MacOSX'/><category scheme='http://www.blogger.com/atom/ns#' term='hackintosh'/><category scheme='http://www.blogger.com/atom/ns#' term='Vaio VGN NR220E'/><title type='text'>Mac OSX on Vaio VGN-NR220E</title><content type='html'>Ok, for excuse, the reason I put Mac OSX on my Sony Vaio VGN-NR220E because it came with Vista, and try to "upgrade" it to XP didn't give a good result, XP keep giving me BSOD crash at least once a day for many unknown reasons, the only reason I know, Sony doesn't give drivers support for this laptop on XP. Suck.... Msoft + Sony mafia, is that XP just too old for this not so advance laptop ?. &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;and nothing to loose, I grab MacOSX XxX 10.4.11 ISO from the corner of internet and give it a try on this laptop, the result, not so good, but worth to try.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;- Screen only 1024 x 768, compare to what is on this device, 1280 x 800.&lt;/div&gt;&lt;div&gt;- Marvel Yukon gigabit ethernet is working, just replace value inside /System/Library/Extension/IONetworkingFamily.kext/Contents/Plugins/AppleYukon/Contents/Info.plist from 0x436211AB to 0x435311AB&lt;/div&gt;&lt;div&gt;- Sound work using AppleAzaliaAudio.kext&lt;/div&gt;&lt;div&gt;- Wireless doesnt work, no idea how to fix it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;and final conclusion, still not decide yet, if I want to keep this version of MacOSX, or change it to Leopard base on this &lt;a href="http://www.insanelymac.com/lofiversion/index.php/t90730.html"&gt;review&lt;/a&gt;, or just leave with XP and getting use to it with BSOD once or twice a day, but still, no thanks to Damn Vista, I consider it as evil in OS world.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ps : I wrote this post using safari 3.11 on my Sony Vaio MacOSX&lt;br /&gt;&lt;br /&gt;UPDATE : My Sony VGN-NR220E now work fine using OSX Kalyway 10.5.2, look comment below for the explanation.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-7329513051983195093?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/7329513051983195093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=7329513051983195093' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/7329513051983195093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/7329513051983195093'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2008/05/mac-osx-on-vaio-vgn-nr220e.html' title='Mac OSX on Vaio VGN-NR220E'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-7885026910688910863</id><published>2008-02-29T08:08:00.000-08:00</published><updated>2011-06-06T07:26:17.059-07:00</updated><title type='text'>Utilize your Pharos 140 GPS</title><content type='html'>If you like to have this launcher running on your Pharos 140 GPS :&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_NteYO_Xuj_I/R8guTqCLj6I/AAAAAAAAACg/m1phX-gM28U/s1600-h/launcher.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://4.bp.blogspot.com/_NteYO_Xuj_I/R8guTqCLj6I/AAAAAAAAACg/m1phX-gM28U/s320/launcher.jpg" alt="" id="BLOGGER_PHOTO_ID_5172435087270842274" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Just simply download this &lt;a href="http://www.infoanda.com/resources/aloha.exe"&gt;aloha.exe&lt;/a&gt; to your Pharos 140 device, copy it to \MyFlashDisk\mplayer\ directory, rename the original mplayer.exe file to mplayer1.exe, and rename aloha.exe to mplayer.exe, so this new launcher program will appear each time you press the hard button Video Player on the left side of device (VideoPlayer Button is on the middle)&lt;br /&gt;&lt;br /&gt;and If you like to goes further by editing the source and compiling it self by your own eVC program, here is the source :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:78%;"  &gt;&lt;br /&gt;// aloha.cpp : Quick and dirty program for Application Launcher..&lt;br /&gt;//&lt;br /&gt;&lt;br /&gt;#include "stdafx.h"&lt;br /&gt;#include "aloha.h"&lt;br /&gt;#include "commctrl.h"&lt;commctrl.h&gt;&lt;br /&gt;&lt;br /&gt;#define MAX_LOADSTRING 100&lt;br /&gt;#define WM_USER_MESSAGE WM_USER + 1&lt;br /&gt;&lt;br /&gt;// Global Variables:&lt;br /&gt;HINSTANCE            hInst;            // The current instance&lt;br /&gt;HWND                hwndCB;            // The command bar handle&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// Forward declarations of functions included in this code module:&lt;br /&gt;ATOM                MyRegisterClass    (HINSTANCE, LPTSTR);&lt;br /&gt;BOOL                InitInstance    (HINSTANCE, int);&lt;br /&gt;LRESULT CALLBACK    WndProc            (HWND, UINT, WPARAM, LPARAM);&lt;br /&gt;LRESULT CALLBACK    About            (HWND, UINT, WPARAM, LPARAM);&lt;br /&gt;&lt;br /&gt;int WINAPI WinMain(    HINSTANCE hInstance,&lt;br /&gt;                HINSTANCE hPrevInstance,&lt;br /&gt;                LPTSTR    lpCmdLine,&lt;br /&gt;                int       nCmdShow)&lt;br /&gt;{&lt;br /&gt;MSG msg;&lt;br /&gt;HACCEL hAccelTable;&lt;br /&gt;&lt;br /&gt;// Perform application initialization:&lt;br /&gt;if (!InitInstance (hInstance, nCmdShow))&lt;br /&gt;{&lt;br /&gt;    return FALSE;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_HELLO);&lt;br /&gt;&lt;br /&gt;// Main message loop:&lt;br /&gt;while (GetMessage(&amp;amp;msg, NULL, 0, 0))&lt;br /&gt;{&lt;br /&gt;    if (!TranslateAccelerator(msg.hwnd, hAccelTable, &amp;amp;msg))&lt;br /&gt;    {&lt;br /&gt;        TranslateMessage(&amp;amp;msg);&lt;br /&gt;        DispatchMessage(&amp;amp;msg);&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;return msg.wParam;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//&lt;br /&gt;//  FUNCTION: MyRegisterClass()&lt;br /&gt;//&lt;br /&gt;//  PURPOSE: Registers the window class.&lt;br /&gt;//&lt;br /&gt;//  COMMENTS:&lt;br /&gt;//&lt;br /&gt;//    It is important to call this function so that the application&lt;br /&gt;//    will get 'well formed' small icons associated with it.&lt;br /&gt;//&lt;br /&gt;ATOM MyRegisterClass(HINSTANCE hInstance, LPTSTR szWindowClass)&lt;br /&gt;{&lt;br /&gt;WNDCLASS    wc;&lt;br /&gt;&lt;br /&gt;wc.style            = CS_HREDRAW | CS_VREDRAW;&lt;br /&gt;wc.lpfnWndProc        = (WNDPROC) WndProc;&lt;br /&gt;wc.cbClsExtra        = 0;&lt;br /&gt;wc.cbWndExtra        = 0;&lt;br /&gt;wc.hInstance        = hInstance;&lt;br /&gt;wc.hIcon            = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_HELLO));&lt;br /&gt;wc.hCursor            = 0;&lt;br /&gt;wc.hbrBackground    = (HBRUSH) GetStockObject(WHITE_BRUSH);&lt;br /&gt;wc.lpszMenuName        = 0;&lt;br /&gt;wc.lpszClassName    = szWindowClass;&lt;br /&gt;&lt;br /&gt;return RegisterClass(&amp;amp;wc);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//&lt;br /&gt;//  FUNCTION: InitInstance(HANDLE, int)&lt;br /&gt;//&lt;br /&gt;//  PURPOSE: Saves instance handle and creates main window&lt;br /&gt;//&lt;br /&gt;//  COMMENTS:&lt;br /&gt;//&lt;br /&gt;//    In this function, we save the instance handle in a global variable and&lt;br /&gt;//    create and display the main program window.&lt;br /&gt;//&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BOOL IsAppRunning()&lt;br /&gt;{&lt;br /&gt;HANDLE hMutex = NULL;&lt;br /&gt;&lt;br /&gt;hMutex = CreateMutex ( NULL, TRUE, _T("AlohaProgramMutex") );&lt;br /&gt;if ( GetLastError() == ERROR_ALREADY_EXISTS )&lt;br /&gt;{&lt;br /&gt;    CloseHandle ( hMutex );&lt;br /&gt;    return TRUE;&lt;br /&gt;}&lt;br /&gt;return FALSE;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)&lt;br /&gt;{&lt;br /&gt;HWND    hWnd;&lt;br /&gt;TCHAR    szTitle[MAX_LOADSTRING];            // The title bar text&lt;br /&gt;TCHAR    szWindowClass[MAX_LOADSTRING];        // The window class name&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;hInst = hInstance;        // Store instance handle in our global variable&lt;br /&gt;// Initialize global strings&lt;br /&gt;LoadString(hInstance, IDC_HELLO, szWindowClass, MAX_LOADSTRING);&lt;br /&gt;MyRegisterClass(hInstance, szWindowClass);&lt;br /&gt;&lt;br /&gt;HWND hPrevWnd = FindWindow(szWindowClass,NULL);&lt;br /&gt;&lt;br /&gt;if(hPrevWnd)&lt;br /&gt;{&lt;br /&gt;//        BringWindowToTop(hPrevWnd);&lt;br /&gt;    SetForegroundWindow(hPrevWnd);&lt;br /&gt;    return FALSE;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//    if (IsAppRunning()) return FALSE;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);&lt;br /&gt;hWnd = CreateWindow(szWindowClass, szTitle, WS_VISIBLE,&lt;br /&gt;    CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, NULL, NULL, hInstance, NULL);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About);&lt;br /&gt;&lt;br /&gt;if (!hWnd)&lt;br /&gt;{&lt;br /&gt;    return FALSE;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;ShowWindow(hWnd, nCmdShow);&lt;br /&gt;UpdateWindow(hWnd);&lt;br /&gt;if (hwndCB)&lt;br /&gt;    CommandBar_Show(hwndCB, TRUE);&lt;br /&gt;&lt;br /&gt;return TRUE;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//&lt;br /&gt;//  FUNCTION: WndProc(HWND, unsigned, WORD, LONG)&lt;br /&gt;//&lt;br /&gt;//  PURPOSE:  Processes messages for the main window.&lt;br /&gt;//&lt;br /&gt;//  WM_COMMAND    - process the application menu&lt;br /&gt;//  WM_PAINT    - Paint the main window&lt;br /&gt;//  WM_DESTROY    - post a quit message and return&lt;br /&gt;//&lt;br /&gt;//&lt;br /&gt;LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)&lt;br /&gt;{&lt;br /&gt;HDC hdc;&lt;br /&gt;int wmId, wmEvent;&lt;br /&gt;PAINTSTRUCT ps;&lt;br /&gt;TCHAR szHello[MAX_LOADSTRING];&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;switch (message)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;    case WM_COMMAND:&lt;br /&gt;        wmId    = LOWORD(wParam);&lt;br /&gt;        wmEvent = HIWORD(wParam);&lt;br /&gt;        // Parse the menu selections:&lt;br /&gt;        switch (wmId)&lt;br /&gt;        {&lt;br /&gt;            case IDM_HELP_ABOUT:&lt;br /&gt;               DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About);&lt;br /&gt;               break;&lt;br /&gt;            case IDM_FILE_EXIT:&lt;br /&gt;               DestroyWindow(hWnd);&lt;br /&gt;               break;&lt;br /&gt;            default:&lt;br /&gt;               return DefWindowProc(hWnd, message, wParam, lParam);&lt;br /&gt;        }&lt;br /&gt;        break;&lt;br /&gt;    case WM_CREATE:&lt;br /&gt;        hwndCB = CommandBar_Create(hInst, hWnd, 1);       &lt;br /&gt;        CommandBar_InsertMenubar(hwndCB, hInst, IDM_MENU, 0);&lt;br /&gt;        CommandBar_AddAdornments(hwndCB, 0, 0);&lt;br /&gt;        break;&lt;br /&gt;    case WM_PAINT:&lt;br /&gt;        RECT rt;&lt;br /&gt;        hdc = BeginPaint(hWnd, &amp;amp;ps);&lt;br /&gt;        GetClientRect(hWnd, &amp;amp;rt);&lt;br /&gt;        LoadString(hInst, IDS_HELLO, szHello, MAX_LOADSTRING);&lt;br /&gt;        DrawText(hdc, szHello, _tcslen(szHello), &amp;amp;rt,&lt;br /&gt;            DT_SINGLELINE | DT_VCENTER | DT_CENTER);&lt;br /&gt;        EndPaint(hWnd, &amp;amp;ps);&lt;br /&gt;        break;&lt;br /&gt;    case WM_DESTROY:&lt;br /&gt;        CommandBar_Destroy(hwndCB);&lt;br /&gt;        PostQuitMessage(0);&lt;br /&gt;        break;&lt;br /&gt;    default:&lt;br /&gt;        return DefWindowProc(hWnd, message, wParam, lParam);&lt;br /&gt;}&lt;br /&gt;return 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// Mesage handler for the About box.&lt;br /&gt;LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)&lt;br /&gt;{&lt;br /&gt;RECT rt, rt1;&lt;br /&gt;int DlgWidth, DlgHeight;    // dialog width and height in pixel units&lt;br /&gt;int NewPosX, NewPosY;&lt;br /&gt;int wmId, wmEvent;&lt;br /&gt;&lt;br /&gt;SHELLEXECUTEINFO info;&lt;br /&gt;info.cbSize = sizeof(info);&lt;br /&gt;info.fMask = SEE_MASK_FLAG_NO_UI;&lt;br /&gt;info.hwnd = NULL;&lt;br /&gt;info.lpVerb =_T("open");&lt;br /&gt;info.lpFile =_T("\\windows\\explorer.exe");&lt;br /&gt;info.lpParameters =_T("");&lt;br /&gt;info.lpDirectory =_T("");&lt;br /&gt;info.nShow = SW_SHOW;&lt;br /&gt;&lt;br /&gt;switch (message)&lt;br /&gt;{&lt;br /&gt;  switch (message)&lt;br /&gt;  {&lt;br /&gt;   switch (message)&lt;br /&gt;   {&lt;br /&gt;       case WM_INITDIALOG:&lt;br /&gt;           // trying to center the About dialog&lt;br /&gt;           if (GetWindowRect(hDlg, &amp;amp;rt1)) {&lt;br /&gt;               GetClientRect(GetParent(hDlg), &amp;amp;rt);&lt;br /&gt;               DlgWidth    = rt1.right - rt1.left;&lt;br /&gt;               DlgHeight    = rt1.bottom - rt1.top ;&lt;br /&gt;               NewPosX        = (rt.right - rt.left - DlgWidth)/2;&lt;br /&gt;               NewPosY        = (rt.bottom - rt.top - DlgHeight)/2;&lt;br /&gt;             &lt;br /&gt;                // if the About box is larger than the physical screen&lt;br /&gt;                if (NewPosX &lt; 0) NewPosX = 0;&lt;br /&gt;                if (NewPosY &lt; 0) NewPosY = 0;&lt;br /&gt;                SetWindowPos(hDlg, 0, NewPosX, NewPosY,&lt;br /&gt;                    0, 0, SWP_NOZORDER | SWP_NOSIZE);&lt;br /&gt;            }&lt;br /&gt;            return TRUE;&lt;br /&gt;&lt;br /&gt;        case WM_COMMAND:&lt;br /&gt;            if ((LOWORD(wParam) == IDOK) || (LOWORD(wParam) == IDCANCEL))&lt;br /&gt;            {&lt;br /&gt;                EndDialog(hDlg, LOWORD(wParam));&lt;br /&gt;                return TRUE;&lt;br /&gt;            }&lt;br /&gt;            wmId    = LOWORD(wParam);&lt;br /&gt;            wmEvent = HIWORD(wParam);&lt;br /&gt;            // Parse the menu selections:&lt;br /&gt;            switch (wmId)&lt;br /&gt;            {&lt;br /&gt;            case IDC_EXPLORER:&lt;br /&gt;                    info.lpFile =_T("\\windows\\explorer.exe");&lt;br /&gt;                    ShellExecuteEx(&amp;amp;info);&lt;br /&gt;                    break;&lt;br /&gt;            case IDC_OZI:&lt;br /&gt;                    info.lpFile =_T("\\myflashdisk\\oziexplorer\\oziexplorerce.exe");&lt;br /&gt;                    ShellExecuteEx(&amp;amp;info);&lt;br /&gt;                    break;&lt;br /&gt;            case IDC_VIDEO:&lt;br /&gt;                    info.lpFile =_T("\\myflashdisk\\mplayer\\mplayer1.exe");&lt;br /&gt;                    ShellExecuteEx(&amp;amp;info);&lt;br /&gt;                    break;&lt;br /&gt;            case IDC_ACROBAT:&lt;br /&gt;                    info.lpFile =_T("\\myflashdisk\\gpsapp\\adobe 2.0\\acrobat 2.0\\reader\\acrord32.exe");&lt;br /&gt;                    ShellExecuteEx(&amp;amp;info);&lt;br /&gt;                    break;&lt;br /&gt;            case IDC_RESCO:&lt;br /&gt;                    info.lpFile =_T("\\myflashdisk\\mplayer\\resco.exe");&lt;br /&gt;                    ShellExecuteEx(&amp;amp;info);&lt;br /&gt;                    break;&lt;br /&gt;            case IDC_EXIT:&lt;br /&gt;            CommandBar_Destroy(hwndCB);&lt;br /&gt;            PostQuitMessage(0);&lt;br /&gt;                    break;&lt;br /&gt;            }&lt;br /&gt;            break;&lt;br /&gt;    }&lt;br /&gt;    return FALSE;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/commctrl.h&gt;&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;or if you indeed too lazy to type that, here is the complete project :-) .. download it from &lt;a href="http://www.infoanda.com/resources/Aloha.zip"&gt;www.infoanda.com&lt;/a&gt; and look&lt;a href="http://allabthobby.blogspot.com/2008/02/hacking-pharos-gps-140.html"&gt; this site &lt;/a&gt;for other explanation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-7885026910688910863?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/7885026910688910863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=7885026910688910863' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/7885026910688910863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/7885026910688910863'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2008/02/utilize-your-pharos-140-gps.html' title='Utilize your Pharos 140 GPS'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_NteYO_Xuj_I/R8guTqCLj6I/AAAAAAAAACg/m1phX-gM28U/s72-c/launcher.jpg' height='72' width='72'/><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-4534487647478388882</id><published>2008-01-05T19:52:00.000-08:00</published><updated>2008-01-05T20:32:20.692-08:00</updated><title type='text'>Having Problem after upgrading bios to 1.10 on ipaq H 2210</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_NteYO_Xuj_I/R4BQu4LgqCI/AAAAAAAAABE/DsotUkzp3_k/s1600-h/ipaq2210.gif"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://2.bp.blogspot.com/_NteYO_Xuj_I/R4BQu4LgqCI/AAAAAAAAABE/DsotUkzp3_k/s320/ipaq2210.gif" alt="" id="BLOGGER_PHOTO_ID_5152206739996715042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Recently I just upgrade my old ipaq 2210 bios from version 1.00 to &lt;a href="http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&amp;amp;cc=us&amp;amp;prodNameId=100773&amp;amp;prodTypeId=215348&amp;amp;prodSeriesId=322908&amp;amp;swLang=8&amp;amp;taskId=135&amp;amp;swEnvOID=1087"&gt;version 1.10,&lt;/a&gt; from HP website.&lt;br /&gt;everything went not too smooth, during an upgrade, the software stop working, and restart the application not giving any help, and my ipaq H2210 only having "Serial" "version 1.8" showing on the screen,  that is the bootstrap version, restarting my ipaq always get a same result, so my ipaq is only the dumb device without OS and only have the bootstrap looking for OS entry point.&lt;br /&gt;ok.. panicking for a while, restarted the HP bios upgrade couple times more with no progress, finally I just want to put blame on my PC, it is Windows Vista OS, so other than looking a patch for "this compatibility issue", I use another PC which is still running XP, and good news, the HP bios upgrade software able to detect my Ipaq again, and start to upload a new bios.&lt;br /&gt;&lt;br /&gt;all done after 30 minutes full intense upgrading session, all look fine, I restore previous ipaq settings, applications, registry and data using Ipaq backup/restore application, many application that I tested all look fine, except one : the Pocket IE can not access https, means, can't recognize SSL certificate, and after I look on certificate setting, the root server table has empty lists.&lt;br /&gt;Oh my.....&lt;br /&gt;&lt;br /&gt;ok, this is the short story to make that lists full of root CA again.&lt;br /&gt;&lt;br /&gt;using registry editor delete all registry under :&lt;br /&gt;&lt;br /&gt;HKEY_CURRENT_USER\Comm\Security\ and&lt;br /&gt;HKEY_LOCAL_MACHINE\Comm\Security\&lt;br /&gt;&lt;br /&gt;and reload this&lt;a href="http://www.infoanda.com/resources/security-registry.txt"&gt; reg file&lt;/a&gt; to add the correct list and merge it to current system registry, because the CA registry from old bios version of ipaq seems not compatible with this new version.&lt;br /&gt;&lt;br /&gt;so moral of the upgrade story :&lt;br /&gt;- dont use vista.&lt;br /&gt;- only upgrade if you really want the improvement, and if it worth :-)&lt;br /&gt;- upgrading means finding new incompatibility issue, so prepare yourself with all possibility.&lt;br /&gt;- its no fun at all having browser that not support SSL.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-4534487647478388882?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/4534487647478388882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=4534487647478388882' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/4534487647478388882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/4534487647478388882'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2008/01/having-problem-after-upgrading-bios-to.html' title='Having Problem after upgrading bios to 1.10 on ipaq H 2210'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_NteYO_Xuj_I/R4BQu4LgqCI/AAAAAAAAABE/DsotUkzp3_k/s72-c/ipaq2210.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-7411500791052570902</id><published>2007-11-18T14:05:00.001-08:00</published><updated>2011-06-08T02:33:55.192-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='program'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='j2me'/><title type='text'>J2ME : Create New Thread under commandAction</title><content type='html'>&lt;span style="font-size:85%;"&gt;Guys, if you happen receive this warning, "&lt;span style="color: rgb(0, 0, 0);"&gt;To avoid potential deadlock, operations that may block, such as networking, should be performed in a different thread than the commandAction() handler.&lt;/span&gt;" and your J2ME application doesn't work properly,  here is quick work around to do it right :&lt;br /&gt;&lt;br /&gt;here is the original lines :&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;public void commandAction(Command c, Displayable s)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;   if (c == cmCall)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;   {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;     display.setCurrent(this);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;     try&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;     {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 255);font-family:verdana;" &gt;                call_some_function_that_call_network_function();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;     }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;     catch (Exception e)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;     {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;       System.out.println(e.toString());&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;     }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;   }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;   else if (c == cmExit)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;   {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;   // the rest command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;   }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;and here is the modified lines :&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;public void commandAction(Command c, Displayable s)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    if (c == cmCall)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;      display.setCurrent(this);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;      try&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;      {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 255);font-family:courier new;" &gt;        new Thread(new Runnable()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 255);font-family:courier new;" &gt;        {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 255);font-family:courier new;" &gt;            public void run()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 255);font-family:courier new;" &gt;            {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 255);font-family:courier new;" &gt;            try{&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 255);"&gt;                call_some_function_that_call_network_function();&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 255);font-family:courier new;" &gt;            } catch(IOException e) {}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 255);font-family:courier new;" &gt;            }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 255, 255);font-family:courier new;" &gt;        }).start();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;      }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;      catch (Exception e)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;      { &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        System.out.println(e.toString());&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;      }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    else if (c == cmExit)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    // the rest command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-7411500791052570902?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/7411500791052570902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=7411500791052570902' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/7411500791052570902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/7411500791052570902'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2007/11/j2me-create-new-thread-under.html' title='J2ME : Create New Thread under commandAction'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4129945553404449527.post-1946201366646070320</id><published>2007-11-18T13:24:00.001-08:00</published><updated>2011-06-06T07:21:20.512-07:00</updated><title type='text'>Forward Port on Cisco PIX for torrent</title><content type='html'>&lt;span style="font-size:85%;"&gt;In case somebody need to forward the torrent port to open outside connection to inside computer, here is my working PIX configuration, its running on PIX-515E.&lt;br /&gt;&lt;br /&gt;note : I am using utorrent 1.7.5 with port 35241 to receive outside connection, my outside PIX ip lets say its 4.2.2.1 and my PC using internal ip 10.10.10.231&lt;br /&gt;&lt;br /&gt;======================&lt;br /&gt;&lt;code&gt;&lt;span style=" color: rgb(102, 255, 255);font-family:verdana;" &gt;access-list outside_in permit tcp any host 4.2.2.1 eq 35241&lt;/span&gt;&lt;br /&gt;&lt;span style=" color: rgb(102, 255, 255);font-family:verdana;" &gt;static (inside,outside) tcp 4.2.2.1 35241 10.10.10.231 35241 netmask 255.255.255.255 0 0&lt;/span&gt;&lt;br /&gt;&lt;span style=" color: rgb(102, 255, 255);font-family:verdana;" &gt;access-group outside_in in interface outside&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;======================&lt;br /&gt;&lt;br /&gt;only need 3 lines above to make your torrent share the file faster, and make little icon on utorrent below bar green.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4129945553404449527-1946201366646070320?l=allabouthobby.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://allabouthobby.blogspot.com/feeds/1946201366646070320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4129945553404449527&amp;postID=1946201366646070320' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/1946201366646070320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4129945553404449527/posts/default/1946201366646070320'/><link rel='alternate' type='text/html' href='http://allabouthobby.blogspot.com/2007/11/forward-port-on-cisco-pix-for-torrent.html' title='Forward Port on Cisco PIX for torrent'/><author><name>arpol</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
