tag:blogger.com,1999:blog-75616940479660701462024-03-29T10:30:08.128+07:00z-computer-zUnknownnoreply@blogger.comBlogger49125tag:blogger.com,1999:blog-7561694047966070146.post-47768740573967471332010-10-28T02:03:00.000+07:002010-10-28T02:03:25.263+07:00Download Whole Website Like httrack via Command Line in LinuxUsually you need to download the whole website, and you use additional application like httrack in windows. But there will be a question how to do it in Linux? What application do I need to do this. But that question will be answered by a simple solution that missed by many people.<br />
<a name='more'></a><br />
Yes, we will do it just by command line. And the command that we need is a popular command that many people have known. The command is<b> wget</b>. Now, how wget will download whole website? Here it is the command that you need :<br />
<br />
<i><b>$ wget -r --level=0 -convert-links --page-requisites --no-parent</b></i><br />
<br />
The wget option explanation :<br />
-r / --recursive Do recursive<br />
-l / --level= Use 0 for infinite depth level or use number greater than 0 for limited depth.<br />
-k / --convert-links Modify links inside downloaded files to point to local files.<br />
-p / --page-requisites Get all images, css, js files which make up the web page.<br />
-np / --no-parent Don't download parent directory contents.<br />
<br />
That's the command that you need to download whole website like httrack. Very simple, isn't it?Unknownnoreply@blogger.com4tag:blogger.com,1999:blog-7561694047966070146.post-10933169437290747542010-10-27T15:39:00.001+07:002010-10-27T15:41:16.191+07:00Almost 50% People Feel Comfortable Using Free AntivirusesA security company called Opswat did a survey about antivirus software used by computer user in many country especially in countries that use English. The survey give a result that many people use free antivirus software instead of paid antivirus. The result shows that free versions of antivirus software dominated market share with 42%.<br />
<a name='more'></a><br />
"The survey shows that users have confidence in the ability of free antivirus applications," said Opswat in the report, as quoted from the PC Advisor, July 12, 2010. Opswat alsi said, "It seems that users feel comfortable same as using paid antivirus software".<br />
<br />
The other result for the survey give four most popular free antivirus software and three most popular paid antivirus that used.<br />
<br />
<u>For free antivirus :</u><br />
Avast Free Antivirus 11.45%<br />
Avira AntiVir Personal Free Antivirus 9.19%<br />
AVG Anti-Virus Free 8.60%<br />
Microsoft Security Essentials 7.48%<br />
<br />
<u>And for paid antivirus :</u><br />
Avast 5.40%<br />
Kaspersky Internet Security 4.48%<br />
Norton anti-virus 4.24%Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7561694047966070146.post-54972502738493960672010-10-24T21:28:00.002+07:002010-10-24T21:30:54.060+07:00Use Linux Command Line To Update Twitter StatusLinux is very interesting Operating System. One of thing that make it interesting is its command line, that can do so many things for you. Many people love this Linux command line.<br />
<br />
As for twitter user, off course we are frequently update our status. And I found it possible to update our status via command line. You just have curl installed on your Linux computer.<br />
<a name='more'></a>Here is the command to update your twitter status :<br />
<br />
<i><b>$ curl -u "username:password" -d "status=your update status" http://www.twitter.com/statuses/update.xml</b></i><br />
<br />
Replace "your status update" with your status that you wanna be written on your status. Thats it, and your status will be updated. If you wanna make it more simple, that you need to write the command above into a bash script.Unknownnoreply@blogger.com4tag:blogger.com,1999:blog-7561694047966070146.post-85223925559726733052010-10-24T10:43:00.002+07:002010-10-24T10:45:57.742+07:00Popular Linux Discussion ForumsThere so many forum that talk about Linux. Here I found the most popular discussion forums, for about 51 forums.<br />
<a name='more'></a><br />
http://absolutelinux.org/forum/index.php<br />
http://antix.freeforums.org/ <br />
http://bbs.archlinux.org/<br />
http://forums.bsdnexus.com/<br />
http://www.centos.org/modules/newbb/<br />
http://www.clonezilla.org/forum/<br />
http://crunchbang.org/forums/<br />
http://cruxppc.sunsite.dk/forum/<br />
http://daemonforums.org/<br />
http://damnsmalllinux.org/cgi-bin/forums/ikonboard.cgi<br />
http://forums.debian.net/<br />
http://www.delilinux.org/forum<br />
http://desktopbsd.net/forums/<br />
http://dreamlinuxforums.org/<br />
http://forum.elivecd.org/<br />
http://forums.fedoraforum.org/<br />
http://community.fluxbuntu.org/<br />
http://forum.foresightlinux.org/<br />
http://forums.frugalware.org/<br />
http://www.geexbox.org/forum/index.php<br />
http://forums.gentoo.org/<br />
http://groups.google.com/group/goslinux?pli=1<br />
http://gparted-forum.surf4.info/<br />
http://www.knoppix.net/forum/<br />
http://linuxconsole.org/forumen/<br />
http://www.linuxquestions.org/<br />
http://forum.mandriva.com/<br />
http://mepislovers.org/forums/index.php<br />
http://forums.midnightbsd.org/forums/list.page<br />
http://linuxmint.com/forum/<br />
http://forum.intilinux.com/index.php?board=21.0<br />
http://forums.opensolaris.com/index.jspa<br />
http://forums.opensuse.org/<br />
http://forums.pcbsd.org/<br />
http://www.pclinuxos.com/index.php?option=com_smf&Itemid=58<br />
http://www.murga-linux.com/puppy/<br />
http://www.sabayonlinux.org/forum/<br />
http://sidux.com/module-PNphpBB2.html<br />
http://www.slackwarehelp.org/<br />
http://www.linuxpackages.net/forum/<br />
http://www.slax.org/forum.php<br />
http://forum.slitaz.org/<br />
http://tinycorelinux.com/forum/<br />
http://forum.tinymelinux.com/<br />
http://ubuntuforums.org/<br />
http://forumubuntusoftware.info/<br />
http://forum.vectorlinux.com/<br />
http://www.planetwatt.com/?module=Dizkus<br />
http://forums.wolvix.org/<br />
http://www.yoper.com/index.php?action=forum<br />
http://support.zenwalk.org/<br />
<br />
You can choose the forums that you like most. Or you can add your favorite forums that I didn't mention yet.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7561694047966070146.post-46013144400438678532010-10-22T12:59:00.002+07:002010-10-26T02:36:08.508+07:00Windows Live Writer 2011 Review, A Tool For Intuitive And Inteligent BloggingThe final running a blog desktop client, Windows Live Writer, has incorporated new features to assist bloggers, in Writer 2011. Writing & editing posts became more clever & intuitive.<br />
<a name='more'></a><br />
Picture editing & formatting has been improved remarkably. you can basically tilt, rotate & edit picture, also effects can be added with new picture effects along with bordering. New features include, simple insertion of videos from YouTube, msn, & other video sharing sites.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKwK3xSQ56pK_ad4EpfF3qSiKfwUS-ZpyLk0Ozv4Wcw-NOAANmZt1Rp7VR7kkASDB0pjoJneuHJpdOw_NxCDheKmiTdj8hhQ5Aggmt5RSW8rfWL8t1FN0LVlm2RC7Xq8Fvdz5DsbBM77g/s1600/wlw.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="199" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKwK3xSQ56pK_ad4EpfF3qSiKfwUS-ZpyLk0Ozv4Wcw-NOAANmZt1Rp7VR7kkASDB0pjoJneuHJpdOw_NxCDheKmiTdj8hhQ5Aggmt5RSW8rfWL8t1FN0LVlm2RC7Xq8Fvdz5DsbBM77g/s320/wlw.png" width="320" /></a></div><br />
The spell checking has been extended to many more languages like Dutch, Finnish, French, spanish, Hindi, italian, Korean, Portuguese (Brazilian), Portuguese (Portugal), Serbian-Cyrillic, Serbian-Latin, italian, & Swedish.<br />
<br />
Another fascinating feature is Auto Linking, which would help you link to a URL in an intuitive way!. New toolbar with menus for simple editing & formatting added with new look & feel, would improve the running a blog experience.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7561694047966070146.post-31076418123534535302010-10-20T21:20:00.006+07:002010-10-26T02:44:55.824+07:00Use apt-get Through Proxy That Requires Username And Password On Ubuntu Linux<div>apt-get automatically work on direct internet connectin or transparent proxy. But if your internet connection using proxy (not transparent proxy), you will need to setting the apt-get configuration file to make apt-get to work.</div><div><br />
<a name='more'></a></div><div>Open apt.conf file and add this line : </div><div><i><b>Acquire::http::Proxy "http://username:password@proxyserver:port";</b></i></div><div><br />
</div><div>For example :</div><div><i><b>$ sudo vi /etc/apt/apt.conf</b></i></div><div>Add the line (proxy):</div><div><i><b>Acquire::http::Proxy "http://john:rambo@10.10.10.10:1010";</b></i></div><div><br />
</div><div>Save the file and you're done. Now you can use apt-get through that proxy.</div><div><br />
</div><div>Another way to do it is via command line :</div><div><i><b>$ sudo export http_proxy=http://username:password@proxyserver:port</b></i></div><div><br />
</div><div>Note : Setting from gnome network proxy will not work (work on your all internet application, but not apt-get), only work on proxy that doesn't need username and password. This is because gnome network proxy setting will only put proxy server and its port on apt.conf file, but username and password is not. Last time I see this on Karmic Koala.</div>Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-7561694047966070146.post-53104751130023026432010-10-16T17:09:00.004+07:002010-10-16T17:28:01.740+07:00PHP Connect And Run Query To 2 Databases Or More (Multiple Databases)Sometimes on your work with PHP you need to connect to 2 or more database. In example, you want to take data on table from database A and process the data. Then you want to insert or update the processed data into database B. Here I will show you how to connect to 2 database and run query from it.<br />
<a name='more'></a><br />
<td class="votecell">This is the code :<br />
<br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b><i>$db1 = mysql_connect($host1, $username1, $password1);<br />
$db2 = mysql_connect($host2, $username2, $password2, </i></b><span class="Apple-style-span" style="color: red;"><b><i>true</i></b></span><b><i>);</i></b></span><br />
<br />
Don't ever forget with the fourth parameter on mysql_connect(the true option), otherwise this cannot work.<br />
<br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b><i>mysql_select_db('database1', $db1);<br />
mysql_select_db('database2', $db2);</i></b></span><br />
<br />
To make a query on database 1, do :<br />
<br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b><i>query1 = mysql_query('select * from tablename', $db1);</i></b></span><br />
<br />
and for database 2 :<br />
<br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b><i>query2 = mysql_query('select * from tablename', $db2);</i></b></span><br />
<br />
To connect to more than 2 database, you just need to add more connection. It may named as $db3, $db4, $db5 and so on.</td><td><div class="post-text"><pre class="prettyprint"><span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;">
</span></pre></div></td>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7561694047966070146.post-29473740751362128362010-10-11T22:21:00.001+07:002010-10-15T11:06:55.718+07:00Run Script On Logout, Ubuntu LinuxIf you wanna run some script on logout, your answer is here. Do this :<br />
Go to /etc/gdm/PostSession directory and open a file named Default,<br />
<a name='more'></a><br />
<div id="lijit_region_61057"></div><script src="http://www.lijit.com/delivery/fp?u=zulian&i=lijit_region_61057&z=61057&n=3" type="text/javascript">
</script><br />
<i><b>$ vi /etc/gdm/PostSession/Default</b></i><br />
<i><b><br />
</b></i><br />
Call your script before <i><b>exit 0</b></i><br />
<i><b><br />
</b></i><br />
<b><i>#!/bin/sh</i></b><br />
<b><i><span class="Apple-style-span" style="color: red;">call your script here</span></i></b><br />
<b><i>exit 0</i></b><br />
<b><i><br />
</i></b><br />
Save the file, and now the script will be executes everytime you logout from your computer.Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7561694047966070146.post-77223357263380117702010-05-12T21:56:00.001+07:002010-05-12T21:58:03.128+07:00View All User on Linux (Ubuntu) Operating System from Command LineHere is the way to see or view all of the user on your Linux operating system. You can see all user including human users and users that made by your applications.<br />
<a name='more'></a><br />
<div id="lijit_region_61057"></div><script src="http://www.lijit.com/delivery/fp?u=zulian&i=lijit_region_61057&z=61057&n=3" type="text/javascript">
</script><br />
To do this, simply type this on your terminal :<br />
<b>$ cat /ets/passwd</b><br />
<b><br />
</b><br />
You can also use vi or another editor to do this.Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7561694047966070146.post-41210335488003412922010-05-09T22:43:00.001+07:002010-05-12T21:55:40.660+07:00View or Scan Bluetooth Device With Command on Linux (Ubuntu)Maybe you want to view or scan bluetooth device using command line on terminal. Here is the way to do it. First you make sure that the bluetooth on your computer is turned on.<br />
<a name='more'></a><br />
<div id="lijit_region_61057"></div><script src="http://www.lijit.com/delivery/fp?u=zulian&i=lijit_region_61057&z=61057&n=3" type="text/javascript">
</script><br />
Then type this on your terminal :<br />
<b>$ hcitool scan</b>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7561694047966070146.post-85478841868754955542010-05-09T22:16:00.000+07:002010-05-09T22:16:54.274+07:00First Thing To Do When Viruses Attack Your ComputerAlmost all of the people panic when a virus attack their computer. You don't need to be panic. Its better for you to do the first help to your computer.<br />
<a name='more'></a><br />
<div id="lijit_region_61057"></div><script src="http://www.lijit.com/delivery/fp?u=zulian&i=lijit_region_61057&z=61057&n=3" type="text/javascript">
</script><br />
Here is some action to do when your computer got viruses :<br />
1. Scan all of your hard drive with your best antivirus.<br />
2. Do system restore, go to your last good configuration and good condition of your operating system. Go to <b>All programs</b> <b>- Accessories - System Restore</b> (on windows XP). And choose one of the restore point.<br />
<br />
This steps help in many cases of viruses first attack. The computer will be fine after restart (after system restore). Hope this help to your viruses problem to.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7561694047966070146.post-11369208549710621392010-05-03T20:04:00.001+07:002010-05-03T22:34:25.207+07:00Wvdial No Carrier and Invalid Dial Command Now SolvedWhen you connecting to internet by your modem with wvdial sometimes you find that you cannot connect to internet, and there are errror message on the wvdial. The error message is no carrier or invalid dial command. And the answer is simple.<br />
<a name='more'></a><br />
<div id="lijit_region_61057"></div><script src="http://www.lijit.com/delivery/fp?u=zulian&i=lijit_region_61057&z=61057&n=3" type="text/javascript">
</script><br />
Here I will show you how to solve this problem. I finally found the way to connect to internet with the same program and the same modem. To solve the problem you need to make sure your modem plugged on /dev/ttyUSB0 (I use ubuntu). The message no carrier and invalid dial command show when the modem on /dev/ttyUSB1 or /dev/ttyUSB2 or anything else besides /dev/ttyUSB0.<br />
<br />
Then to solve this problem, all you need to do is to plug your modem on /dev/ttyUSB0. And that's it.Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-7561694047966070146.post-17487566852061774822010-04-08T13:55:00.002+07:002010-04-08T13:58:54.450+07:00Save and Protect Your Password from KeyloggerKeylogger is an application that captures and record every keystroke that is typed on your keyboard. This application is used by a computer criminals to steal your data (such your username and password). You need to protect yourself against this kind of software.<br />
<a name='more'></a><br />
<div id="lijit_region_61057"></div><script src="http://www.lijit.com/delivery/fp?u=zulian&i=lijit_region_61057&z=61057&n=3" type="text/javascript">
</script><br />
First and off course you need to have your firewall turn on and have your good antivirus keep updated. The firewall may not stopping this software from capturing your keystrokes, but firewall can prevent the transmission of your stolen data to the bad guys. An antivirus is important to clean out the keylogger that they detect.<br />
<br />
Then how to prevent a keylogger from capturing our data? The answer is simple, you can use an on screen keyboard. You may use an on screen keyboard of your operating system, or you can install your preferred an on screen keyboard application by yourself. With this application, you can keep your hands free from keyboard because you only use the mouse.<br />
<br />
I usually use on screen keyboard application when I enter a username and password on a public computer. Hope this article help you to secure your data.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7561694047966070146.post-57220596607896522542010-04-02T00:38:00.001+07:002010-04-03T13:04:07.693+07:00Run Two or Multiple (Many) Yahoo Messenger on Windows by Editing RegistrySometimes we have many yahoo messenger ID and we want to login at the same time. Or several people that have yahoo messenger ID on each and want to login on the same computer. There will be a question "how to run multiple yahoo messenger on one computer?" The answer is here.<br />
<a name='more'></a><br />
<div id="lijit_region_61057"></div><script src="http://www.lijit.com/delivery/fp?u=zulian&i=lijit_region_61057&z=61057&n=3" type="text/javascript">
</script><br />
All you need to do is editing your registry. This is the step :<br />
1. Go to Start > Run (or Windows key + R).<br />
2. Type regedit and hit enter.<br />
3. Go to HKEY_CURRENT_USER > Software > Yahoo > Pager > Test<br />
4. Right click and add new DWORD value.<br />
5. Give the name of the DWORD.<br />
6. Right click on the DWORD and and choose modify.<br />
7. Give 1 on the value data.<br />
8. Close the editor and you can use multi yahoo messenger now.Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7561694047966070146.post-5078204573439281592010-03-28T20:50:00.002+07:002010-03-28T20:55:11.899+07:00Google Chrome Not Only A Web Browser, But Also A Video And Music PlayerGoogle Chrome is very popular now, you must be knew of it and maybe you love to use this web browser. Its very popular because its fast and and use less of your memory than other browser. This browser has a different control of every single tab, not like most of browser. But, do you know that Google Chrome can play video and music?<br />
<a name='more'></a><br />
<div id="lijit_region_61057"></div><script src="http://www.lijit.com/delivery/fp?u=zulian&i=lijit_region_61057&z=61057&n=3" type="text/javascript">
</script><br />
Yes, Google Chrome can play video and music. To play video and music on Google Chrome, you just need to drag the mp3 or mp4 file to the browser. This is the screenshot when I play Bon Jovi song on Google Chrome.<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimALw7ZjJZrv4PO_v89TRJKv-t-1mZhxz6KfUi9WZs8B4V61WDBZxyuzZw4-8ytawlwsr81Nf6cj15evsxp2xNcTrdjDqAxCE48aA8COIKHSWG1KN_WorQjIaJjlfl_i_hvTT5vnbAi0w/s1600/chrome-mp3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimALw7ZjJZrv4PO_v89TRJKv-t-1mZhxz6KfUi9WZs8B4V61WDBZxyuzZw4-8ytawlwsr81Nf6cj15evsxp2xNcTrdjDqAxCE48aA8COIKHSWG1KN_WorQjIaJjlfl_i_hvTT5vnbAi0w/s320/chrome-mp3.JPG" /></a></div><br />
And Here is the screenshot when I play video. I play Nirvana song, Where did you sleep last night.<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3bd1f2WbnNizIxtVAgRDc5Cu6b0cHd1cFcm_UUFfVsPSW-rs3s6MVSydtlNOrt0mK1ea9NwkSGiXIOTujxMnO73MfbKnXiAgxQ57retAYADmpH81oK1yF3o1d3ZuwzDdMjJlgSH4I0Js/s1600/chrome-mp4.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3bd1f2WbnNizIxtVAgRDc5Cu6b0cHd1cFcm_UUFfVsPSW-rs3s6MVSydtlNOrt0mK1ea9NwkSGiXIOTujxMnO73MfbKnXiAgxQ57retAYADmpH81oK1yF3o1d3ZuwzDdMjJlgSH4I0Js/s320/chrome-mp4.JPG" /></a></div><br />
As far as I know, Google Chrome can play mp3 and mp4 file. But you can explore many more file type by yourself.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7561694047966070146.post-61443969698622382672010-03-14T23:32:00.000+07:002010-03-14T23:32:26.228+07:00Clear Your Recent Documents and Run Command History on WindowsSometimes you need to clear history of your recent documents that you opened and clear your recent run command history. There's an easy way to do it.<br />
<a name='more'></a><br />
<div id="lijit_region_61057"></div><script src="http://www.lijit.com/delivery/fp?u=zulian&i=lijit_region_61057&z=61057&n=3" type="text/javascript">
</script><br />
This is the step to do :<br />
1. Right click on Start menu, than click properties.<br />
2. Then click customize on start menu option.<br />
3. Choose advanced.<br />
4. Find words "Recent documents", and then click Clear List.<br />
<br />
Now all of your recent documents and your recent run command history are cleared.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7561694047966070146.post-54537500506766763252010-03-12T07:09:00.001+07:002010-03-12T07:11:49.858+07:00Save 20% of Your Bandwidth from WindowsDo you know that if we use windows we cannot use all of our bandwidth? Windows always use 20% of our bandwidth for its updates or anything else. To make you able to use all the bandwidth you need to do two things.<br />
<a name='more'></a><br />
First, you need to turn off windows automatic updates. You can go to Control Panel -- Security Center, and then switch off the Automatic Updates.<br />
<br />
<div id="lijit_region_61057"></div><script type="text/javascript" src="http://www.lijit.com/delivery/fp?u=zulian&i=lijit_region_61057&z=61057&n=3"></script><br />
Secondly, you need to release 20% of your bandwidth that used by windows. You can do this by :<br />
1. Click Start -- Run (windows key + R), and type gpedit.msc and press enter.<br />
2. Go to Administrative Templates -- Network -- QoS Packet Scheduler -- Limit Reservable bandwidth.<br />
3. Set it to enabled, and set the bandwidth limit to 0.<br />
4. Press Apply and OK.<br />
<br />
Thats it, since the bandwidth has been set to 0 for windows, now you can get 100% of your bandwidth.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7561694047966070146.post-37983195260138663702010-02-23T22:00:00.006+07:002010-02-23T22:14:16.737+07:00View Video Memory (Display Memory) Size on Linux (Ubuntu) from Command LineYou may need to see your video memory size on your linux computer. Here I will show you how to do it from command line. All you need to complete the mission is <i><b>lspci</b></i> command.<br />
<div><br />
</div><div>So, type this on terminal :</div><div></div><div><b><a name='more'></a></b><br />
<b>$ lspci</b><br />
<b><br />
</b></div><div><div id="lijit_region_61057"></div><script src="http://www.lijit.com/delivery/fp?u=zulian&i=lijit_region_61057&z=61057&n=3" type="text/javascript">
</script></div><br />
<div>Then you will get something like this :</div><div><br />
<div>00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)</div><div><span class="Apple-style-span" style="color: #990000;">00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)</span></div><div>00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)</div><div>00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)</div><div>00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)</div><div>00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)</div><div>00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)</div><div>00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)</div><div>00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)</div><div>00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)</div><div>00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)</div><div>00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)</div><div>00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)</div><div>00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)</div><div>00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)</div><div>00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)</div><div>00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)</div><div>00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)</div><div>00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)</div><div>00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)</div><div>00:1f.2 IDE interface: Intel Corporation ICH9M/M-E 2 port SATA IDE Controller (rev 03)</div><div>00:1f.5 IDE interface: Intel Corporation ICH9M/M-E 2 port SATA IDE Controller (rev 03)</div><div>01:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)</div><div>07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)</div><div>08:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)</div><div>08:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)</div><div>08:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)</div><div>08:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev ff)</div><div><br />
</div><div>From that result, you need to find word "VGA", I give a red color for that word on above lspci command result. Take the string (<span class="Apple-style-span" style="color: #990000;">00:02.0<span class="Apple-style-span" style="color: black;">) on the left side.</span></span></div><div><span class="Apple-style-span" style="color: #990000;"><span class="Apple-style-span" style="color: black;"><br />
</span></span></div><div><span class="Apple-style-span" style="color: #990000;"><span class="Apple-style-span" style="color: black;">Type on terminal :</span></span></div><div><span class="Apple-style-span" style="color: #990000;"><span class="Apple-style-span" style="color: black;"><br />
</span></span></div><div><b>$ lspci -v -s 00:02.0</b></div><div><br />
</div><div>And you will get a result like this :</div><div><br />
</div><div><div>00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)</div><div><span class="Apple-tab-span" style="white-space: pre;"> </span>Subsystem: Benq Corporation Device 0803</div><div><span class="Apple-tab-span" style="white-space: pre;"> </span>Flags: bus master, fast devsel, latency 0, IRQ 31</div><div><span class="Apple-tab-span" style="white-space: pre;"> </span>Memory at fd800000 (64-bit, non-prefetchable) [size=4M]</div><div><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-style-span" style="color: #990000;">Memory at d0000000 (64-bit, prefetchable) [size=256M]</span></div><div><span class="Apple-tab-span" style="white-space: pre;"> </span>I/O ports at cc00 [size=8]</div><div><span class="Apple-tab-span" style="white-space: pre;"> </span>Capabilities: <access denied=""></access></div><div><span class="Apple-tab-span" style="white-space: pre;"> </span>Kernel driver in use: i915</div><div><span class="Apple-tab-span" style="white-space: pre;"> </span>Kernel modules: i915</div><div><br />
</div><div>You can see from the result above that the video memory of the computer is 256 MB.</div></div></div>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7561694047966070146.post-31028087978342890642010-02-04T17:38:00.001+07:002010-02-04T17:40:00.115+07:00Install Stardict, Your Offline Linux Dictionary on Ubuntu 9.10On Ubuntu 9.10 you find already installed dictionary, but to use the dictionary you need to go online. Without the internet connection you cannot use the dictionary. Then you need an offline dictionary so you can use have a dictionary even you are not online.<br />
<br />
The dictionary that I will recommend to you is stardict. Here I will show you the steps to install it. First you need to install the stardict from the repository.<br />
<a name='more'></a><br />
<span class="Apple-style-span" style="color: #990000;">$ sudo apt-get install stardict</span><br />
<br />
Then you need to install the language on your dictionary. Here, I install indonesian-english and english-indonesian. Download the dictionary and install it.<br />
<br />
<div id="lijit_region_61057"></div><script src="http://www.lijit.com/delivery/fp?u=zulian&i=lijit_region_61057&z=61057&n=3" type="text/javascript">
</script><br />
<span class="Apple-style-span" style="color: #990000;">$ wget http://transact.dl.sourceforge.net/sourceforge/stardict/stardict-quick_eng-ind-2.4.2.tar.bz2</span><br />
<span class="Apple-style-span" style="color: #990000;">$ wget http://transact.dl.sourceforge.net/sourceforge/stardict/stardict-quick_ind-eng-2.4.2.tar.bz2</span><br />
<span class="Apple-style-span" style="color: #990000;">$ tar -xjvf stardict-quick_eng-ind-2.4.2.tar.bz2</span><br />
<span class="Apple-style-span" style="color: #990000;">$ tar -xjvf stardict-quick_ind-eng-2.4.2.tar.bz2</span><br />
<span class="Apple-style-span" style="color: #990000;">$ sudo mv stardict-quick_eng-ind-2.4.2 /usr/share/stardict/dic</span><br />
<span class="Apple-style-span" style="color: #990000;">$ sudo mv stardict-quick_ind-eng-2.4.2 /usr/share/stardict/dic</span><br />
<br />
Well done, the dictionary is installed and ready to use. You can find stardict dictionary on Apllications - Accessories - StarDict.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7561694047966070146.post-76191186535888023432010-01-28T20:56:00.002+07:002010-05-12T18:00:04.100+07:00Split File in Linux With Rar From Command LineYou may want to compress a large file and split it using rar and you want to do it from command line. Then your command that you need is here.<br />
<br />
For example, you want to split a file in 5 MB size. The command is :<br />
<a name='more'></a><br />
<b>$ rar a -v5120k file outfile</b><br />
<br />
That's it, you're done here.<br />
<br />
<div id="lijit_region_61057"></div><script src="http://www.lijit.com/delivery/fp?u=zulian&i=lijit_region_61057&z=61057&n=3" type="text/javascript"></script>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7561694047966070146.post-87363807440932714802010-01-25T01:55:00.004+07:002010-05-12T21:41:45.668+07:00Install Madwifi for Atheros Card on Ubuntu 9.10By default Ubuntu has its wireless driver installed. But sometimes you got your wireless not working after installed Ubuntu. Then you may need to install another driver like madwifi or using ndiswrapper. On this article I will show you how to install madwifi-hal-0.10.5.6 on Ubuntu 9.10.<br />
<a name='more'></a><br />
First you need to need to get the madwifi-hal-0.10.5.6 on your computer. You can download it. After that, you need to extract madwifi. Sometimes you got an error while installing madwifi like this :<br />
<br />
<span style="color: #990000;">zulian@zulianz:~/App/Linux Native/madwifi/madwifi-hal-0.10.5.6-r4100-20090929$ make</span><br />
<span style="color: #990000;">Checking requirements... ok.</span><br />
<span style="color: #990000;">Checking kernel configuration... ok.</span><br />
<span style="color: #990000;">make -C /lib/modules/2.6.31-17-generic/build SUBDIRS=/home/zulian/App/Linux Native/madwifi/madwifi-hal-0.10.5.6-r4100-20090929 modules</span><br />
<span style="color: #990000;">make[1]: Entering directory `/usr/src/linux-headers-2.6.31-17-generic'</span><br />
<span style="color: #990000;">make[1]: *** No rule to make target `Native/madwifi/madwifi-hal-0.10.5.6-r4100-20090929'. Stop.</span><br />
<span style="color: #990000;">make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-17-generic'</span><br />
<span style="color: #990000;">make: *** [modules] Error 2</span><br />
<br />
<div id="lijit_region_61057"></div><script src="http://www.lijit.com/delivery/fp?u=zulian&i=lijit_region_61057&z=61057&n=3" type="text/javascript">
</script><br />
That error happen because you install madwifi not in the right directory. You need to place the madwifi folder under /usr/src directory. And then go to madwifi folder that you just copied.<br />
<br />
<span style="color: #990000;">$ cd /usr/src/madwifi-hal-0.10.5.6-r4100-20090929/</span><br />
<br />
then you can do the normal scenario, "make" and "make install" :<br />
<br />
<span style="color: #990000;">$ sudo make</span><br />
<span style="color: #990000;"><br />
</span><br />
<span style="color: #990000;">$ sudo make install</span><br />
<br />
Don't forget to do this to make the driver work :<br />
<br />
<span style="color: #990000;">$ sudo modprobe ath_pci</span><br />
<br />
Then add ath_pci to <span style="color: #990000;">/etc/modules</span><br />
<br />
Go to <span style="color: #990000;">/etc/modprobe.d/blacklist-ath_pci.conf</span><br />
comment the ath_pci,<br />
ath_pci --become-- # ath_pci<br />
<br />
The last step to do is blacklisting ath5k.<br />
Open <span style="color: #990000;">/etc/modprobe.d/blacklist.conf</span> and add this line :<br />
blacklist ath5k<br />
<br />
That's it. You may need to reboot your system to make it work.Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-7561694047966070146.post-722988710435468402010-01-20T13:01:00.005+07:002010-01-20T13:18:00.969+07:00Paypal WishList (Facebook) Prize has come, Claim Your Payment NowRemember with Paypal promotion "Paypal WishList" on Facebook? Yes, If you are paypal user from asia, you are eligible for this promotion. You can earn up to $100 from this promotion. And now, the payment has come, you can look at your Paypal account.<br />
<br />
But the payment is still being made, so if you don't receive the payment yet please don't worry and please be patient. The payment process take about 30 days to complete. So, not all of you receive the payment yet. But I do receive the payment already on January 19. I got $55 from this paypal promotion and already on my Paypal account.<br />
<a name='more'></a><br />
If you got a payment, you will receive an email like this :<br />
<br />
<span style="color: #674ea7;">YOU'VE GOT CASH! Thanks for participating in the Paypal WishList Promotion,</span><br />
<span style="color: #674ea7;"><br />
</span><br />
<span style="color: #674ea7;">Hi My Name (censored),</span><br />
<span style="color: #674ea7;"><br />
</span><br />
<span style="color: #674ea7;">Did your friends take your hint to buy you gifts you asked for using your PayPal WishList you created in Facebook? We sure hope so! And just as we've promised, you've earned some cash for helping us spread the word about the PayPal WishList app. We also hope you've enjoyed using it.</span><br />
<span style="color: #674ea7;"> </span><span style="white-space: pre;"><span style="color: #674ea7;"> </span></span><br />
<span style="color: #674ea7;">The cash you've earned from the WishList promotion will be credited into your PayPal account. (If you don't see the earnings just yet, it means we're still working on it and we'll credit it to your account shortly.) To claim your money, log in to your account and click "Accept" next to the earnings - you'll have 30 days to claim your money. </span><span style="white-space: pre;"><span style="color: #674ea7;"> </span></span><span style="color: #674ea7;"> </span><br />
<span style="color: #674ea7;"> LOG IN</span><br />
<span style="white-space: pre;"> </span><br />
<div></div><div id="lijit_region_61057"></div><script src="http://www.lijit.com/delivery/fp?u=zulian&i=lijit_region_61057&z=61057&n=3" type="text/javascript">
</script><br />
<div><br />
And another email like this :<br />
</div><div><br />
</div><div><div><span style="color: #674ea7;">You've got new funds</span><br />
</div><div><span style="color: #674ea7;"><br />
</span><br />
</div><div><span style="color: #674ea7;">Hello My Name(censored),</span><br />
</div><div><span style="color: #674ea7;"><br />
</span><br />
</div><div><span style="color: #674ea7;">PayPal Private Limited ROW Masspay just sent you money with PayPal.</span><br />
</div><div><span style="color: #674ea7;"><br />
</span><br />
</div><div><span style="color: #674ea7;">Payment details</span><br />
</div><div><span style="color: #674ea7;"> Amount: </span><span style="white-space: pre;"><span style="color: #674ea7;"> </span></span><span style="color: #674ea7;">$55,00 USD</span><br />
</div><div><span style="color: #674ea7;">Transaction Date: </span><span style="white-space: pre;"><span style="color: #674ea7;"> </span></span><span style="color: #674ea7;">19. Jan 2010</span><br />
</div><div><span style="color: #674ea7;"> Transaction ID: </span><span style="white-space: pre;"><span style="color: #674ea7;"> </span></span><span style="color: #674ea7;">xxxxxxxxxxxx(censored)</span><br />
</div><div><span style="color: #674ea7;"> Custom note: </span><span style="white-space: pre;"><span style="color: #674ea7;"> </span></span><span style="color: #674ea7;">"You¡¯ve got money! Thank you for participating in our</span><br />
<span style="color: #674ea7;"> Facebook WishList promotion. Your eligible earnings</span><br />
<span style="color: #674ea7;"> which comply with the terms and conditions of the</span><br />
<span style="color: #674ea7;"> campaign have now been deposited in your PayPal</span><br />
<span style="color: #674ea7;"> account. To claim it, log in to your PayPal account </span><br />
<span style="color: #674ea7;"> and click ¡®Accept¡¯. You'll have 30 days to claim</span><br />
<span style="color: #674ea7;"> your money. Enjoy! The PayPal Asia Team"</span><br />
</div><div><br />
</div><div><br />
</div><div>On that email, you are ask to login to your Paypal account and click an accept button or link. The accept button or link just only show if your email on your Paypal is not confirmed yet. So you click the "Accept Payment" link on your Paypal account to confirm your email and receive the payment.<br />
</div><div><br />
</div><div>But if your email on your Paypal account is already confirmed then you don't need to click "Accept" link or button. The payment will automatically go to your Paypal account, just check it out. Because the "Accept Payment" button or link will not shown on paypal account that has already confirmed email.<br />
</div></div>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7561694047966070146.post-45992932171541957502010-01-18T20:56:00.004+07:002010-05-12T21:40:09.378+07:00Make Transparent Proxy With Squid on Linux (Ubuntu 9.10)To make a transparent proxy you need to redirect all port that you want to squid port. This article will guide you to make a transparent proxy server on Ubuntu 9.10. First thing you need to do are installing squid on your computer that will become a proxy server. You can install it with apt-get command, like this :<br />
<a name='more'></a><br />
<span style="color: #990000;">$ sudo apt-get install squid</span><br />
<br />
Then you need to configure your squid. Open your squid file configuration :<br />
<br />
<span style="color: #990000;">$ sudo /etc/squid/squid.conf</span><br />
<br />
Add this line on http_port tag (under “# Squid normally listens to port 3128") :<br />
<br />
<span style="color: #274e13;">http_port 3128 transparent</span><br />
<br />
<div id="lijit_region_61057"></div><script src="http://www.lijit.com/delivery/fp?u=zulian&i=lijit_region_61057&z=61057&n=3" type="text/javascript">
</script><br />
And then make your own rules. In this example I will only use the minimal configuration. Add this line to define the network (LAN) and permit the network use the squid proxy :<br />
<br />
<span style="color: #274e13;">acl src LAN 192.168.2.0/24</span><br />
<span style="color: #274e13;">http_access allow LAN</span><br />
<span style="color: #274e13;">icp_access allow LAN</span><br />
<br />
Save the squid configuration file and restart the squid to make the changes take effect. You can restart squid with this command :<br />
<br />
<span style="color: #990000;">$ sudo service squid restart</span><br />
<br />
That minimal configuration will make squid run, But not transparent yet. To make it transparent you need to configure your iptables. You need to make a iptables configuration file on your gateway, like this (assume your proxy server is on IP 192.168.2.1) :<br />
<br />
<span style="color: #990000;">$ sudo vi /etc/iptables.conf</span><br />
<br />
then write this on that file :<br />
<br />
<span style="color: #274e13;">*filter</span><br />
<span style="color: #274e13;">:INPUT ACCEPT [4:212]</span><br />
<span style="color: #274e13;">:FORWARD ACCEPT [0:0]</span><br />
<span style="color: #274e13;">:OUTPUT ACCEPT [4:172]</span><br />
<span style="color: #274e13;">COMMIT</span><br />
<span style="color: #274e13;"># Completed on Sat May 30 15:59:04 2009</span><br />
<span style="color: #274e13;"># Generated by iptables-save v1.4.0 on Sat May 30 15:59:04 2009</span><br />
<span style="color: #274e13;">*nat</span><br />
<span style="color: #274e13;">:PREROUTING ACCEPT [0:0]</span><br />
<span style="color: #274e13;">:POSTROUTING ACCEPT [1:52]</span><br />
<span style="color: #274e13;">:OUTPUT ACCEPT [1:52]</span><br />
<span style="color: #274e13;">[2:120] -A PREROUTING -s 192.168.2.0/24 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.2.1:3128</span><br />
<span style="color: #274e13;">[0:0] -A PREROUTING -s 192.168.2.0/24 -p tcp -m tcp --dport 81 -j DNAT --to-destination 192.168.2.1:3128</span><br />
<span style="color: #274e13;">[0:0] -A PREROUTING -s 192.168.2.0/24 -p tcp -m tcp --dport 8080 -j DNAT --to-destination 192.168.2.1:3128</span><br />
<span style="color: #274e13;">[0:0] -A PREROUTING -s 192.168.2.0/24 -p tcp -m tcp --dport 3128 -j DNAT --to-destination 192.168.2.1:3128</span><br />
<span style="color: #274e13;">[0:0] -A POSTROUTING -s 192.168.2.0/24 -j MASQUERADE</span><br />
<span style="color: #274e13;">COMMIT</span><br />
<br />
Save your iptables configuration file. and then make another file so your iptables will always load when your computer boot. Make The file :<br />
<br />
<span style="color: #990000;">$ sudo vi /etc/init.d/iptables</span><br />
<br />
Write on that file :<br />
<br />
<span style="color: #274e13;">#! /bin/bash</span><br />
<span style="color: #274e13;">echo 1 > /proc/sys/net/ipv4/ip_forward</span><br />
<span style="color: #274e13;">iptables-restore < /etc/iptables.conf</span><br />
<br />
Save the file, and make it executable :<br />
<br />
<span style="color: #990000;">$ sudo chmod +x /etc/init.d/iptables</span><br />
<br />
<span style="color: #990000;">$ update-rc.d iptables defaults</span><br />
<br />
You may need to reboot your computer to make it work. Well done, now your transparent proxy is ready to use.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7561694047966070146.post-44263184179890818352010-01-17T11:34:00.001+07:002010-01-17T11:35:41.428+07:00Make Your Own Socks 5 Proxy With SSH TunnelWe know that socks 5 proxy is very good and anonymous. Now you can make your socks 5 proxy with the help of ssh. You can make it by tunneling connection through your remote computer on a network or internet with ssh.<br />
<a name='more'></a><br />
You just need this command on terminal :<br />
<br />
<span style="color: #990000;">$ ssh -D port user@remote_computer</span><br />
<br />
<div id="lijit_region_61057"></div><script src="http://www.lijit.com/delivery/fp?u=zulian&i=lijit_region_61057&z=61057&n=3" type="text/javascript">
</script><br />
example :<br />
<br />
<span style="color: #990000;">$ ssh -D 1234 john@100.100.100.100</span><br />
<br />
-D option here is for tunneling, and port is the port you are using to connect to your remote computer. I use port 1234 here on example.<br />
<br />
To use this socks proxy, for example on a browser you need to fill the socks proxy address with "localhost" and port 1234, and choose socks 5 proxy.Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-7561694047966070146.post-48897810164351420992010-01-15T10:24:00.002+07:002010-01-15T10:28:49.673+07:00Login Through SSH Without PasswordSometimes we need to login through ssh without password. SSH just need the client's public key to be copied on its directory. With this key, ssh recognize the client as a good client or authorized client, not bad client or intruder. To do this, first you need to generate a key.<br />
<a name='more'></a><br />
Use this command to generate ssh key :<br />
<br />
<span style="color: #660000;">$ ssh-keygen -t dsa</span><br />
<br />
you can let the passphrase empty.<br />
<br />
<div id="lijit_region_61057"></div><script src="http://www.lijit.com/delivery/fp?u=zulian&i=lijit_region_61057&z=61057&n=3" type="text/javascript"></script><br />
<br />
Then copy your ssh public key to your remote computer. You can use this command :<br />
<br />
<span style="color: #660000;">$ scp ~/.ssh/id_dsa.pub user@remote_computer:.ssh/authorized_keys</span><br />
<br />
Its done, now you can login to your remote computer without being asked for a password.Unknownnoreply@blogger.com0