<?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-7412437316807711718</id><updated>2011-04-22T03:59:48.292+07:00</updated><category term='Mobile Phone'/><category term='Software'/><category term='Server'/><category term='IT News'/><category term='Linux Tips n Trick'/><category term='Linux'/><title type='text'>Technology,Information Technology N Tips n Trick</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://itechno23.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://itechno23.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Techno</name><uri>http://www.blogger.com/profile/04294542666339882203</uri><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>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7412437316807711718.post-3172804758249119656</id><published>2008-06-11T13:22:00.000+07:00</published><updated>2008-06-11T13:32:10.208+07:00</updated><title type='text'>HP launches broad array of redesigned notebooks, displays</title><content type='html'>&lt;span class="artText"&gt;In one of its largest product releases, HP unveiled a bevy of PCs and displays, zeroing in on key trends such as touch-screen                      technology and compact laptops for business and consumer users.&lt;br /&gt;&lt;/span&gt;&lt;span class="artText"&gt;&lt;p class="ArticleBody" page="1"&gt;HP made the announcements during its "Connecting Your World" conference in Berlin on Tuesday.&lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;HP brought out 16 laptops, including fresh models for its Compaq "b" and "s" series for business users as well as the Compaq                      Presario and Pavilion line. The company also introduced a new series, EliteBook.                   &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;EliteBook models have a brushed anodized aluminum casing with a magnesium alloy chassis, which HP says complies with military-standard durability. The hard drive is shock-resistant, and the keyboard is spill-resistant. One version of the EliteBook, the 6930p, has up to 15 hours of battery life with an optional ultracapacity battery, HP said. &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;Some of HP's new laptops have the latest chips from Advanced Micro Devices, such as that company's Turion 64x2 ultra dual-core                      mobile processor. Other models have Intel's Centrino 2 and Centrino 2 with vPro, HP said.                   &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;HP said it has put some features previously only in business-class notebooks into consumer models. One is HP's ProtectSmart Hard Drive Protection, which can stop a hard drive from spinning if the computer senses the laptop is falling. That feature has been incorporated in the consumer-focused Pavilion line. &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;HP also rolled out the Voodoo Omen desktop and the Voodoo Envy 133 laptop, which are aimed at gamers and other demanding consumers.&lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;The Voodoo Omen can support up to four graphics processors. Omen also has copper cooling pipes, and since it is liquid cooled, HP said it runs quietly even when pushed hard. Omen starts at $7,000 and will only initially be available to those who bought a Voodoo PC before, HP said, although it will be more broadly available in around three months. &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;The Voodoo Envy laptop, which costs $2,099, has a carbon-fiber casing, a backlight keyboard and a "multigesture" touchpad,                      supporting pinch-like movements.                   &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;On the desktop, HP has launched a line that features touch-screen interfaces. Users can tap or drag a finger across the screen of the TouchSmart series of PCs to access basic features such as playing music or manipulating audio or video files. &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;TouchSmart PCs have a 22-inch diagonal wide-screen display, built-in DVD burner, wireless keyboard, and sport an Intel Core                      2 Duo processor.                   &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;HP said its new DreamColor display -- an LCD (liquid-crystal display) that supports 1 billion colors -- costs just a quarter                      of competing displays. DreamColor will sell for US$3,499.                   &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;The company said DreamColor will accurately display colors for people where color matching has been a tricky task, such as the animation, game development and graphics arts industries. DreamColor, HP claims, cuts down on the need for multiple proofs, redesigns and color checks. &lt;/p&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="fullpost"&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/7412437316807711718-3172804758249119656?l=itechno23.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itechno23.blogspot.com/feeds/3172804758249119656/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7412437316807711718&amp;postID=3172804758249119656' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/3172804758249119656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/3172804758249119656'/><link rel='alternate' type='text/html' href='http://itechno23.blogspot.com/2008/06/hp-launches-broad-array-of-redesigned.html' title='HP launches broad array of redesigned notebooks, displays'/><author><name>Techno</name><uri>http://www.blogger.com/profile/04294542666339882203</uri><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-7412437316807711718.post-2562355527622092548</id><published>2008-06-11T13:20:00.000+07:00</published><updated>2008-06-11T13:21:30.073+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IT News'/><title type='text'>Sun Solaris going on Fujitsu's Intel servers</title><content type='html'>&lt;span class="artText"&gt;Sun Microsystems is announcing an agreement Tuesday with Fujtisu Siemens Computers to have Sun's Solaris operating system                      distributed with select Fujitsu Primergy servers.&lt;br /&gt;&lt;/span&gt;&lt;span class="artText"&gt;&lt;p class="ArticleBody" page="1"&gt;Solaris 10 will be offered on Intel x/86/x64 boxes. The two companies plan to work together to certify solutions based on                      Solaris and Primergy hardware.                   &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;Sun touted Solaris capabilities in scalability, reliability, and virtualization. Multi-core deployments are supported as well.&lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;"We are essentially one of the three big OSes that run on the Intel architecture right now, the other two being the Microsoft                      family and the Linux family," said Herb Hinstoff, Sun director of Solaris marketing.                   &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;But Fujitsu users would not get capabilities offered in the open-source version of Solaris, called &lt;a href="http://www.infoworld.com/article/08/05/04/OpenSolaris-OS-officially-debuts_1.html" class="regularArticleU"&gt;OpenSolaris&lt;/a&gt;, such as Image Packaging System, for simplifying installation and integration with third-party applications.                   &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;Solaris 10, though, is the enterprise-strength version of Solaris, while OpenSolaris is considered more as a platform for developers to build next-generation applications, according to Hinstoff. The plan, however, is that OpenSolaris bits eventually would become the next major enterprise version of Solaris.  &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;Previously, Fujitsu has supported Solaris on SPARC-based servers, Sun said. Primergy users will gain access to the 10 5/08                      update of Solaris, featuring power management capabilities for x86 processors from AMD and Intel.                   &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;Other companies bundling Solaris on Intel-based systems include Intel, IBM, Dell and Sun itself, Hinstoff said.&lt;/p&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="fullpost"&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/7412437316807711718-2562355527622092548?l=itechno23.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itechno23.blogspot.com/feeds/2562355527622092548/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7412437316807711718&amp;postID=2562355527622092548' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/2562355527622092548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/2562355527622092548'/><link rel='alternate' type='text/html' href='http://itechno23.blogspot.com/2008/06/sun-solaris-going-on-fujitsus-intel.html' title='Sun Solaris going on Fujitsu&apos;s Intel servers'/><author><name>Techno</name><uri>http://www.blogger.com/profile/04294542666339882203</uri><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-7412437316807711718.post-666683027249181406</id><published>2008-06-11T12:55:00.000+07:00</published><updated>2008-06-11T13:19:56.905+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IT News'/><title type='text'>Mac security gets a business boost</title><content type='html'>&lt;span class="artText"&gt;Businesses often thwart Macs from infiltrating their laptop ranks, and one reason given is that there's no good way of encrypting data. A lost personal Mac may bring a few tears to the hapless owner, but a corporate Mac with sensitive data falling into the wrong hands is a lawsuit in the making and potential headline-grabber.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="artText"&gt;&lt;p class="ArticleBody" page="1"&gt;Lack of good Mac encryption, though, is quickly becoming a bugaboo.&lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;Yesterday, PGP Corp., a well-known vendor of enterprise data protection, said it plans to ship a full-disk encryption product for Mac OS X next month. This comes on the heels of a similar announcement: Check Point Software said in late May that it has &lt;a href="http://www.techworld.com/news/index.cfm?rss&amp;amp;newsid=101630" target="_blank" class="regularArticleU"&gt;shipped the industry's first full-disk encryption for Mac OS X&lt;/a&gt;.&lt;br /&gt;&lt;/p&gt;&lt;p class="ArticleBody" page="1"&gt;&lt;span class="artText"&gt;&lt;p class="ArticleBody" page="1"&gt;There's no question tech vendors that serve businesses are swooning over the Mac. "The Mac is starting to make its appearance in the enterprise to a greater extent," says Jon Oltsik, analyst at the Enterprise Strategy Group. "There's definitely demand for more enterprise-class systems management, desktop operations, and security tools." &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;Forrester Research figures Mac adoption in businesses tripled last year to 4.2 percent, largely due to grassroots efforts                      by small workgroups to bring Macs to work. As more employees demand Macs, &lt;a href="http://www.infoworld.com/article/08/04/21/17FE-macs-in-business_1.html" class="regularArticleU"&gt;business can no longer turn a blind eye&lt;/a&gt;.                   &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;Jon Allen, information security officer at Baylor University in Texas, has seen first-hand the pendulum shift a couple of times. Nearly all students and faculty worked on Macs until the mid-1990s when Windows PCs began to take over. By 2005, "we were a 95-percent PC shop," Allen says. "But now we're definitely seeing an increase in our Mac population on campus." &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;Today, Allen supports 580 Windows PCs and some 150 Macs. Securing Mac data through encryption hasn't been easy. Mac OS X comes                      with FileVault, an encryption tool for the home directory -- a tool Allen dislikes.                   &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;For starters, FileVault can have lawyers fuming. If a Mac is lost, attorneys don't have assurances that sensitive data actually resided in the home directory and thus was encrypted. And so they can't make their case when fronted with Texas law concerning loss of sensitive information. What they need is &lt;a href="http://www.cio.com/article/147900/How_to_Lock_Up_Laptop_Security" class="regularArticleU"&gt;full-disk encryption&lt;/a&gt; to ensure everything on the Mac wasn't accessible.&lt;br /&gt;&lt;/p&gt;&lt;p class="ArticleBody" page="1"&gt;&lt;span class="artText"&gt;&lt;p class="ArticleBody" page="1"&gt;Another problem with FileVault: Some Mac users at Baylor had forgotten their FileVault passwords and lost data. That's &lt;a href="http://www.infoworld.com/article/08/02/21/Hard-drive-encryption-has-Achilles-heel-say-researchers_1.html" class="regularArticleU"&gt;a problem&lt;/a&gt; with a client-only solution. A business, on the other hand, needs centralized management of encryption tools for installation and backup, as well as repairs -- that is, technicians and help desk need a pathway to get into the computer. "We encouraged people not to turn on FileVault until we have an enterprise solution," Allen says. &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;Allen currently doesn't encrypt data on Macs, but he's been beta testing PGP's full-disk encryption and plans to roll it out when the product becomes available. Not only will full-disk encryption better protect the university, but PGP's &lt;a href="http://www.infoworld.com/article/07/06/27/26TCnetshare_1.html" class="regularArticleU"&gt;centralized management tools&lt;/a&gt; should make his job easier.                   &lt;/p&gt;                   &lt;p class="ArticleBody" page="1"&gt;Centralized IT management is key for businesses, agrees analyst Oltsik. "There will be smaller companies who do encryption for the Mac that will be a great fit for the consumer but that is not going to make it in the enterprise," he says. "Enterprises want big names and central management ... and the PGPs of the world supporting the Mac is an important step." &lt;/p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7412437316807711718-666683027249181406?l=itechno23.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itechno23.blogspot.com/feeds/666683027249181406/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7412437316807711718&amp;postID=666683027249181406' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/666683027249181406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/666683027249181406'/><link rel='alternate' type='text/html' href='http://itechno23.blogspot.com/2008/06/mac-security-gets-business-boost.html' title='Mac security gets a business boost'/><author><name>Techno</name><uri>http://www.blogger.com/profile/04294542666339882203</uri><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-7412437316807711718.post-2336459930286229584</id><published>2008-05-24T16:50:00.002+07:00</published><updated>2008-05-24T16:58:16.957+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Tips n Trick'/><title type='text'>List of Linux Security Audit and Hacker Software Tools</title><content type='html'>&lt;b&gt;&lt;big&gt;Security Audit Tools:&lt;/big&gt;&lt;/b&gt;                                   &lt;p&gt; Perform a "Security Risk Assessment" on your system with the following tools.       &lt;/p&gt;       &lt;p&gt;       &lt;/p&gt;&lt;h4&gt;System Audits:&lt;/h4&gt;              &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialInternetSecurity.html#CHKROOTKIT"&gt;&lt;b&gt;Chkrootkit (YoLinux tutorial)&lt;/b&gt;&lt;/a&gt; - Scan system for trojans, worms and exploits.           &lt;/li&gt;&lt;li&gt;Root kit detection:               &lt;ul&gt;&lt;li&gt;&lt;a href="http://sourceforge.net/projects/checkps"&gt;checkps&lt;/a&gt; - detect rootkits by detecting falsified output and similar anomalies. The ps check should work on anything with &lt;tt&gt;/proc&lt;/tt&gt;. Also uses netstat.               &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.rootkit.nl/projects/rootkit_hunter.html"&gt;Rootkit hunter&lt;/a&gt; - scans for rootkits, back doors and local exploits               &lt;/li&gt;&lt;li&gt;            &lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://vancouver-webpages.com/rkdet/"&gt;Rkdet&lt;/a&gt; - root kit detector daemon. Intended to catch someone installing a rootkit or running a packet sniffer.               &lt;/li&gt;&lt;/ul&gt;           &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.cise.ufl.edu/%7Ejfh/jst/fsaudit"&gt;fsaudit&lt;/a&gt; - Perl script to scan filesystems and search for suspicious looking directories           &lt;/li&gt;&lt;li&gt;&lt;a href="ftp://ftp.cerias.purdue.edu/pub/tools/unix/scanners/cops/"&gt;COPS: Computer Oracle and Password System&lt;/a&gt; - UNIX security checks. Programs and shell scripts which perform security checks. Checks include file and directory permissions, passwords, system scripts, SUID files, ftp configuration check, ... &lt;/li&gt;&lt;li&gt;&lt;a href="http://www-arc.com/sara/sara.html"&gt;SARA&lt;/a&gt; - Security Auditor's Research Assistant - network security vulnerability scanner for SQL injections, remote scans, etc. (follow-on to the SATAN analysis tool) &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.net.tamu.edu/network/public.html#Security"&gt;TAMU&lt;/a&gt; - Texas A&amp;amp;M University developed tools           &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.net.tamu.edu/network/tools/tiger.html"&gt;Tiger&lt;/a&gt; - Scan a Unix system looking for security problems (Similar to COPS) -              &lt;a href="http://www-arc.com/tara/"&gt;Tiger Analytical Research Assistant (TARA Pro)&lt;/a&gt; - Commercial support           &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.net.tamu.edu/network/tools/netlog.html"&gt;Netlog&lt;/a&gt; - TCP and UDP suspicious traffic logging system           &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.net.tamu.edu/drawbridge/index.html"&gt;Drawbridge&lt;/a&gt; - Firewall package (Free BSD) &lt;br /&gt;        &lt;/li&gt;&lt;/ul&gt;       &lt;/li&gt;&lt;/ul&gt;  &lt;span class="fullpost"&gt;       &lt;p&gt;       &lt;/p&gt;&lt;h4&gt;Network Vulnerability Audits:&lt;/h4&gt;              &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialInternetSecurity.html#NESSUS"&gt;&lt;b&gt;Nessus (YoLinux tutorial)&lt;/b&gt;&lt;/a&gt; - Remote security scanner - This is my favorite security audit tool!! Checks service exploits and vulnerabilities.       &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.packetfactory.net/projects/ISIC/"&gt;ISIC&lt;/a&gt; - IP Stack Integrity Checker       &lt;/li&gt;&lt;li&gt;&lt;a href="http://qosient.com/argus/"&gt;Argus&lt;/a&gt; - IP network              transaction auditing tool. This daemon promiscuously reads network              datagrams from a specified interface, and generates network traffic              status records&lt;br /&gt;        &lt;a href="http://argus.tcp4me.com/"&gt;Argus 2&lt;/a&gt;       &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.wwdsi.com/products/saint_engine.html"&gt;SAINT&lt;/a&gt; - Finds computers on the network, port scans and does a vulnerability check and outputs a report. - Commercial product.       &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.intersectalliance.com/"&gt;InterSect Alliance&lt;/a&gt; - Intrusion analysis. Identifies malicious or unauthorized access attempts.       &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.linuxforce.net/"&gt;Linuxforce: AdminForce CGI Auto Audit&lt;/a&gt; - CGI script analyzer to find security deficiencies.       &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt; &lt;/p&gt;&lt;h4&gt;Wireless:&lt;/h4&gt;              &lt;ul&gt;&lt;li&gt;&lt;a href="http://airsnort.shmoo.com/"&gt;AirSnort&lt;/a&gt; - wireless LAN (WLAN) tool that recovers encryption keys.         &lt;/li&gt;&lt;li&gt;&lt;a href="http://sourceforge.net/projects/wepcrack"&gt;WEPCrack&lt;/a&gt;         &lt;/li&gt;&lt;li&gt;Also see: &lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialWireless.html#SECURITY"&gt;&lt;b&gt;YoLinux Wireless security links&lt;/b&gt;&lt;/a&gt;         &lt;/li&gt;&lt;/ul&gt;         &lt;a name="PORTSCAN"&gt;&lt;/a&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;hr size="5"&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;           &lt;tr bgcolor="#ffcc33"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;Port Scanners:&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;p&gt;       Used to identify computer network services available for exploit.       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.nmap.org/"&gt;nmap&lt;/a&gt; - Port scanner and security scanning and investigation tool           &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.advogato.org/proj/NmapFE/"&gt;NmapFe&lt;/a&gt; - GUI front-end to NMAP           &lt;/li&gt;&lt;li&gt;&lt;a href="http://pages.videotron.com/rewind/"&gt;KNmap&lt;/a&gt; - KDE front-end           &lt;/li&gt;&lt;li&gt;&lt;a href="http://pbnj.sourceforge.net/"&gt;pbnj&lt;/a&gt; - Diff nmap scans to find changes to systems on the network.           &lt;/li&gt;&lt;li&gt;&lt;a href="http://sourceforge.net/projects/nmap3d"&gt;nmap3d&lt;/a&gt; - nmap post processing to 3-d VRML           &lt;/li&gt;&lt;li&gt;&lt;a href="http://sourceforge.net/projects/nmapsql"&gt;nmap-sql&lt;/a&gt; - log scans to database           &lt;/li&gt;&lt;/ul&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.ricksoft.co.uk/downloads/portscan/portscan.htm"&gt;portscan&lt;/a&gt; - C++ Port Scanner will try to connect on every port you define for a particular host.         &lt;/li&gt;&lt;li&gt;&lt;a href="http://lcamtuf.coredump.cx/p0f/p0f.shtml"&gt;pof&lt;/a&gt; - passive OS fingerprinting.         &lt;/li&gt;&lt;li&gt;Web/http scan:             &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.cirt.net/nikto2"&gt;Nikto&lt;/a&gt; - web server scanner. CGI, vulnerability checks. Not a stealthy tool. For security tests.             &lt;/li&gt;&lt;/ul&gt;         &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt;       Portscanning Information:       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;&lt;a href="http://nmap.org/nmap_doc.html"&gt;Art of port scanning&lt;/a&gt; - types of scans explained.       &lt;/li&gt;&lt;/ul&gt;         &lt;a name="NETWORKSNIFFERS"&gt;&lt;/a&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;hr size="5"&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;           &lt;tr bgcolor="#ffcc33"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;Network Sniffers:&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt; Linux Tools for Network Examination.       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.monkey.org/%7Edugsong/dsniff/"&gt;DSniff&lt;/a&gt; - network tools for auditing and penetration testing.         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.wireshark.org/"&gt;Wireshark&lt;/a&gt; - full network protocol sniffer/analyzer          &lt;br /&gt;(&lt;a href="http://www.ethereal.com/"&gt;Ethereal&lt;/a&gt; - legacy. Now Wireshark)         &lt;/li&gt;&lt;li&gt;&lt;a href="http://iptraf.seul.org/"&gt;IPTraf&lt;/a&gt; - curses based IP LAN monitor         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.tcpdump.org/"&gt;TcpDump&lt;/a&gt; - network monitor and data acquisition           &lt;ul&gt;&lt;li&gt;&lt;a href="http://vomit.xtdnet.nl/"&gt;VOMIT&lt;/a&gt; - Voice Over Misconfigured Internet Telephones - Use TCP dump of VOIP stream and convert to WAV file.            &lt;br /&gt;    Cisco Call Manager depends on MS/SQL server and are thus vulnerable to SQL Slammer attacks.           &lt;/li&gt;&lt;/ul&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.kismetwireless.net/"&gt;KISMET&lt;/a&gt; - 802.11a/b/g wireless network detector, sniffer and intrusion detection system.         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.altmode.com/disco/"&gt;DISCO&lt;/a&gt; - Passive IP discovery and fingerprinting tool. Sits on a segment of a network to discover unique IPs and identify them.         &lt;/li&gt;&lt;li&gt;&lt;a href="http://yersinia.sourceforge.net/"&gt;Yersina&lt;/a&gt; - Framework for analyzing and testing the deployed networks and systems. Designed to take advantage of some weakness in different Layer 2 protocols: Spanning Tree Protocol (STP), Cisco Discovery Protocol (CDP), Dynamic Trunking Protocol (DTP), Dynamic Host Configuration Protocol (DHCP), Hot Standby Router Protocol (HSRP), IEEE 802.1q, Inter-Switch Link Protocol (ISL), VLAN Trunking Protocol (VTP). &lt;/li&gt;&lt;li&gt;&lt;b&gt;YoLinux.com &lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialNetworking.html#MONITORINGTOOLS"&gt;List of network monitoring tools and example tcpdump sessions&lt;/a&gt;&lt;/b&gt;         &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;hr size="5"&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;           &lt;tr bgcolor="#ffcc33"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;Hacker Tools:&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt;       &lt;/p&gt;&lt;h4&gt;Password crackers:&lt;/h4&gt;        (can also be part of a vulnerability audit)              &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.openwall.com/john/"&gt;John the Ripper&lt;/a&gt; - weak password detection. crypt, Kerberos AFS, MS/Windows LM, ...         &lt;/li&gt;&lt;li&gt;&lt;a href="http://usuarios.lycos.es/reinob/"&gt;lCRACK&lt;/a&gt; - password hacker, dictionary, brute force incremental, ...         &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt;       &lt;/p&gt;&lt;h4&gt;Exploits:&lt;/h4&gt;              &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.stearns.org/detectlib/bobkit.html"&gt;bobkit&lt;/a&gt;       &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorial-woot-project.html"&gt;woot-project&lt;/a&gt;       &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt;       &lt;/p&gt;&lt;h4&gt;Other Links:&lt;/h4&gt;              &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.infosyssec.org/infosyssec/security/hackhow1.htm"&gt;InfoSysSec.org: Hacking howto&lt;/a&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.networkintrusion.co.uk/hacking.htm"&gt;Network intrusion and hacking&lt;/a&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.hping.org/"&gt;hping&lt;/a&gt; - command line TCP/IP packet assembler/analyzer. Supports TCP, UDP, ICMP and RAW-IP protocols, has a traceroute mode, the ability to send files between a covered channel, ... &lt;/li&gt;&lt;li&gt;&lt;a href="http://sourceforge.net/projects/hping2"&gt;hping2&lt;/a&gt; - Can be used to performs a lot of tasks, like testing of firewall rules, (spoofed) port scanning, ...         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.packetfactory.net/"&gt;PacketFactory.net: Firewalk&lt;/a&gt; - Network discovery beyond the packet filtering router.           &lt;br /&gt;(Compile tip: configure --with-gtk=no)         &lt;/li&gt;&lt;li&gt;&lt;a href="http://pedram.openrce.org/"&gt;PEDRAM.OPENRCE.ORG&lt;/a&gt;:             &lt;ul&gt;&lt;li&gt;&lt;a href="http://pedram.redhive.com/advisories/"&gt;vulnerability research&lt;/a&gt;             &lt;/li&gt;&lt;li&gt;&lt;a href="http://pedram.redhive.com/code/"&gt;security/hacking software tools&lt;/a&gt;             &lt;/li&gt;&lt;/ul&gt;         &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;hr size="5"&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;           &lt;tr bgcolor="#ffcc33"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;Security Infrastructure Software Tools:&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;&lt;a href="http://sourceforge.net/projects/sentrytools/"&gt;Sentry Tools: Port Sentry, Log Check, Host Sentry&lt;/a&gt; - attack detection and defense             &lt;ul&gt;&lt;li&gt;PortSentry: basic theory - &lt;a href="http://www.securityfocus.com/infocus/1580"&gt;Part 1&lt;/a&gt; - &lt;a href="http://www.securityfocus.com/infocus/1586"&gt;Part 2&lt;/a&gt;             &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialInternetSecurity.html#PORTSENTRY"&gt;&lt;b&gt;YoLinux.com Tutorial: Portsentry installation and use&lt;/b&gt;&lt;/a&gt;             &lt;/li&gt;&lt;/ul&gt;       &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialInternetSecurity.html#TRIPWIRE"&gt;&lt;b&gt;YoLinux.com Tutorial: Tripwire installation and use&lt;/b&gt;&lt;/a&gt;       &lt;/li&gt;&lt;li&gt;&lt;a href="http://sourceforge.net/projects/tripwire/"&gt;tripwire&lt;/a&gt; - File system data integrity checking tool       &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.snort.org/"&gt;SNORT&lt;/a&gt; - intrusion detection and prevention. Rules to inspect and detect anomaly signatures.       &lt;/li&gt;&lt;li&gt;&lt;a href="http://bastille-linux.sourceforge.net/"&gt;Bastille-linux&lt;/a&gt; - Hardening perl scripts to lock down a system and increase its security.        Can perform an assessment of a system's configuration (&lt;tt&gt;bastille --assess&lt;/tt&gt;). It queries the administrator as to the expected level of security expected for various system components and then configures the system (&lt;tt&gt;./InteractiveBastille&lt;/tt&gt;).        &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.cipherdyne.com/psad/"&gt;CipherDyne.com: PSAD&lt;/a&gt; - analyzes iptables log messages to detect port scans and other suspicious traffic.       &lt;/li&gt;&lt;li&gt;&lt;a href="http://pltplp.net/ippl/"&gt;IPPL&lt;/a&gt; - IP packet logger. Log anomalies       &lt;/li&gt;&lt;li&gt;&lt;a href="http://web.mit.edu/kerberos/www/"&gt;Kerberos&lt;/a&gt; - secure authentication       &lt;/li&gt;&lt;li&gt;&lt;a href="ftp://ftp.uu.net/pub/security/des"&gt;deslogin&lt;/a&gt; - remote login. SSH is more popular.       &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialInternetSecurity.html#SSH"&gt;&lt;b&gt;YoLinux.com Tutorial: SSH server configuration and use&lt;/b&gt;&lt;/a&gt;       &lt;/li&gt;&lt;li&gt;Secure connections &lt;b&gt;SSH&lt;/b&gt; (shell) and &lt;b&gt;SSL&lt;/b&gt; (socket layer):           &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.openssh.org/"&gt;OpenSSH&lt;/a&gt; - Open Source version - Requires :                &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.openssl.org/"&gt;OpenSSL&lt;/a&gt; - Secure Socket Layer               &lt;/li&gt;&lt;/ul&gt;             &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.ssh.com/"&gt;SSH.com&lt;/a&gt; - Commercial versions SSH1 and SSH2             &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.onsight.com/faq/ssh/ssh-faq.html"&gt; SSH FAQ&lt;/a&gt; - Frequently Asked Questions             &lt;/li&gt;&lt;li&gt;MS/Windows clients:                &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.chiark.greenend.org.uk/%7Esgtatham/putty/download.html"&gt;PuTTY&lt;/a&gt; - Telnet, SSH, SCP, SFTP client               &lt;/li&gt;&lt;li&gt;&lt;a href="http://hp.vector.co.jp/authors/VA002416/teraterm.html"&gt;Tera Term&lt;/a&gt;               &lt;/li&gt;&lt;/ul&gt;           &lt;/li&gt;&lt;/ul&gt;       &lt;/li&gt;&lt;li&gt;&lt;a href="ftp://ftp.porcupine.org/pub/security/"&gt;TCP wrappers&lt;/a&gt; - Wietse Venema       &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialIptablesNetworkGateway.html"&gt;&lt;b&gt;YoLinux.com iptables tutorial&lt;/b&gt;&lt;/a&gt;       &lt;/li&gt;&lt;li&gt;&lt;a href="http://cheops.anu.edu.au/%7Eavalon/ip-filter.html"&gt;ipfilter&lt;/a&gt; - NAT and firewall packet filter       &lt;/li&gt;&lt;li&gt;&lt;a href="http://ftp.nluug.nl/security/coast/firewalls/freestone/freestone/"&gt;freestone&lt;/a&gt; - firewall from sosCorp.com       &lt;/li&gt;&lt;li&gt;&lt;a href="ftp://ftp.ox.ac.uk/pub/crypto/misc"&gt;rsaeuro&lt;/a&gt; - cryptographic toolkit       &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.pgp.com/"&gt;Pretty Good Privacy (PGP)&lt;/a&gt; - encryption       &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.linux-sec.net/Mail/Logs/"&gt;MTA mail server log file analysis tools&lt;/a&gt; - list of tools       &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt; &lt;/p&gt;&lt;h4&gt;Commercial Vendors:&lt;/h4&gt;              &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.rsa.com/"&gt;RSA Security&lt;/a&gt; - Encryption and secure commerce.       &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.cryptocard.com/"&gt;CRYPTOCard&lt;/a&gt; authentication servers       &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.cryptoheaven.com/"&gt;CryptoHeaven&lt;/a&gt; - Secure online storage, file sharing and distribution, email, instant messaging. Free Linux client but it is a commercial for fee service. (less than 2MB storage is free)       &lt;/li&gt;&lt;li&gt;&lt;a href="http://www-arc.com/tara/"&gt;Tiger Analytical Research Assistant (TARA Pro)&lt;/a&gt; - Texas A+M Tiger Commercial support       &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.tis.com/"&gt;TIS: Trusted Informations Systems Inc.&lt;/a&gt; -            &lt;a href="ftp://ftp.tis.com/pub/firewalls/toolkit/"&gt;[download]&lt;/a&gt;            - TIS Internet firewall toolkit       &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.tripwiresecurity.com/"&gt;Tripwire Security Systems&lt;/a&gt; - Intrusion detection       &lt;/li&gt;&lt;li&gt;&lt;a href="http://www3.ca.com/Solutions/Product.asp?ID=165"&gt;CA (Computer Associates): eTrust Compliance&lt;/a&gt; - Vulnerability assessment, security policies, audit and correction.       &lt;/li&gt;&lt;li&gt;&lt;a href="http://labtam-inc.com/"&gt;Labatam: Secure X-Server Encryption&lt;/a&gt;       &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;hr size="5"&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;           &lt;tr bgcolor="#ffcc33"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;Online Web Based Tools:&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.linux-sec.net/Audit/nmap.test.gwif.html"&gt;Online nmap test&lt;/a&gt; - checks for open ports         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.blackcode.com/scripts/toolbox.php"&gt;Clackcode.com: security scan&lt;/a&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.pcflank.com/about.htm"&gt;pcFlank.com: online vulnerability tests&lt;/a&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.automatedscanning.com/"&gt;AutomatedScanning.com&lt;/a&gt; - commercial service         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.anonymizer.com/"&gt;Anonymizer.com&lt;/a&gt; - Anonymous surfing         &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;hr size="5"&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;           &lt;tr bgcolor="#ffcc33"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;Software Updates and Security fixes:&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.redhat.com/apps/support/errata/"&gt;Red Hat Security fixes and Errata&lt;/a&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.redhat.com/security/updates/"&gt;Red Hat Enterprise Linux security updates&lt;/a&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://fedoraproject.org/wiki/FSA"&gt;Fedora security advisories and package updates&lt;/a&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.ubuntu.com/usn"&gt;Ubuntu security notices&lt;/a&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.debian.org/security/"&gt;Debian security information&lt;/a&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.novell.com/linux/security/securitysupport.html"&gt;SUSE Linux Enterprise Security&lt;/a&gt;         &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;hr size="5"&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;           &lt;tr bgcolor="#ffcc33"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;Forensic and Data Recovery Tools:&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;&lt;a href="http://staff.washington.edu/dittrich/misc/forensics/"&gt;Basic Steps in Forensic Analysis of Unix Systems&lt;/a&gt; - a case study         &lt;/li&gt;&lt;li&gt;&lt;a href="http://sourceforge.net/projects/giis/"&gt;GIIS&lt;/a&gt; ext3/ext2FS file undelete tool.User can recover files by it's name or type or by its owner. Can't recover the files deleted before installation of giis. &lt;/li&gt;&lt;li&gt;&lt;a href="http://linux.sys-con.com/read/117909.htm"&gt;Why Recovering a Deleted Ext3 File Is Difficult&lt;/a&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://linux-data-recovery-software.qarchive.org/"&gt;Commercial Linux data recovery tools&lt;/a&gt; - list         &lt;/li&gt;&lt;/ul&gt;        &lt;a name="ANTIVIRUS"&gt;&lt;/a&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;hr size="5"&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;           &lt;tr bgcolor="#ffcc33"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;Anti-Virus Software:&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt; This has typically been the domain of the Microsoft Windows and Outlook products and NOT Linux but Linux administrators running SAMBA file servers often must  be aware of these viruses. There are according to Symantec 68 Linux specific  viruses and worms including the Ramen worm which attempts to attack unpatched  rpc.statd, wuftpd, and LPRng.       &lt;/p&gt;       &lt;p&gt;       &lt;b&gt;Anti-Virus products:&lt;/b&gt;       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.fsecure.com/"&gt;F-Secure.com&lt;/a&gt;           &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.f-secure.com/products/fsigkl.html"&gt;Anti-Virus for Linux firewalls&lt;/a&gt;           &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.f-secure.com/products/fsavssl.html"&gt;Anti-Virus for File Servers&lt;/a&gt;           &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.f-secure.com/products/fsavcsl.html"&gt;Anti-Virus for Desktops and Laptops&lt;/a&gt;           &lt;/li&gt;&lt;/ul&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.kaspersky.com/products.html?tgroup=4&amp;amp;pgroup=11"&gt;Kaspersky Lab&lt;/a&gt; - Workstation/Server/eMail gateway protection         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.sophos.com/"&gt;Sophos.com&lt;/a&gt;           &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.sophos.com/products/enterprise/endpoint/security-and-control/8.0/"&gt;Endpoint Security and Control: Anti-Virus and anti-spyware for Unix/Linux&lt;/a&gt;           &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.sophos.com/products/small-business/sophos-anti-virus/"&gt;SOPHOS Anti-virus&lt;/a&gt; - Sophos Anti-Virus for Linux           &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.sophos.com/products/enterprise/email/"&gt;eMail security&lt;/a&gt;           &lt;/li&gt;&lt;/ul&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.grisoft.com/"&gt;Grisoft.com&lt;/a&gt;           &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.grisoft.com/doc/Linux/lng/us/tpl/tpl01"&gt;AVG Anti-Virus Linux E-mail Server Edition&lt;/a&gt;           &lt;/li&gt;&lt;/ul&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://symantec.com/"&gt;Symantec.com&lt;/a&gt;           &lt;ul&gt;&lt;li&gt;Mail-Gear: (up to and including version 1.2.x)           &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.symantec.com/business/products/sysreq.jsp?pcid=2241&amp;amp;pvid=805_1"&gt;Antivirus client for Linux&lt;/a&gt;           &lt;/li&gt;&lt;/ul&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.trendmicro.com/"&gt;TrendMicro.com&lt;/a&gt;           &lt;ul&gt;&lt;li&gt;&lt;a href="http://us.trendmicro.com/us/products/mb/interscan-viruswall/index.html"&gt;Interscan VirusWall for Linux&lt;/a&gt; - Internet Gateway - detect/scan SMTP, HTTP and FTP           &lt;/li&gt;&lt;/ul&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.clamav.net/"&gt;ClamAv.net&lt;/a&gt; - Clam anti-virus. Open source virus protection for mail servers.         &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt;       &lt;b&gt;Virus info:&lt;/b&gt;       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.cert.org/"&gt;CERT.org&lt;/a&gt; - Carnegie Mellon University's Software Engineering Institute - security vulnerability research.         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.icsa.net/"&gt;ICSA.net&lt;/a&gt; - Anti-virus / Anti-spyware / Anti-spam Product Developers Consortium         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.mcafee.com/anti-virus/"&gt;McAfee virus info&lt;/a&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://vil.mcafee.com/hoax.asp?"&gt;McAfee hoax list&lt;/a&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.symantec.com/security_response/index.jsp"&gt;Symantec security response&lt;/a&gt; - commercial security support         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.symantec.com/business/security_response/threatexplorer/risks/hoaxes.jsp"&gt;Threat Explorer&lt;/a&gt; - real and hoaxes         &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt;       &lt;b&gt;Virus email alert:&lt;/b&gt;       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.cert.org/contact_cert/certmaillist.html"&gt;CERT Advisory Mailing List&lt;/a&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://dispatch.mcafee.com/default.asp?"&gt;McAfee Dispatch&lt;/a&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.symantec.com/avcenter/sarcnewsletters.html"&gt;Symantec Security Response Newsletter&lt;/a&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.antivirus.com/corporate-home.asp"&gt;Trend Micro Virus Alerts&lt;/a&gt;         &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;hr size="5"&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;           &lt;tr bgcolor="#ffcc33"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;Attacks:&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;SYN packet manipulation:           &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.iss.net/security_center/advice/Exploits/TCP/SYN_flood/default.htm"&gt;SYN flood Description&lt;/a&gt;             &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.niksula.cs.hut.fi/%7Edforsber/synflood/result.html"&gt;Syn Flood experiment&lt;/a&gt;             &lt;/li&gt;&lt;li&gt;&lt;a href="http://cr.yp.to/syncookies.html"&gt;SYN Cookie&lt;/a&gt;             &lt;/li&gt;&lt;/ul&gt;         &lt;/li&gt;&lt;li&gt;Smurf DOS:           &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.iss.net/security_center/advice/Exploits/IP/smurf/default.htm"&gt;ISS.com: Description&lt;/a&gt;             &lt;/li&gt;&lt;/ul&gt;         &lt;/li&gt;&lt;li&gt;IRC (Internet Relay Chat) Client attacks:           &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.iss.net/security_center/advice/Exploits/Clients/IRC/default.htm"&gt;IIS.com: Description&lt;/a&gt;             &lt;/li&gt;&lt;/ul&gt;         &lt;/li&gt;&lt;li&gt;Service attacks:           &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.iss.net/security_center/advice/Exploits/buffer_overflow/default.htm"&gt;Buffer Overflow attacks&lt;/a&gt;             &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.hacker.pl/gminick/pliki/notmine/bof-eng.txt"&gt;Buffer overflow vulnerabilities explained&lt;/a&gt;             &lt;/li&gt;&lt;/ul&gt;         &lt;/li&gt;&lt;li&gt;Session Hijacking:           &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.iss.net/security_center/advice/Exploits/TCP/session_hijacking/default.htm"&gt;IIS.com: Descriptions&lt;/a&gt;             &lt;/li&gt;&lt;/ul&gt;          &lt;/li&gt;&lt;li&gt;ARP Cache poisoning:           &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.infosecuritymag.com/2001/oct/digest18.shtml#news1"&gt;Wireless Attacks Threaten Wired Networks&lt;/a&gt;             &lt;/li&gt;&lt;/ul&gt;         &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;hr size="5"&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;           &lt;tr bgcolor="#ffcc33"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;Honeypots:&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;       &lt;p&gt;       How to bait and catch the evil hackers:       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.citi.umich.edu/u/provos/honeyd/"&gt;honeyd&lt;/a&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://project.honeynet.org/"&gt;Honeynet.org&lt;/a&gt; - The honeynet project         &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;hr size="5"&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;           &lt;tr bgcolor="#ffcc33"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;DoD/DoE NISPOM Chapter 8 computer security configuration for Linux:&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt; NISPOM (National Industry Security Program Operating Manual) chapter 8 is a computer security requirement developed by the US DoD (Department of Defense - US) and DoE (Department of Energy) and published by the DSS (Defense Security Service) which US defense contractors are required to meet when processing classified data on computers in a classified environment. Linux as issued by major distros defaults do not meet this requirement. Use the following software packages/configurations:       &lt;/p&gt;       &lt;ol&gt;&lt;li&gt;Use central authentication server (LDAP or NIS) with the proper security policies.    See &lt;a href="http://www.yolinux.com/TUTORIALS/LDAP_Authentication.html"&gt;YoLinux LDAP authentication tutorial&lt;/a&gt;.         &lt;/li&gt;&lt;li&gt; Meet reporting requirements: This auditing and reporting requirement    can be met using Snare. This requires a kernel patch (or use of one    of the kernels [RHEL3 or RHEL4] downloaded from the Snare home page.) and the running of a    Snare audit daemon. It meets C-2 reporting requirements and records    logins/logoffs, file and directory access, access denial, ... &lt;br /&gt;  Newer Linux distributions running &lt;tt&gt;auditd&lt;/tt&gt; (RHEL4, FC3+) can get compliant results. &lt;br /&gt;  &lt;a href="http://www.intersectalliance.com/projects/Snare/"&gt;Snare home page&lt;/a&gt;.    For more aggressive reporting requirements, see     &lt;a href="http://www3.ca.com/solutions/SubSolution.aspx?ID=4350"&gt;Computer Associates eTrust Security Information Management&lt;/a&gt;.         &lt;/li&gt;&lt;li&gt; Grant admin privileges without giving root password. Granular delegation of root privileges. File and directory access control.           &lt;a href="http://www.symark.com/powerbroker.htm"&gt;Symark.com: PowerBroker&lt;/a&gt;         &lt;/li&gt;&lt;li&gt;Virus scanner. (See above list)         &lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7412437316807711718-2336459930286229584?l=itechno23.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itechno23.blogspot.com/feeds/2336459930286229584/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7412437316807711718&amp;postID=2336459930286229584' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/2336459930286229584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/2336459930286229584'/><link rel='alternate' type='text/html' href='http://itechno23.blogspot.com/2008/05/list-of-linux-security-audit-and-hacker.html' title='List of Linux Security Audit and Hacker Software Tools'/><author><name>Techno</name><uri>http://www.blogger.com/profile/04294542666339882203</uri><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-7412437316807711718.post-7787859544345202086</id><published>2008-05-24T16:27:00.002+07:00</published><updated>2008-05-24T16:43:03.182+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Server'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Using Linux iptables or ipchains to set up an internet gateway / firewall / router for home or office</title><content type='html'>Methods of connecting your network to the internet:&lt;br /&gt;&lt;br /&gt; * Use Linux ipchains / iptables and IP forwarding to configure Linux as a firewall and router. This is the method covered in this tutorial.&lt;br /&gt; * The Linux router project has produced a specialized version of Linux just to run ipchains / iptables and IP masquerading.&lt;br /&gt;   See LinuxRouter.org.&lt;br /&gt; * Use SOCKS gateway proxy software running on Linux.&lt;br /&gt;   For more information see the SOCKS5/e-Border home page.&lt;br /&gt; * Use a CISCO router - Configuration tutorial. (Note: PIX series are preferred for firewall use.)&lt;br /&gt;&lt;br /&gt;This tutorial will cover using a linux computer as a gateway between a private network and the internet. Any internet connection whether it be a dial-up PPP, DSL, cable modem or a T1 line can be used. In the case of most dial-up PPP connections and cable modem connections, only a single IP address is issued allowing only one computer to connect to the internet at a time. Using Linux and iptables / ipchains one can configure a gateway which will allow all computers on a private network to connect to the internet via the gateway and one external IP address, using a technology called "Network Address Translation" (NAT) or masquerading and private subnets. Iptables/ipchains can also be configured so that the Linux computer acts as a firewall, providing protection to the internal network.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;p&gt; Methods of connecting your network to the internet: &lt;/p&gt; &lt;ul&gt;&lt;li&gt;Use Linux ipchains / iptables and IP forwarding to configure Linux as a      firewall and router.     This is the method covered in this tutorial.   &lt;/li&gt;&lt;li&gt;The Linux router project has produced a specialized version of Linux just to run ipchains / iptables and IP masquerading.   &lt;br /&gt;See &lt;a href="http://www.linuxrouter.org/"&gt;LinuxRouter.org&lt;/a&gt;.   &lt;/li&gt;&lt;li&gt;Use SOCKS gateway proxy software running on Linux.  &lt;br /&gt;For more information see the      &lt;a href="http://www.socks.nec.com/"&gt;SOCKS5/e-Border home page&lt;/a&gt;.   &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.swcp.com/%7Ejgentry/topo/cisco.htm"&gt;Use a CISCO router&lt;/a&gt; - Configuration tutorial. (Note: PIX series are preferred for firewall use.)   &lt;/li&gt;&lt;/ul&gt;   This tutorial will cover using a linux computer as a gateway between a private  network and the internet. Any internet connection whether it be a dial-up PPP, DSL, cable modem or a  T1 line can be used.  In the case of most dial-up PPP connections and cable modem connections, only  a single IP address is issued allowing only one computer to connect to the  internet at a time.  Using Linux and &lt;b&gt;iptables / ipchains&lt;/b&gt; one can configure a gateway which will allow  all computers on a private network to connect to the internet via the gateway and one external IP address,  using a technology called "Network Address Translation" (NAT) or masquerading and private subnets.  Iptables/ipchains can also be configured so that the Linux computer acts as a  firewall, providing protection to the internal network.&lt;br /&gt;&lt;b&gt;&lt;big&gt;Firewall versions vs Linux versions:&lt;/big&gt;&lt;/b&gt;                                    &lt;p&gt;       &lt;b&gt;Note:&lt;/b&gt; References to ipfwadm and ipchains refer to older deprecated software.       &lt;/p&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;dl&gt;&lt;dd&gt;           &lt;table border="1"&gt;              &lt;tbody&gt;               &lt;tr bgcolor="#a0a0a0"&gt;                 &lt;th&gt;Firewall Command&lt;/th&gt;                 &lt;th&gt;Linux Kernel Version&lt;/th&gt;                 &lt;th&gt;Red Hat Version&lt;/th&gt;               &lt;/tr&gt;                &lt;tr&gt;                 &lt;td&gt;iptables&lt;/td&gt;                 &lt;td&gt;2.4.x, 2.6.x&lt;/td&gt;                 &lt;td&gt;7.1 - 9.0, Fedora 1,2,3&lt;/td&gt;               &lt;/tr&gt;                &lt;tr&gt;                 &lt;td&gt;ipchains&lt;/td&gt;                 &lt;td&gt;2.2.x&lt;/td&gt;                 &lt;td&gt;6.x, 7.0&lt;/td&gt;               &lt;/tr&gt;                &lt;tr&gt;                 &lt;td&gt;ipfwadm&lt;/td&gt;                 &lt;td&gt;2.0.x&lt;/td&gt;                 &lt;td&gt;5.x&lt;/td&gt;               &lt;/tr&gt;              &lt;/tbody&gt;           &lt;/table&gt;          &lt;/dd&gt;&lt;/dl&gt;        &lt;p&gt;       &lt;b&gt;Note:&lt;/b&gt; Red Hat 7.1-9.0 and the default Linux 2.4 kernel may use ipchains or  iptables but not both.  Iptables is the preferred firewall as it supports "state" and can recognize if a network connection has already been "ESTABLISHED" or if the connection is related to the previous connection (required for ftp which makes multiple connections  on different ports). Ipchains can not. Ipchain rules take precedence over iptables rules.  During system boot,  the kernel attempts to activate ipchains, then attempts  to activate iptables.  If ipchain rules have been  activated, the kernel will not start iptables.       &lt;/p&gt;       &lt;p&gt; Red Hat 7.1 will not support ipchains unless that option is configured (during install or later). If during install you select "Disable Firewall - no protection" then ipchains will not be available and you must rely upon iptables for a manual firewall  configuration.  (iptables only. ipchains will be unavailable)        &lt;/p&gt;       &lt;p&gt; GUI configuration:       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;&lt;b&gt;iptables:&lt;/b&gt; The GUI configuration tool &lt;tt&gt;/usr/bin/redhat-config-securitylevel&lt;/tt&gt; can be used to choose a preconfigured firewall (High, Medium or no firewall) or it can be used to manually configure rules based on the network services your server will offer. The init script &lt;tt&gt;/etc/rc.d/init.d/iptables&lt;/tt&gt; will use rules stored in &lt;tt&gt;/etc/sysconfig/iptables&lt;/tt&gt;.         &lt;/li&gt;&lt;li&gt;&lt;b&gt;ipchains:&lt;/b&gt; The tool that does this is lokkit (or &lt;tt&gt;/usr/bin/gnome-lokkit&lt;/tt&gt;),  which uses ipchains to configure firewall options for High and Low security  options.  To support ipchains after install, run &lt;tt&gt;/usr/bin/gnome-lokkit&lt;/tt&gt; and configure a firewall. It will configure ipchains to activate the firewall. Lokkit will generate the file &lt;tt&gt;/etc/sysconfig/ipchains&lt;/tt&gt;. (Used by init script &lt;tt&gt;/etc/rc.d/init.d/ipchains&lt;/tt&gt; which calls &lt;tt&gt;/sbin/ipchains-restore&lt;/tt&gt;)            &lt;p&gt; To see if ipchains and the Lokkit configuration is invoked during system boot, use the command:           &lt;/p&gt;           &lt;pre&gt;    chkconfig --list | grep ipchains&lt;br /&gt;&lt;/pre&gt;          &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt; The default Red Hat 7.1+ Linux 2.4 kernel is compiled to support  both iptables and ipchains. Kernel support for ipchains is  available during a kernel configuration and compilation. During &lt;tt&gt;make xconfig&lt;/tt&gt; or &lt;tt&gt;make menuconfig&lt;/tt&gt; turn on the feature:  "IP: Netfilter Configuration" + "ipchains (2.2-style) support".       &lt;/p&gt;       &lt;p&gt; Check your installation by using the command: &lt;tt&gt;rpm -q iptables ipchains&lt;/tt&gt;    &lt;br /&gt;These packages must be installed. The commands iptables and ipchains are the command interfaces to configure kernel firewall rules. The default Red Hat 7.1 kernel supports iptables and ipchains. (But not both at the same time.)       &lt;/p&gt;       &lt;p&gt;       &lt;span style="color: rgb(255, 0, 0);"&gt;[Potential Pitfall]&lt;/span&gt;: When performing an upgrade instead of a new install, the upgrade software will not install iptables as did not exist on the system previously. It will perform an upgrade to a newer version of ipchains. If you wish to use iptables, you must manually install the iptables RPM.&lt;br /&gt;i.e.: &lt;tt&gt;rpm -ivh iptables-XXX.i386.rpm&lt;/tt&gt;       &lt;/p&gt;       &lt;p&gt;       &lt;span style="color: rgb(255, 0, 0);"&gt;[Potential Pitfall]&lt;/span&gt;: The Linux operating system kernel may load or not load what you had expected. Use the command &lt;tt&gt;lsmod&lt;/tt&gt; to see if ip_tables or ip_chains were loaded.       &lt;/p&gt;       &lt;p&gt;       &lt;b&gt;Switching a running system from ipchains to iptables:&lt;/b&gt; (Red Hat 7.1-9.0 - Linux kernel 2.4 specific)       &lt;/p&gt;       &lt;dl&gt;&lt;dd&gt;           &lt;table border="1"&gt;              &lt;tbody&gt;               &lt;tr bgcolor="#a0a0a0"&gt;                 &lt;th&gt;Sequence&lt;/th&gt;                 &lt;th&gt;Command&lt;/th&gt;                 &lt;th&gt;Description&lt;/th&gt;               &lt;/tr&gt;                &lt;tr&gt;                 &lt;td&gt;1&lt;/td&gt;                 &lt;td&gt;chkconfig --del ipchains&lt;/td&gt;                 &lt;td&gt;Remove ipchains from system boot/initialization process&lt;/td&gt;               &lt;/tr&gt;                &lt;tr&gt;                 &lt;td&gt;2&lt;/td&gt;                 &lt;td&gt;chkconfig --add iptables&lt;/td&gt;                 &lt;td&gt;Add iptables to system boot/initialization process&lt;/td&gt;               &lt;/tr&gt;                &lt;tr&gt;                 &lt;td&gt;3&lt;/td&gt;                 &lt;td&gt;ipchains -F&lt;/td&gt;                 &lt;td&gt;Flush ipchains rules&lt;/td&gt;               &lt;/tr&gt;                &lt;tr&gt;                 &lt;td&gt;4&lt;/td&gt;                 &lt;td&gt;service ipchains stop&lt;/td&gt;                 &lt;td&gt;Stop ipchains. Also: &lt;tt&gt;/etc/init.d/ipchains stop&lt;/tt&gt;&lt;/td&gt;               &lt;/tr&gt;                &lt;tr&gt;                 &lt;td&gt;5&lt;/td&gt;                 &lt;td&gt;rmmod ipchains&lt;/td&gt;                 &lt;td&gt;Unload ipchains kernel module. Iptables kernel module can not be loaded if the ipchains module is loaded&lt;/td&gt;               &lt;/tr&gt;                &lt;tr&gt;                 &lt;td&gt;6&lt;/td&gt;                 &lt;td&gt;service iptables start&lt;/td&gt;                 &lt;td&gt;Load iptables kernel module. Also: &lt;tt&gt;/etc/init.d/iptables stop&lt;/tt&gt;&lt;/td&gt;               &lt;/tr&gt;              &lt;/tbody&gt;           &lt;/table&gt;          &lt;/dd&gt;&lt;/dl&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;hr size="5"&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#ffcc33"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;Network Address Translation (NAT):&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;          &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt; An individual on a computer on the private network may point their web  browser to a site on the internet. This request is recognized to be beyond the  local network so it is routed to the Linux gateway using the private network address. The request for the web page is sent to the web site using the external internet IP address of the gateway. The request is returned to the gateway which then translates the IP address to computer on the private network which made the request. This is often called IP masquerading. The software interface which enables one to configure the kernel for masquerading is        &lt;b&gt;iptables (Linux kernel 2.4)&lt;/b&gt; or &lt;b&gt;ipchains (Linux kernel 2.2)&lt;/b&gt;       &lt;/p&gt;       &lt;p&gt; The gateway computer will need two IP addresses and network connections, one to the private internal network and another to the external public internet.       &lt;/p&gt;       &lt;p&gt; A note on private network IP addresses: A set of IP addresses has been reserved  by IANA for private networks. They range from 192.168.0.1 to 192.168.254.254  for a typical small business or home network and are often referred to as CIDR private network addresses. Most private  networks conform to this scheme.       &lt;/p&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;center&gt;       &lt;table border="1"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#a0a0a0"&gt;             &lt;th&gt;Block&lt;/th&gt;             &lt;th colspan="2"&gt;Range &lt;/th&gt;             &lt;th&gt;CIDR Notation&lt;/th&gt;             &lt;th&gt;Default Subnet Mask&lt;/th&gt;             &lt;th&gt;Number of hosts&lt;/th&gt;           &lt;/tr&gt;            &lt;tr&gt;             &lt;td&gt;24 bit block in class A&lt;/td&gt;             &lt;td&gt;10.0.0.0&lt;/td&gt;             &lt;td&gt;10.255.255.255&lt;/td&gt;             &lt;td&gt;10.0.0.0/8&lt;/td&gt;             &lt;td&gt;255.0.0.0&lt;/td&gt;             &lt;td&gt;16,777,216&lt;/td&gt;           &lt;/tr&gt;           &lt;tr&gt;            &lt;/tr&gt;           &lt;tr&gt;             &lt;td&gt;20 bit block in class B&lt;/td&gt;             &lt;td&gt;172.16.0.0&lt;/td&gt;             &lt;td&gt;172.31.255.255&lt;/td&gt;             &lt;td&gt;172.16.0.0/12&lt;/td&gt;             &lt;td&gt;255.240.0.0&lt;/td&gt;             &lt;td&gt;1,048,576&lt;/td&gt;           &lt;/tr&gt;           &lt;tr&gt;            &lt;/tr&gt;           &lt;tr&gt;             &lt;td&gt;16 bit block in class C&lt;/td&gt;             &lt;td&gt;192.168.0.0&lt;/td&gt;             &lt;td&gt;192.168.255.255&lt;/td&gt;             &lt;td&gt;192.168.0.0/16&lt;/td&gt;             &lt;td&gt;255.255.0.0&lt;/td&gt;             &lt;td&gt;65,536&lt;/td&gt;           &lt;/tr&gt;           &lt;tr&gt;            &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;        &lt;/center&gt;  The actual number of hosts will be fewer that listed because addresses on each subnet will be reserved as a broadcast address, etc.       &lt;p&gt; This is detailed in &lt;a href="http://www.cse.ohio-state.edu/cgi-bin/rfc/rfc1918.html"&gt;RFC 1918&lt;/a&gt; - Address Allocation for Private Internets. For a description of class A, B, and C networks see the &lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialNetworking.html#CLASSES"&gt;YoLinux Networking Tutorial class description&lt;/a&gt;.       &lt;/p&gt;       &lt;p&gt; The private networks may be subdivided into various subnets as desired. Examples:       &lt;/p&gt;       &lt;center&gt;       &lt;table border="1"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#a0a0a0"&gt;             &lt;th colspan="2"&gt;Range &lt;/th&gt;             &lt;th&gt;CIDR Notation&lt;/th&gt;             &lt;th&gt;Default Subnet Mask&lt;/th&gt;             &lt;th&gt;Number of hosts&lt;/th&gt;           &lt;/tr&gt;            &lt;tr&gt;             &lt;td&gt;10.2.3.0&lt;/td&gt;             &lt;td&gt;10.2.4.255&lt;/td&gt;             &lt;td&gt;10.2.3.0/23&lt;/td&gt;             &lt;td&gt;255.255.254.0&lt;/td&gt;             &lt;td&gt;512&lt;/td&gt;           &lt;/tr&gt;           &lt;tr&gt;            &lt;/tr&gt;           &lt;tr&gt;             &lt;td&gt;172.16.0.0&lt;/td&gt;             &lt;td&gt;172.17.255.255&lt;/td&gt;             &lt;td&gt;172.16.0.0/15&lt;/td&gt;             &lt;td&gt;255.254.0.0&lt;/td&gt;             &lt;td&gt;132608&lt;/td&gt;           &lt;/tr&gt;           &lt;tr&gt;            &lt;/tr&gt;           &lt;tr&gt;             &lt;td&gt;192.168.5.128&lt;/td&gt;             &lt;td&gt;192.168.5.255&lt;/td&gt;             &lt;td&gt;192.168.5.128/25&lt;/td&gt;             &lt;td&gt;255.255.255.128&lt;/td&gt;             &lt;td&gt;128&lt;/td&gt;           &lt;/tr&gt;           &lt;tr&gt;            &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;        &lt;/center&gt;        &lt;p&gt;       &lt;a href="http://www.certguide.com/subnetchou.asp"&gt;CertGuide.com: Network Subnets&lt;/a&gt;       &lt;/p&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;hr noshade="noshade" size="5"&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#c0c0c0"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;Example 1: Linux connected via PPP&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;          &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt; This example uses a Linux computer connected to the internet using  a dial-up line and modem (PPP). The Linux gateway is connected to the internal network using an ethernet  card. The internal network consists of Windows PC's.       &lt;/p&gt;       &lt;p&gt; The Linux box must be configured for the private internal network and  PPP for the dial-up connection. See the       &lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialPPP.html"&gt;PPP tutorial&lt;/a&gt; to configure the dial-up connection. Use the &lt;b&gt;ifconfig&lt;/b&gt; command to configure the  private network. i.e. (as root)       &lt;/p&gt;       &lt;pre&gt;   /sbin/ifconfig eth1 192.168.10.101 netmask 255.255.255.0 broadcast 192.168.10.255&lt;br /&gt;&lt;/pre&gt;        &lt;p&gt; This is often configured during install or can be configured using the Gnome  tool &lt;tt&gt;neat&lt;/tt&gt; (or the admin tool &lt;tt&gt;Linuxconf&lt;/tt&gt; or &lt;tt&gt;netcfg&lt;/tt&gt; for older Red Hat systems). System changes made with the &lt;tt&gt;ifconfig&lt;/tt&gt; or &lt;tt&gt;route&lt;/tt&gt; commands are        &lt;b&gt;NOT&lt;/b&gt; permanent and are lost upon system reboot. Permanent settings are held in configuration scripts executed during system boot.  (i.e. &lt;tt&gt;/etc/sysconfig/...&lt;/tt&gt;) See the &lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialNetworking.html"&gt;YoLinux Networking tutorial&lt;/a&gt; for more information on assigning network addresses.       &lt;/p&gt;       &lt;p&gt; Run one of the following scripts on the Linux gateway computer:       &lt;/p&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;h3&gt;iptables:&lt;/h3&gt;        &lt;table bgcolor="#000000" border="0" cellpadding="4" cellspacing="1" width="100%"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#c0c0c0"&gt;             &lt;td&gt;             &lt;pre&gt;   iptables --flush                         &lt;b&gt;&lt;i&gt;- Flush all the rules in filter and nat tables&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;iptables --table nat --flush&lt;br /&gt;iptables --delete-chain                  &lt;b&gt;&lt;i&gt;- Delete all chains that are not in default filter and nat table&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;iptables --table nat --delete-chain&lt;br /&gt;&lt;br /&gt;# Set up IP FORWARDing and Masquerading&lt;br /&gt;iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE&lt;br /&gt;iptables --append FORWARD --in-interface eth0 -j ACCEPT         &lt;b&gt;&lt;i&gt;- Assuming one NIC to local LAN&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;echo 1 &gt; /proc/sys/net/ipv4/ip_forward    &lt;b&gt;&lt;i&gt;- Enables packet forwarding by kernel&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;         &lt;/pre&gt;              &lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;h3&gt;ipchains:&lt;/h3&gt;        &lt;table bgcolor="#000000" border="0" cellpadding="4" cellspacing="1" width="100%"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#c0c0c0"&gt;             &lt;td&gt;             &lt;pre&gt;   #!/bin/sh&lt;br /&gt;ipchains -F forward                                &lt;b&gt;&lt;i&gt;- Flush all previous rules and settings&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;ipchains -P forward DENY                           &lt;b&gt;&lt;i&gt;- Default set to deny packet forwarding&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;ipchains -A forward -s 192.168.10.0/24 -j MASQ     &lt;b&gt;&lt;i&gt;- Use IP address of gateway for private network&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;ipchains -A forward -i ppp0 -j MASQ                &lt;b&gt;&lt;i&gt;- Sets up external internet connection&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;echo 1 &gt; /proc/sys/net/ipv4/ip_forward             &lt;b&gt;&lt;i&gt;- Enables packet forwarding by kernel&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;         &lt;/pre&gt;              &lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt; A PPP connection as described by the        &lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialPPP.html"&gt;YoLinux PPP tutorial&lt;/a&gt; will create the PPP network connection as the default route.       &lt;/p&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;hr noshade="noshade" size="5"&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;         &lt;tbody&gt;           &lt;tr bgcolor="#c0c0c0"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;Example 2: Linux connected via DSL, Cable, T1&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt; High speed connections to the internet result in an ethernet connection to the gateway. Thus the gateway is required to possess two ethernet Network Interface Cards (NICs), one for the connection to the private internal network and another to the public internet. The ethernet cards are named &lt;b&gt;eth&lt;/b&gt; and are numbered uniquely from 0 upward.       &lt;/p&gt;       &lt;p&gt; Use the &lt;b&gt;ifconfig&lt;/b&gt; command to configure both network interfaces.       &lt;/p&gt;       &lt;table bgcolor="#000000" border="0" cellpadding="4" cellspacing="1" width="100%"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#c0c0c0"&gt;             &lt;td&gt;             &lt;pre&gt;/sbin/ifconfig eth0 XXX.XXX.XXX.XXX netmask 255.255.255.0 broadcast XXX.XXX.XXX.255  &lt;b&gt; - Internet&lt;/b&gt;&lt;br /&gt;/sbin/ifconfig eth1 192.168.10.101 netmask 255.255.255.0 broadcast 192.168.10.255    &lt;b&gt; - Private LAN&lt;/b&gt;&lt;br /&gt;         &lt;/pre&gt;              &lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;  Also see notes on &lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialNetworking.html#ADDNIC"&gt;adding a second NIC&lt;/a&gt;.       &lt;p&gt; This is often configured during install or can be configured using the Gnome  tool &lt;tt&gt;neat&lt;/tt&gt; (or the admin tool &lt;tt&gt;Linuxconf&lt;/tt&gt; or &lt;tt&gt;netcfg&lt;/tt&gt; for older Red Hat systems). System changes made with the &lt;tt&gt;ifconfig&lt;/tt&gt; or &lt;tt&gt;route&lt;/tt&gt; commands are        &lt;b&gt;NOT&lt;/b&gt; permanent and are lost upon system reboot. Permanent settings are held in configuration scripts executed during system boot.  (i.e. &lt;tt&gt;/etc/sysconfig/...&lt;/tt&gt;) See the &lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialNetworking.html"&gt;YoLinux Networking tutorial&lt;/a&gt; for more information on assigning network addresses.       &lt;/p&gt;       &lt;p&gt; Run the appropriate script on the linux computer where eth0 is connected to the internet and eth1 is connected to a private LAN:       &lt;/p&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;h3&gt;iptables:&lt;/h3&gt;        &lt;table bgcolor="#000000" border="0" cellpadding="4" cellspacing="1" width="100%"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#c0c0c0"&gt;             &lt;td&gt;             &lt;pre&gt;   # Delete and flush. Default table is "filter". Others like "nat" must be explicitly stated.&lt;br /&gt;iptables --flush            &lt;b&gt;&lt;i&gt;- Flush all the rules in filter and nat tables&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;iptables --table nat --flush&lt;br /&gt;iptables --delete-chain     &lt;b&gt;&lt;i&gt;- Delete all chains that are not in default filter and nat table&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;iptables --table nat --delete-chain&lt;br /&gt;&lt;br /&gt;# Set up IP FORWARDing and Masquerading&lt;br /&gt;iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE&lt;br /&gt;iptables --append FORWARD --in-interface eth1 -j ACCEPT&lt;br /&gt;&lt;br /&gt;echo 1 &gt; /proc/sys/net/ipv4/ip_forward             &lt;b&gt;&lt;i&gt;- Enables packet forwarding by kernel&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;         &lt;/pre&gt;              &lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;h3&gt;ipchains:&lt;/h3&gt;        &lt;table bgcolor="#000000" border="0" cellpadding="4" cellspacing="1" width="100%"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#c0c0c0"&gt;             &lt;td&gt;             &lt;pre&gt;   #!/bin/sh&lt;br /&gt;ipchains -F forward                                &lt;b&gt;&lt;i&gt;- Flush rules&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;ipchains -P forward DENY                           &lt;b&gt;&lt;i&gt;- Default set to deny packet forwarding&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;ipchains -A forward -s 192.168.10.0/24 -j MASQ     &lt;b&gt;&lt;i&gt;- Use IP address of gateway for private network&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;ipchains -A forward -i eth1 -j MASQ                &lt;b&gt;&lt;i&gt;- Sets up external internet connection&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;echo 1 &gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;         &lt;/pre&gt;              &lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt; Create a route for internal packets:       &lt;/p&gt;       &lt;pre&gt;     route add  -net 192.168.10.0  netmask 255.255.255.0 gw &lt;i&gt;XXX.XXX.XXX.XXX&lt;/i&gt; dev eth1&lt;br /&gt;&lt;/pre&gt;  Where &lt;tt&gt;&lt;i&gt;XXX.XXX.XXX.XXX&lt;/i&gt;&lt;/tt&gt; is the internet gateway defined by your ISP. For more information on routing see the        &lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialNetworking.html#ROUTETWONICS"&gt;YoLinux networking tutorial&lt;/a&gt;       &lt;p&gt;       &lt;b&gt;Note:&lt;/b&gt; While this configuration requires that the Linux gateway computer have two network cards, if you only have one PCI slot available you may use a card such as the Intel Pro 100 or Pro 1000 Dual Port which has two ethernet connections which reside on a single card. (This is what I use)        &lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialHardware.html#NIC"&gt;Yolinux Hardware tutorial: More on Network interface cards&lt;/a&gt;       &lt;/p&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;dl&gt;&lt;dd&gt;                &lt;table cellpadding="4" cellspacing="2" width="90%"&gt;      &lt;tbody&gt;               &lt;tr&gt;                 &lt;td&gt;                      &lt;table border="1"&gt;      &lt;tbody&gt;                     &lt;tr&gt;                       &lt;td valign="top"&gt;                       &lt;img alt="icon" src="http://ak.buy.com/db_assets/prod_images/816/10281816.jpg" border="0" /&gt;                       &lt;/td&gt;                     &lt;/tr&gt;                   &lt;/tbody&gt;                 &lt;/table&gt;                  &lt;/td&gt;                 &lt;td valign="top"&gt;     Intel PCI Dual Pro 100 or Pro 1000 NIC card supports two physical ethernet connections (eth0, eth1) on one card.              &lt;br /&gt;Compliant Standards: IEEE 802.3-LAN, IEEE 802.3U-LAN , Plug and Play              &lt;br /&gt;Connectivity Technology: Cable - 10Base-T, 100Base-TX              &lt;br /&gt;Data Link Protocol: Ethernet, Fast Ethernet              &lt;br /&gt;Processor: 82550 - Intel                 &lt;/td&gt;               &lt;/tr&gt;             &lt;/tbody&gt;           &lt;/table&gt;          &lt;/dd&gt;&lt;/dl&gt;        &lt;p&gt;       &lt;/p&gt;                                          &lt;p&gt;       &lt;/p&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#ffcc33"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;Iptables options: (Linux kernel 2.4/2.6 firewall)&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;          &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt; General /sbin/iptables format to add rules:     &lt;br /&gt;     &lt;tt&gt;iptables [-t|--table &lt;i&gt;table&lt;/i&gt;] -&lt;i&gt;command&lt;/i&gt; [chain] [-i &lt;i&gt;interface&lt;/i&gt;] [-p &lt;i&gt;protocol&lt;/i&gt;] [-s &lt;i&gt;address&lt;/i&gt; [&lt;i&gt;port&lt;/i&gt;[:&lt;i&gt;port&lt;/i&gt;]]]  [-d &lt;i&gt;address&lt;/i&gt; [&lt;i&gt;port&lt;/i&gt;[:&lt;i&gt;port&lt;/i&gt;]]]  -j &lt;i&gt;policy&lt;/i&gt; &lt;/tt&gt;       &lt;/p&gt;       &lt;p&gt; Six pre-defined "chain" rules are available:       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;INPUT         &lt;/li&gt;&lt;li&gt;OUTPUT         &lt;/li&gt;&lt;li&gt;INPUT         &lt;/li&gt;&lt;li&gt;FORWARD         &lt;/li&gt;&lt;li&gt;PREROUTING         &lt;/li&gt;&lt;li&gt;POSTROUTING         &lt;/li&gt;&lt;li&gt;User defined chains (just give it a new name instead of one of the pre-defined names)         &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;table&gt;          &lt;tbody&gt;           &lt;tr&gt;             &lt;td valign="top"&gt;             &lt;p&gt;             &lt;b&gt;iptables options:&lt;/b&gt;             &lt;/p&gt;             &lt;p&gt;             &lt;/p&gt;             &lt;/td&gt;           &lt;/tr&gt;            &lt;tr&gt;             &lt;td valign="top"&gt;             &lt;table border="1" cellpadding="2"&gt;                &lt;tbody&gt;                 &lt;tr bgcolor="#bbbbbb"&gt;                   &lt;th&gt;--table&lt;br /&gt;-t&lt;/th&gt;                   &lt;th&gt;Description&lt;/th&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;filter&lt;/td&gt;                   &lt;td&gt;Default table. This is used if not specified&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;nat&lt;/td&gt;                   &lt;td&gt;Network address translation&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;mangle&lt;/td&gt;                   &lt;td&gt;Used for Quality Of Service (QOS) and preferential treatment&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;raw&lt;/td&gt;                   &lt;td&gt;Enables optimization. i.e. Ignore firewall state matching for port 80 for enhanced speed due to less processing. Requires kernel patch&lt;/td&gt;                 &lt;/tr&gt;                &lt;/tbody&gt;             &lt;/table&gt;              &lt;/td&gt;             &lt;td valign="top"&gt;             &lt;table border="1" cellpadding="2"&gt;                &lt;tbody&gt;                 &lt;tr bgcolor="#bbbbbb"&gt;                   &lt;th valign="top"&gt;Command&lt;br /&gt;(Use one)&lt;/th&gt;                   &lt;th valign="top"&gt;Description&lt;/th&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-A&lt;br /&gt;--append&lt;/td&gt;                   &lt;td valign="top"&gt;Append rule to chain&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-D&lt;br /&gt;--delete&lt;/td&gt;                   &lt;td valign="top"&gt;Delete rule from chain&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-I&lt;br /&gt;--insert&lt;/td&gt;                   &lt;td valign="top"&gt;Insert rule at beginning or at specified sequence number in chain.&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-R&lt;br /&gt;--replace&lt;/td&gt;                   &lt;td valign="top"&gt;Replace rule&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-F&lt;br /&gt;--flush&lt;/td&gt;                   &lt;td valign="top"&gt;Flush all rules&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-Z&lt;br /&gt;--zero&lt;/td&gt;                   &lt;td valign="top"&gt;Zero byte counters in all chains&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-L&lt;br /&gt;--list&lt;/td&gt;                   &lt;td valign="top"&gt;List all rules.&lt;br /&gt;Add option &lt;tt&gt;--line-numbers&lt;/tt&gt; for rule number.&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-N&lt;br /&gt;--new-chain&lt;/td&gt;                   &lt;td valign="top"&gt;Create new chain&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-X&lt;br /&gt;--delete-chain&lt;/td&gt;                   &lt;td valign="top"&gt;Delete user defined chain&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-P&lt;br /&gt;--policy&lt;/td&gt;                   &lt;td valign="top"&gt;Set default policy for a chain&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-E&lt;br /&gt;--rename-chain&lt;/td&gt;                   &lt;td valign="top"&gt;Rename a chain&lt;/td&gt;                 &lt;/tr&gt;                &lt;/tbody&gt;             &lt;/table&gt;              &lt;/td&gt;             &lt;td valign="top"&gt;             &lt;table border="1" cellpadding="2"&gt;                &lt;tbody&gt;                 &lt;tr bgcolor="#bbbbbb"&gt;                   &lt;th&gt;Command Option&lt;/th&gt;                   &lt;th valign="top"&gt;Description&lt;/th&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-s&lt;br /&gt;--source&lt;/td&gt;                   &lt;td valign="top"&gt;Source address of packet&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-d&lt;br /&gt;--destination&lt;/td&gt;                   &lt;td valign="top"&gt;Destination address of packet&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-i&lt;br /&gt;--in-interface&lt;/td&gt;                   &lt;td valign="top"&gt;Interface packet is arriving from&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-o&lt;br /&gt;--out-interface&lt;/td&gt;                   &lt;td valign="top"&gt;Interface packet is going to&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-p&lt;br /&gt;--protocol&lt;/td&gt;                   &lt;td valign="top"&gt;Protocol:&lt;br /&gt;°tcp&lt;br /&gt;--sport port[:port]&lt;br /&gt;--dport port[:port]&lt;br /&gt;--syn&lt;br /&gt;°udp&lt;br /&gt;°icmp&lt;br /&gt;°mac&lt;br /&gt;...&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-j&lt;br /&gt;--jump&lt;/td&gt;                   &lt;td valign="top"&gt;Target to send packet to&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-f&lt;br /&gt;--fragment&lt;/td&gt;                   &lt;td valign="top"&gt;Fragment matching&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-c&lt;br /&gt;--set-counters&lt;/td&gt;                   &lt;td valign="top"&gt;Set packet/byte counter&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-m tcp&lt;br /&gt;--match tcp&lt;/td&gt;                   &lt;td valign="top"&gt;°--source-port &lt;i&gt;port[:port]&lt;/i&gt;&lt;br /&gt;(port # or range #:#)&lt;br /&gt;°--destination-port &lt;i&gt;port[:port]&lt;/i&gt;&lt;br /&gt;°--tcp-flags&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;-m state&lt;br /&gt;--match state&lt;/td&gt;                   &lt;td valign="top"&gt;--state&lt;br /&gt;°ESTABLISHED&lt;br /&gt;°RELATED&lt;br /&gt;°NEW&lt;br /&gt;°INVALID&lt;br /&gt;(Push content, not expected to recieve this packet.)&lt;/td&gt;                 &lt;/tr&gt;                &lt;/tbody&gt;             &lt;/table&gt;              &lt;/td&gt;             &lt;td valign="top"&gt;             &lt;table border="1" cellpadding="2"&gt;                &lt;tbody&gt;                 &lt;tr bgcolor="#bbbbbb"&gt;                   &lt;th&gt;Defined Policies&lt;/th&gt;                   &lt;th&gt;Description&lt;/th&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;ACCEPT&lt;/td&gt;                   &lt;td&gt;Let packet through&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;DROP&lt;/td&gt;                   &lt;td&gt;Deny packet with no reply&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;REJECT&lt;/td&gt;                   &lt;td&gt;Deny packet and notify sender&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;RETURN&lt;/td&gt;                   &lt;td&gt;Handled by default targets&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;MARK&lt;/td&gt;                   &lt;td&gt;Used for error response.&lt;br /&gt;Use with option --reject-with &lt;i&gt;type&lt;/i&gt;&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;MASQUERADE&lt;/td&gt;                   &lt;td&gt;Used with nat table and DHCP.&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;LOG&lt;/td&gt;                   &lt;td&gt;Log to file and specify message:&lt;br /&gt;°--log-level #&lt;br /&gt;°--log-prefix "&lt;i&gt;prefix&lt;/i&gt;"&lt;br /&gt;°--log-tcp-sequence&lt;br /&gt;°--log-tcp-options&lt;br /&gt;°--log-ip-options&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;ULOG&lt;/td&gt;                   &lt;td&gt;Log to file and specify userpace logging messages&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;SNAT&lt;/td&gt;                   &lt;td&gt;Valid in PREROUTING chain. Used by nat.&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;REDIRECT&lt;/td&gt;                   &lt;td&gt;Used with nat table. Output.&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;DNAT&lt;/td&gt;                   &lt;td&gt;Valid in POSTROUTING chain. Output.&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td valign="top"&gt;QUEUE&lt;/td&gt;                   &lt;td&gt;Pass packet to userspace.&lt;/td&gt;                 &lt;/tr&gt;                &lt;/tbody&gt;             &lt;/table&gt;              &lt;/td&gt;           &lt;/tr&gt;          &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt; For the full info see the        &lt;a href="http://node1.yo-linux.com/cgi-bin/man2html?cgi_command=iptables"&gt;man page for iptables&lt;/a&gt;.       &lt;/p&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;hr /&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#ffcc33"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;Ipchains options: (Linux kernel 2.2 firewall)&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;          &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt; General /sbin/ipchains format to add rules:     &lt;br /&gt;     &lt;tt&gt;ipchains -A|I [chain] [-i &lt;i&gt;interface&lt;/i&gt;] [-p &lt;i&gt;protocol&lt;/i&gt;] [-y]  [-s &lt;i&gt;address&lt;/i&gt; [&lt;i&gt;port&lt;/i&gt;[:&lt;i&gt;port&lt;/i&gt;]]]  [-d &lt;i&gt;address&lt;/i&gt; [&lt;i&gt;port&lt;/i&gt;[:&lt;i&gt;port&lt;/i&gt;]]]  -j &lt;i&gt;policy&lt;/i&gt; [-l]&lt;/tt&gt;       &lt;/p&gt;       &lt;p&gt;       &lt;b&gt;ipchains options:&lt;/b&gt;       &lt;/p&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;center&gt;       &lt;table&gt;          &lt;tbody&gt;           &lt;tr&gt;             &lt;td valign="top"&gt;             &lt;table border="1" cellpadding="2"&gt;                &lt;tbody&gt;                 &lt;tr bgcolor="#bbbbbb"&gt;                   &lt;th&gt;Command&lt;/th&gt;                   &lt;th&gt;Description&lt;/th&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;-A&lt;/td&gt;                   &lt;td&gt;Add rule to chain&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;-D&lt;/td&gt;                   &lt;td&gt;Delete rule from chain&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;-I&lt;/td&gt;                   &lt;td&gt;Insert rule&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;-R&lt;/td&gt;                   &lt;td&gt;Replace rule&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;-F&lt;/td&gt;                   &lt;td&gt;Flush all rules&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;-L&lt;/td&gt;                   &lt;td&gt;List all rules&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;-N&lt;/td&gt;                   &lt;td&gt;Create new chain&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;-X&lt;/td&gt;                   &lt;td&gt;Delete user defined chain&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;-P&lt;/td&gt;                   &lt;td&gt;Set default targe&lt;/td&gt;                 &lt;/tr&gt;                &lt;/tbody&gt;             &lt;/table&gt;              &lt;/td&gt;             &lt;td valign="top"&gt;             &lt;table border="1" cellpadding="2"&gt;                &lt;tbody&gt;                 &lt;tr bgcolor="#bbbbbb"&gt;                   &lt;th&gt;Command Option&lt;/th&gt;                   &lt;th&gt;Description&lt;/th&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;-s&lt;/td&gt;                   &lt;td&gt;Source address of packet&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;-d&lt;/td&gt;                   &lt;td&gt;Destination address of packet&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;-i&lt;/td&gt;                   &lt;td&gt;Interface packet is arriving from&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;-p&lt;/td&gt;                   &lt;td&gt;Protocol&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;-j&lt;/td&gt;                   &lt;td&gt;Target to send packet to&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;-y&lt;/td&gt;                   &lt;td&gt;For -p tcp. Packet is SYN packet.&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;--icmp-type&lt;/td&gt;                   &lt;td&gt;For -p icmp.&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;-l&lt;/td&gt;                   &lt;td&gt;Log the packet to syslog.&lt;br /&gt;                &lt;tt&gt;/var/log/messages&lt;/tt&gt;&lt;br /&gt;Available in default Red Hat 6.0+ kernel &lt;/td&gt;                 &lt;/tr&gt;                &lt;/tbody&gt;             &lt;/table&gt;              &lt;/td&gt;             &lt;td valign="top"&gt;             &lt;table border="1" cellpadding="2"&gt;                &lt;tbody&gt;                 &lt;tr bgcolor="#bbbbbb"&gt;                   &lt;th&gt;System targets&lt;br /&gt;(policy) &lt;/th&gt;                   &lt;th&gt;Description&lt;/th&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;ACCEPT&lt;/td&gt;                   &lt;td&gt;Let packet through&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;DENY&lt;/td&gt;                   &lt;td&gt;Deny packet&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;REJECT&lt;/td&gt;                   &lt;td&gt;Deny packet and notify sender&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;MASQ&lt;/td&gt;                   &lt;td&gt;Forward chain masquerade&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;REDIRECT&lt;/td&gt;                   &lt;td&gt;Send to different port&lt;/td&gt;                 &lt;/tr&gt;                  &lt;tr&gt;                   &lt;td&gt;RETURN&lt;/td&gt;                   &lt;td&gt;Handled by default targets&lt;/td&gt;                 &lt;/tr&gt;                &lt;/tbody&gt;             &lt;/table&gt;              &lt;/td&gt;           &lt;/tr&gt;          &lt;/tbody&gt;       &lt;/table&gt;        &lt;/center&gt;        &lt;p&gt; Four chain rule types are available:       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;IP input chain         &lt;/li&gt;&lt;li&gt;IP output chain         &lt;/li&gt;&lt;li&gt;IP forwarding chain         &lt;/li&gt;&lt;li&gt;User defined chains (just give it a new name instead of the built-in names: input, output or forward)         &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt; For the full info see the        &lt;a href="http://www.yolinux.com/TUTORIALS/ManPage_ipchains.html"&gt;man page for ipchains&lt;/a&gt;. To add firewall rules read the links provided below.       &lt;/p&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;hr size="5"&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#ffcc33"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;Configuring PCs on the office network:&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;          &lt;/tbody&gt;       &lt;/table&gt;        &lt;ul&gt;&lt;li&gt;All PC's on the private office network should set their "gateway" to be the local private network IP address of the Linux gateway computer. &lt;/li&gt;&lt;li&gt;The DNS should be set to that of the ISP on the internet.         &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;h4&gt;Windows '95 Configuration:&lt;/h4&gt;        &lt;ul&gt;&lt;li&gt;Select "Start" + Settings" + "Control Panel"          &lt;/li&gt;&lt;li&gt;Select the "Network" icon         &lt;/li&gt;&lt;li&gt;Select the tab "Configuration" and double click the component "TCP/IP" for the ethernet card. (NOT the TCP/IP -&gt; Dial-Up Adapter) &lt;/li&gt;&lt;li&gt;Select the tabs:                &lt;ul&gt;&lt;li&gt;"Gateway": Use the internal network IP address of the Linux box. (192.168.&lt;i&gt;XXX.XXX&lt;/i&gt;)     &lt;/li&gt;&lt;li&gt;"DNS Configuration": Use the IP addresses of the ISP Domain Name Servers. (Actual internet IP address)     &lt;/li&gt;&lt;li&gt;"IP Address": The IP address  (192.168.&lt;i&gt;XXX.XXX&lt;/i&gt; - static) and netmask (typically 255.255.255.0 for a small local office network) of the PC can also be set here.     &lt;/li&gt;&lt;/ul&gt;          &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;h4&gt;Linux computers:&lt;/h4&gt;        &lt;ul&gt;&lt;li&gt;&lt;b&gt;IP Address&lt;/b&gt;: Use ifconfig or netcfg commands to set the IP address and netmask.   &lt;br /&gt;See &lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialNetworking.html#ASSIGNIP"&gt;Assigning an IP address&lt;/a&gt; portion of the Networking tutorial.         &lt;/li&gt;&lt;li&gt;&lt;b&gt;Gateway&lt;/b&gt;: The gateway is set with the route command.        This can also be set by the GUI tool /usr/bin/netcfg or console tool        /usr/sbin/netconfig.       It is also stored by the system in the /etc/sysconfig/network file.          &lt;/li&gt;&lt;li&gt;&lt;b&gt;DNS&lt;/b&gt;: Configure file &lt;tt&gt;/etc/resolv.conf&lt;/tt&gt; to set the DNS and default domain.  &lt;br /&gt;See the &lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialNetworking.html#CONFIGFILES"&gt;Network configuration files&lt;/a&gt; portion of the Networking tutorial.         &lt;/li&gt;&lt;li&gt;Simple firewall for the desktop Linux system:                &lt;dl&gt;&lt;dd&gt;                    &lt;table bgcolor="#000000" border="0" cellpadding="4" cellspacing="1" width="100%"&gt;      &lt;tbody&gt;                   &lt;tr bgcolor="#c0c0c0"&gt;                     &lt;td&gt;                     &lt;pre&gt;iptables -P INPUT   DROP&lt;br /&gt;iptables -P FORWARD DROP&lt;br /&gt;iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT&lt;br /&gt;iptables -A INPUT -i lo -j ACCEPT&lt;br /&gt;iptables -A OUTPUT -o lo -j ACCEPT&lt;br /&gt; &lt;/pre&gt;                     &lt;/td&gt;                   &lt;/tr&gt;                 &lt;/tbody&gt;               &lt;/table&gt; Allow network connections which have already been established (started by host) and related to your connection. FTP requires this as it may use various ports in support of the file transfer.)&lt;br /&gt;   Allow network input/output from self (lo).     &lt;/dd&gt;&lt;/dl&gt;          &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;hr size="5"&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#ffcc33"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;Adding more security rules to your gateway:&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;          &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;h3&gt;iptables:&lt;/h3&gt;        &lt;p&gt; Deny a specific host: &lt;tt&gt;iptables  -I INPUT -s &lt;i&gt;&lt;b&gt;XXX.XXX.XXX.XXX&lt;/b&gt;&lt;/i&gt; -j DROP&lt;/tt&gt;       &lt;/p&gt;       &lt;p&gt; Block ports by adding the following firewall rules:        &lt;/p&gt;       &lt;table bgcolor="#000000" border="0" cellpadding="4" cellspacing="1" width="100%"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#c0c0c0"&gt;             &lt;td&gt;             &lt;pre&gt;# Allow loopback access. This rule must come before the rules denying port access!!&lt;br /&gt;iptables -A INPUT -i lo -p all -j ACCEPT  &lt;b&gt;&lt;i&gt;- Rule for your computer to be able to access itself via the loopback&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;iptables -A OUTPUT -o lo -p all -j ACCEPT&lt;br /&gt;&lt;br /&gt;iptables -A INPUT -p tcp -s 0/0 -d 0/0 --dport 2049 -j DROP       &lt;b&gt;&lt;i&gt;- Block NFS&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;iptables -A INPUT -p udp -s 0/0 -d 0/0 --dport 2049 -j DROP       &lt;b&gt;&lt;i&gt;- Block NFS&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;iptables -A INPUT -p tcp -s 0/0 -d 0/0 --dport 6000:6009 -j DROP  &lt;b&gt;&lt;i&gt;- Block X-Windows&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;iptables -A INPUT -p tcp -s 0/0 -d 0/0 --dport 7100 -j DROP       &lt;b&gt;&lt;i&gt;- Block X-Windows font server&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;iptables -A INPUT -p tcp -s 0/0 -d 0/0 --dport 515 -j DROP        &lt;b&gt;&lt;i&gt;- Block printer port&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;iptables -A INPUT -p udp -s 0/0 -d 0/0 --dport 515 -j DROP        &lt;b&gt;&lt;i&gt;- Block printer port&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;iptables -A INPUT -p tcp -s 0/0 -d 0/0 --dport 111 -j DROP        &lt;b&gt;&lt;i&gt;- Block Sun rpc/NFS&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;iptables -A INPUT -p udp -s 0/0 -d 0/0 --dport 111 -j DROP        &lt;b&gt;&lt;i&gt;- Block Sun rpc/NFS&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;iptables -A INPUT -p all -s localhost  -i eth0 -j DROP  &lt;b&gt;&lt;i&gt;- Deny packets which claim to be from your loopback interface.&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;         &lt;/pre&gt;              &lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;  These rules may be executed on their own to protect your system while  attached to the internet or they may be appended to the end of the iptables  gateway NAT scripts above.       &lt;p&gt; Debugging and logging:       &lt;/p&gt;       &lt;table bgcolor="#000000" border="0" cellpadding="4" cellspacing="1" width="100%"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#c0c0c0"&gt;             &lt;td&gt;             &lt;pre&gt;iptables -A INPUT -j LOG --log-prefix "INPUT_DROP: "&lt;br /&gt;iptables -A OUTPUT -j LOG --log-prefix "OUTPUT_DROP: "&lt;br /&gt;&lt;/pre&gt;              &lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;  Add this to the end of your rules and you should be able to monitor dropped connections in &lt;tt&gt;/var/log/messages&lt;/tt&gt;. I do &lt;b&gt;NOT&lt;/b&gt; log in this method  due to the outrageous volume of messages it generates. Use this for debugging or short term monitoring of the network.       &lt;p&gt;       &lt;/p&gt;       &lt;hr /&gt;       &lt;p&gt; Another approach to firewalls is to drop everything and then grant access to  each port you may need.        &lt;/p&gt;       &lt;table bgcolor="#000000" border="0" cellpadding="4" cellspacing="1" width="100%"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#c0c0c0"&gt;             &lt;td&gt;             &lt;pre&gt;iptables -F&lt;br /&gt;iptables -A INPUT -i lo -p all -j ACCEPT                       &lt;b&gt;&lt;i&gt;- Allow self access by loopback interface&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;iptables -A OUTPUT -o lo -p all -j ACCEPT&lt;br /&gt;iptables -A INPUT -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT &lt;b&gt;&lt;i&gt;- Accept established connections&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;iptables -A INPUT -p tcp --tcp-option ! 2 -j REJECT --reject-with tcp-reset&lt;br /&gt;iptables -A INPUT -p tcp -i eth0 --dport 21 -j ACCEPT          &lt;b&gt;&lt;i&gt;- Open ftp port&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;iptables -A INPUT -p udp -i eth0 --dport 21 -j ACCEPT&lt;br /&gt;iptables -A INPUT -p tcp -i eth0 --dport 22 -j ACCEPT          &lt;b&gt;&lt;i&gt;- Open secure shell port&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;iptables -A INPUT -p udp -i eth0 --dport 22 -j ACCEPT&lt;br /&gt;iptables -A INPUT -p tcp -i eth0 --dport 80 -j ACCEPT          &lt;b&gt;&lt;i&gt;- Open HTTP port&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;iptables -A INPUT -p udp -i eth0 --dport 80 -j ACCEPT&lt;br /&gt;iptables -A INPUT -p tcp --syn -s 192.168.10.0/24 --destination-port 139 -j ACCEPT   &lt;b&gt;&lt;i&gt;- Accept local Samba connection&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;iptables -A INPUT -p tcp --syn -s trancas --destination-port 139 -j ACCEPT&lt;br /&gt;iptables -P INPUT DROP               &lt;b&gt;&lt;i&gt;- Drop all other connection attempts. Only connections defined above are allowed.&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;         &lt;/pre&gt;              &lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;hr /&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;h3&gt;ipchains:&lt;/h3&gt;  This script configures firewall rules for a Linux computer with two ethernet ports. One port connects the computer to the internet with an external address  of &lt;i&gt;&lt;b&gt;XXX.XXX.XXX.XXX&lt;/b&gt;&lt;/i&gt;. The other ethernet port connects the computer to an internal network of 192.168.10.0 to 192.168.10.255. This script is more complex but preferred to the previous  scripts because of the extra security that the extra firewall rules offer. The script does work with a system running portsentry. For more on portsentry see the &lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialInternetSecurity.html#PORTSENTRY"&gt;YoLinux Internet Security: portsentry Tutorial&lt;/a&gt;.       &lt;p&gt; Internet external network interface: eth0    &lt;br /&gt;Internal private network interface: eth1    &lt;br /&gt;Local loopback virtual interface: lo       &lt;/p&gt;       &lt;p&gt; Gateway script for ipchains firewall and NAT:       &lt;/p&gt;       &lt;table bgcolor="#000000" border="0" cellpadding="4" cellspacing="1" width="100%"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#c0c0c0"&gt;             &lt;td&gt;             &lt;pre&gt;   #!/bin/sh&lt;br /&gt;&lt;br /&gt;# &lt;b&gt;Flush Rules&lt;/b&gt;&lt;br /&gt;ipchains -F forward&lt;br /&gt;ipchains -F output&lt;br /&gt;ipchains -F input&lt;br /&gt;&lt;br /&gt;# &lt;b&gt;Set default to deny all&lt;/b&gt;&lt;br /&gt;ipchains -P input   DENY&lt;br /&gt;ipchains -P output  DENY&lt;br /&gt;ipchains -P forward DENY&lt;br /&gt;&lt;br /&gt;# &lt;b&gt;Add Rules&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;# Accept packets from itself (localhost) (s)ource to itself (d)estination&lt;br /&gt;# Keeps system logging, X-Windows or any socket based service working.&lt;br /&gt;ipchains -A input  -j ACCEPT -p all -s localhost -d localhost -i lo&lt;br /&gt;ipchains -A output -j ACCEPT -p all -s localhost -d localhost -i lo&lt;br /&gt;&lt;br /&gt;# Deny and log (option -l) spoofed packets from external network (eth0) which mimic internal IP addresses&lt;br /&gt;ipchains -A input -j REJECT -p all -s 192.168.10.0/24 -i eth0 -l&lt;br /&gt;&lt;br /&gt;# Accept requests/responses from/to your own firewall machine&lt;br /&gt;ipchains -A input   -j ACCEPT -p all -d &lt;i&gt;&lt;b&gt;XXX.XXX.XXX.XXX&lt;/b&gt;&lt;/i&gt; -i eth0&lt;br /&gt;ipchains -A output  -j ACCEPT -p all -s &lt;i&gt;&lt;b&gt;XXX.XXX.XXX.XXX&lt;/b&gt;&lt;/i&gt; -i eth0&lt;br /&gt;&lt;br /&gt;# Allow outgoing packets source (s) to destination (d)&lt;br /&gt;ipchains -A input   -j ACCEPT -p all -s 192.168.10.0/24 -i eth1&lt;br /&gt;ipchains -A output  -j ACCEPT -p all -s 192.168.10.0/24 -i eth1&lt;br /&gt;&lt;br /&gt;# Deny and log (option -l) outside packets from internet which claim to be from your loopback interface&lt;br /&gt;ipchains -A input  -j REJECT -p all -s localhost  -i eth0 -l&lt;br /&gt;&lt;br /&gt;ipchains -A forward -s 192.168.10.0/24 -j MASQ&lt;br /&gt;ipchains -A forward -i eth1 -j MASQ&lt;br /&gt;&lt;br /&gt;# &lt;b&gt;Enable  packet forwarding&lt;/b&gt;&lt;br /&gt;echo 1 &gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;         &lt;/pre&gt;              &lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt; Notes:       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;For this example it was assumed that your private network is from 192.168.10.0 to 192.168.10.255         &lt;/li&gt;&lt;li&gt;The &lt;tt&gt;-d 0.0.0.0/0&lt;/tt&gt; refers to all or any destination address of packet. (destination in this case is irrelevant and the -d statement may be omitted))         &lt;/li&gt;&lt;li&gt;localhost refers to your loopback interface on 127.0.0.1         &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;hr /&gt;       &lt;p&gt; Red Hat 7.1 will configure firewall rules as an option during installation. Note that the firewall rules are generated for ipchains. The configuration tool &lt;tt&gt;/usr/bin/gnome-lokkit&lt;/tt&gt; was used to perform this setup.       &lt;/p&gt;       &lt;p&gt; Example of the security configuration: &lt;tt&gt;/etc/sysconfig/ipchains&lt;/tt&gt;    &lt;br /&gt;This is the configuration file for the script &lt;tt&gt;/etc/rc.d/init.d/ipchains&lt;/tt&gt; (which calls &lt;tt&gt;/sbin/ipchains-restore&lt;/tt&gt;) which may be invoked during  system boot.       &lt;/p&gt;       &lt;table bgcolor="#000000" border="0" cellpadding="4" cellspacing="1" width="100%"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#c0c0c0"&gt;             &lt;td&gt;             &lt;pre&gt;# Firewall configuration written by lokkit&lt;br /&gt;# Manual customization of this file is not recommended.&lt;br /&gt;# Note: ifup-post will punch the current nameservers through the&lt;br /&gt;#       firewall; such entries will *not* be listed here.&lt;br /&gt;:input ACCEPT&lt;br /&gt;:forward ACCEPT&lt;br /&gt;:output ACCEPT&lt;br /&gt;-A input -s 0/0 -d 0/0 80 -p tcp -y -j ACCEPT                &lt;b&gt;&lt;i&gt;- Allow WWW http access to web server&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;-A input -s 0/0 -d 0/0 22 -p tcp -y -j ACCEPT                &lt;b&gt;&lt;i&gt;- Allow SSH (Secure Shell) access&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;-A input -s 0/0 67:68 -d 0/0 67:68 -p udp -i eth0 -j ACCEPT  &lt;b&gt;&lt;i&gt;- Allow DHCP/BOOTPC&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;-A input -s 0/0 67:68 -d 0/0 67:68 -p udp -i eth1 -j ACCEPT&lt;br /&gt;-A input -s 0/0 -d 0/0 -i lo -j ACCEPT&lt;br /&gt;-A input -s 0/0 -d 0/0 -i eth1 -j ACCEPT  &lt;b&gt;&lt;i&gt;- eth1 internal network access OK. External eth0 goes through firewall rules&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;-A input -p tcp -s 0/0 -d 0/0 0:1023 -y -j REJECT    &lt;b&gt;&lt;i&gt;- This shuts off telnet,FTP,bind...! Use for a workstation only&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;-A input -p tcp -s 0/0 -d 0/0 2049 -y -j REJECT&lt;br /&gt;-A input -p udp -s 0/0 -d 0/0 0:1023 -j REJECT       &lt;b&gt;&lt;i&gt;- Workstation only or explicitly ports as above with 80, 22&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;-A input -p udp -s 0/0 -d 0/0 2049 -j REJECT         &lt;b&gt;&lt;i&gt;- Block NFS&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;-A input -p tcp -s 0/0 -d 0/0 6000:6009 -y -j REJECT &lt;b&gt;&lt;i&gt;- Block remote X-Window connections&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;-A input -p tcp -s 0/0 -d 0/0 7100 -y -j REJECT      &lt;b&gt;&lt;i&gt;- Block remote font server connections&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;         &lt;/pre&gt;              &lt;/td&gt;           &lt;/tr&gt;         &lt;/tbody&gt;       &lt;/table&gt;  Note: Once ipchains have been invoked for kernel 2.4 (RH 7.1), one may NOT use iptables. You may use one or the other but not both.       &lt;p&gt;       &lt;/p&gt;       &lt;hr /&gt;       &lt;p&gt;       &lt;b&gt;Save/restore an tables/ipchains configuration:&lt;/b&gt;       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;IpTables:      &lt;a href="http://www2.yo-linux.com/cgi-bin/man.cgi?topic=iptables-save"&gt;iptables-save man page&lt;/a&gt;                &lt;dl&gt;&lt;dd&gt;     &lt;tt&gt;/sbin/iptables-save &gt; /etc/sysconfig/iptables.rules&lt;/tt&gt;  &lt;br /&gt;            &lt;tt&gt;/sbin/iptables-restore &lt; /etc/sysconfig/iptables.rules&lt;/tt&gt;     &lt;/dd&gt;&lt;/dl&gt;            &lt;p&gt;           &lt;/p&gt;         &lt;/li&gt;&lt;li&gt;IpChains:      &lt;a href="http://yo-linux.com/cgi-bin/man2html?cgi_command=ipchains-save"&gt;ipchains-save man page&lt;/a&gt;                &lt;dl&gt;&lt;dd&gt;     &lt;tt&gt;/sbin/ipchains-save &gt; /etc/sysconfig/ipchains.rules&lt;/tt&gt;  &lt;br /&gt;            &lt;tt&gt;/sbin/ipchains-restore &lt; /etc/sysconfig/ipchains.rules&lt;/tt&gt;     &lt;/dd&gt;&lt;/dl&gt;          &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt; The system init script looks for the file name        &lt;tt&gt;/etc/sysconfig/ipchains&lt;/tt&gt; instead of        &lt;tt&gt;/etc/sysconfig/ipchains.rules&lt;/tt&gt;.  This will make the rules accessible to the init script which will invoke the  rules upon system boot. See the        &lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialInitProcess.html"&gt;YoLinux Init process tutorial&lt;/a&gt; for more information on init scripts and system boot procedures.       &lt;/p&gt;       &lt;p&gt; Also see: &lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialNetworking.html#ICMPOFF"&gt;how to turn off ICMP and look invisible to ping&lt;/a&gt;.       &lt;a name="PROCFILE"&gt;&lt;/a&gt;       &lt;/p&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;hr size="5"&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#ffcc33"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;proc file settings:&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;          &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;Turning on Linux kernel support for spoof and DOS (Denial Of Service) protection:           &lt;p&gt;           &lt;/p&gt;           &lt;pre&gt;   echo 1 &gt;/proc/sys/net/ipv4/tcp_syncookies&lt;br /&gt;&lt;/pre&gt;  Must first be compiled into kernel. (Included in Redhat default kernel) By default the Redhat  install has this disabled (set to 0). This helps to prevent against the common 'syn flood attack'. A connecting computer (peer) may not receive reliable error messages from an over loaded server with syncookies enabled.           &lt;p&gt; For more on SYS cookies see: CERT Advisory CA-96.21           &lt;/p&gt;           &lt;p&gt;           &lt;/p&gt;         &lt;/li&gt;&lt;li&gt;Turn on Source Address Verification: (Off by default on Red Hat install - set to 0)           &lt;pre&gt;   echo 1 &gt;/proc/sys/net/ipv4/conf/&lt;b&gt;eth0&lt;/b&gt;/rp_filter&lt;br /&gt;&lt;b&gt;OR&lt;/b&gt;&lt;br /&gt;echo 1 &gt;/proc/sys/net/ipv4/conf/&lt;b&gt;all&lt;/b&gt;/rp_filter&lt;br /&gt;&lt;/pre&gt;            &lt;p&gt; State the interface appropriate for your installation.        &lt;br /&gt;The first example prevents spoofing attacks against your external networks only.           &lt;/p&gt;           &lt;p&gt;IP spoofing is a technique where a host sends out packets which claim to be from another host. It is also used to hide the identity of the attacker. &lt;/p&gt;         &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt; The &lt;a href="http://node1.yo-linux.com/cgi-bin/man2html?cgi_command=tcp"&gt;TCP Man page - Linux Programmer's Manual&lt;/a&gt; and        &lt;tt&gt;/usr/src/linux/proc.txt&lt;/tt&gt; &lt;a href="http://www.mjmwired.net/kernel/Documentation/filesystems/proc.txt"&gt;[link]&lt;/a&gt; (Kernel 2.4) cover &lt;tt&gt; /proc/sys/net/ipv4/*&lt;/tt&gt; file descriptions.       &lt;/p&gt;       &lt;p&gt;  Also see:        &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;local file:&lt;a href="http://www.mjmwired.net/kernel/Documentation/filesystems/proc.txt"&gt;/usr/src/linux/Documentation/proc.txt&lt;/a&gt;          &lt;/li&gt;&lt;li&gt;&lt;a href="http://node1.yo-linux.com/cgi-bin/man2html?cgi_command=proc"&gt;proc man page&lt;/a&gt;         &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;hr size="5"&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#ffcc33"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;IP Forwading Notes:&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;          &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt; Choose one of the following to allow the Linux kernel to forward IP packets:       &lt;/p&gt;       &lt;ol&gt;&lt;li&gt;Immediately allow the forwarding of packets. The configuration is not preserved on reboot but sets a flag in the kernel itself.           &lt;pre&gt;    echo 1 &gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;&lt;/pre&gt;            &lt;p&gt;           &lt;/p&gt;         &lt;/li&gt;&lt;li&gt;Another method is to alter the Linux kernel config file: &lt;tt&gt;/etc/sysctl.conf&lt;/tt&gt;        &lt;br /&gt;Set the following value:           &lt;pre&gt;    net.ipv4.ip_forward = 1&lt;br /&gt;&lt;/pre&gt;  This will configure the system to allow forwarding of packets upon system boot. It is stored in this configuration file and thus read and set upon system boot. If set to "0" then there will be no forwarding of packets.           &lt;p&gt;           &lt;/p&gt;         &lt;/li&gt;&lt;li&gt;An alternate method is to alter the network script: &lt;tt&gt;/etc/sysconfig/network&lt;/tt&gt;           &lt;pre&gt;     FORWARD_IPV4=true&lt;br /&gt;&lt;/pre&gt;  Change the default "false" to "true".         &lt;/li&gt;&lt;/ol&gt;        &lt;p&gt;All the above methods will result in a proc file value of "1" to allow TCP packet forwarding. Options 2 and 3 set boot configurations in a configuration file and will not take effect until system boot.&lt;br /&gt;Test the current setting of the kernel: &lt;tt&gt;cat /proc/sys/net/ipv4/ip_forward&lt;/tt&gt;       &lt;/p&gt;       &lt;p&gt; Note: The &lt;tt&gt;/proc&lt;/tt&gt; directory is NOT on your hard drive but is present in the running kernel.       &lt;/p&gt;       &lt;p&gt;       &lt;/p&gt;       &lt;hr /&gt;       &lt;p&gt;       &lt;b&gt;CIDR Notation:&lt;/b&gt;       &lt;/p&gt;       &lt;dl&gt;&lt;dd&gt; The notation &lt;tt&gt;"/24"&lt;/tt&gt; refers to the use of the first 24 bits of a 32 IP address. The is the equivalent of using the bitmask &lt;tt&gt;255.255.255.0&lt;/tt&gt;. To put it another way, it specifies a range of IP addresses: 0 to 255 for  the last octet while the first three remain constant.           &lt;p&gt; Example: 192.168.103.0/24 refers to the IP address range 192.168.103.0 to 192.168.103.255           &lt;/p&gt;           &lt;p&gt; The notation &lt;tt&gt;"/32"&lt;/tt&gt; refers to a single IP address as it implies that all 32 bits of the IP address are significant.           &lt;/p&gt;         &lt;/dd&gt;&lt;/dl&gt;        &lt;p&gt;       &lt;/p&gt;       &lt;hr size="5"&gt;       &lt;table border="0" cellpadding="2" cellspacing="0" width="100%"&gt;          &lt;tbody&gt;           &lt;tr bgcolor="#ffcc33"&gt;             &lt;td&gt;&lt;b&gt;&lt;big&gt;Configuration Tools:&lt;/big&gt;&lt;/b&gt;&lt;/td&gt;           &lt;/tr&gt;          &lt;/tbody&gt;       &lt;/table&gt;        &lt;p&gt; GUI tools and scripts exist to help you with the configuration of ipchains. See:       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.linux-kheops.com/pub/easyfw/"&gt;EasyFw&lt;/a&gt; - Tcl/Tk - RPM available from web site.   &lt;br /&gt;        &lt;small&gt;RPM installs command: &lt;tt&gt;/usr/local/bin/easyfw&lt;/tt&gt;&lt;/small&gt;         &lt;/li&gt;&lt;li&gt;&lt;a href="http://firestarter.sourceforge.net/"&gt;Firestarter&lt;/a&gt; - Configuration of firewall and real-time hit monitor for the Gnome desktop. Configures ipchains (kernel 2.2) and iptables (kernel 2.4) &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.fwbuilder.org/"&gt;Firewall Builder&lt;/a&gt; - iptables,  ipfilter and OpenBSD PF. (GTK--)         &lt;/li&gt;&lt;/ul&gt;        &lt;p&gt; Included with Red Hat 7.x is the Gnome GUI tool gnome-lokkit. (ipchains)       &lt;/p&gt;       &lt;p&gt; Tools for iptables configuration:       &lt;/p&gt;       &lt;ul&gt;&lt;li&gt;&lt;a href="http://www.webmin.com/webmin/"&gt;Webmin&lt;/a&gt; - Linux web admin tool         &lt;/li&gt;&lt;li&gt;&lt;a href="http://shorewall.sourceforge.net/"&gt;Shorewall&lt;/a&gt;          &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.knowplace.org/netfilter/narc.html"&gt;NARC: Netfilter Automatic Rule Configurator&lt;/a&gt;         &lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7412437316807711718-7787859544345202086?l=itechno23.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itechno23.blogspot.com/feeds/7787859544345202086/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7412437316807711718&amp;postID=7787859544345202086' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/7787859544345202086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/7787859544345202086'/><link rel='alternate' type='text/html' href='http://itechno23.blogspot.com/2008/05/using-linux-iptables-or-ipchains-to-set.html' title='Using Linux iptables or ipchains to set up an internet gateway / firewall / router for home or office'/><author><name>Techno</name><uri>http://www.blogger.com/profile/04294542666339882203</uri><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-7412437316807711718.post-4144880656940846628</id><published>2008-05-23T06:46:00.002+07:00</published><updated>2008-05-23T06:55:23.472+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Tips n Trick'/><title type='text'>Manage Your Laptop's Hotkeys On Fedora</title><content type='html'>&lt;p&gt;This document describes how to make your laptop's hotkeys usable on Fedora. I've tested this with Fedora 8 but it should also work with other Fedora versions - and maybe, with a little modification, also with other distributions.&lt;/p&gt; &lt;p&gt;This howto is a practical guide without any warranty - it doesn't cover the theoretical backgrounds. There are many ways to set up such a system - this is the way I chose.&lt;/p&gt; &lt;p&gt; &lt;/p&gt;  &lt;h3&gt;1 Preparation&lt;/h3&gt; &lt;h4&gt;1.1 Needed Packages&lt;/h4&gt; &lt;p&gt;We'll use xbindkeys to assign actions to the hotkeys that don't create an ACPI event.&lt;/p&gt; &lt;ul&gt;&lt;li&gt;xbindkeys&lt;/li&gt;&lt;/ul&gt; &lt;p&gt; &lt;/p&gt;  &lt;h4&gt;1.2 Xserver Configuration&lt;/h4&gt; &lt;p&gt;To be  able to toggle the touchpad on and off we have to adjust the xserver configuration (root privileges needed).&lt;/p&gt; &lt;p class="command"&gt;vi /etc/X11/xorg.conf&lt;/p&gt; &lt;p&gt;Search the section "&lt;span class="system"&gt;InputDevice&lt;/span&gt;" with the identifier "&lt;span class="system"&gt;Synaptics&lt;/span&gt;" and add the following line into this section.&lt;/p&gt; &lt;p class="system"&gt;Option "SHMConfig" "on"&lt;/p&gt; &lt;p&gt;The section should now look like this:&lt;/p&gt;&lt;span class="fullpost"&gt;&lt;pre&gt;Section "InputDevice"&lt;br /&gt;      Identifier  "Synaptics"&lt;br /&gt;      Driver      "synaptics"&lt;br /&gt;      Option      "Device" "/dev/input/mice"&lt;br /&gt;      Option      "Protocol" "auto-dev"&lt;br /&gt;      Option      "Emulate3Buttons" "yes"&lt;br /&gt;      Option      "SHMConfig" "on"&lt;br /&gt;EndSection&lt;/pre&gt; &lt;p&gt;Afterwards save the changes and log out and back in again for the changes to take effect.&lt;/p&gt; &lt;p&gt; &lt;/p&gt;  &lt;h4&gt;1.3 Hotkey Events&lt;/h4&gt; &lt;p&gt;Let's find out what happens when we press the hotkeys.&lt;/p&gt; &lt;p&gt; &lt;/p&gt;  &lt;h4&gt;1.3.1 ACPI&lt;/h4&gt; &lt;p&gt;Most hotkeys like the "Fn-buttons" will create an ACPI event - so let's have a look at them. Run ...&lt;/p&gt; &lt;p class="command"&gt;acpi_listen&lt;/p&gt; &lt;p&gt;... and press a hotkey a few times. You'll see an output like this:&lt;/p&gt; &lt;p class="system"&gt;hotkey ATKD 00000031 0000001a&lt;br /&gt;hotkey ATKD 00000031 0000001b&lt;br /&gt;hotkey ATKD 00000031 0000001c&lt;/p&gt; &lt;p&gt;As you can see the first number (position3) is static and the second number dynamic. We need only the static number. Now press all your hotkeys one after another and write down the static numbers - you'll need them later.&lt;/p&gt; &lt;p&gt; &lt;/p&gt;  &lt;h4&gt;1.3.2 Xev&lt;/h4&gt; &lt;p&gt;Some hotkeys create a keycode instead of an ACPI event.&lt;/p&gt; &lt;p class="command"&gt;xev&lt;/p&gt; &lt;p&gt;A new window will pop up with a little square in it. Move the cursor into the square and press all hotkeys that haven't created an ACPI event in the step before. Don't move your mouse during this time - else you'll see lots of events caused by the movement of your mouse and not from the hotkeys. You'll see the keycode for each hotkey in the terminal window - it could look like this:&lt;/p&gt; &lt;p class="system"&gt;KeyPress event, serial 30, synthetic NO, window 0x3a00001,&lt;br /&gt;root 0x13b, subw 0x3a00002, time 3282991713, (49,43), root:(1105,203),&lt;br /&gt;state 0x0, &lt;strong&gt;keycode 162&lt;/strong&gt; (keysym 0x0, NoSymbol), same_screen YES,&lt;br /&gt;XLookupString gives 0 bytes:&lt;br /&gt;XmbLookupString gives 0 bytes:&lt;br /&gt;XFilterEvent returns: False&lt;/p&gt; &lt;p class="system"&gt;KeyRelease event, serial 30, synthetic NO, window 0x3a00001,&lt;br /&gt;root 0x13b, subw 0x3a00002, time 3282991781, (49,43), root:(1105,203),&lt;br /&gt;state 0x0, &lt;strong&gt;keycode 162&lt;/strong&gt; (keysym 0x0, NoSymbol), same_screen YES,&lt;br /&gt;XLookupString gives 0 bytes:&lt;br /&gt;XFilterEvent returns: False&lt;/p&gt; &lt;p&gt;Write down the keycode numbers - you'll need them later.&lt;/p&gt; &lt;p&gt; &lt;/p&gt;  &lt;h3&gt;2 Handle The ACPI Events&lt;/h3&gt; &lt;p&gt;First we have to tell the ACPI event handler that our special script, that we'll create in a moment, shall be executed when a hotkey is pressed (root privileges needed).&lt;/p&gt; &lt;p class="command"&gt;vi /etc/acpi/events/hotkeys.conf&lt;/p&gt; &lt;p&gt;The content should look like this:&lt;/p&gt; &lt;pre&gt;# Hotkey configuration&lt;br /&gt;&lt;br /&gt;event=hotkey (ATKD|HOTK)*&lt;br /&gt;action=/etc/acpi/actions/hotkeys.sh %e&lt;/pre&gt; &lt;p&gt;Next we create a special script to work up the hotkey-events (root privileges needed).&lt;/p&gt; &lt;p class="command"&gt;vi /etc/acpi/events/hotkeys.sh&lt;/p&gt; &lt;p&gt;In the following I'll describe the single parts of the script. First we have to define the shell and the paths where the script has to search for the applications that you want to execute.&lt;/p&gt; &lt;p class="system"&gt;#!/bin/sh&lt;/p&gt; &lt;p class="system"&gt;PATH=/sbin:/bin:/usr/bin&lt;/p&gt; &lt;p&gt;The script is able to handle more than one session on multi-user systems. If you're the only user on the system enter your username into the corresponding field.&lt;/p&gt; &lt;p class="system"&gt;# Possible values:&lt;br /&gt;# "0" = multi user system&lt;br /&gt;# "your_username" = single user system&lt;br /&gt;user="0"&lt;/p&gt; &lt;p&gt;This is the part that detects the user of the currently active session on multi user systems - nothing to adjust here.&lt;/p&gt; &lt;p class="system"&gt;# Detect the currently active user on multi user systems&lt;br /&gt;checkuser()&lt;br /&gt;{&lt;br /&gt;if [ $user = "0" ]&lt;br /&gt;then&lt;br /&gt;uid_session=$(&lt;br /&gt;ck-list-sessions | \&lt;br /&gt;awk '&lt;br /&gt;/^Session[0-9]+:$/ { uid = active = x11 = "" ; next }&lt;br /&gt;{ gsub(/'\''/, "", $3) }&lt;br /&gt;$1 == "uid" { uid = $3 }&lt;br /&gt;$1 == "active" { active = $3 }&lt;br /&gt;$1 == "x11-display" { x11 = $3 }&lt;br /&gt;active == "TRUE" &amp;amp;&amp;amp; x11 != "" {&lt;br /&gt;print uid&lt;br /&gt;exit&lt;br /&gt;}'&lt;br /&gt;)&lt;br /&gt;user_data=(`cat /etc/passwd | grep $uid_session | tr ':' ' '`)&lt;br /&gt;user=${user_data[0]}&lt;br /&gt;fi&lt;br /&gt;}&lt;/p&gt; &lt;p&gt;Now we reached the interesting part - here we'll assign actions to the hotkeys. Remember the hotkey events from step 1.3.1 - the third position of the ACPI events contains the static number that we need to distinguish between the events. Because we passed the whole ACPI event to this script we have to tell the script that it has to use the third position of the event - this is in &lt;span class="system"&gt;$3&lt;/span&gt;.&lt;/p&gt; &lt;p class="system"&gt;# Assign actions to the hotkeys&lt;br /&gt;case $3 in&lt;/p&gt; &lt;p&gt;The following hotkey configurations are examples from my laptop (ASUS G1S) - so you have to replace the event numbers so that they fit to your system. We'll start with the email client Evolution. When I press the email hotkey on my laptop the static event number is &lt;span class="system"&gt;00000050&lt;/span&gt;. When the button is pressed the function "&lt;span class="system"&gt;checkuser&lt;/span&gt;" will be called to detect the user of the currently active session. Afterwards the script executes Evolution as the user of the currently active session and sends the output into the nirvana :) This is very important - otherwise the application would block the script until you close the application. So don't forget to add " &lt;span class="system"&gt;&amp;amp;&gt; /dev/null &amp;amp;&lt;/span&gt;" to commands that execute an application that runs until you close it and " &lt;span class="system"&gt;&amp;amp;&gt; /dev/null&lt;/span&gt;" to other applications that create an output.&lt;/p&gt; &lt;p&gt;    &lt;span class="system"&gt;# Start Evolution (email button)&lt;br /&gt;00000050)&lt;br /&gt;checkuser&lt;br /&gt;su - $user -c "evolution --component=mail &amp;amp;&gt; /dev/null &amp;amp;"&lt;br /&gt;;;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;The configuration for the webbrowser is almost equal to the one above.&lt;/p&gt; &lt;p&gt;    &lt;span class="system"&gt;# Start Firefox (browser button)&lt;br /&gt;00000051)&lt;br /&gt;checkuser&lt;br /&gt;su - $user -c "firefox &amp;amp;&gt; /dev/null &amp;amp;"&lt;br /&gt;;;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;Now we reached the touchpad configuration. Many laptops have an extra hotkey for the touchpad - we'll use the &lt;span class="system"&gt;synclient&lt;/span&gt; to toggle our touchpad on and off when this hotkey is pressed (we activated the synclient in step 1.2). This is user independent so there's no need to call the "&lt;span class="system"&gt;checkuser&lt;/span&gt;"-function.&lt;/p&gt; &lt;p&gt;    &lt;span class="system"&gt;# Toggle touchpad on|off (touchpad button)&lt;br /&gt;0000006b)&lt;br /&gt;tp_status=(`synclient -l | grep TouchpadOff`)&lt;/span&gt;&lt;/p&gt; &lt;p class="system"&gt;    if [ ${tp_status[2]} = "1" ]&lt;br /&gt;then  synclient TouchpadOff=0&lt;br /&gt;else  synclient TouchpadOff=1&lt;br /&gt;fi&lt;br /&gt;;;&lt;/p&gt; &lt;p&gt;Next we have to configure the hotkeys for lowering and raising the volume. This is also user independent because there's only one soundcard to control (on most systems).&lt;/p&gt; &lt;p&gt;    &lt;span class="system"&gt;# Lower volume (Fn + F11)&lt;br /&gt;00000031)&lt;br /&gt;amixer sset Master Playback Volume 5%- &amp;amp;&gt; /dev/null&lt;br /&gt;;;&lt;/span&gt;&lt;/p&gt; &lt;p class="system"&gt;    # Raise volume (Fn + F12)&lt;br /&gt;00000030)&lt;br /&gt;amixer sset Master Playback Volume 5%+ &amp;amp;&gt; /dev/null&lt;br /&gt;;;&lt;/p&gt; &lt;p&gt;We'll use a workaround to mute the volume because the amixer's real mute function causes a big problem - most players will crash when you use it. When the mute hotkey is pressed the script looks if the sound is activated at the moment and if it is, it writes the current state into a file before it sets the volume to 0%. When you press this hotkey again (and the volume is still at 0%) the script will get the last volume state out of the file and restore it.&lt;/p&gt; &lt;p&gt;    &lt;span class="system"&gt;# Toggle mute (0% - last state) (Fn + F10)&lt;br /&gt;00000032)&lt;br /&gt;snd_status=(`amixer sget Master Playback Volume | egrep "\[on|off\]$"`)&lt;br /&gt;cur_vol=$(echo ${snd_status[4]} | tr '[|]|%' ' ')&lt;/span&gt;&lt;/p&gt; &lt;p class="system"&gt;    if [ $cur_vol != "0" ]&lt;br /&gt;then&lt;br /&gt;cat /dev/null &gt; /opt/.volume&lt;br /&gt;echo $cur_vol &gt; /opt/.volume&lt;br /&gt;amixer sset Master Playback Volume 0% &amp;amp;&gt; /dev/null&lt;br /&gt;else&lt;br /&gt;sav_vol=$(cat /opt/.volume)&lt;br /&gt;if [ $sav_vol = "" ]&lt;br /&gt;then    amixer sset Master Playback Volume 50% &amp;amp;&gt; /dev/null&lt;br /&gt;else    amixer sset Master Playback Volume $sav_vol% &amp;amp;&gt; /dev/null&lt;br /&gt;fi&lt;br /&gt;fi&lt;br /&gt;;;&lt;/p&gt; &lt;p&gt;In the last step  we close the case clause and exit the script.&lt;/p&gt; &lt;p class="system"&gt;esac&lt;/p&gt; &lt;p class="system"&gt;exit 0&lt;/p&gt; &lt;p&gt;Now save the file and make it executeable.&lt;/p&gt; &lt;p class="command"&gt;chmod +x /etc/acpi/events/hotkeys.sh&lt;/p&gt; &lt;p&gt;For example the whole script on my system for better understanding.&lt;/p&gt; &lt;pre&gt;#!/bin/sh&lt;br /&gt;&lt;br /&gt;PATH=/sbin:/bin:/usr/bin&lt;br /&gt;&lt;br /&gt;# Possible values:&lt;br /&gt;# "0" = multi user system&lt;br /&gt;# "your_username" = single user system&lt;br /&gt;user="olli"&lt;br /&gt;&lt;br /&gt;# Detect the currently active user on multi user systems&lt;br /&gt;checkuser()&lt;br /&gt;{&lt;br /&gt;  if [ $user = "0" ]&lt;br /&gt;  then&lt;br /&gt;      uid_session=$(&lt;br /&gt;          ck-list-sessions | \&lt;br /&gt;          awk '&lt;br /&gt;          /^Session[0-9]+:$/ { uid = active = x11 = "" ; next }&lt;br /&gt;          { gsub(/'\''/, "", $3) }&lt;br /&gt;          $1 == "uid" { uid = $3 }&lt;br /&gt;          $1 == "active" { active = $3 }&lt;br /&gt;          $1 == "x11-display" { x11 = $3 }&lt;br /&gt;          active == "TRUE" &amp;amp;&amp;amp; x11 != "" {&lt;br /&gt;          print uid&lt;br /&gt;          exit&lt;br /&gt;          }'&lt;br /&gt;      )&lt;br /&gt;      user_data=(`cat /etc/passwd | grep $uid_session | tr ':' ' '`)&lt;br /&gt;      user=${user_data[0]}&lt;br /&gt;  fi&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;# Assign actions to the hotkeys&lt;br /&gt;case $3 in&lt;br /&gt;&lt;br /&gt;  # Start Evolution (email button)&lt;br /&gt;  00000050)&lt;br /&gt;  checkuser&lt;br /&gt;  su - $user -c "evolution --component=mail &amp;amp;&gt; /dev/null &amp;amp;"&lt;br /&gt;  ;;&lt;br /&gt;&lt;br /&gt;  # Start Firefox (browser button)&lt;br /&gt;  00000051)&lt;br /&gt;  checkuser&lt;br /&gt;  su - $user -c "firefox &amp;amp;&gt; /dev/null &amp;amp;"&lt;br /&gt;  ;;&lt;br /&gt;&lt;br /&gt;  # Toggle touchpad on|off (touchpad button)&lt;br /&gt;  0000006b)&lt;br /&gt;  tp_status=(`synclient -l | grep TouchpadOff`)&lt;br /&gt;&lt;br /&gt;  if [ ${tp_status[2]} = "1" ]&lt;br /&gt;  then&lt;br /&gt;      synclient TouchpadOff=0&lt;br /&gt;      echo 1 &gt; /sys/class/leds/asus:touchpad/brightness&lt;br /&gt;  else&lt;br /&gt;      synclient TouchpadOff=1&lt;br /&gt;      echo 0 &gt; /sys/class/leds/asus:touchpad/brightness&lt;br /&gt;  fi&lt;br /&gt;  ;;&lt;br /&gt;&lt;br /&gt;  # Lower volume (Fn + F11)&lt;br /&gt;  00000031)&lt;br /&gt;  amixer sset Master Playback Volume 5%- &amp;amp;&gt; /dev/null&lt;br /&gt;  ;;&lt;br /&gt;&lt;br /&gt;  # Raise volume (Fn + F12)&lt;br /&gt;  00000030)&lt;br /&gt;  amixer sset Master Playback Volume 5%+ &amp;amp;&gt; /dev/null&lt;br /&gt;  ;;&lt;br /&gt;&lt;br /&gt;  # Toggle mute (0% - last state) (Fn + F10)&lt;br /&gt;  00000032)&lt;br /&gt;  snd_status=(`amixer sget Master Playback Volume | egrep "\[on|off\]$"`)&lt;br /&gt;  cur_vol=$(echo ${snd_status[4]} | tr '[|]|%' ' ')&lt;br /&gt;&lt;br /&gt;  if [ $cur_vol != "0" ]&lt;br /&gt;  then&lt;br /&gt;      cat /dev/null &gt; /opt/.volume&lt;br /&gt;      echo $cur_vol &gt; /opt/.volume&lt;br /&gt;      amixer sset Master Playback Volume 0% &amp;amp;&gt; /dev/null&lt;br /&gt;  else&lt;br /&gt;      sav_vol=$(cat /opt/.volume)&lt;br /&gt;      if [ $sav_vol = "" ]&lt;br /&gt;      then    amixer sset Master Playback Volume 50% &amp;amp;&gt; /dev/null&lt;br /&gt;      else    amixer sset Master Playback Volume $sav_vol% &amp;amp;&gt; /dev/null&lt;br /&gt;      fi&lt;br /&gt;  fi&lt;br /&gt;  ;;&lt;br /&gt;&lt;br /&gt;esac&lt;br /&gt;&lt;br /&gt;exit 0&lt;/pre&gt; &lt;p&gt;One thing is still to do. There's a bug that will prevent the ACPI daemon to execute the commands in our script after you started/restarted your system. You have to restart the ACPI daemon everytime after you logged in into a GNOME session. I think you don't want to do that manually :) so I found a workaround (root privileges needed).&lt;/p&gt; &lt;p class="command"&gt;vi /etc/gdm/Init/Default&lt;/p&gt; &lt;p&gt;Add the following lines at the bottom of the file - before the exit.&lt;/p&gt; &lt;p class="system"&gt;# acpid workaround&lt;br /&gt;/etc/init.d/acpid restart&lt;/p&gt; &lt;p&gt;The corresponding part of the file should look like this:&lt;/p&gt; &lt;pre&gt;[...]&lt;br /&gt;&lt;br /&gt;# acpid workaround&lt;br /&gt;/etc/init.d/acpid restart&lt;br /&gt;&lt;br /&gt;exit 0&lt;/pre&gt; &lt;p&gt;Now the ACPI daemon will be restarted automatically after each login.&lt;/p&gt; &lt;p&gt; &lt;/p&gt;  &lt;h3&gt;3 Handle The Xev Events&lt;/h3&gt; &lt;p&gt;Maybe you found a few hotkeys that have not created an ACPI event in step 1.3.1 but a keycode event in step 1.3.2. Now it's time to configure them - first we have to create the needed configuration file (without root privileges!).&lt;/p&gt; &lt;p class="command"&gt;xbindkeys --defaults &gt; $HOME/.xbindkeysrc&lt;/p&gt; &lt;p&gt;Now let's edit it.&lt;/p&gt; &lt;p class="command"&gt;vi ~/.xbindkeysrc&lt;/p&gt; &lt;p&gt;You'll see an example configuration and some notes within the file. The configuration is very easy - simply add a line with the command that shall be executed and below the keycode (&lt;span class="system"&gt;c:%keycode%&lt;/span&gt;) that belongs to this action. For example the configuration on my laptop (a few multimedia hotkeys like start/pause, stop etc...).&lt;/p&gt; &lt;pre&gt;# MM button actions&lt;br /&gt;&lt;br /&gt;# MM play/pause&lt;br /&gt;"/usr/bin/audacious -p"&lt;br /&gt;c:162&lt;br /&gt;&lt;br /&gt;# MM stop&lt;br /&gt;"/usr/bin/audacious -s"&lt;br /&gt;c:164&lt;br /&gt;&lt;br /&gt;# MM rewind&lt;br /&gt;"/usr/bin/audacious -r"&lt;br /&gt;c:144&lt;br /&gt;&lt;br /&gt;# MM forward&lt;br /&gt;"/usr/bin/audacious -f"&lt;br /&gt;c:153&lt;/pre&gt; &lt;p&gt;Now save the changes and add xbindkeys (&lt;span class="system"&gt;/usr/bin/xbindkeys&lt;/span&gt;) to the autostart programs (&lt;span class="system"&gt;System - Preferences - Personal - Sessions&lt;/span&gt;). Please note that you have to log out and back in again for the changes to take effect.&lt;/p&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/7412437316807711718-4144880656940846628?l=itechno23.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itechno23.blogspot.com/feeds/4144880656940846628/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7412437316807711718&amp;postID=4144880656940846628' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/4144880656940846628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/4144880656940846628'/><link rel='alternate' type='text/html' href='http://itechno23.blogspot.com/2008/05/manage-your-laptops-hotkeys-on-fedora.html' title='Manage Your Laptop&apos;s Hotkeys On Fedora'/><author><name>Techno</name><uri>http://www.blogger.com/profile/04294542666339882203</uri><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-7412437316807711718.post-6625828292992319796</id><published>2008-05-22T20:46:00.000+07:00</published><updated>2008-05-22T20:47:46.558+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><title type='text'>Tired of waiting on Apple, researchers disclose iCal bugs</title><content type='html'>iCal calendar program, a security company said Wednesday in an advisory that showed months of back-and-forth between Apple and the researchers over whether bugs were serious enough to warrant patches, and if so, when Apple would patch them.&lt;br /&gt;&lt;br /&gt;After several delays requested by Apple, the security vendor put its foot down and told the company's security team it would release information about the vulnerabilities May 21, whether Apple had issued patches or not.&lt;br /&gt;&lt;br /&gt;In a bulletin posted to the Bugtraq and Full Disclosure mailing lists and on its own Web site, Core Security Technologies detailed three bugs in iCal that attackers could remotely exploit using compromised servers, malicious Web sites or e-mailed .ics file attachments.&lt;br /&gt;&lt;br /&gt;"The vulnerabilities may allow un-authenticated attackers to execute arbitrary code on vulnerable systems with (and potentially without) the assistance from the end user of the application or to repeatedly execute a denial of service attack to crash the iCal application," said Core Security.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;iCal calendar program, a security company said Wednesday in an advisory that showed months of back-and-forth between Apple and the researchers over whether bugs were serious enough to warrant patches, and if so, when Apple would patch them.&lt;br /&gt;&lt;br /&gt;After several delays requested by Apple, the security vendor put its foot down and told the company's security team it would release information about the vulnerabilities May 21, whether Apple had issued patches or not.&lt;br /&gt;&lt;br /&gt;In a bulletin posted to the Bugtraq and Full Disclosure mailing lists and on its own Web site, Core Security Technologies detailed three bugs in iCal that attackers could remotely exploit using compromised servers, malicious Web sites or e-mailed .ics file attachments.&lt;br /&gt;&lt;br /&gt;"The vulnerabilities may allow un-authenticated attackers to execute arbitrary code on vulnerable systems with (and potentially without) the assistance from the end user of the application or to repeatedly execute a denial of service attack to crash the iCal application," said Core Security.&lt;br /&gt;&lt;br /&gt;iCal is the scheduling and to-do application bundled with Mac OS X. It's used both as a standalone personal calendaring program and also as the client for connecting to Apple's calendar server.&lt;br /&gt;&lt;br /&gt;Core Security first reported the iCal vulnerabilities and a fourth in iCal Server, a component of Mac OS X Server, on Jan. 30, 2008, but then spent nearly the next four months asking Apple when the company would patch the bugs, answering questions from Apple's security team and pushing back the deadline for publishing its findings.&lt;br /&gt;&lt;br /&gt;In March, Apple said it considered only one of the three vulnerabilities a "security bug," according to Core Security, a stance that researchers there contested several times. "Vendor states that end of April is still the estimated date and provides more details that explain why the first two bugs are been considered null-pointer dereference bugs only," Core's timeline noted for April 17.&lt;br /&gt;&lt;br /&gt;Later that day, Core said, it told Apple "the three bugs still have security-related consequences. Core considers bug[s] that allow unauthenticated third parties to be security vulnerabilities."&lt;br /&gt;&lt;br /&gt;Apple patched the server-side vulnerability in March with Security Update 2008-002, a monster patch batch that included nearly 90 bug fixes; earlier, it had determined that the flaw was not in iCal Server, as Core Security had claimed, but in the Wiki Server instead.&lt;br /&gt;&lt;br /&gt;But it was the patch planning for the iCal client that stretched on and on, said Core Security in the advisory. On four separate occasions, Apple requested that Core postpone the publishing of information about the vulnerabilities; each time Core agreed.&lt;br /&gt;&lt;br /&gt;The problem: Apple kept shifting the deadline for delivering iCal patches.&lt;br /&gt;&lt;br /&gt;According to Core, Apple first said it would fix iCal in time to make the 2008-002 update, which was released March 18, but when that proved impossible, changed the date to late April, then to early May, then finally to Monday, May 19.&lt;br /&gt;&lt;br /&gt;After being asked May 10 to delay its disclosure a fifth time, Core Security said it would discuss rescheduling. Two days later, however, it told Apple it was setting Wednesday, May 21, as the drop-dead deadline. "Core communicates [to] the vendor that the publication of the advisory is re-scheduled to May 21, that date is final," Core Security noted in its bulletin.&lt;br /&gt;&lt;br /&gt;The final advisory states that iCal 3.01 running in Mac OS X 10.5.1 is vulnerable, but it's unclear if that note was simply outpaced by events or is accurate; users running Mac OS X 10.5.2, the most current version of Leopard, are equipped with iCal 3.0.2. Core Security was not available for comment late Wednesday.&lt;br /&gt;&lt;br /&gt;Apple has not patched the three iCal vulnerabilities spelled out by Core Security, and did not respond to queries Wednesday about when it would.&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/7412437316807711718-6625828292992319796?l=itechno23.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itechno23.blogspot.com/feeds/6625828292992319796/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7412437316807711718&amp;postID=6625828292992319796' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/6625828292992319796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/6625828292992319796'/><link rel='alternate' type='text/html' href='http://itechno23.blogspot.com/2008/05/tired-of-waiting-on-apple-researchers.html' title='Tired of waiting on Apple, researchers disclose iCal bugs'/><author><name>Techno</name><uri>http://www.blogger.com/profile/04294542666339882203</uri><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-7412437316807711718.post-7948274718561472446</id><published>2008-05-22T20:23:00.000+07:00</published><updated>2008-05-22T20:24:24.138+07:00</updated><title type='text'>Beibei gets on the record as Sony Ericsson G702</title><content type='html'>&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span name="intelliTxt" id="intelliTxt"&gt;&lt;p&gt;The first hard enough evidence of the newest UIQ family member Sony Ericsson G702 has just appeared on the FCC website. The handset codenamed Beibei &lt;a href="http://www.gsmarena.com/sony_ericsson_codenamed_beibei_spotted-news-486.php"&gt;leaked online&lt;/a&gt; a couple of weeks ago but in a different color combo. &lt;/p&gt;  &lt;p&gt;As you might have guessed, the FCC web site isn't all about publishing the full specs so the information is pretty scarce at this point. We can still get an idea from the photos and the enclosed manual. Sony Ericsson G702 is coming with a 3.2 megapixel camera, auto focus still doubtful at this stage. M2 memory expansion is also aboard. A three-position jog wheel and two scroll keys are in charge of navigation on the handset.&lt;/p&gt;    &lt;p&gt;&lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/beibei_gets_on_the_record_as_sony_ericsson_g702-news-507.php#"&gt;&lt;img alt="Sony Ericsson G702 at FCC" src="http://i.gsmarena.com/vv/newsimg/08/05/sony-ericsson-g702/thumb/gsmarena_001.jpg" height="120" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/beibei_gets_on_the_record_as_sony_ericsson_g702-news-507.php#"&gt;&lt;img alt="Sony Ericsson G702 at FCC" src="http://i.gsmarena.com/vv/newsimg/08/05/sony-ericsson-g702/thumb/gsmarena_002.jpg" height="120" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/beibei_gets_on_the_record_as_sony_ericsson_g702-news-507.php#"&gt;&lt;img alt="Sony Ericsson G702 at FCC" src="http://i.gsmarena.com/vv/newsimg/08/05/sony-ericsson-g702/thumb/gsmarena_003.jpg" height="120" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:78%;"&gt;Sony Ericsson G702 at FCC&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Sony Ericsson G702 features the latest 3.3 version of the Symbian UIQ user interface. The handset also packs a built-in GPS receiver and navigation software, as well as Wi-Fi and 3G connectivity. Bluetooth and USB go without saying. &lt;/p&gt;  &lt;p&gt;The manual suggests Sony Ericsson G702 will feature the Opera 9.5 web browser with Flash Lite 3 support. This means browsing flash-based web sites, which is still enough of a rarity among mobile phones. You can check a demo of the excellent features of the Opera Mobile 9.5 web browser &lt;a href="http://www.gsmarena.com/opera_mobile_95_to_compete_with_iphones_safari_browser-news-506.php"&gt;here&lt;/a&gt;.&lt;/p&gt; The final feature we are able to confirm at this stage is Widgets support. So far, so good - should do for a taster. The ball is now with Sony Ericsson for an official announcement.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7412437316807711718-7948274718561472446?l=itechno23.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itechno23.blogspot.com/feeds/7948274718561472446/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7412437316807711718&amp;postID=7948274718561472446' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/7948274718561472446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/7948274718561472446'/><link rel='alternate' type='text/html' href='http://itechno23.blogspot.com/2008/05/beibei-gets-on-record-as-sony-ericsson.html' title='Beibei gets on the record as Sony Ericsson G702'/><author><name>Techno</name><uri>http://www.blogger.com/profile/04294542666339882203</uri><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-7412437316807711718.post-2665699477196364097</id><published>2008-05-22T20:21:00.000+07:00</published><updated>2008-05-22T20:22:48.011+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mobile Phone'/><title type='text'>Samsung F480 gets official, again</title><content type='html'>&lt;span name="intelliTxt" id="intelliTxt"&gt;&lt;p&gt;Today Samsung officially announced their newest touchscreen phone - the Samsung F480 or otherwise known as Samsung TouchWiz. Yeah, we know that &lt;a href="http://www.gsmarena.com/samsung_mwc_08-review-215.php"&gt;it was announced&lt;/a&gt; in Barcelona back in February but there is some news in this second announcement too.&lt;/p&gt;     &lt;p&gt;For a start the &lt;a href="http://www.gsmarena.com/samsung_f480-2268.php"&gt;Samsung F480&lt;/a&gt; will be sold under different names in different regions. For example in the UK the F480 is going to be sold as Samsung Tocco.&lt;/p&gt;   &lt;p&gt;&lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/samsung_f480_gets_official_again-news-508.php#"&gt;&lt;img alt="Samsung new phones" src="http://i.gsmarena.com/vv/newsimg/08/02/samsung-event/thumb/gsmarena_025.jpg" height="120" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/samsung_f480_gets_official_again-news-508.php#"&gt;&lt;img alt="Samsung new phones" src="http://i.gsmarena.com/vv/newsimg/08/02/samsung-event/thumb/gsmarena_026.jpg" height="120" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/samsung_f480_gets_official_again-news-508.php#"&gt;&lt;img alt="Samsung new phones" src="http://i.gsmarena.com/vv/newsimg/08/02/samsung-event/thumb/gsmarena_027.jpg" height="120" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/samsung_f480_gets_official_again-news-508.php#"&gt;&lt;img alt="Samsung new phones" src="http://i.gsmarena.com/vv/newsimg/08/02/samsung-event/thumb/gsmarena_028.jpg" height="120" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:78%;"&gt;Samsung F480&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;   &lt;p&gt;Samsung also revealed the details about the battery of the handset - 1000 mAh of capacity, 3 hours of talk time and 300 hours of stand-by time. The dimensions have also been slightly updated to 98.4 x 55 x 11.6 mm and the weight has been fixed at 100.6 grams.&lt;/p&gt;       &lt;p&gt;Also this second announcement hints of the fact that Samsung F480 is about to hit the shelves in the nearest future. In fact some online retailers are already accepting pre-orders. The rates are however rather high, starting at about 600-700 US dollars.&lt;/p&gt;  &lt;p&gt;&lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/samsung_f480_gets_official_again-news-508.php#"&gt;&lt;img alt="Samsung F480" src="http://i.gsmarena.com/vv/newsimg/08/05/samsung-f480/thumb/gsmarena_050.jpg" height="120" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/samsung_f480_gets_official_again-news-508.php#"&gt;&lt;img alt="Samsung F480" src="http://i.gsmarena.com/vv/newsimg/08/05/samsung-f480/thumb/gsmarena_051.jpg" height="120" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/samsung_f480_gets_official_again-news-508.php#"&gt;&lt;img alt="Samsung F480" src="http://i.gsmarena.com/vv/newsimg/08/05/samsung-f480/thumb/gsmarena_052.jpg" height="120" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:78%;"&gt;Samsung F480 lifestyle photos&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;In case you need a quick memory refresh here are the most important features of Samsung F480. It is tri-band phone with HSDPA 7.2Mbps support, and an ample 2.8" touchscreen QVGA display. The camera counts the impressive 5 megapixels and comes with autofocus, power LED flash, image and video stabilization. &lt;/p&gt;  &lt;p&gt;Of course, there is audio and video player with multiple file format support, as well as FM Radio with RDS. The impressive TouchWiz user interface and navigation are the final ingredients for making the classy performer.&lt;/p&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="fullpost"&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/7412437316807711718-2665699477196364097?l=itechno23.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itechno23.blogspot.com/feeds/2665699477196364097/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7412437316807711718&amp;postID=2665699477196364097' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/2665699477196364097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/2665699477196364097'/><link rel='alternate' type='text/html' href='http://itechno23.blogspot.com/2008/05/samsung-f480-gets-official-again.html' title='Samsung F480 gets official, again'/><author><name>Techno</name><uri>http://www.blogger.com/profile/04294542666339882203</uri><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-7412437316807711718.post-2842467208200861061</id><published>2008-05-20T18:23:00.004+07:00</published><updated>2008-05-22T15:24:38.639+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><title type='text'>Mozilla launches Firefox 3.0 RC1 early</title><content type='html'>On Friday rolled out the release candidate for Firefox 3.0, bringing the open-source browser one step closer to its first major overhaul in nearly 19 months.&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;!--&lt;br /&gt;google_ad_client = "pub-5809041774100847";&lt;br /&gt;/* dalam postingan */&lt;br /&gt;google_ad_slot = "9570582667";&lt;br /&gt;google_ad_width = 468;&lt;br /&gt;google_ad_height = 60;&lt;br /&gt;//--&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;script type="text/javascript"&lt;br /&gt;src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;The appearance of Firefox Release Candidate 1 (RC1) came earlier than expected. As recently as last Saturday, Mozilla's chief engineer said that although the company had locked down RC1's code, it was planning to publicly launch the build in "late May."&lt;br /&gt;&lt;br /&gt;Firefox RC1 is available now for download from Mozilla's servers and is being offered as an update to users running Firefox Beta 5, the final beta edition that shipped six weeks ago.&lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;On Friday rolled out the release candidate for Firefox 3.0, bringing the open-source browser one step closer to its first major overhaul in nearly 19 months.&lt;br /&gt;&lt;br /&gt;The appearance of Firefox Release Candidate 1 (RC1) came earlier than expected. As recently as last Saturday, Mozilla's chief engineer said that although the company had locked down RC1's code, it was planning to publicly launch the build in "late May."&lt;br /&gt;&lt;br /&gt;Firefox RC1 is available now for download from Mozilla's servers and is being offered as an update to users running Firefox Beta 5, the final beta edition that shipped six weeks ago.&lt;br /&gt;Even so, Mike Beltzner, Mozilla's interface designer, voiced the usual warning to ward off casual users. "The Firefox 3 Release Candidate is a public preview release intended for developer testing and community feedback," he said in a post Friday evening to Mozilla's developer center blog.&lt;br /&gt;&lt;br /&gt;Beltzner touted user interface changes, stability and compatibility fixes, as well as performance improvements made to RC1 since the last beta. Meanwhile, the RC1 release notes cautioned users that some add-ons may not work with the candidate.&lt;br /&gt;&lt;br /&gt;Although Mozilla has run through multiple release candidates in the past -- three before moving on to final for Firefox 2.0 in late 2006 -- Mike Schroepfer, vice president of engineering, said a week ago that RC1 might be the sole build prior to calling the browser done.&lt;br /&gt;&lt;br /&gt;Schroepfer has said several times that Firefox 3 will ship in June.&lt;br /&gt;&lt;br /&gt;Firefox currently accounts for about 17.7% of the browser market, according to the most recent data from Net Applications Inc. Microsoft Corp.'s Internet Explorer remains the most widely used browser, with a 74.8% share, while Apple Inc.'s Safari comes in third with 5.8%.&lt;br /&gt;&lt;br /&gt;Firefox 3 RC1 can be downloaded for Windows, Mac OS X and Linux in 41 languages from Mozilla's site.&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/7412437316807711718-2842467208200861061?l=itechno23.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itechno23.blogspot.com/feeds/2842467208200861061/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7412437316807711718&amp;postID=2842467208200861061' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/2842467208200861061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/2842467208200861061'/><link rel='alternate' type='text/html' href='http://itechno23.blogspot.com/2008/05/mozilla-launches-firefox-30-rc1-early.html' title='Mozilla launches Firefox 3.0 RC1 early'/><author><name>Techno</name><uri>http://www.blogger.com/profile/04294542666339882203</uri><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-7412437316807711718.post-7638288825209430614</id><published>2008-05-20T18:10:00.003+07:00</published><updated>2008-05-22T07:41:38.984+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><title type='text'>First look at OpenOffice.org 3.0 beta</title><content type='html'>Since I’m testing the viability of running Ubuntu on a number of platforms, and paving the way to shift from Internet Explorer to Firefox 3.0, I might as well take a look at the viability of abandoning Microsoft Office and making the leap to OpenOffice.org.&lt;br /&gt;&lt;br /&gt;   Check out the OpenOffice.org gallery.&lt;br /&gt;&lt;br /&gt;Now, I’m a firm believer that the OpenOffice.org (OO.o) suite offers far more functionality than the average user needs or wants. However, an area of prime concern to me is backward compatibility with Microsoft Office. This is important to me for two reasons:&lt;br /&gt;&lt;br /&gt;   * I have a massive archive of old Word, Excel and PowerPoint files that I need to be able to have access to. Not only do I need to be able to open these documents, but the reproduction (both on-screen and print) needs to be faithful.&lt;br /&gt;   * I exchange Word, Excel and PowerPoint files on a regular basis with others. Most of the people and companies I work with use Microsoft Office (although some do use OO.o) so my solution needs to be compatible.&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;p&gt;Since I’m testing the viability of running Ubuntu on a number of platforms, and paving the way to shift from Internet Explorer to Firefox 3.0, I might as well take a look at the viability of abandoning Microsoft Office and making the leap to OpenOffice.org.&lt;/p&gt; &lt;p&gt;&lt;span id="more-43"&gt;&lt;/span&gt;&lt;/p&gt; &lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;Check out the OpenOffice.org &lt;a href="http://content.zdnet.com/2346-12554_22-200829.html" target="_blank"&gt;gallery&lt;/a&gt;.&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Now, I’m a firm believer that the OpenOffice.org (OO.o) suite offers far more functionality than the average user needs or wants. However, an area of prime concern to me is backward compatibility with Microsoft Office. This is important to me for two reasons:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;I have a massive archive of old Word, Excel and PowerPoint files that I need to be able to have access to. Not only do I need to be able to open these documents, but the reproduction (both on-screen and print) needs to be faithful.&lt;/li&gt;&lt;li&gt;I exchange Word, Excel and PowerPoint files on a regular basis with others. Most of the people and companies I work with use Microsoft Office (although some do use OO.o) so my solution needs to be compatible.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;With that in mind I downloaded OpenOffice.org 3.0 Beta and loaded it into a VMware test machine for experimentation. [See &lt;a href="http://content.zdnet.com/2346-12554_22-200829.html"&gt;gallery&lt;/a&gt; for a close-up view.]&lt;/p&gt; &lt;p&gt;Here are some thoughts from the download and install process:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;The complete download is only 144MB.&lt;/li&gt;&lt;li&gt;Installation was quick and painless, taking only a few minutes (less than five).&lt;/li&gt;&lt;li&gt;No restart required.&lt;/li&gt;&lt;li&gt;OO.o doesn’t seem to junk up the system much (compared to Microsoft Office 2007).&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Once I had the application suite installed, I decided to have a look around.&lt;/p&gt; &lt;ul&gt;&lt;li&gt;The first time loading any of the applications seems slow, much slower than the Microsoft Office 2007 equivalent. Subsequent launches are much faster (until you reboot).&lt;/li&gt;&lt;li&gt;File loading times don’t seem that different to those the Microsoft Office 2007 equivalent.&lt;/li&gt;&lt;li&gt;Once loaded, applications feel nice and responsive, same as the Microsoft Office 2007 equivalent.&lt;/li&gt;&lt;li&gt;Occasionally I noticed odd screen artifacts when using menus or resizing windows. Not sure what’s behind this.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;OK, but what about compatibility?&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Word document compatibility&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;For this test I created three Word documents in .docx Word 2007 format:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;A simple one page document containing text and simple formatting&lt;/li&gt;&lt;li&gt;A 217 page document containing text and simple formatting&lt;/li&gt;&lt;li&gt;A two page document containing drop caps, SmartArt and Shapes&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;OpenOffice.org Writer beta handled the first two documents just fine with hardly any format differences (nothing that mattered at any rate).&lt;/p&gt; &lt;p&gt;The third document was a different matter. The formatting on the drop cap was wrong, the SmartArt didn’t show up and the Word Shape was rendered incorrectly.&lt;/p&gt; &lt;p&gt;&lt;a href="http://content.zdnet.com/2346-12554_22-200829-12.html" target="_blank"&gt;&lt;img src="http://blogs.zdnet.com/hardware/images/oo3b_12_sm.jpg" alt="First look at OpenOffice.org 3.0 beta" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;Document displayed in Word 2007&lt;/span&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://content.zdnet.com/2346-12554_22-200829-13.html" target="_blank"&gt;&lt;img src="http://blogs.zdnet.com/hardware/images/oo3b_13_sm.jpg" alt="First look at OpenOffice.org 3.0 beta" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;&lt;em&gt;Document displayed in Writer 3.0 beta&lt;/em&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;I then tool the three documents as displayed in Writer and saved them in the Word 97/2000/XP .doc format and tried opening these in Word 2007. All three files worked fine in Word 2007, although the two page document containing drop caps, SmartArt and Shapes was no longer formatted correctly.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;: Since I don’t do much with drop caps, SmartArt and Shapes, I think I could live with Writer instead of Word.&lt;/p&gt; &lt;p&gt;Next I created a test Excel document in Excel 2007 .xslx format that contained several examples of formulae (sum, average, count number, min and max), and a couple of charts (I use Excel charts a lot).&lt;/p&gt; &lt;p&gt;&lt;a href="http://content.zdnet.com/2346-12554_22-200829-14.html" target="_blank"&gt;&lt;img src="http://blogs.zdnet.com/hardware/images/oo3b_14_sm.jpg" alt="First look at OpenOffice.org 3.0 beta" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;Document displayed in Excel 2007&lt;/span&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;The file opened in OpenOffice.org Calc beta and all the formulae seemed to work fine, but the charts were as good. They were accurate in terms of the information, but they were a stylistic nightmare.&lt;/p&gt; &lt;p&gt;&lt;a href="http://content.zdnet.com/2346-12554_22-200829-15.html" target="_blank"&gt;&lt;img src="http://blogs.zdnet.com/hardware/images/oo3b_15_sm.jpg" alt="First look at OpenOffice.org 3.0 beta" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;Document displayed in Calc 3.0 beta&lt;/span&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;Saving the file in Calc into Excel 97/2000/XP .xls format just mangled the charts further when the output was opened in Excel 2007.&lt;/p&gt; &lt;p&gt;&lt;a href="http://content.zdnet.com/2346-12554_22-200829-16.html" target="_blank"&gt;&lt;img src="http://blogs.zdnet.com/hardware/images/oo3b_16_sm.jpg" alt="First look at OpenOffice.org 3.0 beta" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;!--&lt;br /&gt;google_ad_client = "pub-5809041774100847";&lt;br /&gt;/* dalam postingan */&lt;br /&gt;google_ad_slot = "9570582667";&lt;br /&gt;google_ad_width = 468;&lt;br /&gt;google_ad_height = 60;&lt;br /&gt;//--&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;script type="text/javascript"&lt;br /&gt;src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;Document saved into .xls format in Calc 3.0 beta and opened in Excel 2007&lt;/span&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;: The way Calc handles charts for me is, at present, a deal-breaker. Maybe things will get better as the beta program progresses.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;PowerPoint document compatibility&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;I created a couple of sample PowerPoint document in PowerPoint 2007 .pptx format based on built-in templates.&lt;/p&gt; &lt;p&gt;So, how did OpenOffice.org Impress beta handle these files? Well, to put it bluntly, the output was an unmitigated disaster.&lt;/p&gt; &lt;p&gt;&lt;a href="http://content.zdnet.com/2346-12554_22-200829-17.html" target="_blank"&gt;&lt;img src="http://blogs.zdnet.com/hardware/images/oo3b_17_sm.jpg" alt="First look at OpenOffice.org 3.0 beta" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;Document #1 displayed in PowerPoint 2007&lt;/span&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://content.zdnet.com/2346-12554_22-200829-18.html" target="_blank"&gt;&lt;img src="http://blogs.zdnet.com/hardware/images/oo3b_18_sm.jpg" alt="First look at OpenOffice.org 3.0 beta" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;Document #2 displayed in PowerPoint 2007&lt;/span&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://content.zdnet.com/2346-12554_22-200829-19.html" target="_blank"&gt;&lt;img src="http://blogs.zdnet.com/hardware/images/oo3b_19_sm.jpg" alt="First look at OpenOffice.org 3.0 beta" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;Document #1 displayed in Calc 3.0 beta&lt;/span&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://content.zdnet.com/2346-12554_22-200829-20.html" target="_blank"&gt;&lt;img src="http://blogs.zdnet.com/hardware/images/oo3b_20_sm.jpg" alt="First look at OpenOffice.org 3.0 beta" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;Document #2 displayed in Calc 3.0 beta&lt;/span&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;: Impress totally fails to impress me.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Closing thoughts&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;It’s early days for OO.o 3.0 Beta and things could get a lot better between now and release, but what I’m seeing now doesn’t give me much hope that I’ll be able to replace Microsoft Office 2007 with OO.o 3.0.&lt;/p&gt; &lt;p&gt;&lt;em&gt;Thoughts?&lt;/em&gt;&lt;/p&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/7412437316807711718-7638288825209430614?l=itechno23.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itechno23.blogspot.com/feeds/7638288825209430614/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7412437316807711718&amp;postID=7638288825209430614' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/7638288825209430614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/7638288825209430614'/><link rel='alternate' type='text/html' href='http://itechno23.blogspot.com/2008/05/first-look-at-openofficeorg-30-beta.html' title='First look at OpenOffice.org 3.0 beta'/><author><name>Techno</name><uri>http://www.blogger.com/profile/04294542666339882203</uri><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-7412437316807711718.post-8790068610339338906</id><published>2008-05-20T16:21:00.002+07:00</published><updated>2008-05-20T16:29:57.145+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mobile Phone'/><title type='text'>Sony Ericsson P5 revealed live again</title><content type='html'>images of the &lt;a class="iAs" style="border-bottom: 0.075em solid darkgreen ! important; font-weight: normal ! important; font-size: 100% ! important; text-decoration: underline ! important; padding-bottom: 1px ! important; color: darkgreen ! important; background-color: transparent ! important;" href="http://www.gsmarena.com/sony_ericsson_p5_revealed_live_again-news-504.php#" target="_blank"&gt;Sony Ericsson&lt;/a&gt; P5 leaked again online. This time they are much better - the currently rumored specs remain confirmed - 5 megapixel &lt;a class="iAs" style="border-bottom: 0.075em solid darkgreen ! important; font-weight: normal ! important; font-size: 100% ! important; text-decoration: underline ! important; padding-bottom: 1px ! important; color: darkgreen ! important; background-color: transparent ! important;" href="http://www.gsmarena.com/sony_ericsson_p5_revealed_live_again-news-504.php#" target="_blank"&gt;camera&lt;/a&gt;, GPS, a 2.6-inch touch-screen display and a “heart-breaking” QW-ER-TY keyboard like the one of Sony Ericsson M600. Obviously the announcement of the Sony Ericsson future flagship is just behind the corner. &lt;p&gt;According to the person who has taken the photos, the &lt;a class="iAs" style="border-bottom: 0.075em solid darkgreen ! important; font-weight: normal ! important; font-size: 100% ! important; text-decoration: underline ! important; padding-bottom: 1px ! important; color: darkgreen ! important; background-color: transparent ! important;" href="http://www.gsmarena.com/sony_ericsson_p5_revealed_live_again-news-504.php#" target="_blank"&gt;performance&lt;/a&gt; of the 5 megapixel auto focus camera is not up to scratch yet with sever color problems, but we are sure those will be fixed in the retail version of the &lt;a class="iAs" style="border-bottom: 0.075em solid darkgreen ! important; font-weight: normal ! important; font-size: 100% ! important; text-decoration: underline ! important; padding-bottom: 1px ! important; color: darkgreen ! important; background-color: transparent ! important;" href="http://www.gsmarena.com/sony_ericsson_p5_revealed_live_again-news-504.php#" target="_blank"&gt;Sony&lt;/a&gt; Ericsson P5.&lt;/p&gt; &lt;p&gt;&lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/sony_ericsson_p5_revealed_live_again-news-504.php#"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_001.jpg" alt="Sony Ericsson P5" height="100" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="javascript:;"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_002.jpg" alt="Sony Ericsson P5" height="100" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="javascript:;"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_003.jpg" alt="Sony Ericsson P5" height="100" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="javascript:;"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_004.jpg" alt="Sony Ericsson P5" height="100" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:xx-small;"&gt;Sony Ericsson P5 - 5 megapixel camera&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;span class="fullpost"&gt; &lt;p&gt;As you probably know the Sony Ericsson P5 is equipped with built-in GPS receiver - the supplied navigation solution is a tweaked version of the WayFinder Navigator. Since the WayFinder Navigator is a trial version, GoogleMaps also comes pre-installed. Unfortunately at this stage the sensitivity of the GPS receiver is rather poor - way worse than the one of the Sony Ericsson C702 or &lt;a class="iAs" style="border-bottom: 0.075em solid darkgreen ! important; font-weight: normal ! important; font-size: 100% ! important; text-decoration: underline ! important; padding-bottom: 1px ! important; color: darkgreen ! important; background-color: transparent ! important;" href="http://www.gsmarena.com/sony_ericsson_p5_revealed_live_again-news-504.php#" target="_blank"&gt;Nokia&lt;/a&gt; handsets.&lt;/p&gt; &lt;p&gt;&lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/sony_ericsson_p5_revealed_live_again-news-504.php#"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_005.jpg" alt="Sony Ericsson P5" height="100" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="javascript:;"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_006.jpg" alt="Sony Ericsson P5" height="100" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="javascript:;"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_007.jpg" alt="Sony Ericsson P5" height="100" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/sony_ericsson_p5_revealed_live_again-news-504.php#"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_008.jpg" alt="Sony Ericsson P5" height="100" /&gt;&lt;/a&gt; &lt;strong&gt;&lt;span style="font-size:xx-small;"&gt;Sony Ericsson P5 - side view&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Below the display of the Sony Ericsson P5 there is a row of touch-sensitive keys which are in fact shortcuts to some of the applications. Most of them have something to do with the web &lt;a class="iAs" style="border-bottom: 0.075em solid darkgreen ! important; font-weight: normal ! important; font-size: 100% ! important; text-decoration: underline ! important; padding-bottom: 1px ! important; color: darkgreen ! important; background-color: transparent ! important;" href="http://www.gsmarena.com/sony_ericsson_p5_revealed_live_again-news-504.php#" target="_blank"&gt;browser&lt;/a&gt; (a promise of an enhanced web experience perhaps) and there’s a key to take you to either the main menu or upon a longer press - to the task manager. Seems like the user-friendliness of these keys is hampered by their small size and low responsiveness.&lt;/p&gt; &lt;p&gt;&lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/sony_ericsson_p5_revealed_live_again-news-504.php#"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_009.jpg" alt="Sony Ericsson P5" height="100" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/sony_ericsson_p5_revealed_live_again-news-504.php#"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_010.jpg" alt="Sony Ericsson P5" height="100" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="javascript:;"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_011.jpg" alt="Sony Ericsson P5" height="100" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/sony_ericsson_p5_revealed_live_again-news-504.php#"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_012.jpg" alt="Sony Ericsson P5" height="100" /&gt;&lt;/a&gt; &lt;strong&gt;&lt;span style="font-size:xx-small;"&gt;Sony Ericsson P5 - touch-sensitive keys • QWERTY keyboard • compared to Neonode 2&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;The author of the images says that the improvements of the new UIQ 3.3 user interface that the Sony Ericsson P5 comes with are not visible at first glance but we see a definite face lift on the posted screenshots. The multimedia performance however seems improved, along with the better responsiveness in the messaging and most system applications.&lt;/p&gt; &lt;p&gt;&lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/sony_ericsson_p5_revealed_live_again-news-504.php#"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_013.jpg" alt="Sony Ericsson P5 screenshot" height="160" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/sony_ericsson_p5_revealed_live_again-news-504.php#"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_014.jpg" alt="Sony Ericsson P5 screenshot" height="160" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/sony_ericsson_p5_revealed_live_again-news-504.php#"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_015.jpg" alt="Sony Ericsson P5 screenshot" height="160" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/sony_ericsson_p5_revealed_live_again-news-504.php#"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_016.jpg" alt="Sony Ericsson P5 screenshot" height="160" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:xx-small;"&gt;Sony Ericsson P5 - the new UIQ 3.3 user interface and the GPS navigation menu&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;The Swiss Manager application reveals that the Sony Ericsson P5 runs on the same 208 MHz &lt;a class="iAs" style="border-bottom: 0.075em solid darkgreen ! important; font-weight: normal ! important; font-size: 100% ! important; text-decoration: underline ! important; padding-bottom: 1px ! important; color: darkgreen ! important; background-color: transparent ! important;" href="http://www.gsmarena.com/sony_ericsson_p5_revealed_live_again-news-504.php#" target="_blank"&gt;CPU&lt;/a&gt; as previous Sony Ericsson models. The amount of RAM installed is also the same - 128MB.&lt;/p&gt; &lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/sony_ericsson_p5_revealed_live_again-news-504.php#"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_017.jpg" alt="Sony Ericsson P5 screenshot" height="160" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="javascript:;"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_018.jpg" alt="Sony Ericsson P5 screenshot" height="160" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="javascript:;"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_019.jpg" alt="Sony Ericsson P5 screenshot" height="160" /&gt;&lt;/a&gt; &lt;a onclick="'javascript:ShowImg(" href="http://www.gsmarena.com/sony_ericsson_p5_revealed_live_again-news-504.php#"&gt;&lt;img src="http://i.gsmarena.com/vv/newsimg/08/05/se-p5-paris/thumb/gsmarena_020.jpg" alt="Sony Ericsson P5 screenshot" height="160" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7412437316807711718-8790068610339338906?l=itechno23.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itechno23.blogspot.com/feeds/8790068610339338906/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7412437316807711718&amp;postID=8790068610339338906' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/8790068610339338906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/8790068610339338906'/><link rel='alternate' type='text/html' href='http://itechno23.blogspot.com/2008/05/sony-ericsson-p5-revealed-live-again.html' title='Sony Ericsson P5 revealed live again'/><author><name>Techno</name><uri>http://www.blogger.com/profile/04294542666339882203</uri><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-7412437316807711718.post-3653965080686740088</id><published>2008-05-20T16:12:00.000+07:00</published><updated>2008-05-20T16:14:03.800+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Tips n Trick'/><title type='text'>Fedora 9 Tips and Tricks (v0.1)</title><content type='html'>I've started to add x86_64 specific instructions below when they differ from traditional 32-bit instructions. The biggest issue is with multimedia plug-ins which are still often available only in 32-bit versions. Please note that I have yet to test the 64-bit instructions personally so if you do try them please do so with care and use the comments section at the bottom to send corrections.&lt;br /&gt;&lt;br /&gt;    * Upgrading from a previous Fedora release&lt;br /&gt;    * Add support for other repositories&lt;br /&gt;    * Install MP3 plug-in&lt;br /&gt;    * Install Macromedia Flash/Shockwave Plug-in&lt;br /&gt;    * Install DVD player&lt;br /&gt;    * Install MPlayer Media Player&lt;br /&gt;    * Install VLC (VideoLAN Client)&lt;br /&gt;    * Install RealPlayer 10 Media Player&lt;br /&gt;    * Install Java J2RE and Mozilla Plug-in&lt;br /&gt;    * Install NTFS driver&lt;br /&gt;    * Install Internet Explorer&lt;br /&gt;    * Install Other Odds and Ends&lt;br /&gt;    * Common Glitches/Problems&lt;br /&gt;    * Other Useful Resources &lt;br /&gt;&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;I've started to add x86_64 specific instructions below when they differ from traditional 32-bit instructions. The biggest issue is with multimedia plug-ins which are still often available only in 32-bit versions. Please note that I have yet to test the 64-bit instructions personally so if you do try them please do so with care and use the comments section at the bottom to send corrections.&lt;br /&gt;&lt;br /&gt;    * Upgrading from a previous Fedora release&lt;br /&gt;    * Add support for other repositories&lt;br /&gt;    * Install MP3 plug-in&lt;br /&gt;    * Install Macromedia Flash/Shockwave Plug-in&lt;br /&gt;    * Install DVD player&lt;br /&gt;    * Install MPlayer Media Player&lt;br /&gt;    * Install VLC (VideoLAN Client)&lt;br /&gt;    * Install RealPlayer 10 Media Player&lt;br /&gt;    * Install Java J2RE and Mozilla Plug-in&lt;br /&gt;    * Install NTFS driver&lt;br /&gt;    * Install Internet Explorer&lt;br /&gt;    * Install Other Odds and Ends&lt;br /&gt;    * Common Glitches/Problems&lt;br /&gt;    * Other Useful Resources &lt;br /&gt;&lt;br /&gt;Upgrading from a previous Fedora&lt;br /&gt;One of the great new features is to be able to do a live upgrade from an older Fedora release to Fedora 9. You simply have to install the new package called preupgrade  and run the program as root:&lt;br /&gt;&lt;br /&gt;# yum -y install preupgrade&lt;br /&gt;# preupgrade&lt;br /&gt;&lt;br /&gt;This process does take a LONG TIME, requires a high speed internet connection and has a couple minor gotchas but so far I've done a couple upgrades with no data loss and pretty much everything has "just worked" afterwards. You don't need to download and burn any ISOs as the upgrade is done on top of your current installation.&lt;br /&gt;&lt;br /&gt;After the preupgrade script downloads a ton of packages it will reboot and begin the upgrade procedure automatically. Follow the instructions and after the upgrade is complete log back in and you'll have to fix a couple little things. One things is that you'll need to update the Livna repository file below and then clear the yum cache. Once you do that you'll have to do an update again and this time yum will automatically update any extra software you had installed from Livna with the previous version.&lt;br /&gt;&lt;br /&gt;# rpm -Uhv http://rpm.livna.org/livna-release-9.rpm&lt;br /&gt;# yum clean all &lt;br /&gt;# yum -y update&lt;br /&gt;&lt;br /&gt;This too will take a while since it's likely that dozens of packages will need to be updated. Once it's done it's a good idea to reboot again for good measure and if all goes well you should be done!&lt;br /&gt;Add support for other repositories&lt;br /&gt;Fedora comes with a ton of software but there are still plenty of packages of interest to most users that are not included for a variety of reasons. This is where you find the MP3 plug-in and a ton of other packages.&lt;br /&gt;&lt;br /&gt;These instructions can vary depending on 32bit or 64bit architecture. If there is a difference it will be noted. If you don't know which architecture you're running you can run the following command:&lt;br /&gt;&lt;br /&gt;$ uname -m&lt;br /&gt;x86_64&lt;br /&gt;...or...&lt;br /&gt;i686&lt;br /&gt;&lt;br /&gt;I'm still working on the 64 bit specific instructions so your feedback is very important.&lt;br /&gt;&lt;br /&gt;Before you add repositories it's probably a good idea to make sure your system is fully updated first. At this point I'm prefering the Livna repository as it's the most useful and complete but at some point I might need to add another one for things that are lacking there. The easiest way to get started is to install the livna-release packages:&lt;br /&gt;&lt;br /&gt;# rpm -ihv http://rpm.livna.org/livna-release-9.rpm&lt;br /&gt;&lt;br /&gt;Please note: If you are upgrading from a previous release this command will fail with a conflict. Skip to the next section on upgrading from a previous release instead.&lt;br /&gt;&lt;br /&gt;When adding additional repositories be very careful as many respositories don't mix well. It's ok to add specialized repositories such as the one for Flash below, but when mixing general repositories such as FreshRPMs, Livna or ATrpms there are often conflicts that are difficult to recover from.&lt;br /&gt;&lt;br /&gt;You can browse the packages available there at http://livna-dl.reloumirrors.net/fedora/9/.&lt;br /&gt;Install MP3 Plug-in&lt;br /&gt;Since you've been following along this next step is about as easy as it gets. Just use yum  to automatically install the MP3 plug-ins for xmms and Rhythmbox like this:&lt;br /&gt;&lt;br /&gt;# yum -y install xmms xmms-mp3 xmms-faad2 gstreamer-plugins-ugly \&lt;br /&gt; gstreamer-plugins-bad libmad libid3tag&lt;br /&gt;&lt;br /&gt;While you're here you might as well install my personal favorite (this week at least) music player Banshee:&lt;br /&gt;&lt;br /&gt;# yum -y install banshee&lt;br /&gt;&lt;br /&gt;The -y  flag is to automatically answer yes to any question. If you want to be able to say no you can ignore that flag.&lt;br /&gt;&lt;br /&gt;While you're there I highly recommend the grip CD ripper which supports both MP3 and Ogg formats. Once again installation is quite simple:&lt;br /&gt;&lt;br /&gt;# yum -y install grip&lt;br /&gt;&lt;br /&gt;Install Macromedia Flash/Shockwave plug-in&lt;br /&gt;Flash Plug-in 9.0&lt;br /&gt;32-bit instructions:&lt;br /&gt;It's now "Windows easy". Just go to a site that uses flash such as YouTube and try to view a video. At the top of the window you will get a prompt like this:&lt;br /&gt;&lt;br /&gt;Just click on Install Missing Plugins and follow the prompts. It will install the plug-in for the currently installed user only, not system wide.&lt;br /&gt;&lt;br /&gt;64-bit instructions:&lt;br /&gt;Thnks to Tristian for the following instructions. I haven't been able to try them myself yet, hopefully soon.&lt;br /&gt;&lt;br /&gt;# rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm&lt;br /&gt;# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux&lt;br /&gt;# mkdir -p /usr/lib/mozilla/plugins&lt;br /&gt;# yum install nspluginwrapper.{i386,x86_64} pulseaudio-lib.i386&lt;br /&gt;# yum install flash-plugin&lt;br /&gt;# mozilla-plugin-config -i -g -v&lt;br /&gt;&lt;br /&gt;Install DVD player&lt;br /&gt;Currently I find the DVD player that works best is the Xine Multimedia Player which is found in the Livna repository so installing it is just this simple:&lt;br /&gt;&lt;br /&gt;# yum -y install xine xine-lib xine-skins xine-lib-extras-nonfree libdvdcss&lt;br /&gt;&lt;br /&gt;This will install the xine DVD/VCD/CD player. Now to get xine to automatically play a DVD upon insertion instead of the Totem player which can't actually play DVDs, you can simply use the gconftool-2 utility as follows:&lt;br /&gt;&lt;br /&gt;$ gconftool-2 --set /desktop/gnome/volume_manager/autoplay_dvd_command \&lt;br /&gt;'xine --auto-play --auto-scan dvd' --type='string'&lt;br /&gt;&lt;br /&gt;Install MPlayer Media Player&lt;br /&gt;At some point you're probably going to want to play a QuickTime, AVI or ASF file so you'll want the MPlayer media player. Fortunately with the FreshRpms repositories it's also very easy to download and install. Then you can go ahead and install mplayer and all it's dependencies:&lt;br /&gt;&lt;br /&gt;# yum -y install mplayer mplayer-gui mplayer-skins mplayer-fonts mplayerplug-in&lt;br /&gt;&lt;br /&gt;This command line will download the whole kit and kaboodle, command line utilities, plug-ins, etc. If you want to play content from a command line you will want to use the gmplayer  version which will include a skin-able control panel. Restart your web browser after that whole mess is done installing and you'll also have a plug-in for Mozilla so you can play embedded content. While you're at it be sure to configure mplayer to use the Pulse sound system rather than the default. It just works better. Edit the file ~/.mplayer/config and add the following line:&lt;br /&gt;&lt;br /&gt;ao=pulse&lt;br /&gt;&lt;br /&gt;You can enable support for mms streaming by opening Firefox and click on the special URL about:config. Right click on the list and choose New then choose String. For the preference name enter network.protocol-handler.app.mms then for the string value enter gmplayer.&lt;br /&gt;&lt;br /&gt;Special 64-bit instructions:&lt;br /&gt;The above installs the 64-bit version of everything but because your other plug-ins are 32-bits you need to run the 32-bit version of Firefox, which won't be able to use the 64-bit version of the plug-in you just installed. The plug-in can use the 64-bit version of the mplayer application just fine so all you need to do then is to install the 32-bit mplayerplug-in plus a dependency it requires. If you know of any easier way to do this please let me know below.&lt;br /&gt;&lt;br /&gt;# rpm -ihv http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/7/mplayerplug-in/mplayerplug-in-3.40-1.fc7.i386.rpm&lt;br /&gt;&lt;br /&gt;And finally you'll probably also want some additional codecs to play all that proprietary video that seems to have infected the Internet. Go to the MPlayer Download page and find the Binaries Codec Package section then follow the link for codecs directory. There you will grab the latest all codecs file. You'll need to install those files in /usr/local/lib/codecs. Here are the steps. Remember the exact file names may change at some point. If you also installed xine you will need a symlink since it expects codecs to be in a different directory.&lt;br /&gt;&lt;br /&gt;# gtar xjvf all-20071007.tar.bz2 &lt;br /&gt;# mv all-20071007/* /usr/local/lib/codecs&lt;br /&gt;# ln -s /usr/local/lib/codecs /usr/lib/codecs&lt;br /&gt;# ln -s /usr/local/lib/codecs /usr/local/lib/win32&lt;br /&gt;&lt;br /&gt;Install VLC (VideoLAN Client)&lt;br /&gt;Multimedia can be the achilles heel of Linux, but with just a little work you should be able to play just about anything your friends can. Besides Mplayer the other great video player is called VLC. It too is trivially easy to install once you have your repositories set up:&lt;br /&gt;&lt;br /&gt;# yum -y install vlc&lt;br /&gt;&lt;br /&gt;Once the client and a zillion dependencies get installed you can play a huge variety of video formats easy with the command vlc &lt;br /&gt;Install RealPlayer 10 Media Player&lt;br /&gt;This one is a little tricky only because the latest official release is horribly out of date and doesn't even use ALSA for sound. So rather than deal with annoying workarounds I think the easiest thing to do now is to just use the latest daily build that's available. I'm currently using RealPlayer11GOLD.rpm which you can just download and install. This one pretty much "just works" and doesn't seem to have any bugs I can see.&lt;br /&gt;&lt;br /&gt;Just install it:&lt;br /&gt;&lt;br /&gt;$ rpm -ihv RealPlayer11GOLD.rpm&lt;br /&gt;&lt;br /&gt;Then whenever you want to view something just use /usr/bin/realplay. Here is a link to a cute test video to make sure it's working for you.&lt;br /&gt;&lt;br /&gt;If you also installed Mplayer above then you will likely run into a problem where the Mplayer provided Real Media plug-in will be run instead of the one installed by the RealPlayer package. The mplayer verison of the plug-in does not work correctly in most cases and causes more problems than it solves. The only way I've found to get rid of it is to just simply delete the plug-in files:&lt;br /&gt;&lt;br /&gt;# cd /usr/lib/mozilla/plugins&lt;br /&gt;# rm mplayerplug-in-rm.*&lt;br /&gt;&lt;br /&gt;You'll of course need to do that again should you re-install or upgrade the mplayer plug-ins.&lt;br /&gt;Install Java J2RE and Mozilla Plug-in&lt;br /&gt;Fedora 9 now includes a fully open source Java implementation complete with Firefox plugin. You can verify it's there at the command line:&lt;br /&gt;&lt;br /&gt;$ java -version&lt;br /&gt;java version "1.7.0"&lt;br /&gt;IcedTea Runtime Environment (build 1.7.0-b21)&lt;br /&gt;IcedTea Client VM (build 1.7.0-b21, mixed mode)&lt;br /&gt;&lt;br /&gt;And you can verify the Firefox plug-in works using one of the Java testers at http://java.com/en/download/installed.jsp or http://www.javatester.org/version.html&lt;br /&gt;Install NTFS driver&lt;br /&gt;Fedora 9 now includes the Fuse based NTFS filesystem driver so no special instructions are required any more.&lt;br /&gt;Install Internet Explorer&lt;br /&gt;I know what you're saying, why would I ever want Internet Explorer installed on my perfectly good Linux system? If you don't have your own answer to that question, feel free to just skip this section. For everyone else, it's actually quite easy thanks to some very handy scripts from IEs4Linux. Before you start you'll need to make sure you have wine and cabextract installed:&lt;br /&gt;&lt;br /&gt;# yum -y install wine cabextract&lt;br /&gt;&lt;br /&gt;Then just download the latest script, extract and run it. The example below is based on version 2.0.5, just adjust the version number as necessary. Please note that you will want to install and run this as your own user, NOT as root. I used the defaults except that I installed all the versions of IE. I do some web development and I always find myself needing to resolve some goofy incompatibilites with older versions of IE.&lt;br /&gt;&lt;br /&gt;$ gtar xzvf ies4linux-2.0.5.tar.gz&lt;br /&gt;$ cd ies4linux-2.0.5&lt;br /&gt;$ ./ies4linux&lt;br /&gt;Welcome, greg! I'm IEs4Linux.&lt;br /&gt;I can install IE 6, 5.5 and 5.0 for you easily and quickly.&lt;br /&gt;You are just four 'enter's away from your IEs.&lt;br /&gt;&lt;br /&gt;I'll ask you some questions now. Just answer y or n (default answer is the bold one)&lt;br /&gt;&lt;br /&gt;IE 6 will be installed automatically.&lt;br /&gt;Do you want to install IE 5.5 SP2 too? [ y / n ] y&lt;br /&gt; .&lt;br /&gt; .&lt;br /&gt; .&lt;br /&gt;IEs 4 Linux installations finished!&lt;br /&gt;&lt;br /&gt;To run your IEs, type:&lt;br /&gt; ie6&lt;br /&gt; ie55&lt;br /&gt; ie5&lt;br /&gt;&lt;br /&gt;You can read more about this feature on my Internet Explorer with ActiveX on Linux page. It goes into a little more detail about using IE on Linux.&lt;br /&gt;Install Other Odds and Ends&lt;br /&gt;This section used to have information on installing additional fonts. With the font improvements in Fedora 9 they really aren't needed any more.&lt;br /&gt;Other Handy Utilities&lt;br /&gt;Here are a few other tools that aren't installed by default but a lot of people find handy:&lt;br /&gt;&lt;br /&gt;# yum -y install  gnomebaker testdisk thunderbird  screen cups-pdf \&lt;br /&gt; unrar deluge&lt;br /&gt;&lt;br /&gt;    deluge - Advanced graphical Bittorrent client&lt;br /&gt;    cups-pdf - Add-on to CUPS which creates a PDF Printer which you can use to print any document in PDF format. The file is written to your Desktop.&lt;br /&gt;    gnomebaker - GTK based CD/DVD burning utility&lt;br /&gt;    screen - If you do a lot with the command line you'll find screen invaluable&lt;br /&gt;    testdisk - Two command line utilities to recover lost partitions and undelete files on FAT filesystems. VERY handy for undeleting files on flash memory cards.&lt;br /&gt;    thunderbird - Excellent E-mail client that complements Firefox&lt;br /&gt;    unrar - Useful utility to extract RAR archives &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/7412437316807711718-3653965080686740088?l=itechno23.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itechno23.blogspot.com/feeds/3653965080686740088/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7412437316807711718&amp;postID=3653965080686740088' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/3653965080686740088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/3653965080686740088'/><link rel='alternate' type='text/html' href='http://itechno23.blogspot.com/2008/05/fedora-9-tips-and-tricks-v01.html' title='Fedora 9 Tips and Tricks (v0.1)'/><author><name>Techno</name><uri>http://www.blogger.com/profile/04294542666339882203</uri><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-7412437316807711718.post-5960949076900821958</id><published>2008-05-20T16:07:00.001+07:00</published><updated>2008-05-20T16:11:07.752+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Tips n Trick'/><title type='text'>Installing Fedora Core 6 and 7 on Sony Vaio VGN-FJ170/B (v1.0)</title><content type='html'>his guide is based on my Installing Fedora Core 5 on Sony Vaio page. If you have an interest in helping to get Linux running on this laptop I encourage you to join the mailing list I've set up and help out.&lt;br /&gt;&lt;br /&gt;Having owned several laptops I now realize there are only a couple things that are truly important. Size (small but not too small) and a great screen. Based on those two needs I chose the Sony Vaio VGN-FJ170/B (decoding the model number: FJ series with 1.7Ghz processor in Black)&lt;br /&gt;&lt;br /&gt;Please also refer to my Fedora Core 6 Tips &amp; Tricks or Fedora 7 Tips &amp; Tricks. These tips work pretty much the same on both of those versions of Fedora. If you're using Fedora 8 there are some things that now "just work" such as Wifi and other things that I haven't yet figured out how to get to work such as Fn key support.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;his guide is based on my Installing Fedora Core 5 on Sony Vaio page. If you have an interest in helping to get Linux running on this laptop I encourage you to join the mailing list I've set up and help out.&lt;br /&gt;&lt;br /&gt;Having owned several laptops I now realize there are only a couple things that are truly important. Size (small but not too small) and a great screen. Based on those two needs I chose the Sony Vaio VGN-FJ170/B (decoding the model number: FJ series with 1.7Ghz processor in Black)&lt;br /&gt;&lt;br /&gt;Please also refer to my Fedora Core 6 Tips &amp; Tricks or Fedora 7 Tips &amp; Tricks. These tips work pretty much the same on both of those versions of Fedora. If you're using Fedora 8 there are some things that now "just work" such as Wifi and other things that I haven't yet figured out how to get to work such as Fn key support.&lt;br /&gt;&lt;br /&gt;Hardware Summary&lt;br /&gt;&lt;br /&gt;    * Processor: Intel Pentium M 740 @ 1.73Ghz / 533Mhz frontside / 2MB L2 cache&lt;br /&gt;      FJ180 has Pentium M 750 @ 1.86Ghz&lt;br /&gt;    * RAM: 512MB DDR RAM (1 of 2 slots populated, max 2GB)&lt;br /&gt;    * Hard drive: 100GB SATA&lt;br /&gt;    * DVD drive: Ricoh Double-Layer DVD+/-R burner&lt;br /&gt;    * Screen: 14.1" TFT WXGA 1280x800 with XBRITE-ECO&lt;br /&gt;    * Video: Intel 915GM&lt;br /&gt;    * Ethernet: Integrated 10/100 LAN&lt;br /&gt;    * Modem: unknown&lt;br /&gt;    * Audio: Intel 82801FB High Definition Audio Controller&lt;br /&gt;    * USB: Three USB 2.0 ports&lt;br /&gt;    * Wifi: Intel PRO/Wireless 2200BG &lt;br /&gt;&lt;br /&gt;For those interested here is the full lspci output:&lt;br /&gt;00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03) 00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) 00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03) 00:1b.0 Class 0403: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) 00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3) 00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03) 00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03) 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03) 06:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 06:09.0 CardBus bridge: Texas Instruments PCI7420 CardBus Controller 06:09.2 FireWire (IEEE 1394): Texas Instruments PCI7x20 1394a-2000 OHCI Two-Port PHY/Link-Layer Controller 06:09.3 Mass storage controller: Texas Instruments PCI7420/PCI7620 Dual Socket CardBus and Smart Card Cont. w/ 1394a-2000 OHCI Two-Port PHY/Link-Layer Cont. an 06:0a.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)&lt;br /&gt;&lt;br /&gt;Fedora Core 6 Compatibility&lt;br /&gt;&lt;br /&gt;    * Audio: OK&lt;br /&gt;    * Video: OK&lt;br /&gt;    * VGA Output: NOT YET&lt;br /&gt;    * Touchpad: OK&lt;br /&gt;    * Wifi: WITH WORK&lt;br /&gt;    * DVD/CD: OK&lt;br /&gt;    * Ethernet: OK&lt;br /&gt;    * PCMCIA: OK&lt;br /&gt;    * Power Management:&lt;br /&gt;          o Battery Meter: OK&lt;br /&gt;          o Screen blanking: OK&lt;br /&gt;          o Suspend/Hibernate: OK (Yeah, it just works)&lt;br /&gt;          o CPU Frequence Scaling: NOT PERFECTLY &lt;br /&gt;    * Modem: PROBABLY NOT&lt;br /&gt;    * USB: OK&lt;br /&gt;    * MemoryStick: NOT YET&lt;br /&gt;    * Built-in Video: WITH WORK &lt;br /&gt;&lt;br /&gt;Please note I've also created a very low volume mailing list to discuss Linux on Sony Vaio FJ series notebooks. You can sign up HERE&lt;br /&gt;Preparing for the install&lt;br /&gt;The system comes preconfigured with a hidden partition #1 that contains system recovery data. I don't recommend touching that. The main NTFS partition is #2 which I resized using the built-in tools in the Knoppix distribution. It was tricky but worked fine. I've used Partition Magic in the past which I find is more work because you need to boot into XP and install the software for it to work.&lt;br /&gt;&lt;br /&gt;I'm told that Gparted available at http://gparted.sourceforge.net/ is a very easy way to resize an NTFS partition. It has a downloadable live CD which is only 22.5MB and has an easy to use interface for re-sizing partitions. I have no experience with it but other people reported it works great.&lt;br /&gt;&lt;br /&gt;Please note this is not an easy laptop to get going with Linux and the steps outlined below are not intended for Linux novices.&lt;br /&gt;Install Fedora Core 6&lt;br /&gt;You should be able to install Fedora normally on this laptop. The display is configured perfectly without any tweaking necessary.&lt;br /&gt;&lt;br /&gt;It probably wouldn't hurt to do a yum -y update as soon as you get everything installed.&lt;br /&gt;Configuring the audio&lt;br /&gt;In my case the audio was muted by default. The easiest way is to start the audio applet in Gnome and bring up the Preferences. In my case the device was wrong, it was using the OSS driver which is not correct. Choose the HDA Intel (Alsa Mixer) and the device to track and control should be Front for the master volume. Once that's set Open Volume Control and unmute the Front and PCM sliders. If they don't show up in the master volume control hit Edit -&gt; Preferences and choose all the tracks to be visible in the controller.&lt;br /&gt;Controlling screen brightness&lt;br /&gt;The main reason I chose a Sony notebook was for the incredibly bright screen. No other manufacturer was as good at the time I bought it (Dec 2005). However, once the brightness was set in Windows XP it was not possible to adjust it in Linux. Unlike other laptops that implement screen brightness in hardware Sony for some idiotic reason chose to do it with a driver. That also means that it's probably not going to work under Windows Vista when/if that ever gets released.&lt;br /&gt;&lt;br /&gt;It is possible to get it to work but a little tricky. First, you'll want Stelian Pop's sony_acpi driver which I modified slightly as well as the fsfn-1.1-take2.tar.gz. Put the files in /usr/src  and extract and compile them. You'll obviously also need kernel sources and a compiler in case you didn't install them previously.&lt;br /&gt;&lt;br /&gt;# yum -y install kernel-devel gcc&lt;br /&gt;# gtar xzvf sony_acpi-0.3.tar.gz&lt;br /&gt;# cd sony_acpi-0.3&lt;br /&gt;# make install&lt;br /&gt;# modprobe sony_acpi&lt;br /&gt;&lt;br /&gt;Please note that you will also have to re-install the driver when you upgrade to a newer kernel.&lt;br /&gt;&lt;br /&gt;If that worked you should have a directory /proc/acpi/sony  and it will contain three files. You can manually adjust the brightness by echoing numbers between 1 and 8 to the brightness file.&lt;br /&gt;&lt;br /&gt;Now you need to get fsfn  to handle the special Fn keys and it will then control the audio volume and screen brightness for you and will display the new value in an on screen display. You'll need the xosd  and alsa  libraries installed for this to work properly.&lt;br /&gt;&lt;br /&gt;# yum -y install xosd xosd-devel alsa-lib-devel&lt;br /&gt;# gtar xzvf fsfn-1.1-take2.tar.gz&lt;br /&gt;# cd fsfn-1.1&lt;br /&gt;# ./configure&lt;br /&gt;# make install&lt;br /&gt;# cp fedora/fsfn /etc/init.d&lt;br /&gt;&lt;br /&gt;Before you start you'll probably want to read the fsfn(5)  man page and create the configuration file /etc/fsfn.conf  containing at least the following line to enable a special hack necessary for the VAIO FJ series of notebooks:&lt;br /&gt;&lt;br /&gt;BRT_HACK_FJS=1&lt;br /&gt;ALSA_NAME=Headphone&lt;br /&gt;&lt;br /&gt;Setting the ALSA_NAME is a hack to make the volume work. For some reason with FC6 the main volume controller is named Headphone instead of Front so until we find a solution to the naming problem this workaround will allow the Fn buttons to control the main volume.&lt;br /&gt;&lt;br /&gt;To get this all working you'll need to start the fsfn  service at boot time (after the driver above is loaded). Rather than having it start automatically I added it to my startup file /etc/rc.d/rc.local :&lt;br /&gt;&lt;br /&gt; service fsfn start&lt;br /&gt;&lt;br /&gt;And finally you will need the client that handles the on screen display to start when you log in. Go to Desktop -&gt; Preferences -&gt; No Preferences -&gt; Sessions. Once there go to Startup Programs and add the command fsfn -o  to the list of startup programs.&lt;br /&gt;&lt;br /&gt;Once you do all that you should be able to adjust the volume and screen brightness with the special Fn keys just like in XP.&lt;br /&gt;Configuring Wifi&lt;br /&gt;This laptop is based on the Centrino chipset which is well supported by Linux. However, some distributions like Fedora do not include the necessary firmware for the Wifi interface so you'll have to download it. The easiest way is to download it from the FreshRPMs repository. If you followed my Fedora Core 6 Tips &amp; Tricks already then you can skip the first line.&lt;br /&gt;&lt;br /&gt;# rpm -ihv http://ayo.freshrpms.net/fedora/linux/6/i386/RPMS.freshrpms/freshrpms-release-1.1-1.fc.noarch.rpm&lt;br /&gt;# yum -y install ipw2200-firmware&lt;br /&gt;# modprobe ipw2200&lt;br /&gt;&lt;br /&gt;That will load the driver which will now have access to the firmware so the interface will come up automatically from now on. You can now set up your wireless interface as you would normally.&lt;br /&gt;Built-in Video&lt;br /&gt;This laptop has built-in video which until recently was a proprietary Windows driver only. But thanks to the wonderful work found at http://mxhaard.free.fr/ the camera can be made to work as a standard Video 4 Linux device very easily. Just download the latest gspcav1 driver from http://mxhaard.free.fr/download.html and extract it. Then you can just run the compile script.&lt;br /&gt;&lt;br /&gt;# gtar xzvf gspcav1-20070426.tar.gz&lt;br /&gt;# cd gspcav1-20070426&lt;br /&gt;# ./gspca_build&lt;br /&gt;&lt;br /&gt;That will build and install the kernel drivers. You will need to re-run that after upgrading your kernel. If you run dmesg you could make sure this driver loaded and successfully found the camera.&lt;br /&gt;&lt;br /&gt;# dmesg&lt;br /&gt; .&lt;br /&gt; .&lt;br /&gt;/usr/src/gspcav1-20070426/gspca_core.c: USB GSPCA camera found.(VC0321) &lt;br /&gt;/usr/src/gspcav1-20070426/gspca_core.c: [spca5xx_probe:4041] Camera type YUYV &lt;br /&gt;/usr/src/gspcav1-20070426/Vimicro/vc032x.h: [vc032x_probe_sensor:137] check sensor header 44&lt;br /&gt;/usr/src/gspcav1-20070426/Vimicro/vc032x.h: [vc0321_config:354] Find Sensor OV7660&lt;br /&gt;/usr/src/gspcav1-20070426/gspca_core.c: [spca5xx_getcapability:1198] maxw 640 maxh 480 minw 176 minh 144&lt;br /&gt;usbcore: registered new interface driver gspca&lt;br /&gt;/usr/src/gspcav1-20070426/gspca_core.c: gspca driver 01.00.16 registered&lt;br /&gt;&lt;br /&gt;Then you can test to make sure the camera works by using an application such as VLC. Just open it as a local video capture device and you should then see yourself on the screen.&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/7412437316807711718-5960949076900821958?l=itechno23.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itechno23.blogspot.com/feeds/5960949076900821958/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7412437316807711718&amp;postID=5960949076900821958' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/5960949076900821958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/5960949076900821958'/><link rel='alternate' type='text/html' href='http://itechno23.blogspot.com/2008/05/installing-fedora-core-6-and-7-on-sony.html' title='Installing Fedora Core 6 and 7 on Sony Vaio VGN-FJ170/B (v1.0)'/><author><name>Techno</name><uri>http://www.blogger.com/profile/04294542666339882203</uri><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-7412437316807711718.post-7945722223020653711</id><published>2008-05-20T15:50:00.000+07:00</published><updated>2008-05-20T15:55:55.232+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Tips n Trick'/><title type='text'>Linux Tips-n-tricks For Beginners</title><content type='html'>here are numerous ways to use Linux with a computer. The most common method is to allocate part of your hard disk to Linux and put all the software you need on it. It's also possible to use Linux without touching your hard disk at all, either by getting the software from another computer on a network or by using a cd or dvd. When people talk of installing Linux though, they invariably mean using the hard disk to store all their required software.&lt;br /&gt;&lt;br /&gt;To install Linux on your hard disk, you first need to be able to allocate a section of the hard disk to Linux. Thankfully all sorts of computer systems understand the methods of dividing hard disks so two or more operating systems (e.g. versions of Linux and /or Windows) can reside on just one hard disk. More details on dividing the hard disks are given in the next section. &lt;br /&gt;&lt;span class="fullpost"&gt;&lt;br /&gt;There are numerous ways to use Linux with a computer. The most common method is to allocate part of your hard disk to Linux and put all the software you need on it. It's also possible to use Linux without touching your hard disk at all, either by getting the software from another computer on a network or by using a cd or dvd. When people talk of installing Linux though, they invariably mean using the hard disk to store all their required software.&lt;br /&gt;&lt;br /&gt;To install Linux on your hard disk, you first need to be able to allocate a section of the hard disk to Linux. Thankfully all sorts of computer systems understand the methods of dividing hard disks so two or more operating systems (e.g. versions of Linux and /or Windows) can reside on just one hard disk. More details on dividing the hard disks are given in the next section.&lt;br /&gt;&lt;br /&gt;Once that is done, you need to get a startup/install disk. Just as you would use a startup disk to access windows in case of a crash, a Linux startup/install disk will boot your computer in the Linux OS, albeit a limited version of it. The startup disk also contains info on accessing the hardware it needs to complete the installation and the complete install system itself. Most Linux installations are done from either CD-ROM or DVD-ROM install disks.&lt;br /&gt;&lt;br /&gt;If your computer is built from common hardware which is well supported by Linux, it is unlikely that you will have to do any configuration to make the hardware work in your computer. It is not uncommon however to find that your computer has some hardware which does not work (well or at all) with Linux, the most common problem being with Modems which are an eternal source of frustration for new Linux users. You can use the internet site at http://www.linmodems.org/ to try and determine if your modem should work with Linux, or if there are any special steps required to make it work. Generally most other problems experienced with hardware when installing Linux are related to very new models or new types of hardware which are not yet supported in the distributions. Most distributions will have notes on known hardware problems often with solutions or workarounds. You should check these notes on-line, as opposed to from the installation media as problems may have been found after it was released, before trying to install as it could save you much frustration later.&lt;br /&gt;&lt;br /&gt;If you want to test out your computer with Linux before trying to install, many different Linux distributors now have "LiveCD" versions which allow you to try the system without installing. The way these work is by ignoring your hard disk and simply treating your computer like a PlayStation, running everything from the CD. These systems cannot run as fast or be as flexible as a Linux system installed onto a hard disk, but they do give you a chance to test your computer and the system for compatibility and to try out the software to see how it suits your needs.&lt;br /&gt;&lt;br /&gt;Understanding files and folders&lt;br /&gt;&lt;br /&gt;Linux is made with one thought in mind: Everything is a file.&lt;br /&gt;&lt;br /&gt;A blank piece of paper is called a file in the world of computers. You can use this piece of paper to write a text or make a drawing. Your text or drawing is called information. A computer file is another way of storing your information.&lt;br /&gt;&lt;br /&gt;If you make many drawings then you will eventually want to sort them in different piles or make some other system that allows you to easily locate a given drawing. Computers use folders to sort your files in a hieratic system.&lt;br /&gt;&lt;br /&gt;A file is an element of data storage in a file system (file systems manualpage). Files are usually stored on harddrives, cdroms and other media, but may also be information stored in RAM or links to devices.&lt;br /&gt;&lt;br /&gt;To organize our files into a system we use folders. The lowest possible folder is root / where you will find the user homes called /home/.&lt;br /&gt;&lt;br /&gt;/&lt;br /&gt;&lt;br /&gt;/home/&lt;br /&gt;&lt;br /&gt;/home/mom/&lt;br /&gt;&lt;br /&gt;/home/dad/&lt;br /&gt;&lt;br /&gt;Behind every configurable option there is a simple human-readable text file you can hand-edit to suit your needs. These days most programs come with nice GUI (graphical user interface) like Mandrakes Control Center and Suses YAST that can smoothly guide you through most configuration. Those who choose can gain full control of their system by manually adjusting the configuration files from foo=yes to foo=no in an editor.&lt;br /&gt;&lt;br /&gt;Almost everything you do on a computer involves one or more files stored locally or on a network.&lt;br /&gt;&lt;br /&gt;Your filesystems lowest folder root / contains the following folders:&lt;br /&gt;&lt;br /&gt;/bin&lt;br /&gt;&lt;br /&gt;Essential user command binaries (for use by all users)&lt;br /&gt;&lt;br /&gt;/boot&lt;br /&gt;&lt;br /&gt;Static files of the boot loader, only used at system startup&lt;br /&gt;&lt;br /&gt;/dev&lt;br /&gt;&lt;br /&gt;Device files, links to your hardware devices like /dev/sound, /dev/input/js0 (joystick)&lt;br /&gt;&lt;br /&gt;/etc&lt;br /&gt;&lt;br /&gt;Host-specific system configuration&lt;br /&gt;&lt;br /&gt;/home&lt;br /&gt;&lt;br /&gt;User home directories. This is where you save your personal files&lt;br /&gt;&lt;br /&gt;/lib&lt;br /&gt;&lt;br /&gt;Essential shared libraries and kernel modules&lt;br /&gt;&lt;br /&gt;/mnt&lt;br /&gt;&lt;br /&gt;Mount point for a temporarily mounted filesystem like /mnt/cdrom&lt;br /&gt;&lt;br /&gt;/opt&lt;br /&gt;&lt;br /&gt;Add-on application software packages&lt;br /&gt;&lt;br /&gt;/usr&lt;br /&gt;&lt;br /&gt;/usr is the second major section of the filesystem. /usr is shareable, read-only data. That means that /usr should be shareable between various FHS-compliant hosts and must not be written to. Any information that is host-specific or varies with time is stored elsewhere.&lt;br /&gt;&lt;br /&gt;/var&lt;br /&gt;&lt;br /&gt;/var contains variable data files. This includes spool directories and files, administrative and logging data, and transient and temporary files.&lt;br /&gt;&lt;br /&gt;/proc&lt;br /&gt;&lt;br /&gt;System information stored in memory mirrored as files.&lt;br /&gt;&lt;br /&gt;The only folder a normal user needs to use is&lt;br /&gt;&lt;br /&gt;/home/you/&lt;br /&gt;&lt;br /&gt;- this is where you will be keeping all your documents.&lt;br /&gt;&lt;br /&gt;/home/elvis/Documents&lt;br /&gt;&lt;br /&gt;/home/elvis/Music&lt;br /&gt;&lt;br /&gt;/home/elvis/Music/60s&lt;br /&gt;&lt;br /&gt;Files are case sensitive, "myfile" and "MyFile" are two different files.&lt;br /&gt;&lt;br /&gt;For more details, check out:&lt;br /&gt;&lt;br /&gt;3. Understanding users and permissions&lt;br /&gt;&lt;br /&gt;Linux is based on the idea that everyone using a system has their own username and password.&lt;br /&gt;&lt;br /&gt;Every file belongs to a user and a group, and has a set of given attributes (read, write and executable) for users, groups and all (everybody).&lt;br /&gt;&lt;br /&gt;A file or folder can have permissions that only allows the user it belongs to to read and write to it, allowing the group it belongs to to read it and at the same time all other users can't even read the file.&lt;br /&gt;&lt;br /&gt;4. Who and what is root&lt;br /&gt;&lt;br /&gt;Linux has one special user called&lt;br /&gt;&lt;br /&gt;root&lt;br /&gt;&lt;br /&gt;(this is the user name). Root is the "system administrator" and has access to all files and folders. This special user has the right to do anything.&lt;br /&gt;&lt;br /&gt;You should never log on as this user unless you actually need to do something that requires it!&lt;br /&gt;&lt;br /&gt;Use&lt;br /&gt;&lt;br /&gt;su -&lt;br /&gt;&lt;br /&gt;to temporary become root and do the things you need, again: never log into your sytem as root!&lt;br /&gt;&lt;br /&gt;Root is only for system maintenance, this is not a regular user (LindowsOS don't have any user management at all and uses root for everything, this is a very bad idea!).&lt;br /&gt;&lt;br /&gt;You can execute a command as root with:&lt;br /&gt;&lt;br /&gt;su -c 'command done as root'&lt;br /&gt;&lt;br /&gt;Gentoo Linux: Note that on Gentoo Linux only users that are member of the wheel group are allowed to su to root.&lt;br /&gt;&lt;br /&gt;5. Opening a command shell / terminal&lt;br /&gt;&lt;br /&gt;To learn Linux, you need to learn the shell command line in a terminal emulator.&lt;br /&gt;&lt;br /&gt;In KDE:&lt;br /&gt;&lt;br /&gt;K&lt;br /&gt;&lt;br /&gt;-&gt;&lt;br /&gt;&lt;br /&gt;System&lt;br /&gt;&lt;br /&gt;-&gt;&lt;br /&gt;&lt;br /&gt;Konsoll&lt;br /&gt;&lt;br /&gt;to get a command shell)&lt;br /&gt;&lt;br /&gt;Pressing CTRL-ALT-F1 to CTRL-ALT-F6 gives you the console command shell windows, while CTRL-ALT-F7 gives you XFree86 (the graphical interface).&lt;br /&gt;&lt;br /&gt;xterm (manual page) is the standard XFree console installed on all boxes, run it with xterm (press ALT F2 in KDE and Gnome to run commands).&lt;br /&gt;&lt;br /&gt;Terminals you probably have installed:&lt;br /&gt;&lt;br /&gt;    *&lt;br /&gt;&lt;br /&gt;      xterm http://dickey.his.com/xterm/&lt;br /&gt;    *&lt;br /&gt;&lt;br /&gt;      konsole (KDEs terminal)&lt;br /&gt;    *&lt;br /&gt;&lt;br /&gt;      gnome-terminal (Gnomes terminal) &lt;br /&gt;&lt;br /&gt;Non-standard terminals should install:&lt;br /&gt;&lt;br /&gt;    *&lt;br /&gt;&lt;br /&gt;      rxvt http://www.rxvt.org/&lt;br /&gt;    *&lt;br /&gt;&lt;br /&gt;      aterm http://aterm.sourceforge.net&lt;br /&gt;&lt;br /&gt;6. Your first Linux commands&lt;br /&gt;&lt;br /&gt;Now you should have managed to open a terminal shell and are ready to try your first Linux commands. Simply ask the computer to do the tasks you want it to using it's language and press the enter key (the big one with an arrow). You can add a&lt;br /&gt;&lt;br /&gt;&amp;&lt;br /&gt;&lt;br /&gt;after the command to make it run in the background (your terminal will be available while the job is done). It can be practical to do things like moving big divx movies as a background process:&lt;br /&gt;&lt;br /&gt;cp movie.avi /pub &amp;&lt;br /&gt;&lt;br /&gt;. Jobs - the basics of job control&lt;br /&gt;&lt;br /&gt;6.1. ls - short for list&lt;br /&gt;&lt;br /&gt;ls lists the files in the current working folder. This is probably the first command to try out. It as a number of options described on the ls manpage.&lt;br /&gt;&lt;br /&gt;Examples:&lt;br /&gt;&lt;br /&gt;ls&lt;br /&gt;&lt;br /&gt;ls -al --color=yes&lt;br /&gt;&lt;br /&gt;6.2. pwd - print name of current/working directory&lt;br /&gt;&lt;br /&gt;pwd&lt;br /&gt;&lt;br /&gt;prints the fully resolved name of the current (working) directory. pwdmanpage.&lt;br /&gt;&lt;br /&gt;6.3. cd - Change directory&lt;br /&gt;&lt;br /&gt;cd stands for change (working) directory and that's what it does. The folder below you (unless you are in /, where there is no lower directory) is called "..".&lt;br /&gt;&lt;br /&gt;To go one folder down:&lt;br /&gt;&lt;br /&gt;cd ..&lt;br /&gt;&lt;br /&gt;Change into the folder Documents in your current working directory:&lt;br /&gt;&lt;br /&gt;cd Documents&lt;br /&gt;&lt;br /&gt;Change into a folder somewhere else:&lt;br /&gt;&lt;br /&gt;cd /pub/video&lt;br /&gt;&lt;br /&gt;The / in front of pub means that the folder pub is located in the / (lowest folder).&lt;br /&gt;&lt;br /&gt;7. The basic commands&lt;br /&gt;&lt;br /&gt;7.1. chmod - Make a file executable&lt;br /&gt;&lt;br /&gt;To make a file executable and runnable by any user:&lt;br /&gt;&lt;br /&gt;chmod a+x myfile&lt;br /&gt;&lt;br /&gt;Refer to the chmod manual page for more information.&lt;br /&gt;&lt;br /&gt;7.2. df - view filesystem disk space usage&lt;br /&gt;&lt;br /&gt;df -h&lt;br /&gt;&lt;br /&gt;Filesystem Size Used Avail Use% Mounted on&lt;br /&gt;&lt;br /&gt;/dev/hda3 73G 67G 2.2G 97% /&lt;br /&gt;&lt;br /&gt;tmpfs 2.0M 24K 2.0M 2% /mnt/.init.d&lt;br /&gt;&lt;br /&gt;tmpfs 252M 0 252M 0% /dev/shm&lt;br /&gt;&lt;br /&gt;The flags: -h, --human-readable Appends a size letter such as M for megabytes to each size.&lt;br /&gt;&lt;br /&gt;df manpage&lt;br /&gt;&lt;br /&gt;7.3. du - View the space used by files and folders&lt;br /&gt;&lt;br /&gt;Use du (Disk Usage) to view how much space files and folders occupy. Read the du manual page for flags and usage.&lt;br /&gt;&lt;br /&gt;du is a part of fileutils.&lt;br /&gt;&lt;br /&gt;Example du usage:&lt;br /&gt;&lt;br /&gt;du -sh Documents/&lt;br /&gt;&lt;br /&gt;409M Documents&lt;br /&gt;&lt;br /&gt;7.4. mkdir - makes folders&lt;br /&gt;&lt;br /&gt;Folders are created with the command mkdir:&lt;br /&gt;&lt;br /&gt;mkdir folder&lt;br /&gt;&lt;br /&gt;To make a long path, use mkdir -p :&lt;br /&gt;&lt;br /&gt;mkdir -p /use/one/command/to/make/a/long/path/&lt;br /&gt;&lt;br /&gt;Like most programs mkdir supports -v (verbose). Practical when used in scripts.&lt;br /&gt;&lt;br /&gt;You can make multiple folders in bash and other shells with {folder1,folder2} :&lt;br /&gt;&lt;br /&gt;mkdir /usr/local/src/bash/{old,new,dist,bugs}&lt;br /&gt;&lt;br /&gt;mkdir manual page&lt;br /&gt;&lt;br /&gt;The command&lt;br /&gt;&lt;br /&gt;rmdir&lt;br /&gt;&lt;br /&gt;removes folders.&lt;br /&gt;&lt;br /&gt;7.5. passwd - changes your login password&lt;br /&gt;&lt;br /&gt;To change your password in Linux, type:&lt;br /&gt;&lt;br /&gt;passwd&lt;br /&gt;&lt;br /&gt;The root user can change the password of any user by running passwd with the user name as argument:&lt;br /&gt;&lt;br /&gt;passwd jonny&lt;br /&gt;&lt;br /&gt;will change jonnys password. Running passwd without arguments as root changes the root password.&lt;br /&gt;&lt;br /&gt;If you need to add several new users and give them password you can use a handy program like Another Password Generator to generate a large set of "random" passwords.&lt;br /&gt;&lt;br /&gt;7.5.1. KDE&lt;br /&gt;&lt;br /&gt;From KDE you can change your password by going:&lt;br /&gt;&lt;br /&gt;    *&lt;br /&gt;&lt;br /&gt;      K&lt;br /&gt;&lt;br /&gt;      -&gt;&lt;br /&gt;&lt;br /&gt;      Settings&lt;br /&gt;&lt;br /&gt;      -&gt;&lt;br /&gt;&lt;br /&gt;      Change Password&lt;br /&gt;&lt;br /&gt;    *&lt;br /&gt;&lt;br /&gt;      K&lt;br /&gt;&lt;br /&gt;      -&gt;&lt;br /&gt;&lt;br /&gt;      Settings&lt;br /&gt;&lt;br /&gt;      -&gt;&lt;br /&gt;&lt;br /&gt;      Control Center&lt;br /&gt;&lt;br /&gt;      -&gt;&lt;br /&gt;&lt;br /&gt;      System Administration&lt;br /&gt;&lt;br /&gt;      -&gt;&lt;br /&gt;&lt;br /&gt;      User Account&lt;br /&gt;&lt;br /&gt;7.6. rm - delete files and folders, short for remove&lt;br /&gt;&lt;br /&gt;Files are deleted with the command rm:&lt;br /&gt;&lt;br /&gt;rm /home/you/youfile.txt&lt;br /&gt;&lt;br /&gt;To delete folders, use rm together with -f (Do not prompt for confirmation) and -r (Recursively remove directory trees):&lt;br /&gt;&lt;br /&gt;rm -rf /home/you/foo/&lt;br /&gt;&lt;br /&gt;Like most programs rm supports -v (verbose).&lt;br /&gt;&lt;br /&gt;rm manual page&lt;br /&gt;&lt;br /&gt;7.7. ln - make symbolic links&lt;br /&gt;&lt;br /&gt;A symbolic link is a "file" pointing to another file.&lt;br /&gt;&lt;br /&gt;To make a symbolic link :&lt;br /&gt;&lt;br /&gt;ln /original/file /new/link&lt;br /&gt;&lt;br /&gt;This makes /original/file and /new/link the same file - edit one and the other will change. The file will not be gone until both /original/file and /new/link are deleted.&lt;br /&gt;&lt;br /&gt;You can only do this with files. For folders, you must make a "soft" link.&lt;br /&gt;&lt;br /&gt;To make a soft symbolic link :&lt;br /&gt;&lt;br /&gt;ln -s /original/file /new/link&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;ln -s /usr/src/linux-2.4.20 /usr/src/linux&lt;br /&gt;&lt;br /&gt;Note that -s makes an "empty" file pointing to the original file/folder. So if you delete the folder a symlink points to, you will be stuck with a dead symlink (just rm it).&lt;br /&gt;&lt;br /&gt;ln manual page&lt;br /&gt;&lt;br /&gt;7.8. tar archiving utility - tar.bz2 and tar.gz&lt;br /&gt;&lt;br /&gt;tar (manual page) is a very handle little program to store files and folders in archives, originally made for tapestreamer backups. Tar is usually used together with gzip (manual page) or bzip2 (manual page), comprepssion programs that make your .tar archive a much smaller .tar.gz or .tar.bz2 archive.&lt;br /&gt;&lt;br /&gt;kde&lt;br /&gt;&lt;br /&gt;You can use the program&lt;br /&gt;&lt;br /&gt;ark&lt;br /&gt;&lt;br /&gt;(&lt;br /&gt;&lt;br /&gt;K&lt;br /&gt;&lt;br /&gt;-&gt;&lt;br /&gt;&lt;br /&gt;Utilities&lt;br /&gt;&lt;br /&gt;-&gt;&lt;br /&gt;&lt;br /&gt;Ark&lt;br /&gt;&lt;br /&gt;) to handle archives in KDE. Konqueror treats file archives like normal folders, simply click on the archive to open it. The archive becomes a virtual folder that can be used to open, add or remove files just as if you were working with a normal folder.&lt;br /&gt;&lt;br /&gt;7.8.1. tar files (.tar.gz)&lt;br /&gt;&lt;br /&gt;To untar files:&lt;br /&gt;&lt;br /&gt;tar xvzf file.tar.gz&lt;br /&gt;&lt;br /&gt;To tar files:&lt;br /&gt;&lt;br /&gt;tar cvzf file.tar.gz filedir1 filedir2 filedir2...&lt;br /&gt;&lt;br /&gt;Note: A .tgz file is the same as a .tar.gz file. Both are also often refered to as tarballs.&lt;br /&gt;&lt;br /&gt;The flags: z is for gzip, v is for verbose, c is for create, x is for extract, f is for file (default is to use a tape device).&lt;br /&gt;&lt;br /&gt;7.8.2. bzip2 files (.tar.bz2)&lt;br /&gt;&lt;br /&gt;To unpack files:&lt;br /&gt;&lt;br /&gt;tar xjvf file.tar.bz2&lt;br /&gt;&lt;br /&gt;To pack files:&lt;br /&gt;&lt;br /&gt;tar cvjf file.tar.bz2 filedir1 filedir2 filedir2...&lt;br /&gt;&lt;br /&gt;The flags: Same as above, but with j for for bzip2&lt;br /&gt;&lt;br /&gt;You can also use bunzip2 file.tar.bz2&amp;nbsp;, will turn it into a tar.&lt;br /&gt;&lt;br /&gt;For older versions of tar, try tar -xjvf or -xYvf or -xkvf to unpack.There's a few other options it could be, they couldn't decide which switch to use for bzip2 for a while.&lt;br /&gt;&lt;br /&gt;How to untar an entire directory full or archives?&lt;br /&gt;&lt;br /&gt;.tar:&lt;br /&gt;&lt;br /&gt;for i in `ls *.tar`; do tar xvf $i; done&lt;br /&gt;&lt;br /&gt;.tar.gz:&lt;br /&gt;&lt;br /&gt;for i in `ls *.tar.gz`; do tar xvfz $i; done&lt;br /&gt;&lt;br /&gt;.tar.bz2:&lt;br /&gt;&lt;br /&gt;for i in `ls *.tar.bz2`; do tar xvfj $i; done&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/7412437316807711718-7945722223020653711?l=itechno23.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://itechno23.blogspot.com/feeds/7945722223020653711/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7412437316807711718&amp;postID=7945722223020653711' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/7945722223020653711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7412437316807711718/posts/default/7945722223020653711'/><link rel='alternate' type='text/html' href='http://itechno23.blogspot.com/2008/05/linux-tips-n-tricks-for-beginners.html' title='Linux Tips-n-tricks For Beginners'/><author><name>Techno</name><uri>http://www.blogger.com/profile/04294542666339882203</uri><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>
