The "-Bw" causes a usage message to be dumpted to the screen. Make sure it is just "-B". The -Dmarvell option will yield the message "Unsupported driver 'marvell'. Change it to "-Dwext" as shown above.My /etc/network/interfaces came this way from the factory, and was also that way in my build from the latest git.

To connect to the wireless network when the configuration is done, do the following:

Take down the wireless network (it might already be down, but try to be sure):

# ifdown wlan0

Then, bring it up again:

# ifup wlan0

4. Power management:

Many users have reported issues with wifi data throughput being limited to about 100kB/second. It is theorized this is due to lack of SDIO IRQ support in the OMAP3 MMC driver. A patch is being investigated which reportedly achieves 13Mbps.Additionally, the driver does not support power management at present. The use of iwconfig power commands such as the following will fail:

iwconfig wlan0 power on

Therefore, the wifi module always consumes close to 1 Watt of power when turned on.

28/10/2011

It is extremely important that you backup important data that is not available from other media sources. This backup should be located on a separate hard drive, CD, DVD, network storage, etc. that will not be affected by the repair install. Please check out the warning links before attempting the Repair Install. It is to your advantage you follow the suggestions to prevent data loss and especially if you also have the capability to boot into XP, perform the steps listed in the Warning #1, before proceeding with the repair install. After completing [if Windows is still accessible] the steps listed to prevent data loss in warning #1 and you did not remedy the no boot situation, you can use an OEM XP Pro or Home, "retail" XP Home or Pro full or upgrade version CD of the same version Home or Pro to perform a Repair Install. OEM Restore disks or hidden restore folders on the hard drive will not work for the Repair Install. A Repair Install will replace the system files with the files on the XP CD used for the Repair Install. It will leave your applications and settings intact, but Windows updates will need to be reapplied. A Repair Install will replace files altered by adware and malware, but will not fix an adware, malware problem. You can use the In place upgrade option to change a Product Key in the event you entered a key that was already activated. The In Place Upgrade also produces the same result as the Repair Install.Alternate options to Change XP Product Key #18 on the FAQ list. Setup cannot continue because the version of Windows on your computer is newer than the version on the CD. If you get a "Setup cannot continue because the version of Windows on your computer is newer than the version on the CD." message, if you continue, you will need to apply the SP 2 updates after the repair install completes, plus you will need to take the following steps to keep your system from being immediately infected with a virus. 1. If you connect directly to the internet without a router or hardware firewall, disconnect from the internet by physically removing the connections cable, removing a wireless card, or any other means of internet connection. 2. After the Repair install is completed, enable the XP firewall or install third party firewall software or router before connecting to the internet. If you get the "Setup cannot continue because the version of Windows on your computer is newer than the version on the CD.". You should create a slipstreamed copy of your XP CD by using the software and step by steps supplied in the links below. Slipstream XPAutomatic Updates If you cannot download Automatic updates after the Repair install , follow the steps in the link below submitted by MS-MVP's Richard Harper and Ron Martell.Automatic Updates stops working after a repair install of Windows XP

XP Repair install Please read carefully and make sure you followed the warning links before initiating the Repair Install. You can print a text version for reference. repair.txt

Boot the computer using the XP CD. You may need to change the boot order in the system BIOS so the CD boots before the hard drive. Check your system documentation for steps to access the BIOS and change the boot order.

When you see the "Welcome To Setup" screen, you will see the options belowThis portion of the Setup program prepares Microsoft Windows XP to run on your computer:

do not choose "To repair a Windows XP installation using the Recovery Console, pressR", (you Do Not want to load Recovery Console).I repeat, do not choose "To repair a Windows XP installation using the Recovery Console, press R".

Accept the License Agreement and Windows will search for existing Windows installations.

Select the XP installation you want to repair from the list and press Rto start the repair. If Repair is not one of the options, END setup. After the reboot readWarning#2!

Reapply updates or service packs applied since initial Windows XP installation. Please note that a Repair Install using an Original pre service pack 1 or 2 XP CD used as the install media will remove SP1/SP2 respectively and service packs plus updates issued after the service packs will need to be reapplied. Windows XP Service Pack 1Service Pack 2

An option I highly recommend; is creating a Slipstreamed XP CD with SP1, SP2, etc. .

Warning! #1

Should you do a repair install and is it the best choice?

A Repair Install is not foolproof and should not be considered the cure-all fix for non-boot situations. The below procedure applies only if you can still boot into Windows. To prevent loss of data and/or program settings, perform the following before the Repair Install. Manually delete the Undo_guimode.txt file from the Windows\System32 folder before you perform any of the actions that are listed in the "Symptoms" section of this article. To do this in Windows XP, type the following command at a command prompt: del /a /f %windir%\system32\undo_guimode.txt

Also as a precaution the windows\system32\WPA.DBL and WPA.BAK should be copied to a floppy before doing a repair install. For more information see Alex Nichol's article on XP activation.

Additional tips to perform before initiating the Repair Install.You should complete the basic requirements of backing up all files and folders that cannot be restored from other media. This includes passwords, applications purchased and downloaded from the internet without CD support, financial records and folders, digital images that cannot be replaced............... Backup copies of your registry files (in the %systemroot%\Repair folder) are also replaced after the in-place upgrade is complete. Copy these registry backups to another location before you perform an in-place upgrade/Repair Install. You may need to use them after the in-place upgrade is complete. It would also be a good idea to run the Files And Settings TransferwizardF.A.S.T located on the XP CD. If you made unorthodox registry changes with third party software, there is the potential of data loss from a Repair Install. Another consideration of concern would be a power failure during the repair install could render your system un bootable and result in loss of data. The likelihood of you losing the files and folders is probably of minimal risk, but you have to expect the worst and make sure you are prepared for recovery. If you are sure you have explored all other troubleshooting avenues, then proceed with the repair install.If you get a warning message: "Setup cannot continue because the version of Windows on your computer is newer than the version on the CD." You get this message when you use a pre-SP 1, SP2 XP CD on an XP installation that has been updated to SP1, SP2. You have the options listed below.

Remove the SP 1, SP2 update if the option is available from Add/Remove.

Warning!! #2

If the Repair Option is not Available

What should I do? Most important do not ignore the information below!If the option to Repair Install is NOT available and you continue with the install; youwill deleteyour Windows folder and the Documents and Settings folders. All applications installed that place keys in the registry will need to be re-installed and will require the original install media. You should exit setup if the repair option is not available and consider other options. I have found if the Repair option is not available, you have a few paths I have listed below to try before XP requires a Clean install. Another option to consider (since the cost of 100 + gig hard drives has dropped to well under $75) would be to disconnect the current hard drive and install a clean XP from retail disks or restore media to a new hard drive. You can then connect the original hard drive after configuring the jumpers to a slave drive. You can retrieve important files. One thing to remember, if a hard drive has not been formatted or written over by reinstalling, the data is accessible. The less you access a hard drive after a non-boot episode; the better your chances of retrieving your data. Very important!! If you still have the ability to access the Windows XP installation, backup all important files not restorable from other sources before attempting any recovery console or other trouble shooting attempts. Possible Fix by reconfiguring boot.ini using Recovery Console. 1.Boot with XP CD or 6 floppy boot disk set. 2. Press R to load the Recovery Console. 3. Type bootcfg. 4. This should fix any boot.ini errors causing setup not to see the XP OS install. 5. Try the repair install.

One more suggestion from MVP Alex Nichol "Reboot, this time taking the immediate R option and if the CD letter is say K: give these commands

25/08/2011

I re-installed file system (2Gb SD card) for my Overo gumstix. After i booted from SD, I found the touch screen did not work. So, I had a look in /dev/input directory. I can only see 'mice' in this folder, no 'touchscreen0'.

Then I tried different way to solve the problem. I tried:

$ nand erase 240000 20000 $ reset

When I booted gumstix, the back light of screen turned on, but nothing displays on the screen. I can see 'touchscreen0' in /dev/input. I tried '/usr/bin/ts_test'. This command can detect the position when i touched screen, but just no display.

The last line sets up a login on tty1. If you have a keyboard (eg. USB keyboard via a powered HUB) and display connected, then you'd be able to login using those. I am using a chestnut43 board with LCD, and i can use tty1 on a couple of occasions when I messed up the networking.

the command to change console environment variable are follows:

# setenv console tty1

# saveenv

The console setting is passed to the kernel at boot time. It Only tells the kernel where to send messages; It does not have anything to do with login terminals as that is handled by inittab and getty. I can use tty1 because it allows me to see the kernel messages on the LCD during boot.

13/04/2011

From (http://linuxreviews.org/beginner/#toc18)

1. What is Linux?

Linux is a free Unix-type operating system for computer devices. The operating system is what makes the hardware work together with the software. The OS is the interface that allows you to do the things you want with your computer. Linux is freely available to everyone. OS X and Windows are other widely used OS.

Linux gives you a graphical interface that makes it easy to use your computer, yet it still allows those with know-how to change settings by adjusting 0 to 1.

It is only the kernel that is named Linux, the rest of the OS are GNU tools. A package with the kernel and the needed tools make up a Linux distribution. Mandrake , SUSE Linux,Gentoo and Redhat are some of the many variants. GNU/Linux OS can be used on a large number of boxes, including i386+ , Alpha, PowerPC and Sparc.

2. Understanding files and folders

Linux is made with one thought in mind: Everything is a file.

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.

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.

A file is an element of data storage in a file system (file systems manual page). Files are usually stored on harddrives, cdroms and other media, but may also be information stored in RAM or links to devices.

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/.

/ /home/ /home/mom/ /home/dad/

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.

Almost everything you do on a computer involves one or more files stored locally or on a network.

/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.

/var

/var contains variable data files. This includes spool directories and files, administrative and logging data, and transient and temporary files.

/proc

System information stored in memory mirrored as files.

The only folder a normal user needs to use is /home/you/ - this is where you will be keeping all your documents.

/home/elvis/Documents /home/elvis/Music /home/elvis/Music/60s

Files are case sensitive, "myfile" and "MyFile" are two different files.

For more details, check out:

3. Understanding users and permissions

Linux is based on the idea that everyone using a system has their own username and password.

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).

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.

4. Who and what is root

Linux has one special user called root (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.

You should never log on as this user unless you actually need to do something that requires it!

Use su - to temporary become root and do the things you need, again: never log into your sytem as root!

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!).

You can execute a command as root with:

su -c 'command done as root'

Gentoo Linux: Note that on Gentoo Linux only users that are member of the wheel group are allowed to su to root.

5. Opening a command shell / terminal

To learn Linux, you need to learn the shell command line in a terminal emulator.

In KDE: K -> System -> Konsoll to get a command shell)

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).

xterm(manual page) is the standard XFree console installed on all boxes, run it withxterm (press ALT F2 in KDE and Gnome to run commands).

6. Your first Linux commands

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 & 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: cp movie.avi /pub &. Jobs - the basics of job control

6.1. ls - short for list

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.

Examples:

ls

ls -al --color=yes

6.2. pwd - print name of current/working directory

pwd prints the fully resolved name of the current (working) directory. pwd manpage.

6.3. cd - Change directory

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 "..".

To go one folder down:

cd ..

Change into the folder Documents in your current working directory:

cd Documents

Change into a folder somewhere else:

cd /pub/video

The / in front of pub means that the folder pub is located in the / (lowest folder).

7.8. tar archiving utility - tar.bz2 and tar.gz

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.

kde

You can use the program ark (K -> Utilities -> Ark) to handle archives in KDE. Konquerortreats 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.

7.8.1. tar files (.tar.gz)

To untar files:

tar xvzf file.tar.gz

To tar files:

tar cvzf file.tar.gz filedir1 filedir2 filedir2...

Note: A .tgz file is the same as a .tar.gz file. Both are also often refered to as tarballs.

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).

7.8.2. bzip2 files (.tar.bz2)

To unpack files:

tar xjvf file.tar.bz2

To pack files:

tar cvjf file.tar.bz2 filedir1 filedir2 filedir2...

The flags: Same as above, but with j for for bzip2

You can also use bunzip2 file.tar.bz2 , will turn it into a tar.

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.