[125003370010] |Fix for suspend and hibernation problem for Laptops [125003370020] |You might have noticed that the suspend and hibernation function in ubuntu/kubuntu won’t work. [125003370030] |While there’s no official fix, you might find this work around helpful. [125003370040] |Most people need hibernation for their laptops.step is to install a tool called «uswsusp» [125003370050] |sudo apt-get install uswsusp [125003370060] |And by typing the below command you check if the suspend function works now…. [125003370070] |sudo s2ram [125003370080] |Same goes for hibernation [125003370090] |sudo s2disk [125003370100] |Now once this is done, and all of the above commands work, they can be replaced with the old non-working commands that come with ubuntu. [125003370110] |But attention, before editing the system files, always make sure you back up the files in case something goes completely wrong. [125003370120] |sudo cp /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux.bak [125003370130] |sudo cp /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux.bak [125003370140] |This step is to replace the old commands with the new commands in [125003370150] |hal-system-power-suspend-linux [125003370160] |sudo nano /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux [125003370170] |paste the following: [125003370180] |#!/bin/sh /sbin/s2ram –force [125003370190] |hal-system-power-hibernate-linux [125003370200] |sudo nano /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux [125003370210] |paste the following again: [125003370220] |#!/bin/sh /sbin/s2disk [125003380010] |How to Set VMWare resolution fullscreen as your Ubuntu desktop [125003380020] |We have already discussed how to install VMware server in ubuntu gutsy .If you want to use your vmware same as your ubuntu desktop resolution follow this simple procedure. [125003380030] |First you need to open VMWare, don’t boot any guest OS. [125003380040] |Now go to “View” and select “Autofit window” and “Autofit Guest” and Close VMWare. [125003380050] |Open terminal window enter the following command and press enter [125003380060] |sudo gedit ~/vmware/preferences [125003380070] |You need to change the following line [125003380080] |pref.autoFitFullScreen = “fitHostToGuest” [125003380090] |to [125003380100] |pref.autoFitFullScreen = “fitGuestToHost” [125003380110] |save and exit the file .Open VMWare, start your virtual machine, put it full screen. [125003380120] |When you get to Windows, it will probably say that it can’t set the resolution. [125003380130] |On Windows, go to the monitor properties and you should be able to set the desired resolution. [125003390010] |Terminator - Multiple GNOME terminals in one window [125003390020] |This is a project to produce an efficient way of filling a large area of screen space with terminals. [125003390030] |This is done by splitting the window into a resizeable grid of terminals. [125003390040] |As such, you can produce a very flexible arrangements of terminals for different tasks. [125003390050] |At the moment, Terminator is available for Ubuntu Hardy and you can install from source in Feisty,Gutsy etc [125003390060] |You can download Terminator source code from here this is only for who is using ubuntu 7.10 and below version users [125003390070] |If you are using hardy use the following command to install [125003390080] |sudo aptitude install terminator [125003390090] |Install terminator in ubuntu gutsy,feisty etc [125003390100] |Download source code from here .Now you have terminator_0.8.1.tar.gz file extract this file using the following command [125003390110] |tar xzvf terminator_0.8.1.tar.gz [125003390120] |Now you have terminator-0.8.1 directory [125003390130] |cd terminator-0.8.1 [125003390140] |Install termonator using the following command [125003390150] |sudo ./setup.py install [125003390160] |This will complete the installation [125003390170] |Using Terminator [125003390180] |Now if you want to open terminator use the following command from your terminal [125003390190] |terminator [125003390200] |Once it opens you should see similar to the following screen [125003390210] |Now if you want to split your views you need to Right-Clicking on a terminal view you should see similar to the following options [125003390220] |After splitting your terminal you can see similar to the following screen [125003390230] |Using your multi view terminals in action [125003390240] |You can use the following keys to split your terminal views [125003390250] |Ctrl-Shift-E: will split the view vertically. [125003390260] |Ctrl-Shift-O: will split the view horizontally. [125003390270] |Ctrl-Shift-P: will focus be active on the previous view. [125003390280] |Ctrl-Shift-N: will focus be active on the next view. [125003390290] |Ctrl-Shift-W: will close the view where the focus is on. [125003390300] |Ctrl-Shift-Q: will exit terminator. [125003390310] |F11: will make terminator go fullscreen. [125003400010] |Post to Twitter from the Terminal Window [125003400020] |If you want to post to Twitter from the Terminal Window in Ubuntu use one of the following methods.curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS and FILE. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, kerberos…), file transfer resume, proxy tunneling. [125003400030] |Install curl in ubuntu [125003400040] |Open the command prompt and enter the following command [125003400050] |sudo aptitude install curl [125003400060] |Enter your root password when it is prompted. [125003400070] |Using curl [125003400080] |Now if you want to post to Twitter use the following command in single line [125003400090] |curl -u yourusername:yourpassword -d status=”Your Message Here” https://twitter.com/statuses/update.xml [125003400100] |You will receive a response containing the XML coding for your post which acts as a confirmation that your post was submitted. [125003400110] |Using wget [125003400120] |Enter the following command in single line [125003400130] |wget -O - –user=YOURUSERNAME –password=YOURPASSWORD –post-data=”status=YOUR NEW STATUS HERE” https://twitter.com/statuses/update.xml [125003400140] |Using ZenTwitter [125003400150] |Download ZenTwitter from here [125003400160] |Installation [125003400170] |Just dump it into your ~/bin directory, open it in the editor of your choice to change the username/password, make it executable (chmod a+x) and add a launcher icon to the panel/menu/desktop of your preferred window manager. [125003400180] |Screenshot [125003410010] |QGRUBEditor - A visual GRUB configuration editor [125003410020] |QGRUBEditor is a system tool to view and edit the GRUB boot loader. [125003410030] |It offers many features and it is the perfect solution for those who want to change the way GRUB works, without messing with GRUB’s configuration files. [125003410040] |Install QGRUBEditor in Ubuntu [125003410050] |First you need to download .deb package from here [125003410060] |Now you should be having qgrubeditor_2.5.0-1_i386.deb package you need to install this package using the following command [125003410070] |sudo dpkg -i qgrubeditor_2.5.0-1_i386.deb [125003410080] |This will complete the installation. [125003410090] |If you want to open QGRUBEditor go to Applications--->System Tools--->QGRUBEditor [125003410100] |This will prompt for root password enter and click on ok [125003410110] |When it opens first time you should see following tip [125003410120] |Once it opens you should see similar to the following screen [125003410130] |The program’s main window shows the entries for your menu.lst GRUB configuration file, which is generally found under /boot/grub. [125003410140] |You can choose a different main GRUB configuration file to work with from the text box at the bottom of the window. [125003410150] |The GRUB Entries tab, also at the bottom of the window, contains two panels: the top one shows the entries in menu.lst, and the bottom shows the details for each entry. [125003410160] |Right-clicking on any entry in the top panel allows you to set that row as the default or the fallback kernel; the default entry is shown in a green background. [125003410170] |If you click on GRUB Settings Tab at the bottom of the window you should see similar to the following screen this will allows you to personalize the usual GRUB options such as timeout, define the defaults, set a password, change the colors on the GRUB menu when the system boots, and set a splash image. [125003410180] |The splash option allows you to choose an image in any of several formats, and the program converts it automatically to the .xpm.gz format needed by GRUB. [125003410190] |It even provides a Preview button so you can see your splash image. [125003410200] |GRUB splash images have only 16 colors, so the splash image may not appear as you’d expect, compared to the original image [125003410210] |Double-clicking any entry in the main window shows a detailed screen with all the options you have available. [125003410220] |Again, any change you make is saved automatically to menu.lst. [125003410230] |When you make any change you can see it in the real configuration file by going to File -> View Input, which opens a new window with two tabs. [125003410240] |The Device Input tab shows your partitions (as in /etc/mtab), and you can see and understand how GRUB correlates partition names with its own nomenclature, as in /dev/sda1 = (hd0,0). [125003410250] |The Menu Input tab displays the actual menu.lst file, and immediately reflects the changes that you make; you don’t need to hit Save. [125003410260] |If you click on settings icon on the top panel it will open the QGRUBEditor general setting tab [125003410270] |QGRUBEditor paths settings [125003410280] |QGRUBEditor Language settings [125003410290] |QGRUBEditor Version Details [125003420010] |binstats - Statistics tool for installed programs and libraries [125003420020] |A utility to aid the tidying up of binaries, interpreted scripts, and dynamic libraries. [125003420030] |It can find the number and identity of a.out and ELF binaries, plus their debugging symbols status, setuid status, and dynamic library dependence. [125003420040] |It can count the number of Java bytecode programs, tally up the main types of scripts, and look for unidentified executable text files. [125003420050] |Also it is able to find any duplicated executable names, unused libraries, binaries with missing libraries, statically linked binaries, and duplicated manual page names. [125003420060] |Install binstats in ubuntu [125003420070] |sudo aptitude install binstats [125003420080] |This will complete the installation. [125003420090] |Using binstats [125003420100] |If you want to use binstats use the following command from terminal [125003420110] |binstats [125003420120] |Output looks similar to the following [125003420130] |binstats log file is bstats.log this is located in the same directory from where you run the command [125003430010] |alltray - Dock any program into the system tray [125003430020] |With AllTray you can dock any application with no native tray icon (like Evolution, Thunderbird, Terminals) into the system tray. [125003430030] |A high-light feature is that a click on the “close” button will minimize back to system tray. [125003430040] |It works well with Gnome, KDE, XFCE 4*, Fluxbox* and WindowMaker*. (*) No drag ‘n drop support. [125003430050] |Enable with “-nm” option. [125003430060] |Install alltray in ubuntu [125003430070] |sudo aptitude install alltray [125003430080] |This will complete the installation [125003430090] |Using Alltray [125003430100] |If you want to use alltray follow these steps [125003430110] |for example i want to dock calculator application first you need to open the calculator and then open alltray from Applications--->Accessories--->AllTray [125003430120] |Once it opens you should see similar to the following screen saying please click on the window you would like to dock now you need to click on calculator window [125003430130] |this application will dock you can see in the following screen [125003430140] |if you right click on the calculator dock you should see the following options [125003440010] |HOWTO setup Atheros AR5007EG wireless on Feisty Fawn (with ndiswrapper) [125003440020] |Make sure you use the appropriate version of the drivers for your version of Linux. [125003440030] |If you’re using a 64-bit version of Linux, you must use 64-bit drivers. [125003440040] |You can check this using the following command: [125003440050] |getconf LONG_BITI [125003440060] |personally recommend using the wicd program for WiFi connectivity. [125003440070] |It boasts built-in WPA support and has been successful where other network connection manager programs have failed. [125003440080] |This chipset showed up on my Acer Aspire 5050-3785. [125003440090] |The lspci program spit out the following info: [125003440100] |Atheros Unknown device 001c (rev 01) [125003440110] |It also has been incorrectly labelled as an AR5006X device, in some cases. [125003440120] |Here is a step by step procedure to install the drivers manually . [125003440130] |Open a terminal and copy/paste the following lines: [125003440140] |Download the ndiswrapper (v1.4 source code and AR5007EG Windows drivers: [125003440150] |wget http://wifix.sourceforge.net/software.php?title=ndiswrapper [125003440160] |Download the AR5007EG Windows XP drivers [125003440170] |If you’re using a 32-bit version of Linux, use this command [125003440180] |wget http://blakecmartin.googlepages.com/ar5007eg-32-0.2.tar.gz [125003440190] |For 64-bits of blazing WiFi glory, use this: [125003440200] |wget http://blakecmartin.googlepages.com/ar5007eg-64-0.2.tar.gz [125003440210] |Extract the archives: [125003440220] |tar xvf ar5007eg-*.tar.gz [125003440230] |tar xvf ndiswrapper-newest.tar.gz [125003440240] |Ensure you have your kernel headers and the build essential package. [125003440250] |sudo aptitude update [125003440260] |sudo aptitude install linux-headers-$(uname -r) build-essential [125003440270] |Blacklist the ath_pci kernel module (it doesn’t support our chipset). [125003440280] |echo “blacklist ath_pci” | sudo tee -a /etc/modprobe.d/blacklist [125003440290] |Compile ndiswrapper [125003440300] |pushd ndiswrapper-*/ sudo make uninstall make sudo make install popd [125003440310] |Install the Windows drivers (using ndiswrapper): [125003440320] |pushd */ar5007eg/ sudo ndiswrapper -i net5211.inf popd [125003440330] |Make sure ndiswrapper loads up every time we start Linux [125003440340] |sudo modprobe ndiswrapper echo “ndiswrapper” | sudo tee -a /etc/modules [125003440350] |Restart your computer. [125003440360] |sudo init 6 [125003440370] |Credit goes to bmartin [125003450010] |mrename - A tool for easy and automatic renaming of many files [125003450020] |Mass Rename is a simple pair of shell scripts which make it easier to move, rename, or copy multiple files at once. [125003450030] |It is intended mainly as an automatic and simple way to rename multiple files with a customizable prefix and a progressive number. [125003450040] |It is also possible to modify the rename format simply by editing one of the scripts. [125003450050] |It is easy, complete, and efficient, and was written only in sh code. [125003450060] |Install mrename in ubuntu [125003450070] |sudo aptitude install mrename [125003450080] |This will complete the installation [125003450090] |Using mrename [125003450100] |Syntax [125003450110] |mrename pattern prefix [option] [125003450120] |mrename Examples [125003450130] |If you have a directory with two jpeg images prof.jpg and forp.jpg and you want to add them a prefix like item0, item1 etc.. (that is item0prof.jpg, item1forp.jpg etc..) do this: [125003450140] |cd /path/to/the/images [125003450150] |to copy each matching file into another with the new name [125003450160] |mrename *.jpg item -c [125003450170] |to rename each file without keeping a copy with the previous name [125003450180] |mrename *.jpg item -m [125003450190] |mrename Options [125003450200] |There are only the following three options. [125003450210] |-c The option -c will copy each file with the new filename. [125003450220] |-m The option -m will move each file in the new filename. [125003450230] |-h Display help. [125003460010] |gcipher - A simple “encryption” tool [125003460020] |This is a simple “encryption” tool to work with common simple encryption algorithms (ROT13, Caesar, Vigenère, …) Gcipher does not provide any strong encryption and should not be used to encrypt any private data.Gcipher can run as either a GUI, a command-line application, or a network proxy. [125003460030] |Install gcipher in Ubuntu [125003460040] |sudo aptitude install gcipher [125003460050] |This will complete the installation [125003460060] |Using gcipher [125003460070] |gcipher [CIPHEROPTIONS]… [INPUT] [OUTPUT] [125003460080] |gcipher Examples [125003460090] |Encrypt a file using the Gie cipher: [125003460100] |gcipher -c Gie inputfile outputfile [125003460110] |Decrypt STDIN and output to STDOUT using Rot13: [125003460120] |gcipher -C Rot -k 13 [125003460130] |Listen on port 1027 and act as a proxy for port 1028 on gnu.org. Decrypt the data coming from gnu.org and encrypt data going to gnu.org using Vigenere with key linux: [125003460140] |gcipher -c Vigenere -k linux -p gnu.org 1028 1027 [125003460150] |Available CIPHERS [125003460160] |Gie - a simple cipher doable by hand; no key is required [125003460170] |Ceasar - Julius Ceasar’s code; no key is required [125003460180] |Rot - linear rotation; the amount of the rotation is given by the key which must be a number in the range [0, 25] [125003460190] |Vigenere - a version of ROT that uses a private key; the key must be made of lower-case letters [125003460200] |Available options [125003460210] |-c CIPHER - encrypt using the given cipher [125003460220] |-C CIPHER - decrypt using the given cipher [125003460230] |-k KEY - set the key for the previous cipher [125003460240] |-p PROXIEDHOST PROXIEDPORT LISTENINGPORT - act as a network proxy [125003460250] |gcipher GUI [125003460260] |If you want open GUI go to Applications--->Accessories--->GCipher [125003460270] |Once it opens you should see similar to the following screen [125003460280] |Now you need to select CIPHERS option [125003460290] |type the message you want to encrypt and click on encrypt [125003470010] |Upgrade Ubuntu 7.10 (Gutsy Gibbon) to Ubuntu 8.04 LTS (Hardy Heron) Beta [125003470020] |Ubuntu 8.04 LTS is the upcoming version of the Ubuntu operating system. [125003470030] |The common name given to this release from the time of its early development was “Hardy Heron”. [125003470040] |Note: This is still a beta release. [125003470050] |Do not install it on production machines. [125003470060] |The final stable version will be released in April 2008. [125003470070] |If you want to know what are new features in this release check here [125003470080] |Upgrade from 7.10 to 8.04 LTS Beta follow this procedure [125003470090] |Before you start Upgrading you need to know the following points [125003470100] |
  • This is still a beta release. [125003470110] |Do not install it on production machines.
  • [125003470120] |
  • You need to make sure you have complete backup of your machine
  • [125003470130] |
  • Be sure that you have all updates applied to your current version of Ubuntu before you upgrade.
  • [125003470140] |Now you need to Press Alt-F2 and type update-manager --devel-release Click on Run.If you want to install Ubuntu 8.04 stable version you need to type update-manage click on Run. [125003470150] |Starting Update Manager in Progress [125003470160] |Now you can see New Distribution release 8.04 is available for upgrade click on upgrade [125003470170] |This will show you Ubuntu 8.04 Hardy Heron Release notes click on upgrade [125003470180] |Now it will prompt for root password enter your root password click ok [125003470190] |Preparing for upgrade in progress [125003470200] |If you are using any third party sources in your /etc/apt/sources.list file it will be disabled at the time of upgrade process click close [125003470210] |If you have any unsupported libs installed in your machine you can see similar to the following screen click close [125003470220] |Starting the upgrade process window click on Start Upgrade [125003470230] |Downloading the new Packages in Progress [125003470240] |After downloading this will start the installation of packages if you have more than one display managers installed this will prompt you to choose your default display manager and click Forward [125003470250] |Installing Packages in Progress [125003470260] |Installing Packages in Progress in Terminal [125003470270] |If you have installed any applications this will prompt for you to restart the services with new libs click forward [125003470280] |Cleaning Up process in Progress [125003470290] |You need to restart the system to complete the Upgrade by clicking “Restart Now” [125003470300] |Testing Your Upgrade [125003470310] |You can check the ubuntu version installed using the following command [125003470320] |sudo lsb_release -a [125003470330] |Output Looks like below [125003480010] |How to Install Mozilla Prism in Ubuntu 8.04 (Hardy Heron) [125003480020] |Prism is a simple XULRunner-based browser that hosts web applications without the normal web browser user interface. [125003480030] |Prism is based on a concept called Site-Specific Browsers (SSB). [125003480040] |An SSB is designed to work exclusively with a single web application. [125003480050] |It doesn’t have the menus, toolbars and other accoutrements of a traditional web browser. [125003480060] |An SSB also offers tighter integration with the operating system and desktop than a typical web application running through a web browser. [125003480070] |Applications running in an SSB are therefore able to benefit from many of the advantages of the desktop and of the web at the same time. [125003480080] |Benefits [125003480090] |Separate process: Web apps can hog memory or processor cycles or even bring down the whole browser in extreme cases. [125003480100] |By running each app in its own process, we minimize the impact of any mishaps. [125003480110] |We can also benefit from operating system tools that less us view the memory/CPU consumption of a specific application. [125003480120] |Minimal user interface: A general-purpose browser UI is not necessary or appropriate for most web apps. [125003480130] |It is more efficient to provide a UI that is specific to the application. [125003480140] |This also cuts down on UI clutter (hence the term distraction-free browser). [125003480150] |Basic desktop integration: Support of desktop features can make using the app more natural and convenient for end users. [125003480160] |This includes the ability to create desktop shortcuts, to place the application icon in the tray or dock and to display pop-up notifications. [125003480170] |Customization: Apps can be run using a shared browser runtime and customized using client-side script (similar to Greasemonkey). [125003480180] |Custom stylesheets can be used to tweak the UI. [125003480190] |Available Prism Packages in Ubuntu 8.04 [125003480200] |prism-facebook prism-google-analytics prism-google-calendar prism-google-docs prism-google-groups prism-google-mail prism-google-reader prism-google-talk prism-twitter [125003480210] |Install Prism packages for google using the following command [125003480220] |sudo aptitude install prism-google-talk prism-google-mail prism-google-docs prism-facebook prism-google-analytics [125003480230] |You can install all the packages menctioned above.This will complete the prism packages installation. [125003480240] |You need to make sure that you have installed flash plugin for firefox otherwise google apps won’t work. [125003480250] |sudo aptitude install flashplugin-nonfree [125003480260] |Using Prism in Ubuntu [125003480270] |If you want to use prism applications Go to Applications--->Internet open all the applications from here [125003480280] |For example if you want to open google talk it will prompt you for sign in [125003480290] |Enter your details [125003480300] |After login you can see similar to the following screen [125003480310] |If you want to open google docs go tp Applications--->Office--->Google docs [125003480320] |Sample google docs Screen [125003480330] |The same way you can sign in facebook also [125003480340] |If you want to open custom application Go to Applications--->Internet--->Prism once it opens you should see similar to the following screen here you need to enter your details [125003490010] |How to install ATI Video Card in you linux System [125003490020] |I have test this script in my computer, and it works, but you know the relationship between ATI and systems Linux, and believe which is much better. [125003490030] |I’m using Debian, anywhere system Debian based the configuration should be similar. [125003490040] |Open your terminal and write the next commands: [125003490050] |The next command it is for for install some dependencies and some packets needed to install correctly the driver. [125003490060] |OK, after input this commands, reboot your machine… [125003490070] |After reboot run this command: [125003490080] |$ fglrxinfo [125003490090] |And the result of this command should be similar to: [125003490100] |algoreal@dhcp-10-187:~$ fglrxinfo display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: ATI MOBILITY RADEON X700 OpenGL version string: 2.1.7281 Release [125003500010] |How To Troubleshoot Wireless Network Connection in Ubuntu [125003500020] |In setting up their wireless connection for the first time, Im discovering many individuals having problems connecting through Network Manager or other GUI wireless connection tools. [125003500030] |In fact my Network Manager is intermittently buggy, connecting sometimes and not others. [125003500040] |This guide benefits all users in case the GUI tools are not working, and is useful for testing a wireless connection during initial installation of wireless drivers since it provides for good debugging output. [125003500050] |Unencrypted/ WEP / WPA connections will be covered in this guide [125003500060] |Pre-requisites [125003500070] |1. Properly installed network driver -- This guide can be used to troubleshoot driver installation to see if it is properly functioning [125003500080] |2. The ESSID of your router must be broadcasted and not hidden [125003500090] |3. Knowlege of your wireless cards driver (please see Prerequisite #4 to determine driver). [125003500100] |Those using the r8187/r818x driver please see the end of the guide [125003500110] |4. Knowledge of your wireless card’s Interface Name - The user must know the proper interface of the wireless connection (wlan0, eth1, rausb1, etc). [125003500120] |To discover this information, at command line type [125003500130] |lshw -C network [125003500140] |There may be multiple interfaces listed, however look under the section appropriate to your wireless device for the line labeled logical name. [125003500150] |Here is an example [125003500160] |*-network description: Wireless interface product: BCM4306 802.11b/g Wireless LAN Controller vendor: Broadcom Corporation physical id: 0 bus info: pci@06:00.0 logical name: wlan0 version: 03 serial: 00:12:17:35:17:10 width: 32 bits clock: 33MHz capabilities: bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=ndiswrapper+lsbcmnds driverversion=1.48rc1+Cisco-Linksys ,LLC.,02/1 ip=192.168.1.101 latency=64 multicast=yes wireless=IEEE 802.11g resources: iomemory:3c000000-3c001fff irq:11 [125003500170] |In the example above the interface name is wlan0. I will refer to the interface name throughout the rest of this guide as [interface]. [125003500180] |For people first setting up their connection, please note that the above also lists the driver used for the network card. [125003500190] |In the example above, the driver used is ndiswrapper. [125003500200] |If your network device comes back UNCLAIMED or there is no driver listed, then you have not correctly installed the driver for your device. [125003500210] |You must review the procedures for installation of your wireless driver. [125003500220] |For those wanting to use static IP addresses, please see section at bottom of guide regarding configuration for static IP addresses [125003500230] |Unencrypted Connection [125003500240] |All commands typed at the command line: [125003500250] |sudo ifconfig [interface] down sudo dhclient -r [interface] sudo ifconfig [interface] up sudo iwconfig [interface] essid “ESSID_IN_QUOTES” sudo iwconfig [interface] mode Managed sudo dhclient [interface] [125003500260] |WEP Connection [125003500270] |You must have either your 64bit or 128 bit HEX Key or the ASCII Equivalent of your HEX Key. [125003500280] |sudo ifconfig [interface] down sudo dhclient -r [interface] sudo ifconfig [interface] up sudo iwconfig [interface] essid “ESSID_IN_QUOTES” sudo iwconfig [interface] key HEX_KEY <<<-------- If using ASCII Equivalent, this is s:ASCII_KEY (please make note of the prefix s:) ****Additional Comand that may be needed -- sudo iwconfig [interface] key open <<<----See note below sudo iwconfig [interface] mode Managed sudo dhclient [interface] [125003500290] |***The security mode may be open or restricted, and its meaning depends on the card used. [125003500300] |With most cards, in open mode no authentication is used and the card may also accept non-encrypted sessions, whereas in restricted mode only encrypted sessions are accepted and the card will use authentication if available. [125003500310] |WEP Key and special characters [125003500320] |If your WEP key has some special characters in it. [125003500330] |You might receive the error message [125003500340] |$ sudo iwconfig eth0 key s:KG”hSRaS{G!#[ sudo iwconfig eth0 key s:KG"hSRaS{Gsudo iwconfig eth0 key s:KG"hSRaS{G[ [125003500350] |..... [125003500360] |$sudo dhclient eth0 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 No DHCPOFFERS received. [125003500370] |No working leases in persistent database - sleeping. [125003500380] |You need to escape the special characters with a \ and it works [125003500390] |$sudo iwconfig eth0 key s:KG\"hSRaS\{G\!\#\[ [125003500400] |WPA Connection - WPA-PSK or WPA2-PSK [125003500410] |For uses of Ra-based chipsets: rt61, rt73, rt2500 please skip directly to the WPA Section entitled WPA with Ra based chipsets [125003500420] |Requirements: In most cases the wpa_supplicant package is required in order to connect via WPA. [125003500430] |If you have a working ethernet or unencrypted/WEP wireless connection, this package may be installed via: [125003500440] |sudo aptitude install wpasupplicant [125003500450] |If only wireless is available, I would recommend that an unencrypted connection first by established and tested first before directly proceeding to make a WPA connection. [125003500460] |WPA adds another layer of complexity. [125003500470] |Creation of /etc/wpa_supplicant.conf file [125003500480] |At command line: [125003500490] |gksu gedit /etc/wpa_supplicant.confInside the file add the following for WPA(1): [125003500500] |ap_scan=1 ctrl_interface=/var/run/wpa_supplicant [125003500510] |network={ ssid="ESSID_IN_QUOTES" scan_ssid=0 proto=WPA key_mgmt=WPA-PSK psk="ASCII PSK Password in Quotes" pairwise=TKIP group=TKIP } [125003500520] |For WPA(2) [125003500530] |ctrl_interface=/var/run/wpa_supplicant [125003500540] |network={ ssid="ESSID_IN_QUOTES" psk="ASCII PSK Password in Quotes" key_mgmt=WPA-PSK proto=RSN pairwise=CCMP } [125003500550] |***Word of caution -- In some cases I have found WPA(2) to have different settings than the above. [125003500560] |Some Broadcom cards use the pairwise/group TKIP cipher for WPA2 rather than CCMP. [125003500570] |I would suggest all initially use WPA(1) and then later convert to WPA2 since some variations to the above may be needed [125003500580] |Connect via command line [125003500590] |sudo ifconfig [interface] down sudo dhclient -r [interface] sudo wpa_supplicant -w -D[****see footer below***] -i[interface] -c/etc/wpa_supplicant.conf -dd sudo ifconfig [interface] up sudo iwconfig [interface] mode Managed sudo dhclient [interface] [125003500600] |***footer The value listed here is dependent on the driver you have installed. [125003500610] |Typing man wpa_supplicant at command line will give you the full gamut of choices however a quick reference ndiswrapper=wext (use wext and not ndiswrapper despite what documentation might suggest) ath_pci = madwifi ipw2100/2200=ipw [125003500620] |WPA with Ra Based Chipsets [125003500630] |Ra cards do not require the wpa_supplicant package to use WPA. [125003500640] |Here is how to connect from the command line with these cards [125003500650] |WPA(1) [125003500660] |sudo ifconfig [interface] down sudo dhclient -r [interface] sudo ifconfig [interface] up sudo iwconfig [inteface] essid “ESSID_IN_QUOTES” sudo iwpriv [interface] set AuthMode=WPAPSK sudo iwpriv [interface] set EncrypType=TKIP sudo iwpriv [interface] set WPAPSK=”YOUR_WPA_PSK_KEY” sudo dhclient [interface] [125003500670] |A successful connection in all cases will results in this [125003500680] |user@computer:~$ sudo dhclient wlan0 There is already a pid file /var/run/dhclient.pid with pid 134993416 Internet Systems Consortium DHCP Client V3.0.4 Copyright 2004-2006 Internet Systems Consortium. [125003500690] |All rights reserved. [125003500700] |For info, please visit http://www.isc.org/sw/dhcp/ [125003500710] |Listening on LPF/wlan0/00:12:17:35:17:10 Sending on LPF/wlan0/00:12:17:35:17:10 Sending on Socket/fallback DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 DHCPOFFER from 192.168.1.1 DHCPREQUEST on wlan0 to 255.255.255.255 port 67 DHCPACK from 192.168.1.1 bound to 192.168.1.101 -- renewal in 299133 seconds. [125003500720] |The computer in this example has received an IP address of 192.168.1.101 [125003500730] |Users of RTL 8180, RTL8185, RTL 8187 using the built in native r8187 / r818x drivers [125003500740] |By default the r8187 and r818x drivers are blacklisted due to a know bug. [125003500750] |These drivers are usuable however with a twist to the above methods [125003500760] |If you want to try using these drivers, please load the kernel modules: [125003500770] |sudo modprobe r818x sudo modprobe r8187 [125003500780] |These drivers require a bogus or extra letter be suffixed to the essid name in order for these drivers to work [125003500790] |For example if your are trying to connect to a router with essid=Router, at he command line you would type essid=Routerx. [125003500800] |Notice the extra x or bogus character. [125003500810] |I have provided an example using the unencrypted connection procedure below, however this extra character needs to be used if attempting to connect to all network types (unencrypted/ WEP / WPA) [125003500820] |sudo ifconfig [interface] down sudo dhclient -r [interface] sudo ifconfig [interface] up sudo iwconfig [interface] essid “Routerx” sudo iwconfig [interface] mode Managed sudo dhclient [interface] [125003500830] |If these drivers work for you, and you would like these drivers to load automatically at startup for you, avoiding to have to type sudo modprobe everytime, please edit your blacklist file [125003500840] |gksu gedit /etc/modprobe.d/blacklist [125003500850] |And comment out (or prefix the following lines with a # sign). [125003500860] |You want the following lines to appear as below: [125003500870] |#blacklist r8187 #blacklist r818x [125003500880] |Static IP Addresses [125003500890] |Im going to give an example of how to configure your interface using a static IP address using an unencrypted wireless connection. [125003500900] |The two lines highlighted below however can be used with WEP and WPA connections. [125003500910] |Values in italics must be customized to meet your particular situation [125003500920] |sudo ifconfig [interface] down sudo dhclient -r [interface] sudo ifconfig [interface] 192.168.1.100 netmask 255.255.255.0 up sudo route add default gw 192.168.1.1 sudo iwconfig [interface] essid “ESSID_IN_QUOTES” sudo iwconfig [interface] mode Managed sudo dhclient [interface] [125003500930] |If when using static IP addresses you are getting a problem with name resolution, you will have to specifiy specific dns (domain name servers) in order to translate URLs to IP addresses. [125003500940] |Unfortunately there is not an easy way to configure this from the command line. [125003500950] |This requires that you edit the /etc/resolv.conf file and manually enter the domain name server(s) you want to use. [125003500960] |In many cases users can specifiy their router, their internet service providers dns servers, or use opendns (or use all three). [125003500970] |Please note that changes made to the /etc/resolv.conf file will not be retained between reboots. [125003500980] |To make the nameservers permanent, the /etc/dhcp3/dhclient.conf file needs to be edited [125003500990] |sudo gedit /etc/resolv.confand add the nameservers you want to use, one to a line, in the following format. [125003501000] |nameserver [nameserver] [125003501010] |You can add as many as you want but most isps normally provide two (primary and secondary). [125003501020] |Useful Wireless connection Commands [125003501030] |ifconfig - lists IP address (similar to ipconfig in Windows) [125003501040] |iwlist scan - shows wireless networks that are available in the area along with basic encryption information [125003501050] |lshw -C network - Shows interface and driver associated with each networking device [125003501060] |lspci -nn - Shows hardware connected to the pci bus [125003501070] |lsusb - Shows USB connected hardware [125003501080] |lshw -C usb - Additional info on USB related hardware (good for USB dongles) [125003501090] |cat /etc/modprobe.d/blacklist - List modules that will not be loaded by the Operating System at boot time [125003501100] |lsmod - lists currently loaded kernel modules. [125003501110] |(Example usage - lsmod | grep ndiswrapper) [125003501120] |route -n - Lists kernel IP routing table -- Good for troubleshooting problems with the gateway (netstat -rn = equivalent command) [125003501130] |sudo route add default gw 192.168.1.1 - Example of how to set the default gateway to 192.168.1.1 [125003501140] |sudo route del default gw 192.168.1.1 - Example of how to delete the default gateway setting [125003501150] |sudo modprobe ***** - Loads the kernel module **** . [125003501160] |(Example usage - sudo modprobe ndiswrapper, sudo modprobe r818x, sudo modprobe ath_pci) [125003501170] |sudo modprobe -r **** - Unloades the kernel module ****. [125003501180] |(Example usage - sudo modprobe -r ndiswrapper) [125003501190] |sudo ifup/ifdown - Brings up/down the interface and clears the routing table for the specified interface [125003501200] |sudo ifconfig up/down - Brings up/down the interface for the specified interface [125003501210] |sudo dhclient - Request IP address from DNS server for specified interface [125003501220] |sudo dhclient -r - Release IP address associated with specified interface [125003501230] |sudo iptables -L - Lists firewall rules [125003501240] |dmesg | more - Lists boot log -- good for troubleshooting problems with modules/drivers not being loaded [125003501250] |uname -r - Displays kernel version [125003501260] |/etc/iftab (Feisty and pre-releases (Edgy, etc)) - /etc/udev/rules.d/70-persistent-net.rules (Gutsy) - File which assigns logical names (eth0, wlan0, etc) to MAC addresses [125003501270] |cat /etc/resolv.conf - Lists DNS servers associated with network connections (Network Manager) [125003501280] |/etc/dhcp3/dhclient.conf - File which sets or modifies dns (domain name servers) settings [125003501290] |Credit goes kevdog [125003510010] |How to get a Canon all-in-one printer working with Ubuntu [125003510020] |These instructions are for Canon all-in-one printers (printer, scanner, and copier in one unit). [125003510030] |These instructions are for the Canon PIXMA MP160, but these instructions can be adapted for other all-in-one printers in the Canon PIXMA series of all-in-one printers. [125003510040] |This is done entirely in the terminal. [125003510050] |All terminal commands are in boldface. [125003510060] |You need the necessary compiling tools, so if you haven’t already done so, open a console and enter the following command [125003510070] |sudo aptitude install libgtk2.0-dev libxml2-dev gettext libnss-dev libnspr-dev libgtkspell. [125003510080] |This will download all the necessary dependencies. [125003510090] |Download the printer and scanner drivers from here. [125003510100] |You will need to download the following files : [125003510110] |cnijfilter-common-2.80-1.i386.rpm [125003510120] |cnifjilter-mp160-2.70-1.i386.rpm [125003510130] |scangearmp-common-1.00-1.i386.rpm [125003510140] |scangearmp-mp160-1.00-1.i386.rpm [125003510150] |Download these files to your home directory. [125003510160] |You will now need to download Alien so you can convert the .RPM files into .DEB files. [125003510170] |Install alien using the following command [125003510180] |sudo aptitude install alien [125003510190] |To convert the .RPM files into .DEB files [125003510200] |sudo alien -d *.rpm [125003510210] |To install the printer drivers [125003510220] |sudo dpkg -i cnij*.deb [125003510230] |To install the scanner drivers [125003510240] |sudo dpkg -i scan*.deb [125003510250] |sudo aptitude install libpng3 [125003510260] |sudo ln -s /usr/lib/libtiff.so.4 /usr/lib/libtiff.so.3 [125003510270] |sudo /etc/init.d/cupsys restart [125003510280] |cd /usr/share/cups/model/ [125003510290] |sudo lpadmin -p MP160 -P canonmp160.ppd -v cnij_usb:/dev/usblp0 -E [125003510300] |sudo apt-get install libxml1 [125003510310] |Now you have the printer completely installed. [125003510320] |Now we need to get the scanner completely installed. [125003510330] |To do this, we need to install the scanner back-end. [125003510340] |Download the sane scanner back-end from here. [125003510350] |Save it to your home directory. [125003510360] |Uncompress the downloaded file using the following command tar -xvjf mp150-0.13.1.tar.bz2 [125003510370] |cd mp150-0.13.1 [125003510380] |make [125003510390] |sudo make install [125003510400] |(if asked to overwrite any files, choose Yes) [125003510410] |Turn on your Canon all-in-one printer, do a complete restart (not a simple log-out), and log back in. [125003510420] |To test your scanner, place something in your scanner and open XSane by clicking Applications -> Graphics -> XSane Image Scanner. [125003510430] |To scan, click on the Scan button. [125003510440] |Don’t forget to set the scan resolution to your liking. [125003530010] |Ubuntu Tip: How to Open/View .docx files in OpenOffice [125003530020] |As most company standard builds are now including Microsoft office 2007 you will start seeing more .docx documents. [125003530030] |This has been covered time and time again but still people still ask the question. [125003530040] |If you wish to open up a .docx document in OpenOffice you can do this two ways: (See update) [125003530050] |Install ODF Converter from .deb’s [125003530060] |Download the convertor [125003530070] |i386 - ftp://ftp-mirror.internap.com/pub/www.getdeb.net/od/odf-converter_1.0.0-2~getdeb1_i386.deb wget ftp://ftp-mirror.internap.com/pub/www.getdeb.net/od/odf-converter_1.0.0-2~getdeb1_i386.deb [125003530080] |Amd64 -http://cesium.di.uminho.pt/pub/getdeb/od/odf-converter_1.0.0-2~getdeb1_amd64.deb wget http://cesium.di.uminho.pt/pub/getdeb/od/odf-converter_1.0.0-2~getdeb1_amd64.deb [125003530090] |Install the package [125003530100] |i386 users [125003530110] |sudo dpkg -i odf-converter_1.0.0-2~getdeb1_i386.deb [125003530120] |amd64 users sudo dpkg -i odf-converter_1.0.0-2~getdeb1_amd64.deb [125003530130] |Install ODF Converter from Novell [125003530140] |Download the file odf-converter rpm from here [125003530150] |Now you need to install alien using the following command [125003530160] |sudo aptitude install alien [125003530170] |Use alien to convert it to a Slackware tgz file: fakeroot alien -ct odf-converter-1.0.0-5.i586.rpm [125003530180] |Unpack the slackware tgz file: tar xzf odf-converter-1.0.0.tgz [125003530190] |Copy three files into your OpenOffice.org directories -- note that the usr that you’re copying from is a directory that was inside the tgz file. sudo cp usr/lib/ooo-2.0/program/OdfConverter /usr/lib/openoffice/program/ [125003530200] |sudo cp usr/lib/ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Filter/MOOXFilter_cpp.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Filter/ [125003530210] |sudo cp usr/lib/ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Types/MOOXTypeDetection.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Types/ [125003530220] |Restart OpenOffice, and enjoy. [125003530230] |You can now open and edit .docx files using OpenOffice.org. [125003530240] |Update odf-converter-integrator (thanks Lutfi) [125003530250] |odf-converter-integrator is an easy way to open Microsoft Office 2007 files (also called Office Open XML, .docx, .xlsx, and .pptx) with a high-quality conversion on any Linux or Windows system in any OpenOffice.org. [125003530260] |

    Chocolate edition

    [125003530270] |

    Strawberry edition

    [125003530280] |If the latest strawberry .deb is not available, make one from the latest .rpm using alien. [125003530290] |After that: [125003530300] |http://katana.oooninja.com/w/odf-converter-integrator
    [125003540010] |HOWTO setup Linksys WUSB54G V4 wireless in Ubuntu Gusty [125003540020] |You will need the following packages: [125003540030] |build-essential and linux-headers-’uname -r’ [125003540040] |sudo aptitude install build-essential linux-headers-’uname -r’ [125003540050] |The first thing you will need to do is find a way of getting the RT2570 CVS driver on to your computer from here Extract the contents of the archive into your home folder. [125003540060] |Then in the the terminal [125003540070] |cd rt2570-cvs-xxxxxxxxxx [125003540080] |(where xxxxxxxxxx is what that part of the folder name which you extracted. (it changes depending on the date) [125003540090] |and then change into the module directory: [125003540100] |cd Module [125003540110] |after that make the source code: [125003540120] |make [125003540130] |and then install as root [125003540140] |sudo make install [125003540150] |That covers installing the driver. [125003540160] |Now if all goes well you will need to blacklist the default driver that comes with Gutsy. [125003540170] |sudo gedit /etc/modprobe.d/blacklist [125003540180] |at the bottom add “blacklist rt2500usb” (without the quoatation marks) [125003540190] |Then restart and manually configure your network by clicking the network monitor and choosing “manual configuration” and click “wireless connection” and then properties. [125003540200] |Untick “enable roaming mode” and fill in the details as necessary then press ok and be sure to check the box next to wireless configuration.. [125003540210] |And restart again and check if you are connected. [125003540220] |If you are not connected, in the terminal: [125003540230] |sudo gedit /etc/network/interfaces [125003540240] |and change all occurrences of “rausb1″ to “rausb0″ and then yet again, restart. [125003560010] |Mount ISO’s easely in gnome - nautilus [125003560020] |If you simply wish to right click and .iso and select mount follow this simple guide on how to use nautilus scripts to accomplish this: [125003560030] |Firstly create two scripts with mount_iso and unmount_iso [125003560040] |One for mount iso and another one for unmount iso [125003560050] |.ISO Mount Script Create mount_iso file or download this file from here vi .gnome2/nautilus-scripts/mount_iso [125003560060] |or [125003560070] |gedit .gnome2/nautilus-scripts/mount_iso [125003560080] |Add the following save and exit #!/bin/bash # [125003560090] |gksudo -u root -k /bin/echo “got r00t?” [125003560100] |sudo mkdir /media/”$*” [125003560110] |if sudo mount -o loop -t iso9660 “$*” /media/”$*” then if zenity --question --title “ISO Mounter” --text “$* Successfully Mounted. [125003560120] |Open Volume?” then nautilus /media/”$*” --no-desktop fi exit 0 else sudo rmdir /media/”$*” zenity --error --title “ISO Mounter” --text “Cannot mount $*!” exit 1 fi [125003560130] |.ISO UnMount Script Create unmount_iso file or download this file from here [125003560140] |vi .gnome2/nautilus-scripts/unmount_iso [125003560150] |or [125003560160] |gedit .gnome2/nautilus-scripts/unmount_iso Add the following save and exit [125003560170] |#!/bin/bash # [125003560180] |for I in "$*" do foo=`gksudo -u root -k -m "enter your password for root terminal access" /bin/echo "got r00t?"` [125003560190] |sudo umount “$I” zenity --info --text “Successfully unmounted /media/$I/” sudo rmdir “/media/$I/” done done exit0 [125003560200] |Now change the permissions on the two files [125003560210] |sudo chmod 755 ~/.gnome2/nautilus-scripts/*_iso [125003560220] |Restart gnome [125003560230] |ctrl+alt+back_space [125003560240] |Select an ISO image, right click and select scripts then select mount_iso [125003570010] |Howto Turn Ubuntu 7.10 (Gutsy Gibbon) into Ubuntu Studio [125003570020] |Ubuntu Studio is a multimedia editing/creation flavor of Ubuntu. [125003570030] |It’s built for the GNU/Linux audio, video, and graphic enthusiast or professional. [125003570040] |Our aim is to make it more accessible for new users to get into the tools that GNU/Linux has to offer for multimedia creation/production. [125003570050] |We also want to spotlight what’s out there. [125003570060] |Show users tools they might not have known existed [125003570070] |Install Ubuntu Studio in Ubuntu 7.10 (Gutsy Gibbon) [125003570080] |sudo apt-get install ubuntustudio-desktop ubuntustudio-gdm-theme ubuntustudio-audio ubuntustudio-audio-plugins ubuntustudio-default-settings ubuntustudio-icon-theme ubuntustudiolauncher ubuntustudio-graphics ubuntustudio-look ubuntustudio-menu ubuntustudio-screensaver ubuntustudio-sounds ubuntustudio-wallpapers ubuntustudio-video usplash-theme-ubuntustudio ubuntustudio-theme [125003570090] |That should install all the Ubuntu Studio packages and their dependencies. (ubuntustudio-desktop removes ubuntu-desktop as a dependency) If you do not have the required packages they depend on, just allow apt to install them. [125003570100] |Now for the removing of the regular Ubuntu components. [125003570110] |sudo apt-get remove gtk2-engines-ubuntulooks gutsy-wallpapers human-theme ubuntu-artwork ubuntu-minimal usplash-theme-ubuntu [125003570120] |After finishing installation you need to reboot your system and now you have ubuntu studio in you system [125003580010] |Enable Pidgin Plugins in Ubuntu 8.04 (Hardy Heron) [125003580020] |Pidgin is an instant messaging program for Windows, Linux, BSD, and other Unixes. [125003580030] |You can talk to your friends using AIM, ICQ, Jabber/XMPP, MSN Messenger, Yahoo!, Bonjour, Gadu-Gadu, IRC, Novell GroupWise Messenger, QQ, Lotus Sametime, SILC, SIMPLE, MySpaceIM, and Zephyr. [125003580040] |Pidgin can log in to multiple accounts on multiple IM networks simultaneously. [125003580050] |This means that you can be chatting with friends on AIM, talking to a friend on Yahoo Messenger, and sitting in an IRC channel all at the same time. [125003580060] |By default in Ubuntu 8.04 pidgin instant messenger will come as built-in.If you want to enable Pidgin Plug-ins it is very easy now. [125003580070] |First you need to login in to pidgin messenger now you need to select Tools--->Plug-ins [125003580080] |Now you can see the list of available pidgin plug-ins as follows [125003580090] |If you want to install particular plug-in select the plug-in check box and click on Configure Plug-in [125003580100] |It will show you the available options for this plug-in select and click on close [125003580110] |You can also install plug-ins from pidgin icon from notification area [125003580120] |Now you need to right click on pidgin icon select Plug-ins [125003590010] |HOWTO Install Linksys WUSB54GC wireless In Ubuntu/Kubuntu 7.04/7.10 [125003590020] |This script that can do this very easily. [125003590030] |It uses ndiswrapper to install for 32bit or 64bt Ubuntu or Kubuntu. [125003590040] |You can get the script from below [125003590050] |Fresh Fesity Install download from here [125003590060] |Fresh Gutsy Install download from here [125003590070] |Download the suitable script for you and Extract the directory somewhere, then cd into it. [125003590080] |cd wusb54gc [125003590090] |Then just run the script by typing [125003590100] |sudo ./wireless [125003590110] |And then the fun begins. [125003590120] |It’ll install the dependencies, compile ndiswrapper, install the rt73 system files, modprobe ndiswrapper, and blacklist the crappy drivers ubuntu thought would work when we installed. [125003590130] |Worked for me. [125003590140] |Reboot. [125003590150] |Now, if you’re using KDE (Kubuntu users), it will install Wireless Assistant, which is the easiest way to get the internet working after you reboot. [125003590160] |Just go to KDE->Internet->Wireless Assistant, or type [125003590170] |sudo wlassistant [125003590180] |Put in your info and you should be good to go. [125003590190] |Otherwise, you may need to put in your info manually. [125003590200] |If you’re using Gnome (Ubuntu users), it has a great thing called Network Manager, which is an applet that runs usually when you startup. [125003590210] |Just use that. [125003590220] |Otherwise, you may have to put it in manually. [125003590230] |For those of you who have to put it in manually, here is an example of what mine looks like: [125003590240] |dhclient -r wlan0 ifconfig wlan0 up iwconfig wlan0 mode managed channel 6 key open 3214567890 essid MyNetwork iwconfig wlan0 ap 00:15:E9:65:E3:F6 dhclient -q wlan0 [125003600010] |Howto install Cinelerra in ubuntu gutsy gibbon [125003600020] |Cinelerra is a free and open source software non-linear video editing system for the Linux operating system. [125003600030] |(However, it has also been successfully ported to Mac OS X.) It is produced by Heroine Virtual, and is distributed under the GNU General Public License. [125003600040] |Cinelerra also includes a video compositing engine, allowing the user to perform common compositing operations such as keying and mattes. [125003600050] |Install Cinelerra in Ubuntu Gutsy [125003600060] |First you need to edit the sources.list file using the following command [125003600070] |sudo gedit /etc/apt/sources.list [125003600080] |and enter the following lines [125003600090] |For 32 bit users [125003600100] |deb http://giss.tv/~vale/ubuntu32 ./ deb-src http://giss.tv/~vale/ubuntu32 ./ [125003600110] |For 64 bit users [125003600120] |deb http://giss.tv/~vale/ubuntu64 ./ [125003600130] |Save and exit the file. [125003600140] |Now you need to update the source list using the following command [125003600150] |sudo apt-get update [125003600160] |Install Cinelerra using the following command [125003600170] |sudo aptitude install cinelerra [125003600180] |This will complete the installation [125003600190] |Now open terminal and type [125003600200] |sudo gedit /etc/sysctl.conf [125003600210] |And add this line to the bottom of the file this adds the extra memory for Cinelerra to run properly [125003600220] |kernel/shmmax=0x7fffffff [125003600230] |Now save and close and run this command (instead of rebooting): [125003600240] |sudo sysctl -p [125003600250] |Using Cinelerra [125003600260] |If you want to open go to Applications--->Sound Video--->Cinelerra [125003600270] |Cinelerra is loading [125003600280] |Once it opens you should see similar to the following screen [125003600290] |Cinelerra Screenshot [125003600300] |Common Problem [125003600310] |When you try to launch Cinelerra you have to fix this error: [125003600320] |“cinelerra: error while loading shared libraries: libGL.so.1.2: cannot open shared object file: No such file or directory” [125003600330] |Solution [125003600340] |sudo ln -s /usr/lib/libGL.so.1 /usr/lib/libGL.so.1.2 [125003610010] |Howto find DNS Server Version remotely using fpdns (Finger printing DNS servers) [125003610020] |A nameserver basically responds to a query. [125003610030] |Interoperability is an obvious requirement here. [125003610040] |The standard protocol behaviour of different DNS implementations is expected to be the same. [125003610050] |The reality is quite different though. fpdns uses a series of borderline DNS queries to determine the vendor, product and version of a nameserver. [125003610060] |A nameserver basically responds to a query. [125003610070] |Interoperability is an obvious requirement here. [125003610080] |The standard protocol behaviour of different DNS implementations is expected to be the same. [125003610090] |Requirements for protocol behaviour of DNS implementations is widely documented in the case of ‘common’ dns messages. [125003610100] |The DNS protocol is over 20 years old and since its inception, there have been over 40 independent DNS implementations, while some implementations have over 20 versions. [125003610110] |The methodology used to identify individual nameserver implementations is based on “borderline” protocol behaviour. [125003610120] |The DNS protocol offers a multitude of message bits, response types, opcodes, classes, query types and label types in a fashion that makes some mutually exclusive while some are not used in a query messages at all. [125003610130] |Not every implementation offers the full set of features the DNS protocol set currently has. [125003610140] |Some implementations offer features outside the protocol set, and there are implementations that do not conform to standards. [125003610150] |Also, new features added to - or bugs removed allow for differentiations between versions of an implementation. [125003610160] |Install fpdns in Ubuntu [125003610170] |sudo aptitude install fpdns [125003610180] |This will complete the installation [125003610190] |Using fpdns [125003610200] |fpdns [-c] [-d] [-f] [-p port] [-Q srcaddr] [-r retry] [-s] [-t timeout] [-v] server [125003610210] |Where: server is an ip address or a resolvable name or ‘-’ to read list of servers from stdin -c (where appropriate check CH TXT version) [off] -d (debug) [off] -f (force check CH TXT version) [off] -F (maximum forked processes) [10] -p port (nameserver is on this port) [53] -Q srcaddr (source IP address) [0.0.0.0] -r retry (set number of attempts) [1] -s (short form) [off] -t time (set query timeout) [5] -v (show version) [125003610220] |fpdns Examples [125003610230] |BIND Version 8 Example [125003610240] |fpdns -D google.com [125003610250] |fingerprint (google.com, 216.239.34.10): ISC BIND 8.3.0-RC1 -- 8.4.4 fingerprint (google.com, 216.239.36.10): ISC BIND 8.3.0-RC1 -- 8.4.4 fingerprint (google.com, 216.239.38.10): ISC BIND 8.3.0-RC1 -- 8.4.4 fingerprint (google.com, 216.239.32.10): ISC BIND 8.3.0-RC1 -- 8.4.4 [125003610260] |BIND Version 9 Example [125003610270] |fpdns -D debianhelp.co.uk [125003610280] |fingerprint (debianhelp.co.uk, 212.67.202.2): ISC BIND 9.2.3rc1 -- 9.4.0a0 [recursion enabled] fingerprint (debianhelp.co.uk, 212.67.203.246): ISC BIND 9.2.3rc1 -- 9.4.0a0 [recursion enabled] [125003610290] |TinyDNS Example [125003610300] |fpdns ns1.eu.dedicatedserver.com. [125003610310] |fingerprint (ns1.eu.dedicatedserver.com., 213.198.65.226): DJ Bernstein TinyDNS 1.05 [125003610320] |Microsoft windows 2003 Example fpdns -D microsoft.com [125003610330] |fingerprint (microsoft.com, 207.68.160.190): Microsoft Windows DNS 2003 fingerprint (microsoft.com, 65.54.240.126): Microsoft Windows DNS 2003 [125003620010] |Tools to access Linux Partitions from Windows [125003620020] |If you dual boot with Windows and Linux, and have data spread across different partitions on Linux and Windows, you should be really in for some issues. [125003620030] |It happens sometimes you need to access your files on Linux partitions from Windows, and you realize it isn’t possible easily. [125003620040] |Not really, with these tools in hand - it’s very easy for you to access files on your Linux partitions from Windows [125003620050] |Explore2fs [125003620060] |Explore2fs is a GUI explorer tool for accessing ext2 and ext3 filesystems. [125003620070] |It runs under all versions of Windows and can read almost any ext2 and ext3 filesystem. [125003620080] |Project Home Page :- http://www.chrysocome.net/explore2fs [125003620090] |Latest Version :- 1.07 [125003620100] |Sample Screenshot [125003620110] |DiskInternals Linux Reader [125003620120] |DiskInternals Linux Reader is a new easy way to do this. [125003620130] |This program plays the role of a bridge between your Windows and Ext2/Ext3 Linux file systems. [125003620140] |This easy-to-use tool runs under Windows and allows you to browse Ext2/Ext3 Linux file systems and extract files from there. [125003620150] |Project Home Page :- http://www.diskinternals.com/linux-reader/ [125003620160] |Latest Version :- 1.0 [125003620170] |Sample Screenshot [125003620180] |Ext2 Installable File System for Windows [125003620190] |It provides Windows NT4.0/2000/XP/2003 with full access to Linux Ext2 volumes (read access and write access). [125003620200] |This may be useful if you have installed both Windows and Linux as a dual boot environment on your computer. [125003620210] |Project Home Page :- http://www.fs-driver.org/ [125003620220] |Latest Version :- 1.10c [125003620230] |Sample Screenshot [125003620240] |rfsd: ReiserDriver [125003620250] |ReiserDriver is an Installable File System Driver (IFSD), used to easily (and natively!) read ReiserFS disk partitions under Microsoft Windows (2K/XP) by allowing ReiserFS partitions to appear as additional disks to the Windows operating system. [125003620260] |Project Home Page :- http://sourceforge.net/projects/rfsd/ [125003620270] |Latest Version :- 1 [125003630010] |Howto Crack Zip Files Password [125003630020] |If you want to crack zip file passwords use fcrackzip.fcrackzip is a fast password cracker partly written in assembler. [125003630030] |It is able to crack password protected zip files with brute force or dictionary based attacks, optionally testing with unzip its results. [125003630040] |Install fcrackzip in Ubuntu [125003630050] |sudo aptitude install fcrackzip [125003630060] |This will complete the installation. [125003630070] |Fcrack Syntax [125003630080] |fcrackzip [-bDBchVvplum2] [--brute-force] [--dictionary] [--benchmark] [--charset characterset] [--help] [--validate] [--verbose] [--init-password string/path] [--length min-max] [--use-unzip] [--method name] [--modulo r/m] file. [125003630090] |fcrack Options [125003630100] |-h, --help Prints the version number and (hopefully) some helpful insights. -v, --verbose Each -v makes the program more verbose. -b, --brute-force Select brute force mode. [125003630110] |This tries all possible combinations of the letters you specify. -D, --dictionary Select dictionary mode. [125003630120] |In this mode, fcrackzip will read passwords from a file, which must contain one password per line and should be alphabetically sorted (e.g. using (1)). -c, --charset characterset-specification Select the characters to use in brute-force cracking. [125003630130] |Must be one of [125003630140] |a include all lowercase characters [a-z] A include all uppercase characters [A-Z] 1 include the digits [0-9] ! include [!:$% /()=?[]+*~#] : the following characters upto the end of the spe- cification string are included in the character set. [125003630150] |This way you can include any character except binary null (at least under unix). [125003630160] |For example, a1:$% selects lowercase characters, digits and the dollar and percent signs. [125003630170] |-p, --init-password string Set initial (starting) password for brute-force searching to string, or use the file with the name string to supply passwords for dictionary searching. -l, --length min[-max] Use an initial password of length min, and check all passwords upto passwords of length max (including). [125003630180] |You can omit the max parameter. -u, --use-unzip Try to decompress the first file by calling unzip with the guessed password. [125003630190] |This weeds out false positives when not enough files have been given. -m, --method name Use method number “name” instead of the default cracking method. [125003630200] |The switch --help will print a list of available methods. [125003630210] |Use --benchmark to see which method does perform best on your machine. [125003630220] |The name can also be the number of the method to use. -2, --modulo r/m Calculate only r/m of the password. [125003630230] |Not yet supported. -B, --benchmark Make a small benchmark, the output is nearly meaningless. -V, --validate Make some basic checks wether the cracker works. [125003630240] |fcrackzip Examples [125003630250] |fcrackzip -c a -p aaaaaa sample.zip [125003630260] |checks the encrypted files in sample.zip for all lowercase 6 character passwords (aaaaaa …abaaba …ghfgrg …zzzzzz). [125003630270] |fcrackzip --method cpmask --charset A --init AAAA test.ppm [125003630280] |checks the obscured image test.ppm for all four character passwords. -TP fcrackzip -D -p passwords.txt sample.zip check for every password listed in the file passwords.txt. [125003640010] |How to setup lexmark 4200 series printer to work with Ubuntu [125003640020] |This tutorial will explain how to setup lexmark 4200 series work with Ubuntu.First you need to make sure your USB cable is connected [125003640030] |Now all you have to do is go to System >Administration >Printing >Select local printer [125003640040] |your lexmark 4200 series should be listed. [125003640050] |Ok select Forward. [125003640060] |Now select the correct driver: [125003640070] |Manufacturer: Lexmark [125003640080] |Model: LEXMARK Z42 [125003640090] |Driver: High Quality Image (GIMP-Print) [125003640100] |Select apply. [125003640110] |now, turn off your printer. [125003640120] |Disconnect the power cable a reconnect it again. turn power on. [125003640130] |You are ready to print. [125003640140] |Now in the ubuntu printing utility your new printer “LEXMARK Z42″ should be listed. right click on it and from the pop up menu select properties. [125003640150] |Now you can change the printer resolution. [125003640160] |Default is 300 Dpi which is excellent for quick prints and to save ink. [125003640170] |If you want a good resolution but you don’t want to waste to much ink i will recommend set it up on 600 dpi high quality. [125003650010] |Howto Crack pdf File Password [125003650020] |If you want to crack pdf file passwords use pdfcrack.PDFCrack is a GNU/Linux (other POSIX-compatible systems should work too) tool for recovering passwords and content from PDF-files. [125003650030] |It is small, command line driven without external dependencies. [125003650040] |The application is Open Source (GPL). [125003650050] |pdfcrack Features [125003650060] |Supports the standard security handler (revision 2 and 3) on all known PDF-versions [125003650070] |Supports cracking both owner and userpasswords [125003650080] |Both wordlists and bruteforcing the password is supported [125003650090] |Simple permutations (currently only trying first character as Upper Case) [125003650100] |Save/Load a running job [125003650110] |Simple benchmarking [125003650120] |Optimised search for owner-password when user-password is known [125003650130] |Install pdfcrack in Ubuntu [125003650140] |sudo aptitude install pdfcrack [125003650150] |This will complete the installation. [125003650160] |pdfcrack Syntax [125003650170] |pdfcrack -f filename [options] [125003650180] |pdfcrack Options [125003650190] |-b, - -bench - Perform benchmark and exit. -c, - -charset=STRING - Use the characters in STRING as charset. -m, - -maxpw=INTEGER - Stop when reaching INTEGER as password length. -n, - -minpw=INTEGER - Skip trying passwords shorter than INTEGER. -l, - -loadState=FILE - Continue from the state saved in FILENAME. -o, - -owner - Work with the ownerpassword. -p, --password=STRING - Uses STRING as userpassword to speed up breaking ownerpassword (implies -o). -q, - -quiet - Run quietly. -s, - -permutate - Try permutating the passwords (currently only supports switching first character to uppercase). -u, - -user - Work with the userpassword (default). -v, - -version - Print version and exit. -w, - -wordlist=FILE - Use FILE as source of passwords to try. [125003650200] |pdfcrack Examples [125003650210] |pdfcrack test.pdf [125003650220] |pdfcrack options and examples [125003670010] |Install Nodoka (Fedora theme) on Ubuntu [125003670020] |Nodoka is the new Fedora default theme for Gnome. [125003670030] |It currently contains gtk engine, gtk theme, metacity theme and gnome meta theme .If you want to install nodoka theme in Ubuntu follow this procedure. [125003670040] |Preparing your System [125003670050] |1. Install build-essential and libgtk2.0-dev packages: [125003670060] |sudo apt-get install build-essential libgtk2.0-dev [125003670070] |2. Download Nodoka GTK+ engine 0.6 from here. [125003670080] |3. Extract tarball package: [125003670090] |tar zxvf gtk-nodoka-engine-0.6.90.2.tar.gz [125003670100] |4. Now go to gtk-nodoka-engine-0.6 directory: [125003670110] |cd gtk-nodoka-engine-0.6.90.2 [125003670120] |5. Configure: [125003670130] |./configure --prefix=/usr --enable-animation [125003670140] |6. Make: [125003670150] |make [125003670160] |7. Install: [125003670170] |sudo make install [125003670180] |Install theme [125003670190] |1. Get Nodoka theme 0.3.2 from here. [125003670200] |Then execute command in terminal: [125003670210] |tar zxvf nodoka-theme-gnome-0.3.90.tar.gz [125003670220] |2. Copy the Nodoka folder to themes folder: [125003670230] |cd nodoka-theme-gnome-0.3.90 [125003670240] |sudo cp -r Nodoka/ /usr/share/themes/ [125003670250] |Use theme [125003670260] |Click System -> Preferences -> Theme menu command. [125003670270] |In Theme Preferences dialog, choose Nodoka item. [125003670280] |Screenshot: [125003670290] |You can find other usefull things at http://cviorel.rdscv.ro. [125003680010] |How to install Ubuntu Linux from USB Stick [125003680020] |This tutorial describes how to install Ubuntu by copying the contents of the installation CD to an USB memory stick (aka flash drive) and making the stick bootable. [125003680030] |This is handy for machines like ultra portable notebooks that do not have a CD drive but can boot from USB media. [125003680040] |In short here’s what you do: [125003680050] |Prepare the USB flash drive [125003680060] |Boot the computer from your USB flash drive. [125003680070] |Install Ubuntu as you would from a normal boot CD [125003680080] |Prerequisites [125003680090] |A running Ubuntu 8.04 or any ubuntu version installation [125003680100] |A USB device (stick, pen-drive, USB hard disk) that has already been formatted with FAT32 and has enough free space to hold your Ubuntu installation image [125003680110] |A Ubuntu CD image downloaded from the Ubuntu servers or mirrors (*.iso file) or from here Step 1 [125003680120] |On the root directory of your USB device, create a folder “install” Copy the installer kernel and the initramdisk into this folder (Download source below.You need the files “vmlinux” and “initrd.gz”). [125003680130] |Download source for the installer kernel and initramdisk [125003680140] |For AMD64 Download from here For i386 Download from here [125003680150] |You need to download the files “vmlinux” and “initrd.gz”. [125003680160] |Step 2 [125003680170] |Note: You need to have the installer that fits the architecture of your Ubuntu version you want to install. [125003680180] |In other words, you need a amd64 installer if you want to install an amd64 Ubuntu .iso image and the i386 installer for an i386 iso. [125003680190] |Step 3 [125003680200] |From the installation iso image you downloaded, copy the folder “isolinux” to the root directory of your USB device (right-click on the .iso file, choose “extract here”). [125003680210] |Rename “isolinux” into “syslinux”. [125003680220] |Go inside the directroy “syslinux”. [125003680230] |There, rename the file “isolinux.cfg” into “syslinux.cfg”. [125003680240] |Step 4 [125003680250] |Make the stick bootable: Use fdisk to set the boot flag, [125003680260] |Install syslinux using the following command [125003680270] |sudo aptitude install syslinux [125003680280] |Now use syslinux to install a boot sector on your USB device [125003680290] |sudo syslinux /dev/sdbX [125003680300] |where sdbX is the device name and number of your USB device, check with “sudo mount”. [125003680310] |A file called “ldlinux.sys” will be created in the root direcotry of the USB device. [125003680320] |Step 5 [125003680330] |Copy the Ubuntu CD image in the root directory of your USB device (Contents of USB you can see as follows).If you are using i386 you need to copy the complete .iso image in to the root directory of your USB device. [125003690010] |Howto Sync Wireless iPhone with Amarok [125003690020] |The following guide allows you to wirelessly sync an iPhone with Amarok in Ubuntu 7.10, including adding, editing and playing songs and playlists. [125003690030] |Note :- it requires a jailbroken iPhone. [125003690040] |Step1 :- Set up the iPhone [125003690050] |On your iPhone: [125003690060] |Click Settings ? [125003690070] |General and set Auto-lock to Never. [125003690080] |This will ensure the iPhone keeps the WiFi connection open. [125003690090] |Click Settings ? [125003690100] |WiFi and select your WiFi network. [125003690110] |Click the Static button and change the IP Address to something outside the dynamically assigned range of your network. [125003690120] |For example, if your wireless router normally assigns 192.168.1.1 - 192.168.1.5, try 192.168.1.10. [125003690130] |This will ensure your iPhone is always contactable at the same address for syncing. [125003690140] |Open Installer. [125003690150] |Click on All Packages ? [125003690160] |OpenSSH ? [125003690170] |Install. [125003690180] |Click All Packages ? [125003690190] |BSD Subsystem ? [125003690200] |Install [125003690210] |Step2 :- Set up Ubuntu [125003690220] |A third party source provides the ipod convenience package needed to properly mount and unmount an iPhone or iPod Touch, and for gtkpod users, a newer gtkpod that’s required for the iPhone and iPod Touch. [125003690230] |First you need to edit the /etc/apt/sources.list file [125003690240] |sudo gedit /etc/apt/sources.list [125003690250] |add the following line [125003690260] |deb http://ppa.launchpad.net/ipod-touch/ubuntu gutsy main [125003690270] |Save and exit the file [125003690280] |Update the source list [125003690290] |sudo aptitude update [125003690300] |Install the ipod-convenience and amarok packages [125003690310] |sudo aptitude install ipod-convenience amarok [125003690320] |When asked, enter the IP address of your iPod Touch or iPhone that you selected earlier. [125003690330] |When asked for a folder to mount your iPod Touch or iPhone, either leave the default of /media/ipod or another folder if you prefer - just remember to use that folder name for rest of this guide. [125003690340] |The package will make the folder for you. [125003690350] |Step3 :- Set up Amarok [125003690360] |Click Applications ? [125003690370] |Sound and Video ? [125003690380] |Amarok [125003690390] |When you first open up Amarok: [125003690400] |Click Settings ? [125003690410] |Configure Amarok. [125003690420] |Choose Media Devices. [125003690430] |Hit Add Device. [125003690440] |Select Apple iPod Media Device for the plugin type. [125003690450] |Point it at your mount point, /media/ipod. [125003690460] |Back in the main app, click the blue cog icon called Configure Device just above the iPhone or iPod Touch. [125003690470] |For Pre-Connect Command, add iphone-mount, for the Post-Disconnect Command, add iphone-umount [125003690480] |Click Connect. [125003690490] |After entering your password, your iPhone or iPod touch should now appear in Amarok. [125003690500] |You can now add, edit, and delete music to the iPhone like any other device. [125003690510] |Just drag the music files into Amarok, and hit Transfer to move them to your iPhone. [125003690520] |When you’re done, stop any music playing from the iPhone and click Disconnect. [125003690530] |Music should show now up in the iPhone immediately. [125003690540] |Note: If music doesn’t show up immediately this may be due to a bug recent BSD Subsystem packages missing the killall command. [125003690550] |If so, you can download killall for iPhone, move the ‘killall’ file to /usr/bin/on your iPhone, and enable the execute permission. [125003700010] |Fix for SCIM Errors in Ubuntu Gutsy and Hardy [125003700020] |Smart Common Input Method (SCIM) platform project, which provides not only a user friendly, full featured input method user interface for POSIX-style operating systems (including Linux, FreeBSD and other Unix), but also a development platform to make input method development easier. [125003700030] |The default setup of SCIM on Gutsy and Hardy produces some irritating errors including the inability to rename files in Nautilus (Gutsy), inability to type jump to files in Nautilus by typing the first few letters (Hardy), and Firefox 3′s URL matching in the location bar lagging by a character (Hardy). [125003700040] |All of these problems can be fixed by installing scim-bridge and using that instead of xim. [125003700050] |To install scim-bridge on Gutsy using the following command [125003700060] |sudo apt-get install scim-bridge [125003700070] |To install scim-bridge on Hardy using the following command [125003700080] |sudo apt-get install scim-bridge-agent scim-bridge-client-gtk scim-bridge-client-qt scim-bridge-client-qt4 [125003700090] |Now open the scim config file [125003700100] |sudo gedit /etc/X11/xinit/xinput.d/scim [125003700110] |and chage the following lines [125003700120] |GTK_IM_MODULE=xim QT_IM_MODULE=xim [125003700130] |to [125003700140] |GTK_IM_MODULE=”scim-bridge” QT_IM_MODULE=”scim-bridge” [125003700150] |Restarting SCIM is not sufficient so restart X either by restarting the computer (System->Quit->Restart) or hitting [CTL][ALT][BACKSPACE]. [125003700160] |Source of this fix from here [125003710010] |Howto setup Samba Server (File Server) With tdbsam Backend [125003710020] |Samba is an Open Source/Free Software suite that provides seamless file and print services to SMB/CIFS clients.” [125003710030] |Samba is freely available, unlike other SMB/CIFS implementations, and allows for interoperability between Linux/Unix servers and Windows-based clients. [125003710040] |What is tdbsam ? [125003710050] |Samba can store user and machine account data in a “TDB” (trivial database). [125003710060] |Using this backend does not require any additional configuration. [125003710070] |This backend is recommended for new installations that do not require LDAP. [125003710080] |As a general guide, the Samba Team does not recommend using the tdbsam backend for sites that have 250 or more users. [125003710090] |Additionally, tdbsam is not capable of scaling for use in sites that require PDB/BDC implementations that require replication of the account database. [125003710100] |Clearly, for reason of scalability, the use of ldapsam should be encouraged. [125003710110] |The recommendation of a 250-user limit is purely based on the notion that this would generally involve a site that has routed networks, possibly spread across more than one physical location. [125003710120] |The Samba Team has not at this time established the performance-based scalability limits of the tdbsam architecture. [125003710130] |There are sites that have thousands of users and yet require only one server. [125003710140] |One site recently reported having 4,500 user accounts on one UNIX system and reported excellent performance with the tdbsam passdb backend. [125003710150] |The limitation of where the tdbsam passdb backend can be used is not one pertaining to a limitation in the TDB storage system, it is based only on the need for a reliable distribution mechanism for the SambaSAMAccount backend. [125003710160] |The high growth rates projected are a good reason to use the tdbsam passdb backend. [125003710170] |The use of smbpasswd for the backend may result in performance problems. [125003710180] |The tdbsam passdb backend offers features that are not available with the older, flat ASCII-based smbpasswd database. [125003710190] |Install Samba Server in Ubuntu [125003710200] |Use the following command to install samba packages [125003710210] |sudo aptitude install libcupsys2 samba samba-common [125003710220] |This will complete the sama installation. [125003710230] |Configuring Samba in Ubuntu [125003710240] |First you need to Edit the smb.conf file using the following command [125003710250] |sudo vi /etc/samba/smb.conf [125003710260] |In the global section, remove the “;” at the front of the line security = user so it looks like this [125003710270] |security = user [125003710280] |to enable Linux system users to log in to the Samba server. [125003710290] |Close the file and restart Samba [125003710300] |sudo /etc/init.d/samba restart [125003710310] |Adding Samba Shares [125003710320] |Now you need to add a share that is accessible by all users. [125003710330] |Create the directory for sharing the files and change the owner to the users group. [125003710340] |sudo mkdir -p /home/shares/allusers [125003710350] |sudo chown -R root:users /home/shares/allusers/ [125003710360] |sudo chmod -R ug+rwx,o+rx-w /home/shares/allusers/ [125003710370] |Edit the /etc/samba/smb.conf file [125003710380] |sudo vi /etc/samba/smb.conf [125003710390] |add the following lines and save the file [125003710400] |[allusers] comment = All Users path = /home/shares/allusers valid users = @users force group = users create mask = 0660 directory mask = 0771 writable = yes [125003710410] |If all users shall be able to read and write to their home directories via Samba use these Edit the /etc/samba/smb.conf file [125003710420] |sudo vi /etc/samba/smb.conf [125003710430] |add the following lines and save the file[homes] comment = Home Directories browseable = no valid users = %S writable = yes create mask = 0700 directory mask = 0700 [125003710440] |Now you need to restart the samba server using the following command [125003710450] |sudo /etc/init.d/samba restart [125003710460] |Adding and managing users [125003710470] |In this example, I will add a user called ruchi. [125003710480] |You can add as many users as you need in the same way, just replace the username tom with the desired username in the commands. [125003710490] |useradd ruchi -m -G users [125003710500] |Set a password for ruchi in the ubuntu system user database. [125003710510] |If the user ruchi shall not be able to login to the ubuntu system, skip this step. [125003710520] |passwd ruchi [125003710530] |-> Enter the password for the new user [125003710540] |Now add the user to the Samba user database. [125003710550] |smbpasswd -a ruchi [125003710560] |-> Enter the password for the new user [125003710570] |Now you should be able to log in from your Windows workstation with the file explorer using username ruchi and the chosen password and store files on the ubuntu server either in ruchi’s home directory or in the public shared directory. [125003720010] |HUBackup - Backup application for Ubuntu Home Users [125003720020] |HUBackup is short for Home User Backup System. [125003720030] |As the name implies, this is a very simple, concise and easy to use backup application that uses the renowned and proven dar (Disk ARchive) to do the actual archiving. [125003720040] |Emphasis has been on providing true and reliable progress indication throughout all operations, as well as the ability to cancel any operation at any given point. [125003720050] |HUBackup mainly concerns with backing up your home folder data, allowing you to restore it in case of data loss. [125003720060] |Install hubackup in ubuntu [125003720070] |sudo aptitude install hubackup [125003720080] |This will complete the hubackup installation. [125003720090] |Backup Files [125003720100] |If you want to open hubackup goto System--->Administration--->Home User Backup [125003720110] |Once it opens you should see similar to the following screen [125003720120] |You need to select the Save Backup To Option [125003720130] |Once you selected the Save Backup To Option complete screen looks like below and click on backup [125003720140] |Backup is in progress [125003720150] |After completing the backup you can see two file as below [125003720160] |Restore Files [125003720170] |Restoring files from System--->Administration--->Home User Restore is not working for me i.e it is crashing for me in ubuntu gutsy so we need to use command line restore. [125003720180] |Home user backup application hubackup using the underlying archiver , DAR. [125003720190] |Usually after a typical run of hubackup you will have two resulting files [125003720200] |/home/backup/ruchi-master-archive.1.dar /home/backup/ruchi-master-catalog.1.dar [125003720210] |To restore , which actually usually means extract in DAR’s language you need to do something like: [125003720220] |dar -x /home/backup/ruchi-master-archive -R TARGET_DIR [125003720230] |If there is more then one slice DAR knows how to switch between them properly. [125003720240] |For more options check DAR man page