<?xml version="1.0"?>
<rss version="2.0"><channel><title>Tips and Tricks Latest Topics</title><link>https://mandrivausers.org/index.php?/forum/22-tips-and-tricks/</link><description>Tips and Tricks Latest Topics</description><language>en</language><item><title>ASUS 1215B laptop - suspend/resume + other issues</title><link>https://mandrivausers.org/index.php?/topic/109317-asus-1215b-laptop-suspendresume-other-issues/</link><description><![CDATA[
<p>Most things work nicely on this little laptop with the AMD brazos e450 processor/GPU.</p>
<p> </p>
<p>The thing which has always proved troublesome is suspend to ram. Suspend works but it would never wake up requiring the battery to be removed to get it going again. Suspend to disk always worked fine.</p>
<p> </p>
<p>Hoping that updates from AMD/ATI for the video driver or new kernels would eventually solve it. I now have a MIB sourced kernel <a href="http://mib.pianetalinux.org/MIB/2011.0/32/projects/kernels/3.1.6/" rel="external nofollow">http://mib.pianetalinux.org/MIB/2011.0/32/projects/kernels/3.1.6/</a> and the latest ATI driver <a href="http://www2.ati.com/drivers/linux/amd-driver-installer-12-2-x86.x86_64.run" rel="external nofollow">http://www2.ati.com/drivers/linux/amd-driver-installer-12-2-x86.x86_64.run</a> which work really well making for a pretty reasonable video and desktop performance with all the KDE plasma effects and animations.</p>
<p> </p>
<p>However suspend/resume still did not want to play? I tried re-compiling the kernel which for a brief moment seemed to allow suspend/resume having read this solved someone's resume problem from one source.</p>
<p> </p>
<p>Finding a comprehensive guide for Suse linux which explains all you need to know about pm-utils and s2ram - <a href="http://en.opensuse.org/SDB:Suspend_to_RAM" rel="external nofollow">http://en.opensuse.org/SDB:Suspend_to_RAM</a> and here <a href="http://old-en.opensuse.org/Pm-utils" rel="external nofollow">http://old-en.opensuse.org/Pm-utils</a></p>
<p> </p>
<p>Testing to find the best parameters to use with the Asus 1215B and ATI video driver I settled for s2ram -f -a 2</p>
<p> </p>
<p>To make it work with the keyboard and power saving system I added this file /etc/pm/config.d/modules containing a single config line:</p>
<p> </p>
<p>S2RAM_OPTS="-f -a 2"</p>
<p> </p>
<p>set the permissions to 755</p>
<p> </p>
<p>So far this works OK.</p>
<p> </p>
<p>I'll have to test against some other kernel(s) and use suspend to ram daily to see if it breaks?</p>
]]></description><guid isPermaLink="false">109317</guid><pubDate>Mon, 19 Mar 2012 22:54:16 +0000</pubDate></item><item><title>Clicks</title><link>https://mandrivausers.org/index.php?/topic/109611-clicks/</link><description><![CDATA[
<p>Here is a trick I discovered for myself. I am Using Mageia-2 and KDE. It also worked with Mageia-1 and I am certain it will work with any OS that uses KDE.</p>
<p> </p>
<p>When you right click in any open or part open window space you will get a pop-up menu that offers a choice &lt;LEAVE&gt;, clicking on &lt;LEAVE&gt; presents another pop-up menu offering</p>
<p>log-out, shutdown or reboot. Clicking reboot starts the process through to the boot menu where you choose what you want, click on it and the process then runs through to the Login Screen.</p>
<p> </p>
<p>Here is the trick.......</p>
<p>When you get the &lt;LEAVE&gt; pop-up menu, don't just click on it, instead hold the mouse left click button down and in a moment or two the Boot menu will appear. While still holding the mouse left click button down, slide the mouse pointer over the choice you require on the boot menu and only then release the mouse button. The process starts immediately and proceeds non-stop through to the Login Screen.</p>
<p>While this only saves about 2 or so seconds by making one action unnecessary, what it also does is join two useless short intervals into one longer one that you can utilise for say grabbing a quick drink. So there are two benefits.  <span style="font-size:18px;">Thank you KDE.</span></p>
<p> </p>
<p>Cheers.                                        John.</p>
]]></description><guid isPermaLink="false">109611</guid><pubDate>Sun, 16 Sep 2012 19:23:10 +0000</pubDate></item><item><title>Script to Repair Installation</title><link>https://mandrivausers.org/index.php?/topic/10447-script-to-repair-installation/</link><description><![CDATA[
<p>This is a script I wrote, part of which was taken from aru. This script assumes you have your urpmi sources correctly configured and it contains no local sources. You can do that here:<img src="http://semperphi.com/repair.png" alt="repair.png" /></p>
<p><a href="http://urpmi.org/easyurpmi/index.php" rel="external nofollow">http://urpmi.org/easyurpmi/index.php</a></p>
<p>I'm trying to figure out how to do this with local sources taken into consideration, too:</p>
<pre class="ipsCode">#!/bin/bash

# rpmfix - searches your system for missing files and reinstalls rpms they belong to
# Copyright (C) 2003  Steve Scrimpshire
# email: omarserenity@gmail.com

# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
# http://www.gnu.org/copyleft/gpl.html#SEC1

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.


rm -f notonmirrors
rm -f missing_files.list

rpm -Va --nodeps --nomd5 --noscripts | grep missing | grep -v "/dev/" | tee missing_files.list
TEST=$(rpm -qf $(awk '{print $NF}' missing_files.list) | uniq)

urpmi.update -a

for name in $TEST
 do
  echo $name
 GET=$(urpmq --sources $name 2&gt;/dev/null)
  if [ $GET ]
	 then
	 if [[ $name != XFree* ]]
		then
		   wget $GET
		else
		   echo "I won't fix $name because I always have problems doing that!"
	 fi
	 else
		echo "$name does not exist on the mirrors!"
		echo "$name" &gt;&gt; notonmirrors
  fi
 done

DIR=$(ls)

for file in $DIR
  do
  if [[ $file == *.rpm ]]
	 then
		rpm -ivh --replacefiles --replacepkgs $file
		rm -f $file
  fi
  done

exit 0</pre>
<div></div>
<p></p>
<p> </p>
<p>I created a special directory to put this script in and after it runs, you may or may not see a new file in that directory called notonmirrors, which will contain the names of pkgs that have missing files, but urpmq could not find them on the mirrors, so you will have to fix them manually. I have it ignore XFree pkgs, because there is always some files for fonts that are missing and no matter how many times you reinstall it, they are still missing.</p>
]]></description><guid isPermaLink="false">10447</guid><pubDate>Sun, 28 Dec 2003 04:52:22 +0000</pubDate></item><item><title>Samsung NC20 with Mandriva 2010</title><link>https://mandrivausers.org/index.php?/topic/95553-samsung-nc20-with-mandriva-2010/</link><description><![CDATA[
<p>Having chosen Mandriva as my preferred distribution of Linux I found that the install of Mandriva Spring 2010 on the NC20 is mostly painless. It is best if you have an external USB CD drive and you also have a standard Ethernet cable connecting your NC20 to your hub or router and everything will go smoothly. The resulting installation is fully working except the Nano processor frequency control and some aspects of the ViaChrome video driver ie no 3D, problems with screen power saving and external screen support missing or not working. Not many distributions are this complete!</p>
<p> </p>
<p>PS: I would suggest once the install is complete adding the PLF repos using <a href="http://easyurpmi.zarb.org/" rel="external nofollow">Easy Urpmi</a>. The Official repos should already be in place with the install. Once all updates are done using these PLF sources then you could add as I have the <a href="http://mib.pianetalinux.org/mib/repository.html" rel="external nofollow">MIB group</a> repos this will give you access to many other more up to date applications such as Skype. It is best to keep "backport" repos disabled unless you know what you are doing. With these enabled there is a risk of allowing new buggy versions to be installed as updates. You have been warned! </p>
<p> </p>
<p>I hope to build up a list of fixes for the NC20 and the new Mandriva 2010 Spring (One) distribution.</p>
<p> </p>
<p>Here is the list so far of problems which need to be fixed:</p>
<p> </p>
<p>- Frequency scaling of the processor which out of the box runs at 1.5Ghz all the time.</p>
<p>- Find or compile a better ViaChrome9 video driver for passable support for desktop 3D animation. (*)</p>
<p>- Get that driver to work with external screens. (*)</p>
<p>- Get that driver to wake up the back-light after power saving switches off the screen. (*)</p>
<p>- Bluetooth pairing with proper pin exchange.</p>
<p>- Get all the FN keys to work</p>
<p>- The Windows program environment Wine installs OK but freezes the machine on launching Wine. (*)</p>
<p>- Samba does not seem to be functioning even after installing and providing a conf file.? </p>
<p> </p>
<p>Getting an updated video driver could/should fix the (*) items.</p>
<p> </p>
<p>Other contributions to make this more complete welcome! Contribute your success with any of these issues or new ones for the NC20 configuration in this topic. Do add any details or variations on these fixes which I have missed!</p>
<p> </p>
<p><span style="font-size:8px;">[moved from Laptops etc by spinynorman - welcome aboard :)]</span></p>
]]></description><guid isPermaLink="false">95553</guid><pubDate>Mon, 23 Nov 2009 14:20:38 +0000</pubDate></item><item><title>2010.2 - Can't Mount Samba Share</title><link>https://mandrivausers.org/index.php?/topic/107895-20102-cant-mount-samba-share/</link><description><![CDATA[
<p>Last night I installed Mandriva 2010.2 on the recently purchased ebay laptop, and using MCC I kept running into being unable to mount my samba share from my main server in the house.  I kept using the wizard, but it kept failing.  It wants to use CIFS to mount (my older system used smbfs), and after an hour of investigation, I realized that mount-cifs was not installed (even though I was using the wizard).  Using urpmi (or MCC) I installed mount-cifs and everything worked as expected.</p>
<p> </p>
<p>Note: I have more success specifying a username on the host, password for that user, and in the extra options setting uid=500,gid=500 (or whatever that user's number is on the host), but I am just putting that out there if you are still having an issue.</p>
<p> </p>
<p>Hope this helps if anyone is having an issue...</p>
]]></description><guid isPermaLink="false">107895</guid><pubDate>Thu, 10 Feb 2011 14:56:54 +0000</pubDate></item><item><title>VIA C3 processors and Mandriva</title><link>https://mandrivausers.org/index.php?/topic/66724-via-c3-processors-and-mandriva/</link><description><![CDATA[<p>In case anyone wonders why he/she cannot install Mandriva on a system using the VIA C3 processor, the answer is that the C3 processor architecture does only work with i386, i486 and i586 compiled kernels. Mandriva ships since 2008.1 spring an i686 compiled kernel on the install-media which will not work with the processor. The system will install, but it will not boot as it is unable to decompress the kernel. Quick solution to this problem: Use Mandriva 2008.0 and stick to it (or install another distro that does support the C3 processor, like Debian, Slackware, Suse and Fedora).</p>]]></description><guid isPermaLink="false">66724</guid><pubDate>Wed, 27 Aug 2008 07:33:26 +0000</pubDate></item><item><title>Install without CD drive or floppy</title><link>https://mandrivausers.org/index.php?/topic/46444-install-without-cd-drive-or-floppy/</link><description><![CDATA[
<p>I thought I'd write up how I installed 2008 without being able to burn the DVD image and not having a floppy drive. I already had 2007.1 One installed, so I extracted the ISO to the root directory of my external drive and added this to /boot/grub/menu.lst:</p>
<p> </p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="46444" data-ipsquote-contentclass="forums_Topic"><div>title install<p>kernel (hd1,0)/i586/isolinux/alt0/vmlinuz</p>
<p>initrd (hd1,0)/i586/isolinux/alt0/all.rdz</p>
</div></blockquote>
<p> </p>
<p>When I chose 'install' from the boot menu, it started the installer and asked how I wished to install. I chose Hard disk and it asked me for the location and I pointed it to the root of the HD and off I went.</p>
<p> </p>
<p>The (hd1,0) means the second disk (hd1), first partition(0). You could also extract the files to your regular harddrive and change where that points. Without linux already installed, you can get a version of grub for Windows (I forget the one I have used before). </p>
<p> </p>
<p>I hope this is clear enough. If clarification is needed, please feel free to ask for it. :D</p>
]]></description><guid isPermaLink="false">46444</guid><pubDate>Tue, 01 Jan 2008 07:49:25 +0000</pubDate></item><item><title>Backing up and Restoring the MBR</title><link>https://mandrivausers.org/index.php?/topic/16804-backing-up-and-restoring-the-mbr/</link><description><![CDATA[
<p>If you play around with paritioning tools, installing linux disros, or writing bootloaders to the mbr long enough, sooner or later you will corrupt your partition table in the MBR. Then you have real problems trying to restore a corrupted partition table. With a little forsight and linux you can avoid those problems by making a backup of your mbr which you can restore if everything goes bad.</p>
<p> </p>
<p>It's relatively easy to do using the dd command. To backup the mbr to a floppy just run:</p>
<p> </p>
<p># dd if=/dev/hdx of=/dev/fd0 bs=512 count=1</p>
<p> </p>
<p>where 'x' is your boot hard drive, i.e. the one where your mbr is located.</p>
<p> </p>
<p>The mbr is on the first sector of your hard drive which is 512 bytes. The above command merely copies the first 512 bytes on sector 1 to a floppy.</p>
<p> </p>
<p>To restore the mbr from the floppy backup, boot off a rescue cd like knoppix, open a console and get root privileges, then run:</p>
<p> </p>
<p># dd if=/dev/fd0 of=/dev/hdx bs=512 count=1</p>
<p> </p>
<p>If you don't have a floppy drive, you can backup the mbr to a file on your hard drive and copy the file to a cd-r if you have a cd burner. To backup to your hard drive run:</p>
<p> </p>
<p># dd if=/dev/hdx of=mbr.bak bs=512 count=1</p>
<p> </p>
<p>This will create a file mbr.bak in your current working directory. Obviously, if your partition table is trashed, you will never be able to access that file on your hard drive so you need to place it on some removable medium. Just create a data cd and copy mbr.bak to the cd-r with your favorite cd burning program.</p>
<p> </p>
<p>Restoring from a cd-r backup is essentiall the same except you have to mount the cd-r and run:</p>
<p> </p>
<p># dd if=&lt;cd drive mount point/mbr.bak&gt; of=/dev/hdx bs =512 count=1</p>
<p> </p>
<p>Note, if you have resized or altered any of the existing partitions since you backed up this problably won't work. If you just created some new partitions physically located on the hard drive after your existing partitions, the mbr backup should leave the partition table in the same state it was in before you created the new partitions, i.e. the new partitions will be deleted and the prior working partition table with the old partitions should be restrored.</p>
]]></description><guid isPermaLink="false">16804</guid><pubDate>Tue, 20 Jul 2004 01:15:51 +0000</pubDate></item><item><title><![CDATA[Get Cyberlink Remote working w/ Mandriva & Fedora]]></title><link>https://mandrivausers.org/index.php?/topic/93743-get-cyberlink-remote-working-w-mandriva-fedora/</link><description><![CDATA[
<p>I have spent some hours working to get my Cyberlink Remote Control functional in Mandriva 2009.1.  I have Googled half the internet in the process.  I now have a measure of success with VLC.  Still a couple of issues and unanswered questions, but I hope to get them sorted.  I decided to document my progress to date before I forgot what I did.</p>
<p> </p>
<p>Here is what my remote looks like: <a href="http://www.altechco.com/images/cyber.jpg" rel="external nofollow">http://www.altechco.com/images/cyber.jpg</a></p>
<p> </p>
<p>In the beginning, I was trying to install a tarball someone wrote at <a href="http://linux.thaj.net63.net/cyberlinkusb/" rel="external nofollow">http://linux.thaj.net63.net/cyberlinkusb/</a> [cyberlinkusb-20081207.tar.bz2] to get this Cyberlink Remote to work.  After a couple of hiccups I got the tarball installed successfully only to discover later it was superfluous since the driver has been incorporated into the kernel.  <a href="http://www.xbmc.org/forum/showpost.php?p=302112&amp;postcount=28" rel="external nofollow">http://www.xbmc.org/forum/showpost.php?p=302112&amp;postcount=28</a></p>
<p> </p>
<p>Regarding this remote control: some buttons are seen as regular keypresses (such as the Number buttons and Enter).  Other buttons are special (such as Play and FastForward), and these are the problem ones.</p>
<p> </p>
<p>I am sure there are a couple of superfluous files and steps that got entered here. Eventually I should be able ferret them out.</p>
<p>-------------------</p>
<p> </p>
<p><span style="text-decoration:underline;">First, install LIRC.  Here is a list of my installed LIRC related rpms.</span></p>
<p></p>
<pre class="ipsCode">python-lirc-0.0.5-2mdv2009.1
vlc-plugin-lirc-1.0.1-1mdv2009.1
liblirc0-0.8.5-0.20090320.1mdv2009.1
lirc-remotes-0.8.3-0.20080704.3mdv2009.0
pulseaudio-module-lirc-0.9.15-2.0.6mdv2009.1
lirc-kernel-desktop586-latest-0.8.5-1.20090817.0.20090320.1mdv2009.1
xmms-lirc-1.4-7mdv2009.0
lirc-0.8.5-0.20090320.1mdv2009.1
lirc-kernel-2.6.29.6-desktop586-2mnb-0.8.5-0.20090320.1mdv2009.1
dkms-minimal-2.0.19-15mdv2009.1
setserial-2.17-14mdv2009.1
kernel-desktop586-2.6.29.6-2mnb-1-1mnb2
x11-proto-devel-7.4-16mdv2009.1</pre>
<div></div>
<p></p>
<p> </p>
<p>I created the file <strong>/etc/udev/rules.d/10-lirc.rules</strong> with the following content.</p>
<p></p>
<pre class="ipsCode">KERNEL=="lirc[0-9]*",	NAME="lirc/%n", GROUP=="disk", MODE=="0666"
KERNEL=="lirc0", SYMLINK=="lirc"</pre>
<div></div>
<p></p>
<p> </p>
<p>Next, for a Cyberlink Remote Control enter the following content in: <strong>/etc/lircd.conf</strong></p>
<p>I also entered it in the following file because it was there: <strong>/etc/lirc/lircd.conf</strong></p>
<p></p>
<pre class="ipsCode">begin remote
 name  CYBERLINK
 bits          32
 eps           30
 aeps          100
 one           0     0
 zero          0     0
 gap           135995
 toggle_bit_mask 0x0
     begin codes
         Back                  0x8001009E
         Pause                 0x80010077
         VolumeDown            0x80010072
         VolumeUp              0x80010073
         Record                0x800100a7
         Guide                 0x80010082
         Mute                  0x80010071
         ChannelUp             0x80010192
         ChannelDown           0x80010193
         Play                  0x800100CF
         SkipFoward            0x800100A3
         SkipBack              0x800100A5
         Stop                  0x800100A6
         Menu                  0x8001008B
         Fwdwind               0x800100D0
         Rewind                0x800100A8
     end codes
end remote
</pre>
<div></div>
<p></p>
<p>For a different brand of remote, you may be able to find the appropriate information to copy to these files from  a subdirectory of <strong>/usr/share/lirc-remotes</strong></p>
<p>Or else look here: <a href="" rel="">http://lirc.sourceforge.net/remotes/</a>'&gt;http://lirc.sourceforge.net/remotes/</p>
<p> </p>
<p>To find the appropriate scan codes, enter the following in terminal and look at what is displayed with each keypress.</p>
<p>Note that your event# could be different.</p>
<p></p>
<pre class="ipsCode"># hexdump /dev/input/event8</pre>
<div></div>
<p></p>
<p>Here is an example.  For keypress <span style="color:#FF0000;">Play</span>, I get the following output...</p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="93743" data-ipsquote-contentclass="forums_Topic"><div>[root@localhost dkb]# hexdump /dev/input/event8<p>0000000 7d1e 4ada 5887 000e 0004 0004 00b0 000c</p>
<p>0000010 7d1e 4ada 58a1 000e 0<span style="color:#FF0000;">001 00cf</span> 0001 0000</p>
<p>0000020 7d1e 4ada 58a8 000e 0<span style="color:#FF0000;">001 00cf</span> 0000 0000</p>
<p>0000030 7d1e 4ada 58b1 000e 0000 0000 0000 0000</p>
</div></blockquote>
<p>I highlighted the relevant section in red.  This button press would go in the files below (i.e.:Play 0x8<span style="color:#FF0000;">00100CF</span>)</p>
<p><strong>/etc/lircd.conf</strong></p>
<p><strong>/etc/lirc/lircd.conf</strong></p>
<p> </p>
<p>If you have trouble getting the hexdump, try the following in terminal as root...</p>
<p># <strong>/etc/init.d/lircd stop</strong></p>
<p># <strong>lircd -d /dev/input/event8</strong> <em>{lircd -d device [read from given device]}</em></p>
<p>Now press the special keys such as Volume Up, Volume Down, Mute, etc.</p>
<p>When done pressing each of the special keys, then enter the following in terminal as root...</p>
<p># <strong>/etc/init.d/lircd start</strong></p>
<p>Now the hexdump will hopefully work.  Fixed it for me.</p>
<p>I now have an on screen display of the volume level.  The volume control and mute buttons of the remote seems to work with most apps.</p>
<p> </p>
<p> </p>
<p>You can run <strong>$ irw</strong> in terminal to see your keypresses after they are configured.</p>
<p> </p>
<p>Next edit <strong>/etc/sysconf/lircd</strong> as appropriate.</p>
<p>The important lines for the Cyberlink Remote seem to be...</p>
<p></p>
<pre class="ipsCode">DRIVER="devinput"
DEVICE=/dev/input/event8</pre>
<div></div>
<p></p>
<p>Reference: <a href="" rel="">http://cjo20.net/remote.htm</a>'&gt;http://cjo20.net/remote.htm</p>
<p> </p>
<p>To find the appropriate /dev/input/event#, enter the following in terminal:</p>
<p><strong>grep -l 'TopSeed' /sys/class/input/input*/name | tail -n1</strong></p>
<p>Take the number from the output after input: /sys/class/input/input8/name</p>
<p>In my case it was 8, so the DEVICE=/dev/input/event8</p>
<p>Note that your event# could be different.</p>
<p> </p>
<p>Alternatively to get the event# you can try $ <strong>cat /proc/bus/input/devices</strong> in a terminal.</p>
<p><em>TopSeed Tech Corp. USB IR Combo Device</em> is my Cyberlink Remote Control</p>
<p>Notice the event8 entry below.  I don't know if this entry was after I created <strong>/etc/sysconf/lircd</strong> or not.</p>
<p>Here is the relevant part my output from $ <strong>cat /proc/bus/input/devices</strong></p>
<p></p>
<pre class="ipsCode">I: Bus=0003 Vendor=0766 Product=0204 Version=0100
N: Name="TopSeed Tech Corp. USB IR Combo Device "
P: Phys=usb-0000:00:1d.1-1/input1
S: Sysfs=/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.1/input/input14
U: Uniq=
H: Handlers=kbd mouse2 event8
B: EV=17
B: KEY=fc112 20d0c00 0 0 70000 0 18000 21f8 d001d804 9e0040 0 0 0
B: REL=103
B: MSC=10</pre>
<div></div>
<p></p>
<p> </p>
<p>Here is my <strong>/etc/sysconf/lircd</strong> file.  This is the critical file to get irw and lirc to work.</p>
<p>When this file is set up properly, you will get output from all of the keypresses on your remote.</p>
<p></p>
<pre class="ipsCode"># Customized settings for lirc daemon

# The hardware driver to use, run: # lircd --driver=? for a list

DRIVER="devinput"

# Hardware driver module to load [found Module name in MCC &gt; Hardware &gt; Browse and configure hardware &gt; Keyboard &gt; USB IR Combo Device]
#HWMOD=usbhid

# The device node that communicates with the IR device.
# if you are using lirc_serial, set DEVICE to /dev/ttyS[0-9]
# where 0-9 is the serial port your IR receiver is plugged

# with devfs enabled
DEVICE=/dev/input/event8
#DEVICE=/dev/lirc/serial

# without devfs 
#DEVICE=/dev/lirc

# Serial port for the receiver (for serial driver)
# COM1 (/dev/ttyS0)
#COM_PORT=/dev/ttyS0
#DRIVER_OPTS="irq=4 io=0x3f8"

# COM2 (/dev/ttyS1)
#COM_PORT=/dev/ttyS1
#DRIVER_OPTS="irq=3 io=0x2f8"

# COM3 (/dev/ttyS2)
#COM_PORT=/dev/ttyS2
#DRIVER_OPTS="irq=4 io=0x3e8

# COM4 (/dev/ttyS3)
#COM_PORT=/dev/ttyS3
#DRIVER_OPTS="irq=3 io=0x2e8"
</pre>
<div></div>
<p></p>
<p>You may need to reboot for changes to take effect.</p>
<p>Alternatively you can try # <strong>/etc/init.d/lircd restart</strong> in terminal.</p>
<p> </p>
<p>Finally, I had to create the files <strong>/etc/lircrc</strong> and <strong>/home/~/.lircrc</strong> with the following content (relevant for VLC).</p>
<p>There is a file: <strong>/usr/share/doc/vlc/lirc/example.lircrc</strong> that is helpful.</p>
<p>Enter <strong>vlc --help</strong> in a terminal window to find the appropriate hotkeys for vlc.</p>
<p></p>
<pre class="ipsCode">begin
   remote = CYBERLINK
   prog = vlc
   button = Mute
   config = key-vol-mute
end

begin
   remote = CYBERLINK
   prog = vlc
   button = SkipBack
   config = key-prev
end

begin 
   remote = CYBERLINK
   prog = vlc
   button = SkipForward
   config = key-next
end

begin
   remote = CYBERLINK
   prog = vlc
   button = Pause
   config = key-play-pause
end

begin
   remote = CYBERLINK
   prog = vlc
   button = Menu
   config = key-nav-activate
end

begin
   prog = vlc
   button = Back
   config = Escape
end

begin
   remote = CYBERLINK
   prog = vlc
   button = Rewind
   config = key-slower
end

begin
   remote = CYBERLINK
   prog = vlc
   button = Fwdwind
   config = key-faster
end

begin
   remote = CYBERLINK
   prog = vlc
   button = Play
   config = key-play
end

begin
   remote = CYBERLINK
   prog = vlc
   button = VolumeDown
   config = key-vol-down
end

begin
   remote = CYBERLINK
   prog = vlc
   button = Stop
   config = key-stop
end

begin
   remote = CYBERLINK
   prog = vlc
   button = VolumeUp
   config = key-vol-up
end

begin
 prog = vlc
 button = ChannelUp
 config = key-toggle-fullscreen
end</pre>
<div></div>
<p></p>
<p> </p>
<p><span style="text-decoration:underline;">Currently I have the following buttons working in VLC</span></p>
<p>Volume Up</p>
<p>Volume Down</p>
<p>Mute</p>
<p>Play</p>
<p>Pause</p>
<p>Speed Up</p>
<p>Slow Down</p>
<p>Stop</p>
<p>Previous</p>
<p>Full Screen (toggle)</p>
<p> </p>
<p><span style="text-decoration:underline;">This button doesn't work in VLC for some reason that I haven't figured out yet.</span></p>
<p>Next</p>
<p> </p>
<p><span style="text-decoration:underline;">Useful links:</span></p>
<p><a href="http://www.g-loaded.eu/2006/01/10/how-to-configure-and-use-lirc/" rel="external nofollow">http://www.g-loaded.eu/2006/01/10/how-to-configure-and-use-lirc/</a></p>
<p><a href="https://mandrivausers.org/index.php?/topic/28910-howto-mandriva-linux-2006-lirc/" rel="external nofollow">https://mandrivausers.org/index.php?/topic/28910-howto-mandriva-linux-2006-lirc/</a></p>
<p>http://cjo20.net/remote.htm</p>
<p><a href="http://www.minimyth.org/document-howto-lirc_devinput.html" rel="external nofollow">http://www.minimyth.org/document-howto-lirc_devinput.html</a></p>
<p><a href="http://www.xbmc.org/forum/showthread.php?t=39433" rel="external nofollow">http://www.xbmc.org/forum/showthread.php?t=39433</a></p>
<p><a href="http://wiki.videolan.org/How_to_Use_Lirc" rel="external nofollow">http://wiki.videolan.org/How_to_Use_Lirc</a></p>
<p>http://lirc.sourceforge.net/remotes/</p>
<p><a href="http://blog.mricon.com/2008/04/setting-up-apple-remote-control-with-f9.html" rel="external nofollow">http://blog.mricon.com/2008/04/setting-up-apple-remote-control-with-f9.html</a></p>
<p><a href="http://pulseaudio.org/wiki/Modules#module-lirc" rel="external nofollow">http://pulseaudio.org/wiki/Modules#module-lirc</a></p>
<p> </p>
<p>EDIT:  I forgot.  To get VLC to use the remote, start VLC with the following command: <strong>vlc --extraintf lirc</strong></p>
<p>EDIT2: I am making edits to this post as I discover new things.</p>
]]></description><guid isPermaLink="false">93743</guid><pubDate>Sun, 18 Oct 2009 04:35:05 +0000</pubDate></item><item><title>How to fix Firefox Browsing Problem</title><link>https://mandrivausers.org/index.php?/topic/30815-how-to-fix-firefox-browsing-problem/</link><description><![CDATA[
<p>This post was made due to the frequency that this query comes up.</p>
<p> </p>
<p>Firefox on some systems can sometimes have an issue in that it will not allow you to browse the web.  However, using konqueror or an alternative browser seems to work fine, shows that it's not a network configuration issue.</p>
<p> </p>
<p>It is however, a configuration issue within Firefox, and the way to resolve it is as follows.</p>
<p> </p>
<p>1. Click in your url bar, and type "about:config" without the quotes.</p>
<p>2. In the Filter field type "ipv6" without the quotes.</p>
<p>3. The entry "network.dns.disableIPv6 should appear set as "false".</p>
<p>4. Double-click this entry, to set it to "true".</p>
<p> </p>
<p>The browsing problem should now be resolved.</p>
]]></description><guid isPermaLink="false">30815</guid><pubDate>Mon, 13 Feb 2006 11:25:45 +0000</pubDate></item><item><title>How To Build Uoti's git MPlayer Branch on Linux</title><link>https://mandrivausers.org/index.php?/topic/101843-how-to-build-uotis-git-mplayer-branch-on-linux/</link><description><![CDATA[
<p>I have written a step by step guide on how to build Uoti's git MPlayer branch on Mandriva and Ubuntu from source.</p>
<p>This fork of mplayer by one of the main developers is the preferred version to use, since it contains many enhanchements that are missing from the official branch.</p>
<p> </p>
<p>The guide is here:</p>
<p><a href="http://www.linuxtech.net/tips+tricks/How_To_Build_Uotis_git_MPlayer_Branch.html" rel="external nofollow">http://www.linuxtech.net/tips+tricks/How_To_Build_Uotis_git_MPlayer_Branch.html</a></p>
<p> </p>
<p>It should be easy enough to follow even if you have never built anything from source before.</p>
<p> </p>
<p>Let me know if anything is unclear.</p>
]]></description><guid isPermaLink="false">101843</guid><pubDate>Sun, 04 Apr 2010 04:07:20 +0000</pubDate></item><item><title>Best Reliable Long-term Data Storage Media</title><link>https://mandrivausers.org/index.php?/topic/97753-best-reliable-long-term-data-storage-media/</link><description><![CDATA[
<p>Since many of my less computer literate friends just store their digital camera pics and camcorder recordings on their desktop or laptop hard disk (with no backup!), I though it could be useful writing an article on how to store these files safely for the long term, otherwise I fear there will be a whole generation of kids that don't have childhood pics since their parents lost all the photos when the hard disk died... :sad: </p>
<p> </p>
<p>How do you store your photos and personal files?</p>
<p> </p>
<p>Anyone keeps at least 2 or even 3 backups in diverse locations?</p>
<p> </p>
<p>Here's the article:</p>
<p><a href="http://www.linuxtech.net/tips+tricks/best_safe_long-term_data_storage.html" rel="external nofollow">Best Reliable Long-term Data Storage Media</a></p>
]]></description><guid isPermaLink="false">97753</guid><pubDate>Mon, 28 Dec 2009 00:19:11 +0000</pubDate></item><item><title>Installing kMyMoney on Mandriva 2010.0</title><link>https://mandrivausers.org/index.php?/topic/95753-installing-kmymoney-on-mandriva-20100/</link><description><![CDATA[
<p>Installing kMyMoney on Mandriva 2010.0</p>
<p> </p>
<p>kMyMoney was not included in the application packages distributed with Mandriva 2010.0. However the following steps should allow you to easily install kMyMoney in a clean installation of Mandriva 2010.0 (You MUST be connected to the Internet for this installation).</p>
<p> </p>
<p>Open "Tools"/"Konsole (Terminal)"</p>
<p>At the prompt type: su</p>
<p>This will be followed by a prompt for your root password</p>
<p> </p>
<p>In "Konsole", now type (or paste) the following:</p>
<p> </p>
<p>urpmi.addmedia --distrib --mirrorlist 'http://jjorge.free.fr/packages/mandriva/$RELEASE.$ARCH.list'</p>
<p> </p>
<p> </p>
<p>This will add the media necessary for you to easily install kMyMoney using the "Mandriva Linux Control Center".</p>
<p> </p>
<p>Now open the "Mandriva Linux Control Center". This should open in the "Software Management" screen. Click on the "Configure media sources for install and update". You will notice three new media sources at the bottom of the list:</p>
<p>JJORGE_abandonware</p>
<p>JJORGE_i586</p>
<p>JJORGE_noarch</p>
<p> </p>
<p>In the upper left corner click "File" / "Update" (or just "CTRL+U"). This will update your new media sources.</p>
<p> </p>
<p>Now click "OK" to return to the "Mandriva Linux Control Center - Software Management" screen. Click "Install and Remove Software".</p>
<p> </p>
<p>In the upper left corner of the screen you will see a drop-down box typically set to the default of "Packages with GUI". Change this to "All". (THIS IS IMPORTANT - otherwise for some reason it won't display "kMyMoney" as an available package)</p>
<p> </p>
<p>Now in the "Find" field type "kMyMoney2" and hit Enter. "kmymoney2" should now appear as a package available for you to install!</p>
<p> </p>
<p>Click the check box by "kmymoney2" and then the "Apply" button.</p>
<p> </p>
<p>You will then be prompted to select either the "Flash", "Free", "One" or "Powerpack-kde-config-2009.0-8mdv2009.0.noarch" Clicking any of these should work.</p>
<p> </p>
<p>A dialog box titled "Additional packages needed" will appear listing several packages that will need to be installed. Click "OK". Then click "Apply".</p>
<p> </p>
<p>Another dialog box titled "Confirmation" will appear listing the several packages that will be installed. Click "Yes". The packages will then download and install themselves.</p>
<p> </p>
<p>Unfortunately, although installed, "kMyMoney" will not appear in your menu or on your desktop. But the executable file is located at "/opt/kde3/bin/kmymoney2".</p>
<p> </p>
<p>To create a link to "kMyMoney" on your desktop, move your mouse to an empty spot on your desktop and right click. In the menu that appears, click "Create New" / "Link to Application". Another menu will appear. Click the "Application" tab, then click the "Browse" button (by the "Command" field"). Now click "Root" and locate "/opt/kde3/bin/kmymoney2" then click "Open" (or you can just paste "/opt/kde3/bin/kmymoney2" into the field).</p>
<p> </p>
<p>Now click the "General" tab and change the title from "Link to Application" to "kMyMoney". You will also see an icon to the left that appears like a piece of paper with a blue question mark. Click this icon. This will display a new menu where you can locate and select the "kMyMoney" icon ("System icons" - "Applications"). Click "OK"</p>
<p> </p>
<p>You should now have a linked icon to "kMyMoney" on your desktop! If the icon doesn't display properly - or if you can't locate it (this is a problem on some computers) try refreshing your desktop and/or reboot. This often solves the problem.</p>
<p> </p>
<p>-------</p>
<p>Mandriva 2010.0 Updates un-install kMyMoney</p>
<p>-------</p>
<p>After getting kMyMoney working, "Mandriva Update" will periodically want to remove kMyMoney in order to update certain "Mandriva specific" files. So far these include:</p>
<p>mandriva-kde4-config-common</p>
<p>mandriva-kdm4-config</p>
<p>powerpack-kde4-config</p>
<p> </p>
<p>The exact warning message is:</p>
<p>----------------------------------</p>
<p>The following packages have to be removed for others to be upgraded:</p>
<p>kdelibs3-common-3.5.10-11mdv2009.1.i586</p>
<p>(due to missing kde-config-file,</p>
<p>due to missing libkdecore.so.4,</p>
<p>due to missing libkdeinit_kconf_update.so,</p>
<p>due to missing libknewstuff.so.1,</p>
<p>due to missing libkdeinit_kaddprinterwizard.so,</p>
<p>due to missing libkdeinit_kcmshell.so,</p>
<p>due to missing libkdeinit_kio_http_cache_cleaner.so,</p>
<p>due to missing libkdeui.so.4,</p>
<p>due to missing libkdeinit_kio_uiserver.so,</p>
<p>due to missing libkdeinit_kded.so,</p>
<p>due to missing libkdeinit_kcookiejar.so,</p>
<p>due to missing libkdeinit_kbuildsycoca.so,</p>
<p>due to missing libDCOP.so.4,</p>
<p>due to missing libkdefakes.so.4,</p>
<p>due to missing libkdeinit_dcopserver.so,</p>
<p>due to missing libkabc.so.1,</p>
<p>due to missing libkdeinit_cupsdconf.so,</p>
<p>due to missing libkdeinit_klauncher.so,</p>
<p>due to missing libkparts.so.2,</p>
<p>due to missing libkio.so.4,</p>
<p>due to missing libkunittest.so.1)</p>
<p>kmymoney2-1.0.2-1abd2009.1.i586</p>
<p>(due to missing libkdecore.so.4,</p>
<p>due to missing libkdeui.so.4,</p>
<p>due to missing libkhtml.so.4,</p>
<p>due to missing libDCOP.so.4,</p>
<p>due to missing libkabc.so.1,</p>
<p>due to missing libkutils.so.1,</p>
<p>due to missing libkio.so.4,</p>
<p>due to unsatisfied libkmymoney20 == 1.0.2-1abd2009.1,</p>
<p>due to missing libkmm_mymoney.so.5,</p>
<p>due to missing libkmm_kdchart.so.0,</p>
<p>due to missing libkmm_plugin.so.0)</p>
<p>libkdecore4-3.5.10-11mdv2009.1.i586</p>
<p>(due to unsatisfied kdelibs3-common == 30000000:3.5.10-11mdv2009.1)</p>
<p>libkmymoney20-1.0.2-1abd2009.1.i586</p>
<p>(due to missing libkdecore.so.4,</p>
<p>due to missing libkdeui.so.4,</p>
<p>due to missing libkio.so.4)</p>
<p>----------------------------</p>
<p> </p>
<p>This is because Mandriva 2010.0 "wants" to remove everything prior to KDE4. But this is not a problem.</p>
<p> </p>
<p>If you proceed with this update, afterward simply return to the "Mandriva Linux Control Center - Software Management" screen. Click "Install and Remove Software". Then select and re-install "kMyMoney2" from the list (which should still be intact). This should re-establish your desktop (menu) links - and kMyMoney should once again work. :-)</p>
<p> </p>
<p> </p>
<p>----------------------------------------------------------</p>
<p>MANY thanks to JosÃ© Jorge for the URPMI media sources!!!</p>
<p>I performed the above on my HP G60 Notebook with no problems at all - and on my AMD desktop (with the minor display problems described above). Please consider posting these instructions on other forums so that Mandriva 2010.0 users can continue to enjoy kMyMoney.</p>
<p> </p>
<p> </p>
<p><span style="font-size:8px;">[moved from Software by spinynorman - welcome aboard :)]</span></p>
]]></description><guid isPermaLink="false">95753</guid><pubDate>Thu, 26 Nov 2009 16:58:24 +0000</pubDate></item><item><title>Upgrading to KDE 4.3.2</title><link>https://mandrivausers.org/index.php?/topic/93433-upgrading-to-kde-432/</link><description><![CDATA[
<p>I was running 2009.1 with KDE 4.2.4</p>
<p> </p>
<p>Well I did it.  It took me awhile to figure out what I should do, and even longer to hit the GO button....but it worked.  Kopete quit, but I got it fixed.  It is much faster!!!  Lots of changes.</p>
<p> </p>
<p>STEP 1:</p>
<p> </p>
<p>NOTE: Copy the text below to a text editor or even the address bar.  Remove the $ from them(ftp$).  I did that so the board would not see it as a URL and shorten it.</p>
<p> </p>
<p>I added media sources (copy these to a console, I did this all in KDE as root). These are one line each.  Copy the first 3 lines all at once and then the second 3 lines all at once.  Just remove the $</p>
<p> </p>
<p>urpmi.addmedia KDE4.3.2NOARCH ftp$://ftp.pbone.net/mirror/ftp.kde.org/pub/kde/stable/4.3.2/Mandriva/2009.1/noarch/media/kde43/ with media_info/hdlist.cz</p>
<p> </p>
<p>urpmi.addmedia KDE4.3.2MAIN ftp$://ftp.pbone.net/mirror/ftp.kde.org/pub/kde/stable/4.3.2/Mandriva/2009.1/i586/media/kde43/ with media_info/hdlist.cz</p>
<p> </p>
<p>STEP 2:</p>
<p> </p>
<p>In a console type: drakrpm-edit-media --expert </p>
<p> </p>
<p>This is to allow ticking update in the media manager for the two new sources so it will know to check for updates in them. Go to media manager and check Update for the two new sources.</p>
<p> </p>
<p>Go to update and it should list the KDE 4.3.2 updates for your system and what you have installed.</p>
<p> </p>
<p>STEP 3:</p>
<p> </p>
<p>Hit update!</p>
<p> </p>
<p>This was a pain because it said the packages had no key and kept asking do you want to install anyway.  Hit yes.  You have to baby sit it.  I didn't know how to fix this so I hung in there till done.</p>
<p>******************************</p>
<p>How to fix Kopete:</p>
<p> </p>
<p>I had very little trouble.  To fix kopete find (google) these:</p>
<p> </p>
<p>pidgin-plugins-2.6.2-4mdv2010.0.i586.rpm</p>
<p> </p>
<p>libortp8-0.15.0-1mdv2009.1.i586.rpm</p>
<p> </p>
<p>I installed them one at a time after the upgrade and a full reboot, in the order they are listed.</p>
<p>When you install the second one it will get a couple more dependencies (insert your DVD) but Kopete worked after that.</p>
<p>******************************</p>
<p> </p>
<p> </p>
<p>I'm no expert but I did upgrade KDE years ago, to 3.1 from 2.x I believe.  I got help here to do that so I thought I'd post this to help some of you out.  I hope it works.  I have no serious problems that I know of.  It boots and Kopete was the only thing that broke that I can find.</p>
<p> </p>
<p>GOOD LUCK!  You'll love the speed, especially if your on an older machine like mine (Athlon 1800+).</p>
<p>It really makes a difference!</p>
<p> </p>
<p> </p>
<p><span style="font-size:8px;">[moved from Software by spinynorman]</span></p>
]]></description><guid isPermaLink="false">93433</guid><pubDate>Mon, 12 Oct 2009 11:41:02 +0000</pubDate></item><item><title><![CDATA[Dynamic Twinview & Refresh Rate]]></title><link>https://mandrivausers.org/index.php?/topic/93313-dynamic-twinview-refresh-rate/</link><description><![CDATA[
<p>I just installed Mandriva 2009.1 and it wouldn't retain the screen refresh rate.  When I went to the Nvidia display settings and clicked on X Server Display Configuration I got an error "Dynamic Twinview not enabled.</p>
<p> </p>
<p>Go to configure your computer, hardware, setup the graphical server, select options and select enable duplicate display on the second display.  Log out and back in.  Now go back to Nvidia display settings and it will give you the option to set the refresh rate.</p>
<p> </p>
<p>Hope this helps someone.  I played with config files and everything...</p>
<p> </p>
<p>But this worked.</p>
]]></description><guid isPermaLink="false">93313</guid><pubDate>Sat, 10 Oct 2009 21:28:05 +0000</pubDate></item><item><title>Mandriva 2009.1 with KDE 3.5.10 how-to</title><link>https://mandrivausers.org/index.php?/topic/83894-mandriva-20091-with-kde-3510-how-to/</link><description><![CDATA[
<p>As there are still many people who prefer KDE 3.5 as their default DE I thought it was important enough to summarize the various posts about this into a dedicated thread.</p>
<p> </p>
<p><strong>how to do a new 2009.1 install with KDE 3.5.10:</strong></p>
<p> </p>
<p>This is what I did:</p>
<p>- installed Mandriva 2009.1 from the Free dual arch ISO with LXDE as desktop environment</p>
<p>- added all repositories (official and plf) with <a href="http://easyurpmi.zarb.org/" rel="external nofollow">http://easyurpmi.zarb.org/</a></p>
<p>- opened a root console</p>
<p>- typed: urpmi task-kde3</p>
<p>- after that, at the next login I had the choice of KDE at the gdm login screen and selecting this fired up the great beloved KDE 3.5.10 desktop!</p>
<p> </p>
<p><a href="https://mandrivausers.org/index.php?showtopic=83804&amp;view=findpost&amp;p=603444" rel="external nofollow">https://mandrivausers.org/index.php?showtop...st&amp;p=603444</a></p>
<p> </p>
<p><strong>how to do an upgrade to 2009.1 keeping your KDE 3.5 desktop:</strong></p>
<p> </p>
<p>  Upgrading from previous releases</p>
<p> </p>
<p>Please note that if you use the Free or Powerpack editions to do an upgrade install from a previous Mandriva Linux release, KDE 3 - if installed - will be replaced by KDE 4, and your personal KDE settings and customizations will be lost. If you do not want this to happen, we recommend you either use the installer's ability to add internet repositories prior to doing the upgrade, or do a network installation, or use the newly-introduced ability of Mandriva Online (the Mandriva update notification applet) to perform upgrades from one release to the next. Using any of these methods, the upgrade process will have KDE 3 packages available, and your upgraded Mandriva Linux 2009 Spring system will have KDE 3 and your personal settings preserved. </p>
<p><a href="http://wiki.mandriva.com/en/2009.1_Notes#Upgrading_from_previous_releases" rel="external nofollow">http://wiki.mandriva.com/en/2009.1_Notes#U...evious_releases</a></p>
<p> </p>
<p> </p>
<p><span style="font-size:8px;">[moved from Software by spinynorman]</span></p>
]]></description><guid isPermaLink="false">83894</guid><pubDate>Thu, 30 Apr 2009 14:11:05 +0000</pubDate></item><item><title>Edimax EW-7711UTN &#xC2;&#xA3;10.99 from Play: Recommended</title><link>https://mandrivausers.org/index.php?/topic/90113-edimax-ew-7711utn-%C3%A2%C2%A31099-from-play-recommended/</link><description><![CDATA[
<p>Hi,</p>
<p> </p>
<p>Just in case somebody is looking for a usb wifi dongle to complement a system, the Edimax WiFi nLite Mini-Size Wireless N USB Adapter for Â£ 10.99 works OTB with Mandriva 2009.1. I just installed it on my Asrock nettop Ion 330 and all it needed was the wap rpm to connect to my network. The speed is very impressive, and the "N" standard makes it quite future proof. </p>
<p> </p>
<p>The device is recognised as a rt2870sta and works perfectly out of the box,</p>
<p> </p>
<p>Highly recommended!</p>
<p> </p>
<p>Stef</p>
<p> </p>
<p> </p>
<p><span style="font-size:8px;">[moved from Hardware by spinynorman]</span></p>
]]></description><guid isPermaLink="false">90113</guid><pubDate>Sat, 15 Aug 2009 09:25:22 +0000</pubDate></item><item><title>Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI</title><link>https://mandrivausers.org/index.php?/topic/89883-realtek-semiconductor-co-ltd-rtl81118168b-pci/</link><description><![CDATA[
<p>Guys,</p>
<p> </p>
<p>It has been more then 3 years since the kernel driver is not working for Realtek chip.</p>
<p> </p>
<p>During the Mandriva installation on 64bit system I've spent a couple of days trying to find out, where the problem comes from.</p>
<p> </p>
<p>As for now I know it for sure the problem was r8169.ko driver for those cards which is not working for unknown reason.</p>
<p> </p>
<p>For all who has same card you have to do following steps to turn your network on.</p>
<p> </p>
<p>1. Download the last driver from Realtek web site.</p>
<p>2. Install either the kernel sources or just a devel version.</p>
<p>3. Build a driver module according to the instruction given in README file for driver</p>
<p>4. Remove or blacklist the old driver.</p>
<p>5. Don't forget to build the new initrd file with mkinird the_name_in_your_/boot_folder kernel_version</p>
<p>5.1. Before that remove or copy somewhere else the old initrd file.</p>
<p> </p>
<p>Without the last step the new driver won't work!</p>
<p> </p>
<p> </p>
<p>P.S. Actually I'm wondering how long one has to do all these things instead of using the proper driver supplied with a kernel...</p>
<p> </p>
<p>So far I know it's open source...</p>
<p> </p>
<p> </p>
<p><span style="font-size:8px;">[moved from Networking by spinynorman]</span></p>
]]></description><guid isPermaLink="false">89883</guid><pubDate>Sun, 09 Aug 2009 14:45:27 +0000</pubDate></item><item><title>Proximodo - Compile HowTo</title><link>https://mandrivausers.org/index.php?/topic/24063-proximodo-compile-howto/</link><description><![CDATA[
<p>Over the past few months I have posted several queries as I struggled to compile Proximodo on MDK10.1. My first successful compile took nearly three months.  Now I can edit a source file, compile, link and run Proximodo in a few minutes  <img src="https://mandrivausers.org/uploads/emoticons/default_18.gif" alt=":lol2:" data-emoticon="" /></p>
<p> </p>
<p>I have attached a HOW TO explaining how to compile  Proximodo.</p>
<p> </p>
<p>As an aside, I have just been reading another thread  that mentioned -devel versions of libraries. It is now obvious to me now - but wasn't for a long time - that if you are compiling from source you must have the -devel versions of dependant libraries because the compiler will need the header files.</p>
<p> </p>
<p>Now that I have Proximodo  running I have made a permanent change to Linux. It is several weeks since I last booted to XP and I cannot think of any reason why I will need to do so in the near future. It has been a long and, at times, frustrating journey. It is a year  since I went into my local electronics retailer and purchased my first MDK distro CD for $2.  </p>
<p> </p>
<p>I think that I have graduated from the newbie class of '04 B)</p>
<p><a href="https://mandrivausers.org/applications/core/interface/file/attachment.php?id=1532" data-fileid="1532" rel="">Compile_Proximodo_mdk101.txt</a></p>
]]></description><guid isPermaLink="false">24063</guid><pubDate>Wed, 30 Mar 2005 03:07:31 +0000</pubDate></item><item><title>Pidgin and Yahoo!</title><link>https://mandrivausers.org/index.php?/topic/87303-pidgin-and-yahoo/</link><description><![CDATA[<p>The server is now '<strong>cn.scs.msg.yahoo.com</strong>' for now anyways. <img src="https://mandrivausers.org/uploads/emoticons/default_mad.gif" alt=":angry:" data-emoticon="" /></p>]]></description><guid isPermaLink="false">87303</guid><pubDate>Tue, 23 Jun 2009 14:02:39 +0000</pubDate></item><item><title>Hugin won't call enblend</title><link>https://mandrivausers.org/index.php?/topic/86203-hugin-wont-call-enblend/</link><description><![CDATA[
<p>The joys of 2009.0 continue...</p>
<p>After upgrade, hugin fails to stitch panoramas together, it goes through all the motions of loading the photos, letting you allocate control points, previewing the panorama and even mapping each photo to the separate tiffs, but then fails at the last step, calling enblend to merge the photos together.</p>
<p>If you look at the command window, what it actually tries to call is something like "false -compression NONE -o output.tif ..." and the other parameters which should get given to enblend.  So why does it try to call "false" instead of "enblend"?  Yes I have enblend installed, and it's at /usr/bin/enblend, quite easy to find.  It seems to be a bug in hugin though, related to the user config (which worked fine for the previous version of hugin).  If you call the same command from the console but with "enblend" instead of "false", it works, and you don't have to redo all your point clicking!</p>
<p> </p>
<p>I found out how to fix it, you have to edit your ~/.hugin file.  You could delete this file and let hugin create a new one (apparently you have to go into preferences and click "OK" - don't click "Cancel"!  Or another way is just to add a line in the .hugin file, in the [Enblend] section:</p>
<p>Instead of </p>
<pre class="ipsCode">EnblendExe=enblend</pre>
<div></div>
<p> you need to change this to </p>
<pre class="ipsCode">EnblendExe=enblend
Exe=enblend</pre>
<div></div>
<p>(if he doesn't listen first time, you gotta tell him twice! ;) )</p>
<p> </p>
<p>There are also funny magnifier things obscuring the view on the control point dialog now, getting in the way of what I want to see, but I guess I'll get used to that.</p>
<p> </p>
<p>Did I already mention I wish I'd stuck with 2008.1?  <img src="https://mandrivausers.org/uploads/emoticons/default_wall.gif" alt=":wall:" data-emoticon="" /></p>
<p> </p>
<p> </p>
<p><span style="font-size:8px;">[moved from Software by spinynorman]</span></p>
]]></description><guid isPermaLink="false">86203</guid><pubDate>Fri, 05 Jun 2009 12:19:11 +0000</pubDate></item><item><title>Convert videos to 3gp for mobile phones</title><link>https://mandrivausers.org/index.php?/topic/83704-convert-videos-to-3gp-for-mobile-phones/</link><description><![CDATA[
<p>This mencoder command line will convert videos to the 3gp format used in many mobile phones.  Be sure to adjust the crop parameters as appropriate for the source video.</p>
<p></p>
<pre class="ipsCode">mencoder -vf crop=374:306:69:43,scale=176:144,hqdn3d=4:3:6 -af channels=1,resample=8000:0:2 -srate 8000 -oac lavc -ovc lavc -lavcopts vcodec=h263:mbd=2:vbitrate=160:acodec=libamr_nb:abitrate=12200 -of lavf -o out-file.3gp in-file.flv</pre>
<div></div>
<p></p>
<p>A similar conversion can be done with ffmpeg:</p>
<p></p>
<pre class="ipsCode">ffmpeg -i in-file.mpeg -s qcif -vcodec h263 -acodec libfaac -ac 1 -ar 8000 -ab 32000 out-file.3gp</pre>
<div></div>
<p></p>
]]></description><guid isPermaLink="false">83704</guid><pubDate>Mon, 27 Apr 2009 18:37:31 +0000</pubDate></item><item><title>Installing Mandriva with Software RAID</title><link>https://mandrivausers.org/index.php?/topic/30591-installing-mandriva-with-software-raid/</link><description><![CDATA[
<p>I was figuring this all out yesterday, since I was having reliability problems with one of my machines.  When you boot to install the operating system, there are no immediate options for configuring software RAID arrays.  Just the basic partitioning schemes.</p>
<p> </p>
<p>Whilst software RAID probably isn't the most popular, since hardware RAID is much preferred, I don't currently have the technology in my machine to do this.  So, I used software RAID, and have submitted this HOWTO for anyone who wants to use it.</p>
<p> </p>
<p>First, you'll need more than one hard disk.  Both mine are IDE, the first is a 20GB disk, and the second is a 160GB disk.  Since you cannot partition it during the installation process, you'll have to create the partitions manually.  This is a simple task, and requires the use of a utility called "fdisk".  As an example, I've listed my hard disk partitions below, the blocks that they utilise, and the effective rough size in MB/GB.</p>
<p> </p>
<p>This HOWTO has been written for RAID1, but can equally apply for RAID5 as well.</p>
<p> </p>
<p></p>
<pre class="ipsCode">/dev/hda1 = blocks 1-12 = 100MB
/dev/hda2 = blocks 13-2434 = 19.9GB

/dev/hdb1 = blocks 1-125 = 1GB
/dev/hdb2 = blocks 126-2547 = 19.9GB
/dev/hdb3 = blocks 2548-end = 138GB</pre>
<div></div>
<p></p>
<p> </p>
<p>/dev/hda1 has been created because the boot section needed to be outside of the RAID array, therefore this will be mounted as "/boot".</p>
<p> </p>
<p>/dev/hda2 will be mounted as "/" and will be utilised as part of the RAID array.  The equivalent partition that it will be mirrored with is /dev/hdb2.</p>
<p> </p>
<p>/dev/hdb1 is swap, and isn't being mirrored.  Neither is my /home mountpoint, since this is larger than the rest of the space I have.  If I had 2 x 160GB drives in my system, then everything would have been mirrored.</p>
<p> </p>
<p><strong>Creating the partitions</strong></p>
<p> </p>
<p>Boot from the Mandriva CD/DVD and press F1.  Type "linux rescue" at the prompt.  Afterwards, you should get a menu, and choose the option to go to the command line.</p>
<p> </p>
<p>For options on what commands to use in fdisk, press "m" once within the program.  However, the basics are:</p>
<p> </p>
<p></p>
<pre class="ipsCode">n = create new partition
d = delete existing partition
p = show existing partitions
w = save and exit
q = exit without saving</pre>
<div></div>
<p></p>
<p> </p>
<p>Since, I have two hard disks, the commands to use with fdisk, are as follows:</p>
<p> </p>
<p></p>
<pre class="ipsCode">fdisk /dev/hda
fdisk /dev/hdb</pre>
<div></div>
<p></p>
<p> </p>
<p>after one of these commands has been ran, you can then use the menu options I listed above.  Now, my full example:</p>
<p> </p>
<p></p>
<pre class="ipsCode">fdisk /dev/hda
n - to create new partition
p - to choose primary rather than extended
1 - if prompted for which primary partition type 1.
press enter for the start block, as we will use the default.
+100M (this is to select 100MB partition, easier than figuring out equivalent in blocks which is 1-12)
n - to create new partition
p - to choose primary
2 - to create 2nd primary partition
press enter for the start block, as we will use the default.
press enter for the end block, as we will use the default.
t - toggle partition type
2 - partition 2
fd - selects auto RAID
w - to save and exit</pre>
<div></div>
<p></p>
<p> </p>
<p>now the 20GB disk has been partitioned as I have above.  Let's do similar for the 160GB, however, we need swap and home on here also.  So:</p>
<p> </p>
<p></p>
<pre class="ipsCode">fdisk /dev/hdb
n
p
1
press enter for default start block
+1024M (1GB swap)
n
p
2
press enter for default start block
2547 (this will equal same size partition for "/" to be mirrored - calculation later)
n
p
3
press enter for default start block
press enter for default end block
t
1
82 (sets for swap file)
t
2
fd
w (to save and exit)</pre>
<div></div>
<p></p>
<p> </p>
<p>That's the second disk configured, exactly how we want it.  Swap at the beginning, so that it's faster to access.  Then the "/" partition, exactly the same size, followed by /home using the rest of the disk.</p>
<p> </p>
<p>So, how did I work out what size for the partition?  Well, easy really.  On /dev/hda it started at block 13 and finished at 2434.  So, 2434-13=2421 blocks utilised for "/".  On /dev/hdb the partitioning was different, "/" didn't start at block 13.  Therefore, since the swap ended at 125 and this partition starts at 126, we need to work out the end point for this partition.  We know the size is 2421 blocks, so 2421+126=2547, which is the end point, to get the exact same size as the partition on /dev/hda.</p>
<p> </p>
<p><strong>Installation</strong></p>
<p> </p>
<p>Now the installation can be completed, so type "reboot" and press enter, to restart, and boot from the Mandriva CD/DVD again.  This time, press enter to let it boot normally into the installation.</p>
<p> </p>
<p>When you get to partitioning, choose "Custom Partitioning", since we already have done it, so we just need to allocate these to mount points, as well as create the arrays.</p>
<p> </p>
<p>Select the first partition on /dev/hda, and set this to be "/boot" and then set the file system type be it ext2, ext3, reiserfs, etc, etc.  I chose reiserfs, but ext2 or ext3 are just as good here.  Now select the second partition, and create the array, let it use the default of "md0".</p>
<p> </p>
<p>On /dev/hdb, the first partition should be green, and will show as swap, so nothing to do here.  Select the second partition, and you can then choose an option to add this to the existing array.  Select the third partition, and then set this to be "/home" and choose the file system type.</p>
<p> </p>
<p>Click the Advanced button, go to the array tab, and then modify the file system so that it is what you want it to be, be it, ext2, ext3, reiserfs, etc, etc.</p>
<p> </p>
<p>Continue the install, and let all partitions be formatted.  And follow the rest of the installation as you would normally and reboot the system when complete.</p>
<p> </p>
<p><strong>Post Installation</strong></p>
<p> </p>
<p>Now that your system is up and running, you can check the status of your array, by typing this at a terminal prompt:</p>
<p> </p>
<p></p>
<pre class="ipsCode">cat /proc/mdstat</pre>
<div></div>
<p></p>
<p> </p>
<p>this will output on the percentage complete of the array, or whether it's complete and active.  This can take some time depending on the file system/partition size.</p>
<p> </p>
<p>Now you have software raid running on your system.</p>
]]></description><guid isPermaLink="false">30591</guid><pubDate>Wed, 01 Feb 2006 14:54:21 +0000</pubDate></item><item><title>remotely grow and shrink LVM partitions (Mandriva)</title><link>https://mandrivausers.org/index.php?/topic/83474-remotely-grow-and-shrink-lvm-partitions-mandriva/</link><description><![CDATA[
<p>Hello,</p>
<p> </p>
<p>I just did something I thought would be much harder to do, so here I share it, so that you know:</p>
<p>1/ it can be done,</p>
<p>2/ it is not that hard :)</p>
<p> </p>
<p>I wanted to resize the server's LVM partitions, those being /, /home, /var, /usr, /tmp, and /data, in this manner: all partitions had to <em>shrink</em> as much as reasonable, so that <strong>/data</strong> could <em>grow</em> as much as possible.</p>
<p>Constraints:</p>
<p>â€” I only have remote SSH access, so all must be done on the live system (online).</p>
<p>â€” All partitions initially ReiserFS, but I'm not against trying JFS or Ext3 (XFS heavier on the CPU, or so says the Internetâ€¦ and the CPU is an old PIII).</p>
<p> </p>
<p>Initial situation:</p>
<p>/ and /home much too big (1GB available, where disks are 8GB in size)</p>
<p>/home barely used (this server is now mostly for anonymous/ro SMB access)</p>
<p>/usr, /var and /tmp slightly over-sized (especially /tmp)</p>
<p>/data emptied from previous usages of the server, ready for its new mission.</p>
<p> </p>
<p>As it happens, let me say staight away that my biggest surprise was that MCC (diskdrake) manages LVM transparently and does it well!</p>
<p> </p>
<p><strong>1 - Shrink /</strong></p>
<p>This is the only thing that I couldn't find a way to do. ReiserFS can be growed online, but not shrinked, and / cannot be unmountedâ€¦</p>
<p> </p>
<p><strong>2 - Remove /home</strong></p>
<p>Problem: I remotely connect with SSH, so /home is used.</p>
<p>Solution: Just for once, allow remote login for the root user.</p>
<p>I did so (/etc/ssh/sshd_config), restarted sshd, logged out, and back in using root.</p>
<p>Then it's all easy: move /home/* to /, then (with diskdrake) umount and destroy /home, and finally move back /home's former content from / to /home/ (directory, not mount point).</p>
<p>At that point, don't revert yet the change in /etc/ssh/sshd_config about allowing root to login.</p>
<p> </p>
<p><strong>3 - Shrink /var and /tmp</strong></p>
<p>These were the easiest.</p>
<p>First look for processes that use the partitions with</p>
<p></p>
<pre class="ipsCode">lsof | grep /var
lsof | grep /tmp</pre>
<div></div>
<p></p>
<p>Then kill/stop the processes/services that are reported (included sshd if needed; don't forget to restart it after the resize is done).</p>
<p>All else is done with diskdrake: unmount both partitions, shrink them, mount them again.</p>
<p> </p>
<p><strong>4 - Shrink /usr</strong></p>
<p>This was the trickiest bit. /usr is used by diskdrake, and used by localisation, and numerous other running services (among which is sshd), not forgetting lsof itself.</p>
<p>Still, it can be shrinked :)</p>
<p> </p>
<p>You have to login remotely as root (see the /home part) so as to limit the number of processes using the /usr partition.</p>
<p> </p>
<p><em>step A</em> - First, being cautious, I stopped all I could find that was using /usr. To limit the output of lsof, I forced the shell and the commands I ran to a locale-less mode:</p>
<p></p>
<pre class="ipsCode">LC_ALL=C exec bash
LC_ALL=C lsof | LC_ALL=C grep /usr | LC_ALL=C grep -v '^lsof'</pre>
<div></div>
<p></p>
<p>As before, kill/stop the processes/services that are reported (included the sshd <em>service</em> if needed; I reboot soon anyway; just don't logout before the reboot is done).</p>
<p>The only thing I did not remove (I would have been locked out of the system) was the sshd process allowing me to work remotely.</p>
<p> </p>
<p><em>step B</em> - Next, I copied the whole /usr contents to /data/usr (the only place big enough for such a big content):</p>
<p></p>
<pre class="ipsCode">cd /
tar -cf --one-file-system --force-local usr | (cd data &amp;&amp; tar -xvf - --numeric-owner --atime-preserve --preserve --same-owner --force-local)</pre>
<div></div>
<p></p>
<p>Some options may be superflous, but this is the command I use when I want as exact a copy as possible.</p>
<p> </p>
<p><em>step C</em> - Then, I lazilly unmounted /usr and quickly replaced it with a working equivalent:</p>
<p></p>
<pre class="ipsCode">cd /
LC_ALL=C umount -l /usr
LC_ALL=C mv usr usr.old
LC_ALL=C ln -s data/usr usr</pre>
<div></div>
<p></p>
<p>I then edited /etc/fstab so that the /usr mount point becomes /usr.old instead, and rebooted (â€œrebootâ€ command).</p>
<p> </p>
<p><em>step D</em> - With root login still allowed, I logged in as root, and re-did step A.</p>
<p>Then I ran â€œdiskdrakeâ€ to unmount /usr.old and shrink it. In my case, as I spotted a corrupted directory at the whole-copy-with-tar stage, I also changed the FS type to Ext3 (just to see if it allowed online shrinking: it does not), and formatted with disk check. /usr.old must then be mounted again.</p>
<p>Back at the command-line, I put the data back in the partition:</p>
<p></p>
<pre class="ipsCode">cd /data/usr
tar -cf - --one-file-system --force-local . | (cd /usr.old/ &amp;&amp; tar -xvf - --numeric-owner --atime-preserve --preserve --same-owner --force-local)</pre>
<div></div>
<p></p>
<p>Finally, I edited /etc/fstab so that /usr.old becomes /usr again. And I ran these commands:</p>
<p></p>
<pre class="ipsCode">cd /
umount usr.old
rm -f usr
mv usr.old usr
reboot</pre>
<div></div>
<p></p>
<p> </p>
<p><strong>4 - Grow /data</strong></p>
<p>That's the easiest part. If you went that far, no more explanations are needed. It can even be done online with ReiserFS, in theory.</p>
<p>I did not do it online, though, because I took the opportunity to try and format this partition with JFS, just to see if it allowed online shrinking: it does not. diskdrake doesn't even allow offline resizing with this filesystem! I switched back to ReiserFS.</p>
<p> </p>
<p>At this stage, two last things can be done:</p>
<p>â€” revert the change on /etc/ssh/sshd_config so that remote root login isn't allowed anymore;</p>
<p>â€” â€œrm -rf /data/usrâ€, unless you formatted the partition.</p>
<p> </p>
<p> </p>
<p>That's all. I hope this will help others.</p>
<p> </p>
<p>Yves.</p>
]]></description><guid isPermaLink="false">83474</guid><pubDate>Thu, 23 Apr 2009 09:10:10 +0000</pubDate></item><item><title>Step by step beginners guide - installing + others</title><link>https://mandrivausers.org/index.php?/topic/62104-step-by-step-beginners-guide-installing-others/</link><description><![CDATA[
<p>I'm a total technonumptie but I have made a few step by step guides with screen shots. Starting with installing Mandriva Free Spring 2008 64 Bit and then some other guides for installing and configuring software. Maybe some folk will find them useful.</p>
<p> </p>
<p>They can be found here,</p>
<p> </p>
<p><a href="http://www.pcreview.co.uk/forums/thread-3522034.php" rel="external nofollow">http://www.pcreview.co.uk/forums/thread-3522034.php</a></p>
<p> </p>
<p> </p>
<p> :D B)  </p>
<p> </p>
<p>Note to moderators , if you think these are of use but in the wrong place or need another topic title , feel free to alter or move .</p>
<p> </p>
<p>Thanks.</p>
<p> </p>
<p> :)</p>
]]></description><guid isPermaLink="false">62104</guid><pubDate>Sun, 29 Jun 2008 00:23:38 +0000</pubDate></item><item><title>ITV Player (UK only)</title><link>https://mandrivausers.org/index.php?/topic/82374-itv-player-uk-only/</link><description><![CDATA[
<p>(This workaround's been around since last Autumn, but since I've seen mention of BBC iPlayer here but none of ITV player, thought I'd give it a quick mention)</p>
<p> </p>
<p>Preamble:</p>
<p> </p>
<p>In the past couple of years, the BBC, ITV and Channel 4 have launched web-based video-on-demand offerings, allowing you to catch up with programmes you've missed (as long as you're using a UK IP address). However, whereas the BBC and Channel 4 opted to use a Flash-based solution, ITV decided to "upgrade" to Silverlight. And have also coded their pages in such a way that although the "Install Silverlight" link will take you to the Moonlight installation page, it still claims Silverlight isn't installed. There have also been reports from Windows users (who could theoretically use it) that it frequently pauses for buffering, and doesn't allow you to skip forwards or backwards (probably so you can't skip the adverts!).</p>
<p> </p>
<p>Workaround solution:</p>
<p> </p>
<p>Whilst reading an ITV forum on issues with ITV Player ( <a href="http://forums.itv.com/1/626841/ShowThread.aspx" rel="external nofollow">http://forums.itv.com/1/626841/ShowThread.aspx</a> ), I chanced upon an unofficial third party workaround involving a Firefox plugin - <a href="http://chris.orr.me.uk/caughtup/" rel="external nofollow">http://chris.orr.me.uk/caughtup/</a></p>
<p>Somehow this channels content via his site, where it is converted into a playlist of WMV streams (minus the adverts), which are played in your system's default media player. Interestingly, while ITV have taken steps to remove its listing from Firefox Addons, they don't appear to have taken out any action against Christopher Orr himself...yet.</p>
]]></description><guid isPermaLink="false">82374</guid><pubDate>Thu, 02 Apr 2009 12:21:46 +0000</pubDate></item><item><title>regular expressions in rpmdrake 'Find'</title><link>https://mandrivausers.org/index.php?/topic/82274-regular-expressions-in-rpmdrake-find/</link><description><![CDATA[
<p>I just found out by chance that 'rpmdrake' (the default Mandriva package manager) supports Perl regular expressions in it's 'Find' entry field, too!</p>
<p> </p>
<p>For example entering the following in the search field:</p>
<p></p>
<pre class="ipsCode">^kernel.*latest</pre>
<div></div>
<p></p>
<p>will find all packages that start with 'kernel' (^kernel) then contain any random characters (.*), followed by 'latest'.</p>
<p> </p>
<p>I guess that's because 'rpmdrake' is written in Perl.</p>
<p> </p>
<p>Just thought this knowledge might be useful to someone else too.</p>
]]></description><guid isPermaLink="false">82274</guid><pubDate>Tue, 31 Mar 2009 03:03:44 +0000</pubDate></item><item><title>Linux Disk encryption in 2 easy steps</title><link>https://mandrivausers.org/index.php?/topic/81004-linux-disk-encryption-in-2-easy-steps/</link><description><![CDATA[
<p>I have written a mini how-to about disk encryption, it's not meant to be in-depth or comprehensive but rather short and to the point, to allow anyone with a minimum of Linux devices knowledge to create  encrypted memory sticks, USB disks, or partitions in minutes.</p>
<p> </p>
<p><a href="http://www.linuxtech.net/tips+tricks/linux_disk_encryption_mini_how-to.html" rel="external nofollow">http://www.linuxtech.net/tips+tricks/linu...ini_how-to.html</a></p>
<p> </p>
<p>I have tested the procedure on Mandriva 2008.1 but it should work on most recent Linux distros.</p>
<p> </p>
<p>It would be great if Mandriva could integrate this into the 'MCC/Local disks/Manage disk partitions' tool, but until then, the CLI is the only way to do this that I'm aware of.</p>
<p> </p>
<p>Any comments are welcome!</p>
]]></description><guid isPermaLink="false">81004</guid><pubDate>Sun, 08 Mar 2009 16:31:22 +0000</pubDate></item><item><title><![CDATA[Going from 32 to 64 bits: What to expect & know]]></title><link>https://mandrivausers.org/index.php?/topic/36478-going-from-32-to-64-bits-what-to-expect-know/</link><description><![CDATA[
<p>Ok, you know about 32 bits or not, but you are going to install 64 bits mandriva.</p>
<p>So what should you know?</p>
<p> </p>
<p>This is what I have collated to date, maybe some error</p>
<p>feel free to contribute. I DO NOT have a 64 bits yet, doing "homework" on the question.</p>
<p> </p>
<p>If you are a newbie, the advice seems to be to install a 32 bits linux onto your 64 bits processor.</p>
<p>This is possible, and simpler in the short and long term.</p>
<p>The loss of performance is small. </p>
<p> </p>
<p>Updating a 32 bits mandriva to a 64 (instead of doing a full install). Forget about it! bad idea.</p>
<p>Read that not advised to share /home between two Mandy OS (one 32 and one 64, multiboot)</p>
<p>no known rational for that apart that well it is risky. No feedback/experience known</p>
<p> </p>
<p>Mixing 32 and 64 libraries is risky</p>
<p>However, setting 32 bits and 64 repositories for uprmi, is feasible</p>
<p>(Order is important to calculate the dependencies)</p>
<p> </p>
<p>Flash (well maybe we should not use flash at all...) Anyway, solutions/options are</p>
<p>You may have seen this</p>
<p>[root@localhost install_flash_player_7_linux]# ./flashplayer-installer </p>
<p>ERROR: Your architecture, \'x86_64\', is not supported by the </p>
<p>Macromedia Flash Player installer. </p>
<p>Solutions are</p>
<p>- Flashplayer within Konqueror</p>
<p>- Use opera</p>
<p>- Use nspluginwrapper to "translate/bridge" 32 bits macromedia flash libraries/pluggin into firefox  64 bits  nspluginwrapper-i386 </p>
<p>- Avoid any flash (I do)</p>
<p>- Chroot a 32 bit firefox (with all the problems/duplication that creates)</p>
<p> </p>
<p>Firefox:</p>
<p>There is a 64 bits version, but pluggins/extension will lag behind for a while</p>
<p>Consider  nspluginwrapper (Does 64 bits work with it?)</p>
<p> </p>
<p>Java</p>
<p>Alledegly there is a 64 bit JRE. To be confirmed</p>
<p>Azureus (java) Reported to work, depending on versions</p>
<p> </p>
<p>Realplayer / Helix player (Why do you want realplayer... well I ilke trplayer)</p>
<p>lastfm: some report of it not working, and the contrary as well</p>
<p> </p>
<p>wine: well this is 32 bits by definition</p>
<p>Allegedly seen one post saying compilation flags are automatically set to 32 bits and it</p>
<p>compiles beautifully from source on a 64 bits</p>
<p> </p>
<p>Skype (well closed source): </p>
<p>Try openwengo; wait for reversed engineered skype clones</p>
<p>Chroot it</p>
<p> </p>
<p>for oppenofice, 32 bits, and in general</p>
<p>Quote (Translated from Fr) </p>
<p>There is I think a 64, but basically it is a tweaked 32, going to 64 is a lot and lot of recoding allegedly</p>
<p>2) add 5 repositories: main64, contrib64, main32, contrib32, club32. </p>
<p>3) deactivate main64, contrib64 BEFORE installing any 32 bits application. This avoid dependency hell for the 64 bits,</p>
<p>which risk disappearing</p>
<p>4) install firefox, flash, ooffice, java etc. </p>
<p>5) deactivate 32 bits mirrors, reactivate 64 mirrors</p>
<p> </p>
<p>Good to know</p>
<p>urpmi.update -a &amp;&amp; urpmi --auto-select --keep --strict-arch </p>
<p>where --keep so that packages that would uninstall other packages are not used and</p>
<p>--strict-arch to avoid a 32 bits application to be replaced by a 64 and conversely</p>
<p> </p>
<p>mplayer and to have all the win32 codecs (32 by definition), allegedlly </p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="36478" data-ipsquote-contentclass="forums_Topic"><div>
<p><a href="http://www.mplayerhq.hu/design7/news.html:" rel="external nofollow">http://www.mplayerhq.hu/design7/news.html:</a> </p>
<p>svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer </p>
<p>./configure --enable-gui </p>
<p>make </p>
<p>as root make install </p>
<p>Othewise chroot the damn thing from URPMI</p>
<p> </p>
<p>Seen something about install32 prefix, lost from sight</p>
<p>A good chroot tutorial or bash script for mandriva to create a chroot environment</p>
<p>(I have not find one yet)</p>
<p> </p>
<p>What you should (and shouldn't) expect from 64-bit Linux</p>
<p><a href="http://www.linux.com/article.pl?sid=06/09/07/1632253" rel="external nofollow">http://www.linux.com/article.pl?sid=06/09/07/1632253</a></p>
<p> </p>
<p>Installing apps in a 32-bit chroot in AMD64 Debian system</p>
<p><a href="http://www.debian-administration.org/articles/356" rel="external nofollow">http://www.debian-administration.org/articles/356</a></p>
<p> </p>
<p>32-bit browsing in a 64-bit system</p>
<p><a href="http://internet.newsforge.com/article.pl?s...0216&amp;tid=13" rel="external nofollow">http://internet.newsforge.com/article.pl?s...0216&amp;tid=13</a></p>
<p> </p>
<p><span style="font-size:8px;">[moved from Installing Mandriva by spinynorman]</span></p>
</div></blockquote>
]]></description><guid isPermaLink="false">36478</guid><pubDate>Mon, 30 Oct 2006 15:00:37 +0000</pubDate></item><item><title>conky on Eeepc / Mandriva 2009</title><link>https://mandrivausers.org/index.php?/topic/73454-conky-on-eeepc-mandriva-2009/</link><description><![CDATA[
<p>Hi, I did a little howto for an informative conky on the Eeepc 1000H on mandriva 2009, follow the <a href="http://sjaglin.homelinux.org:8090/Joomla/index.php/component/content/article/39-linux/65-conky" rel="external nofollow">link...</a></p>
<p> </p>
<p><img src="http://sjaglin.homelinux.org:8090/Joomla/images/stories/stefs/conkeee.jpg" alt="conkeee.jpg" /></p>
<p> </p>
<p> </p>
<p><span style="font-size:8px;">[moved from Software by spinynorman]</span></p>
]]></description><guid isPermaLink="false">73454</guid><pubDate>Tue, 11 Nov 2008 09:32:29 +0000</pubDate></item><item><title>How to test your RAM memory for defects</title><link>https://mandrivausers.org/index.php?/topic/78994-how-to-test-your-ram-memory-for-defects/</link><description><![CDATA[
<p>I have written a short article on how to test RAM for defects, I hope this can be useful for less experienced PC users experiencing random crashes or lock-ups of their PC, to help track down the cause.</p>
<p> </p>
<p>You can find it here:</p>
<p><a href="http://www.linuxtech.net/tips+tricks/hw_diagnostics-pt1.html" rel="external nofollow">http://www.linuxtech.net/tips+tricks/hw_diagnostics-pt1.html</a></p>
<p> </p>
<p>Comments and suggestions are very welcome!</p>
]]></description><guid isPermaLink="false">78994</guid><pubDate>Tue, 03 Feb 2009 13:02:31 +0000</pubDate></item><item><title>backport of libdvdcss 1.2.10 for mdv 2008.1</title><link>https://mandrivausers.org/index.php?/topic/78864-backport-of-libdvdcss-1210-for-mdv-20081/</link><description><![CDATA[
<p>I have backported the 1.2.10 plf rpm of libdvdcss from Mandriva 2009.0 to 2008.1 (mdv 2008.1 only has 1.2.9), to benefit from the various bugfixes and improvements contained in 1.2.10.</p>
<p> </p>
<p>It's available from my website (still mostly under construction, please excuse the barebones look!):</p>
<p> </p>
<p><a href="http://www.linuxtech.net/downloads/libdvdcss_1.2.10.html" rel="external nofollow">http://www.linuxtech.net/downloads/libdvdcss_1.2.10.html</a></p>
<p> </p>
<p>Hope it can be of use for someone!</p>
<p> </p>
<p> </p>
<p><span style="font-size:8px;">[moved from Software by spinynorman]</span></p>
]]></description><guid isPermaLink="false">78864</guid><pubDate>Sun, 01 Feb 2009 08:09:06 +0000</pubDate></item><item><title>Best TV card for Linux WinFast TV2000 XP Expert</title><link>https://mandrivausers.org/index.php?/topic/77804-best-tv-card-for-linux-winfast-tv2000-xp-expert/</link><description><![CDATA[
<p>Configuration - no, sorry oups in tvtime should switch to the stereo audio to be enjoying the sound.</p>
<p>Reviewed on Mandriva Cooker 2009</p>
<p>.....Lex</p>
<p> </p>
<p>ps.</p>
<p>Do not forget to tune the channel!</p>
<p> </p>
<p> </p>
<p><span style="font-size:8px;">[moved from Hardware by spinynorman]</span></p>
]]></description><guid isPermaLink="false">77804</guid><pubDate>Mon, 12 Jan 2009 20:32:48 +0000</pubDate></item><item><title>How (and why) I learned to live with Xfce</title><link>https://mandrivausers.org/index.php?/topic/77934-how-and-why-i-learned-to-live-with-xfce/</link><description><![CDATA[
<p>How (and why) I learned to live with Xfce.</p>
<p> </p>
<p>I will deal with the why first because that is easy to explain.</p>
<p> </p>
<p>In my Linux life I was 'weaned' on KDE and loved it. That love stopped abruptly with KDE4. I won't go into the reasons for that here, I have said enough on that subject, just suffice to say that for now and I far as I can see into the future I do not want it on my computer in any way, shape or form, not even it's libraries if I can avoid them.</p>
<p> </p>
<p>That decision left me with a problem because I don't like Gnome either. Granted it is a lot better than KDE4 but still not to my tastes and why anyone considers it to be 'easy' to use is beyond me. I could have stuck with KDE3 of course as it is still far and away the best option, but that is changing rapidly, more on that later.</p>
<p> </p>
<p>So that meant I had to look very seriously at Xfce. Initially I could not really come to terms with it either, the biggest problem I faced being file management utilities. I have never been happy with any of the default file management utils on any of the main desktop environments (ironically I find the best of a bad bunch to be Dolphin the KDE4 file manager! - every cloud has a silver lining so the saying goes - but even if I were willing to use the rest of KDE4 I still wouldn't use Dolphin by default). My solution to this for a long time now has been Krusader, it is (or was) simply superb.  Unfortunately this is no longer the case. In their headlong rush to make Krusader compatible with KDE4 they have ruined it on KDE3. If I install the latest version of Krusader on a KDE3 based system it rather inconveniently erases the contents of every file that I open in root mode (and root mode is one of the best reasons for using Krusader). Thunar is no worse nor better than Nautilus and Konqueror, in my opinion none of them are good enough. So for a while there I was completely stuck. My interim solution was to install Xfce on top of a KDE4 install, which then allowed me to use Krusader without erasing all my files every time I opened them, but that meant I had to suffer all the largely superfluous KDE4 libraries with their massive amounts of updates, 'polluting' my system and I didn't want that.</p>
<p> </p>
<p>But I found a solution to that particular problem and several others,  and that leads me on to the main point of this post, the 'How' part in the title. </p>
<p> </p>
<p>1) File Management.</p>
<p> </p>
<p>As I said above this was one of the biggest problems for me. It was solved very simply and easily when someone introduced me to Xfe. Two things to say about Xfe, the first is that it is not the same as 'Xfce' and (as far as I know) has very little to do with it. The second is that Xfe is not as good as Krusader, but it has about 80%-85% of Krusader's functionality, and it doesn't erase your files when you open them so that is a distinct advantage. It takes a little bit of getting used to but it is not that difficult, and it is platform independent.</p>
<p> </p>
<p>1a) Kdiff3</p>
<p> </p>
<p>Really part of file management this. Krusader has a function in it's menus that provide a direct link to kdiff3 (or any other compatible differences utility)  that enables you to compare the contents of two files simply by selecting them and clicking on 'compare by content'. This is very useful and is not duplicated in Xfe. In order to get a similar functionality I would recommend a program such as tkdiff. It wont integrate into the file manager and will need to be launched separately. However is extremely light weight and fully functional.</p>
<p> </p>
<p>2) Removeable Media.</p>
<p> </p>
<p>I cannot understand why everyone else is not as concerned about this as I am. When I plug in a removeable drive I want to be told that it is present - I do not EVER want it to be automounted (because that drastically increases the probability that I will forget to unmount it again later). When I manually mount that drive I want to be told that it is mounted and I want that indication to remain visible for as long as the drive remains mounted (and no matter whatever else I am doing, so desktop icons are worthless, they will be covered by application windows).I also want the opportunity to unmount it again preferably from the same indicator that performs the other functions. KDE3's Removable Media applet did this perfectly and should be the benchmark that all other DE's follow.</p>
<p> </p>
<p>OK so you are going to ask me "Why is this so essential?" Well, I have already destroyed 2 removeable media devices in my life and I don't want to destroy any more. Let me define 'destroy'. Destroy does not mean 'lose data'(although that certainly happens), destroy means - render totally inoperative, so inoperative that not even low level formatting tools like 'fdisk' are capable of writing a file system to the device - in other words you bin it. Now you might tell me that this is impossible, but I will beg to differ, because I have done it not once but twice, and I don't want to do it again (and after I discovered KDE3's removeable media applet I never did it again).</p>
<p> </p>
<p>So how to overcome this problem in Xfce? It is a twofold process. First you need the 'Places' plugin. This shows devices that have been plugged in but not mounted in an partly 'greyed out' font, and devices that are plugged in and mounted in a normal font. However it does not visually distinguish when devices are mounted or unmounted without clicking on it first (and this is why KDE4's 'recently plugged devices' is such a worthless waste of space). In order to have that VITAL visual inidication that a device is mounted you also need the 'volstatus' plugin. This does absolutely nothing until a plugged device is mounted, then it presents an icon in the system tray to warn you that you have something plugged and mounted. It also gives you the opportunity to unmount it safely, so all you have to do is to remember to glance at the systray before you unplug devices or shutdown.</p>
<p> </p>
<p>My only criticism of it is visibility. It is a greyish icon on a greyish background. KDE3 Removeable Media applet is far superior in that respect, so about 90% functionality compared to KDE3, but acceptable.</p>
<p> </p>
<p>3)Quicklaunch Toolbar.</p>
<p> </p>
<p>As I said above, 90% of the time, desktop shortcuts are totally worthless because they are covered by application windows. This is why a quicklaunch toolbar or something similar is, for me, an absolutely essential part of a desktop environment.Yes you can use program shortcuts in your taskbar, but in my opinion they take up too much space.</p>
<p> </p>
<p>When I was testing KDE4 I spent literally ages trying to get the quicklaunch toolbar to work. It never worked properly and it was one of the many reasons I gave up on '4'. Having said that, the quicklaunch toolbar in Xfce does work, but is obviously so much of an afterthought that it is not much better. Luckily there is an alternative.</p>
<p> </p>
<p>Xfce (and Gnome as well if you like) provide the opportunity to have more than one panel on a desktop, and also enable you to choose where to put them. I utilised this functionality to replace the quicklaunch toolbar. My solution was to have a second panel on the left hand side of the screen which, by default, was auto hidden. It thus did not occupy any screen space, but was accessible simply by moving the mouse to the left (which is no different to moving it over a quicklaunch toolbar). It is then possible to place as many shortcut buttons as you like (xfce calls them launchers) in this panel, without occupying any real estate on your main taskbar and system tray and they are no more difficult to use than a quicklaunch toolbar. </p>
<p> </p>
<p>Functionality 100%</p>
<p> </p>
<p>4)Kshowmail.</p>
<p> </p>
<p>There are endless Mail clients in Linux, if you use Opera you even get a pretty useful one built into your browser, but none that I could find, with the exception of Kshowmail were capable of reading and deleting mail whilst it was still on the server. In my Windows days I used to use Poptray which has a similar functionality and it is the simplest method of making sure that your machine remains free of email borne viruses whilst ensuring that you miss nothing that a spam filter might wrongly categorise.</p>
<p> </p>
<p>The method I used to overcome this was to open a googlemail account and then to use the excellent checkgmail utility to access it. You don't actually have to use googlemail much at all if you don't want to, you can simply set up a mail forwarding rule to forward a copy of the mail on all your ordinary mail accounts into googlemail, this has another advantage in that you automtically save your email in two separate places and thus are very unlikely to ever lose it. You will also find the that googlemail is quite an impressive service.</p>
<p> </p>
<p>Functionality 100%</p>
<p> </p>
<p>5)Ksnapshot</p>
<p> </p>
<p>Ksnapshot will run on xfce/gnome although it does not behave exactly the same as it does on KDE (specifically when you want to take a screenshot you do not press enter as the popup window suggests you should, if you do the whole thing will freeze, you have to double click with the left mouse button instead). This is how I was operating for a while. The reason I couldn't use the default xfce-screenshooter? It didn't have a 'region' shot mode, which is the only mode I ever use. However I found out later on that the reason it didn't have a 'region' mode was because the version of screenshooter in all the repos was an older version and in fact the later version (must be 1.4.9 or above) does have this function. </p>
<p> </p>
<p>Of course there is always a downside. v1.4.9 is only available in a tarball. Now my success rate with installing things from source is no better than anybody elses - about 10% I would think, so I didn't hold out much hope of getting this going either, but in fact it installed quite easily. The only thing to remember is that you must uninstall any previous version of screenshooter first, other wise it won't run. The required file can be downloaded from www.gnomefiles.org.</p>
<p> </p>
<p>Functionality 100%</p>
<p> </p>
<p>6)Klipper.</p>
<p> </p>
<p>I like to run a clipboard utility in my systray. For some reason this does not happen by default in Xfce, in fact it doesn't even include a clipboard utlity. For a little while I was running klipper itself (with attendent cost in unnecessary kde libraries) but I eventually found that the Xfce clipboard plugin is called 'clipman' and you have to download it separately it is not included in a default install. I can't remember if I got it from the repos or from the internet but it is easy enough to find anyway.</p>
<p> </p>
<p>Functionality 100%</p>
<p> </p>
<p>7)Clock</p>
<p> </p>
<p>The standard Xfce clock plugin is naff. Replace it with 'datetime' plugin which is much more configurable and includes a calendar as it should - not quite so easy to configure as KDE equivalents but not that difficult to work out.</p>
<p> </p>
<p>Functionaliy 100%</p>
<p> </p>
<p>8)Amarok.</p>
<p> </p>
<p>OK it is a great program but do you really need all its bells and whistles? I don't. Mplayer plays just about everything you throw at it and is tiny in comparison, so is vlc (although at the moment it won't play the sound from dvd's on my latest version of mandriva 2009). Xmms is there if you just need audio playback. Xfmedia, the xfce media player works perfectly on Linux Mint but won't even load on Mandriva, no idea why, but there are so many alternatives it is not really much of an issue.</p>
<p> </p>
<p>Functionality 100%</p>
<p> </p>
<p>9) K3b.</p>
<p> </p>
<p>Another superb kde program. Xfce has Xfburn although I must admit that to date I haven't tried it so cannot recommend it one way or the other.</p>
<p> </p>
<p>Functionality Unknown.</p>
<p> </p>
<p>So that is about that. Or is it?</p>
<p> </p>
<p>Unfortunately not. There is one more issue that remains unresolved on my quest to ditch KDE. If you don't use money management programs then you need read no further (and congratulations if you have managed to read this far - if you have the patience to do that then you certainly have the patience to succeed with Xfce!). If however you do use money management programs then I need to acquaint you with point # 10.</p>
<p> </p>
<p>10) Kmymoney2.</p>
<p> </p>
<p>If you can remember as far back as the fourth paragraph of this epic, you will note that I said I had found a solution to most of my requirements on Xfce, but this is the exception, I cannot replace Kmymoney. I started using this quite a few years ago as a Microsoft Money replacement when I migrated to Linux and consequently I have a lot of data within it that I want to be able to use and refer to. </p>
<p> </p>
<p>If you have ever used .qif export/import techniques on money programs you will know that there is no such thing as a 100% success rate, it will always fail in some respect or another and this is one of the problems I face, even if I were to select a suitable replacement for Kmymoney I know for sure (because I have tried) that I would not be able to fully and completely transfer the data over. I could start again from scratch with a new money manager program by simply transferring the information in my latest statement into it and carrying on from there, but that would not give me any access to historical information which would all be in Kmymoney format - it is a bit like using proprietary software, you become locked in.</p>
<p> </p>
<p>I have tested several replacement options and for the benefit of others that may want to try them I will give my opinions here, although I must say that it is extremely unlikely that I will be using any of them. Kmymoney pulls in around 70MB of dependencies on a Gnome system (so I presume an Xfce only system would be about the same) - I guess it is something I will just have to live with.</p>
<p> </p>
<p>Here are the replacements that I have tried:</p>
<p> </p>
<p>Gnucash - I don't like gnucash and never have. The idea of having 'accounts' for everything instead of 'categories' is ludicrous besides which after I had imported all my data from Kmymoney it proceeded to tell me that I was Â£58,000 overdrawn!! I hope not.</p>
<p> </p>
<p>Grisbi - This one did the best job of importing the data from Kmymoney (although still not 100%) and I thought for a while that I had found my solution. That notion was quickly dispelled when after spending a couple of hours using it, it decided to freeze and had to be forcibly shut down. When I opened it again all the data that I had spent the last two hours sorting was gone. Too unstable to consider.</p>
<p> </p>
<p>Buddi - The complete opposite of grisbi this one, far and away the safest to use in that it auto-saves a new database at specific intervals, a bit like a decent word processor, so absolutely no way to lose data. Trouble is there is no data to lose, at it steadfastly refused to accept even a single line of data import from my .qif files, so you would have to start from scratch if you wanted to use it, but if you were in that situation it might be a good bet.</p>
<p> </p>
<p>Jgnash - a java app. Couldn't even get it to run (on 4 different distros).</p>
<p> </p>
<p>MMex - A Novell/Suse app this (although not originally). Bit of a one trick pony. It doesn't matter what you do with it, all you get is the warning 'Could not write to read only database' (4 different distros including Suse). In each case the database it was referring to was situated in my home folder with my own username and usergroup and 777 permissions. Useless.</p>
<p> </p>
<p>So that is it. Most but not all requirements satisfied to date. At the moment I am using Xfce as a default desktop but it is running on top of a Gnome install, with Kmymoney tacked on. A bit mixed up but nowhere near as mixed up as KDE4. Sooner or later I will get round to testing an Xfce only system (ie without the Gnome base, but still with Kmymoney) and when I do I will let you know how that goes. In the meantime this post is long enough as it is.</p>
]]></description><guid isPermaLink="false">77934</guid><pubDate>Wed, 14 Jan 2009 16:04:43 +0000</pubDate></item><item><title>Using SSHFS and Fuse, permission fix</title><link>https://mandrivausers.org/index.php?/topic/78144-using-sshfs-and-fuse-permission-fix/</link><description><![CDATA[
<p>If you want to use SSHFS  (Secure Shell File System) in Mandriva, take this into consideration:</p>
<p>install the two packages needed:</p>
<p>urpmi sshfs</p>
<p>urpmi fuse</p>
<p>SSHFS is meant to be used so that you mount the remote file system as regular user, not root:</p>
<p>sshfs remoteserver: localmountpoint</p>
<p> </p>
<p>You will get an error: you don't have permission to use /dev/fuse</p>
<p>You can get around this:</p>
<p>as root: chmod 666 /dev/fuse</p>
<p>This will not stick, the /dev permissions get reset everytime the system boots </p>
<p> </p>
<p>Here is the more permanent  fix: as root, edit /etc/rc.local, add this line at the end:</p>
<p>chmod 666 /dev/fuse</p>
<p> </p>
<p>SHHFS works great. It is much better for mounting file systems in other Unix-like boxes than having to risk using NFS or pretending to be Windows and log into samba drives. </p>
<p>Maybe the above issue could be handled in the fuse rpm in future releases.</p>
<p>Thank you,</p>
<p>Hannu</p>
<p> </p>
<p> </p>
<p><span style="font-size:8px;">[moved from Networking by spinynorman]</span></p>
]]></description><guid isPermaLink="false">78144</guid><pubDate>Sun, 18 Jan 2009 18:39:57 +0000</pubDate></item><item><title>How I Got Wireless Working with ndiswrapper</title><link>https://mandrivausers.org/index.php?/topic/14972-how-i-got-wireless-working-with-ndiswrapper/</link><description><![CDATA[
<p><span style="font-size:14pt;line-height:100%;"><strong>Intro</strong></span></p>
<p>I had a terrible experience finding info on how to set up ndiswrapper to work with my WMP54G card, but after a few days I finally figured it out and decided to post about it.  Hopefully someone will find this useful.  YMMV, but it <em>should</em> work with any card supported by ndiswrapper</p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>Procedure</strong></span></p>
<p>You're going to need to add two lines to /etc/modprobe.conf.  Here are the lines I added:</p>
<p></p>
<pre class="ipsCode">alias wlan0 ndiswrapper
install ndiswrapper /sbin/modprobe --ignore-install ndiswrapper &amp;&amp; { loadndisdriver 14e4 4320 /etc/ndiswrapper/bcmwl5.sys /etc/ndiswrapper/bcmwl5.inf; }</pre>
<div></div>
<p></p>
<p>The part that gave me the most headaches is the area between the curly braces.  As you can see loadndisdriver takes four arguments:</p>
<p></p>
<pre class="ipsCode"># loadndisdriver --help
Usage: loadndisdriver [OPTIONS] pci_vendor pci_device windowsdriver.sys windowsdriver.inf</pre>
<div></div>
<p></p>
<p>Here's how I got the arguments:</p>
<ul><li>First, you'll need the windows driver for your card so grab the .sys and the .inf files from your card's CD (or where ever the drivers are).  For my card they were called bcmwl5.sys and bcmwl5.inf.  It doesn't really matter where you put these files.  I put them in /etc/ndiswrapper. These are the last two arguments to loadndisdriver.<br /></li>
<li>To find pci_vendor and pci_device you need to run the lspci command.  Here's what mine looks like:<br /><pre class="ipsCode"># lspci
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 02)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 02)
00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:0d.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 24)
00:0e.0 Multimedia video controller: Zoran Corporation ZR36120 (rev 03)
00:0f.0 Network controller: Broadcom Corporation BCM94306 802.11g (rev 03) &lt;=== My wireless card
00:10.0 Multimedia audio controller: Aureal Semiconductor Vortex 1 (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15)</pre>
<div></div>
<p><br />Notice the numbers at the beginning of the line for your card (00:0f.0 for mine), and then run lspci -n:<br /></p>
<pre class="ipsCode"># lspci -n
00:00.0 Class 0600: 8086:7190 (rev 02)
00:01.0 Class 0604: 8086:7191 (rev 02)
00:07.0 Class 0601: 8086:7110 (rev 02)
00:07.1 Class 0101: 8086:7111 (rev 01)
00:07.2 Class 0c03: 8086:7112 (rev 01)
00:07.3 Class 0680: 8086:7113 (rev 02)
00:0d.0 Class 0200: 10b7:9055 (rev 24)
00:0e.0 Class 0400: 11de:6120 (rev 03)
00:0f.0 Class 0280: 14e4:4320 (rev 03)  &lt;=== My wireless card
00:10.0 Class 0401: 12eb:0001 (rev 02)
01:00.0 Class 0300: 10de:002d (rev 15)</pre>
<div></div>
<p><br />Match up the numbers you found earlier to locate your card.  The numbers i'm looking for in my example are 14e4:4320.  14e4 is pci_vendor argument of loadndisdriver and 4320 is the pci_device argument<br /></p>
</li>
</ul><p></p>
<p>To test this out install the ndiswrapper module:</p>
<p></p>
<pre class="ipsCode"># modprobe ndiswrapper</pre>
<div></div>
<p></p>
<p>If there were no error messages, so far so good.  If the command "iwconfig" (part of the wireless-tools package) recognizes wlan0 and doesn't say "no wireless extensions" then everything installed correctly.  Now you can use iwconfig to setup the access point, essid, etc.  See the man page for iwconfig for more info.  Here's how I would start my internet manually:</p>
<p></p>
<pre class="ipsCode">iwconfig wlan0 mode Managed
iwconfig wlan0 key restricted XXXXXXXX
iwconfig wlan0 essid ZZZZ
dhcpcd wlan0</pre>
<div></div>
<p></p>
<p>Just replace the X's with your key if you use WEP (you do use WEP, right? :D) and replace the Z's with the name of your access point.</p>
<p> </p>
<p>Now you're probably going to want to start all this up automatically.  You need to create a file called /etc/sysconfig/network-scripts/ifcfg-wlan0 and put this in it:</p>
<p></p>
<pre class="ipsCode">DEVICE=wlan0
BOOTPROTO=dhcp
ONBOOT=yes
ESSID=YOUR_ESSID
MODE=Managed
KEY="YOUR_KEY"</pre>
<div></div>
<p></p>
<p>Have a look at the /etc/sysconfig/network-scripts/ifup-wireless script to see what variables you can put in this file.  Now all you have to do is reboot and see if your internet comes up.</p>
<p> </p>
<p><span style="font-size:14pt;line-height:100%;"><strong>Conclusion</strong></span></p>
<p>I hope that someone can find this useful.  Of course is anything here is wrong or if there's an easier way, then by all means do tell!</p>
]]></description><guid isPermaLink="false">14972</guid><pubDate>Fri, 04 Jun 2004 19:23:05 +0000</pubDate></item><item><title>About Mandriva Xfce 2009 and VirtualBox on EeePC</title><link>https://mandrivausers.org/index.php?/topic/74724-about-mandriva-xfce-2009-and-virtualbox-on-eeepc/</link><description><![CDATA[
<p>Hi,</p>
<p> </p>
<p>It was raining a lot in the UK today so I though I'd do a little Howto. It's about  installing virtualbox and testing Mandriva Xfce version 2009 without a CD, directly from the iso file :</p>
<p><a href="http://sjaglin.homelinux.org:8090/Joomla/index.php/component/content/article/39-linux/72-virtualbox" rel="external nofollow">The Link to my site</a></p>
<p>(server "ON" only 7 -&gt; 22:00 UK time to save the planet...)</p>
<p>Stef.</p>
<p> :D</p>
]]></description><guid isPermaLink="false">74724</guid><pubDate>Sun, 23 Nov 2008 21:03:58 +0000</pubDate></item><item><title>Thunderbird mailbox size</title><link>https://mandrivausers.org/index.php?/topic/45319-thunderbird-mailbox-size/</link><description><![CDATA[
<p>I don't know if this is common knowledge, but I'd never heard of it before.</p>
<p>I noticed that my "Inbox" file for Thunderbird was surprisingly large (100M+) even though there were very few emails in there and most of them were tiny.  On a second account the Inbox file was 67M and that was also a bit suprising.</p>
<p> </p>
<p>After some googling I came across the "compact" command which can be run on a folder from the right-click menu.  After doing that, the file shrank down to 1.3M, which is much more like it.  I've no idea why this isn't done automatically by default, but there you go.  We do have a defrag tool after all.  Might be of use to someone if they've had their mailbox for a whlie, with lots of deleted spam, especially as there's a size limit beyond which Thunderbird starts misbehaving... :unsure:</p>
<p> </p>
<p>More info here: <a href="http://kb.mozillazine.org/Compacting_folders" rel="external nofollow">http://kb.mozillazine.org/Compacting_folders</a></p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="45319" data-ipsquote-contentclass="forums_Topic"><div>most other email clients by default automatically compact the folder when a certain amount of space is wasted, whereas this has to be activated by the user in Thunderbird.</div></blockquote>
]]></description><guid isPermaLink="false">45319</guid><pubDate>Wed, 05 Dec 2007 22:13:15 +0000</pubDate></item><item><title>Firefox3 without nspluginwrapper - just a comment</title><link>https://mandrivausers.org/index.php?/topic/73954-firefox3-without-nspluginwrapper-just-a-comment/</link><description><![CDATA[
<p>Fixefox3 has been giving me difficulty, and when I ran it in Konsole, it gave errors, such as</p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="73954" data-ipsquote-contentclass="forums_Topic"><div>*** NSPlugin Viewer  *** ERROR: could not reconstruct XVisual from visualID</div></blockquote>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="73954" data-ipsquote-contentclass="forums_Topic"><div>(firefox:18492): GLib-CRITICAL **: g_hash_table_remove_internal: assertion `hash_table != NULL' failed</div></blockquote>
<p>With only these 2 plugins installed: kde4-nsplugins and nspluginwrapper, I just removed the nspluginwrapper.  Now Firefox3 isn't giving me any "complaints" in Konsole, and it seems to be working OK.</p>
<p> </p>
<p>Kieth</p>
<p> </p>
<p> </p>
<p><span style="font-size:8px;">[moved from Software by spinynorman]</span></p>
]]></description><guid isPermaLink="false">73954</guid><pubDate>Sat, 15 Nov 2008 13:19:34 +0000</pubDate></item><item><title>Install Mandriva 2009 on old Laptop</title><link>https://mandrivausers.org/index.php?/topic/70424-install-mandriva-2009-on-old-laptop/</link><description><![CDATA[
<p>I managed this task on a laptop that had Linux already installed albeit an old version.</p>
<p>I also had a network (wireless) up and running.</p>
<p>The first task was to copy the <strong>i586</strong> folder from the dvd on my pc to the laptop, I used the /home directory as I would not be formatting this partition and I new where the directory was.</p>
<p>The hard part was to get the grub loader to find the necessary files to boot from the i586 directory.</p>
<p>This was accomplished in part by a useful utility on Mandriva's Webserver i.e.</p>
<pre class="ipsCode">http://qa.mandriva.com/hd_grub.cgi</pre>
<div></div>
<p></p>
<p>A sample result from that site was :-</p>
<p>------------------------------------------------------------------------------------------------------------------</p>
<p>title Mandrake Install</p>
<p> </p>
<p>root (hd0,5)</p>
<p>kernel <strong>/i586/isolinux/alt0/vmlinuz</strong> ramdisk_size=128000 root=/dev/ram3 acpi=ht vga=788 automatic=method:disk,partition=hda5,directory=/home/i586</p>
<p>initrd <strong>/i586/isolinux/alt0/all.rdz</strong></p>
<p>--------------------------------------------------------------------------------------------------------------------</p>
<p>A cut and paste into <strong>/boot/grub/menu.lst</strong> was all that was required.</p>
<p>The all important files needed to boot I have highlighted.</p>
<p>When this is added to grub you will of course have a new entry in the list at boot time. Simply select <strong>Mandrake Install</strong> to install.</p>
<p> </p>
<p>A NOTE ABOUT PARTITIONS AND DRIVES.</p>
<p> </p>
<p>The /home partition is usually designated as /dev/sda6 when listed via 'df' and when viewed in 'drakconf'. For some unknown reason grub associates (hd0,5) as /home, unfortunately the cgi script at the website gave me (hd0,4) as the partition. So a little editing put it right.</p>
<p> </p>
<p>Should you put your /i586/ on another partition then you will need to work it out which one it is on. This is not too difficult when working with grub because if grub cannot find the files it will tell you so and give you the option to edit the lines until you get the correct one. Take note of what you put in your edit as the edits are not saved to disk.</p>
<p> </p>
<p>Once you have successfully booted the correct entry you will be presented with a dialog requesting the partition where your /i586/ directory is. If you have used the /home partition, select /dev/sda6 and OK. </p>
<p>You will then see a dialog requesting the directory to use for the installation. Simply type in the box<strong>i586</strong>. NOTE there is no forward slash before or after the entry.</p>
<p> </p>
<p>If all has gone well so far you should be presented with the installation screen that you all know so well.</p>
<p> </p>
<p>I have written this howto in the hope it maybe of help to someone. Please feel free to correct me on mistakes I have made. Enjoy.</p>
]]></description><guid isPermaLink="false">70424</guid><pubDate>Tue, 14 Oct 2008 19:24:56 +0000</pubDate></item><item><title>ALSA</title><link>https://mandrivausers.org/index.php?/topic/33814-alsa/</link><description><![CDATA[
<p>Dmix, program mixing, reproducing sound</p>
<p>If you have any problems with a sound card (mostly integrated), os sound server, arts, esd, you can create hidden file .asoundrc in your /home directory, or for all users of your computers in /etc/asound.conf (if necessary: create it). In this file write</p>
<p> </p>
<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="33814" data-ipsquote-contentclass="forums_Topic"><div>pcm.card0 {<p>	type hw</p>
<p>	card 0</p>
<p>}</p>
<p>pcm.!default {</p>
<p>	type plug</p>
<p>	slave.pcm "dmixer"</p>
<p>}</p>
<p>pcm.dmixer {</p>
<p>	type dmix</p>
<p>	ipc_key 1025</p>
<p>	slave {</p>
<p>		pcm  "hw:0,0"</p>
<p>		period_time 0</p>
<p>		period_size 4096</p>
<p>		buffer_size 16384</p>
<p>	#4096 if problems</p>
<p>		period 128</p>
<p>		rate 44100</p>
<p>	}</p>
<p>	bindins {</p>
<p>		0 0</p>
<p>		1 1</p>
<p>	}</p>
<p>}</p>
</div></blockquote>
<p> </p>
<p>OK, this fragment to leane on dplug, dmix plugins. Not much information of ALSA software ....Lex</p>
<p> </p>
<p> </p>
<p>cd... Text is entirely my and design for every and transferred from different forum on which I happened in Poland</p>
<p><a href="http://www.mandrivalinux.eu/showthread.php?t=18412" rel="external nofollow">http://www.mandrivalinux.eu/showthread.php?t=18412</a></p>
<p>Text is translate behind help of translator.</p>
<p> </p>
<p> </p>
<p>Alsa this drivers to cards of sound new generation appeared which enough no long ago and they gained huge popularity. And though them fast development follows, still indispensable service of older open system of sound oss is us. Example here vocal transport and also ; as well as ;  television of video are continually linux. Difference is large between this drivers and most important this quantity of served sound cards as well as utilization of some components, advanced control. Small record onto this subject is defect too. Obviously alsa has to emulate drivers oss and therefore it is peaceable backwards. Some programmes be able to to act from alsa still. In kernels 2.6.X. Alsa became add for ever  . But one should to remember that add drivers (drivery) became only. Alsa to work demands libraries, tools of every type which it was been possible to take</p>
<p>&lt;<a href="http://www.alsa-project.org" rel="external nofollow">http://www.alsa-project.org&gt;</a> from home side of project. All packets have to be this myself version!. Newest drivers in moment version of writing this posta this 1.10 - system indispensable libraryalsa-lib this using programmes from sound.</p>
<p>- Modules of indispensable corealsa-drivers this for concrete work of cards and her components.</p>
<p>- Additional programmes alsa-utils this to service of sound acting card from line of recommendations but giving control strengths of voice, recording and reproduction. Sometimes they are indispensable and more necessary depression mixers and graphic players. They bring in information much. -Alsa-firmware of some card need File firmware to correct working so-called -alsa-tools this additional programmes e.g. To loading firmware etc During installation of system in most of cases card will become detected and installed indispensable software will become. Drivers alsa co-operate arts for kde whether esd for gnome from servers, servers exist also for wmakera and characterizing server jack this one self low latency even to 1 millisecond. Servers mediate between drivers alsa and applications what makes possible using from sound many applications simultaneously. In front of shopping of card get to to know smallest problems are cards it is proper with which. Read a little record which is kernela in /usr/src/documentation/sound/ after installation of sources it is proper also. If we know what driver serves we can our card take drivery alsa already and after unpacking giving command ./configure - we will inquirehelp whether we have our driver. Users kernelis from 2.4 have easier assignment, however in one should 2.6 to remove library alsa and drivers from switch -force whether -nodeps because it can this to pull removal of half of system in depending. To to install drivers we give standard recommendations - example for card sblive 1024player ./configure -with-cards=emu10k1accessible #### is more option for midi, jojstika etc Make</p>
<p>make install ####as root if at configure we will not choose concrete card this all drivers will compile themselves us. List of accessible drivers in version 1.0.10 </p>
<p> </p>
<p>In file /etc/modprobe.conf we have whole configuration of card - example of final value 0 they mark number of sound card, I ask not to mislead that device is disabled. We have to acquaint possibilities with everybody amixera amixer obviously necessarily -help to reproduce what next application aplay will say us, giving command aplay -l we will receive list of accessible devices. Example: aplay -d hw:0,0 *.wav</p>
<p> </p>
<p></p>
<pre class="ipsCode">aplay -d plug:surround40 *.wav</pre>
<div></div>
<p></p>
<p> </p>
<p>aplay -d plug:surround40:1 *.wav ###if we want to get sound on second sound card - for owners more depression of one card. Checking of working of front loudspeakers is different interesting function, back in dependence from model cards and example: aplay -d front *.Wav</p>
<p>aplay -d rear *.wav option plug permits onto reproduction of incompatible sound through our card. It does not mark this and I ask not to mislead from codecs, but example to be possibility of listening of sound 24 bite on card 16 bit maybe. Possibility of listening of spatial sound is different example on cards audigy2 and newer sound ac3 demand which to correct working. We can this behind to simulate e.g. </p>
<p> </p>
<p><strong>Programme mplayer</strong>. </p>
<p> </p>
<p>Mplayer -channels -af 6 surround=100 -ao alsa:device=surround51 film.Avi ##(musician.wav) for owners of cards 4 channels we write down surround40 and channels 4. Example how to get sound e.g. 5,1 whether 6,0 and maybe larger use is in kaffeine. In arrangements audio in my case I included sound 6,0 and I included integrated card earlier realtek on sterowniku via snd-via82xx. Having two card we modify file /etc/modprobe.Sound 4,0 and this example of modification </p>
<p> </p>
<p> </p>
<p>Thanks serves conf because my basic card only ago in kaffeine we have 6 channels but original sound from plate dvd. Some sound cards possess one's own processor dsp (sblive) and different no ( integratedcard with main plate). In this last processor dsp is emulated through processor main what burdens system and it causes larger delays still in sure degree. Here problem of working in two directions dochodzi also so-called Dupplex, equipment, they be able to to act in full fulldupplexie and software`that no. About what so does it walk exactly - obviously recording and reproduction of sound simultaneously. About this users convinced themselves e.g. Skype. Sound servers in sure degree this be able to to make up , but never to end. It exists many projects how dmix - reproduction from many sources as well as dsnoop recording from many sources. Aplay -d dmix *.Wav encountered problems and curiosities:</p>
<p> </p>
<p> </p>
<p></p>
<pre class="ipsCode">simple mixer control 'master',0
simple mixer control 'headphone lfe',1
simple mixer control 'headphone',1
simple mixer control 'headphone center',1
simple mixer control 'tone',0
simple mixer control 'bass',0
simple mixer control 'treble',0
simple mixer control 'pcm',0
simple mixer control 'surround',0
simple mixer control 'center',0
simple mixer control 'lfe',0
simple mixer control 'synth',0
simple mixer control 'wave',0
simple mixer control 'wave center',0
simple mixer control 'wave lfe',0
simple mixer control 'wave surround',0
simple mixer control 'line',0
simple mixer control 'line livedrive',0
simple mixer control 'line2 livedrive',1
simple mixer control 'cd',0
simple mixer control 'mic',0
simple mixer control 'mic boost (+20db)',0
simple mixer control 'mic select',0
simple mixer control 'video',0
simple mixer control 'phone',0
simple mixer control 'iec958 coaxial',0
simple mixer control 'iec958 livedrive',0
simple mixer control 'iec958 optical raw',0
simple mixer control 'iec958 ttl',0
simple mixer control 'pc speaker',0
simple mixer control 'aux',0
simple mixer control 'capture',0
simple mixer control 'mix',0
simple mixer control 'mix mono',0
simple mixer control 'ac97',0
simple mixer control 'external amplifier',0
simple mixer control 'sb live analog/digital output jack',0</pre>
<div></div>
<p></p>
<p> </p>
<p>Final value 0 they mark number of sound card, I ask not to mislead that device is wyÅ‚aczone. We have to acquaint possibilities with everybody amixera amixer obviously necessarily -help to reproduce what next application aplay will say us, giving command aplay -l we will receive list of accessible devices. </p>
<p>Example: </p>
<p> </p>
<p></p>
<pre class="ipsCode">aplay -d hw:0,0 *.Wav</pre>
<div></div>
<p></p>
<p> </p>
<p> </p>
<p></p>
<pre class="ipsCode">aplay -d plug:surround40 *.wav</pre>
<div></div>
<p></p>
<p> </p>
<p>aplay -d plug:surround40:1 *.wav ###if we want to get sound on second sound card - for owners more depression of one card. Checking of working of front loudspeakers is different interesting function, back in dependence from model cards and example: aplay -d front *.Wav</p>
<p>aplay -d rear *.Wav option plug permits onto reproduction of nieobsÅ‚ugiwanego sound through our card. It does not mark this and I ask not to mislead from kodekami, but example to be possibility of listening of sound 24 bite on card 16 bite maybe. Possibility of listening of spatial sound is different example on cards audigy2 and newer sound ac3 demand which to correct working. We can this behind to simulate e.g. Programme mplayer. Mplayer -channels -af 6 surround=100 -ao alsa:device=surround51 film.Avi ##(musician.wav) for owners of cards 4 channels we write down surround40 and channels 4. Example how to get sound e.g. 5,1 whether 6,0 and maybe larger use is in kaffeine. In arrangements audio in my case I included sound 6,0 and I included integrated card earlier realtek on sterowniku via snd-via82xx. Having two card we modify file /etc/modprobe.Sound 4,0 and this example of modification serves conf because my basic card only</p>
<p> </p>
<p> </p>
<p></p>
<pre class="ipsCode">install usb-interface /sbin/modprobe uhci-hcd; /sbin/modprobe ehci-hcd; /bin/true
options bttv card=15 tuner=0 gbuffers=4
remove snd-via82xx /sbin/modprobe --first-time -r --ignore-remove snd-via82xx
install snd-via82xx /sbin/modprobe --first-time --ignore-install snd-via82xx
remove snd-emu10k1 /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe --first-time -r --ignore-remove snd-emu10k1
install snd-emu10k1 /sbin/modprobe --first-time --ignore-install snd-emu10k1 &amp;&amp; { /sbin/modprobe snd-pcm-oss; /bin/true; }
options snd-cards_limit=2
alias snd-card-0 snd-via82xx
alias snd-card-1 snd-emu10k1
options snd-via82xx index=0
options snd-emu10k1 index=1
###for oss
alias sound-slot-0 snd-via82xx
alias sound-slot-1 snd-emu10k1</pre>
<div></div>
<p></p>
<p> </p>
<p>Thanks ago in kaffeine we have 6 channels but original sound from plate dvd. Some sound cards possess one's own processor dsp (sblive) and different no ( integratedcard with main plate). In this last processor dsp is emulated through processor main what burdens system and it causes larger delays still in sure degree. Here problem of working in two directions it causes also so-called Dupplex, equipment, they be able to to act in full fulldupplex and software`that no. About what so does it walk exactly - obviously recording and reproduction of sound simultaneously. About this users convinced themselves e.g. Skype. Sound servers in sure degree this be able to to make up , but never to end. It exists many projects how dmix - reproduction from many sources as well as dsnoop recording from many sources. Aplay -d dmix *.wav </p>
<p>encountered problems and curiosities: </p>
<p> </p>
<p>curiosities and problems</p>
<p> </p>
<p>Some applications be able to to deprive us of possibility listening of full number of channels. Such example to be use maybe kopete whether kadu being he line, and even mplayer itself he did not advise problem with this. Lock e.g. helps Kadu, kopete etc This normal thing - cards have one's limited possibilities also. It is different problem utilization of processor dsp for sound effects and this can reduce quantity of served channels also. Some stereo will need reductions of sound from some channels to usual - reason this possession e.g. of Set stereo. In kaffeine it suffices to include a52 surround_downmix and in xine one should disable alsa_mmap_enable in options playera</p>
<p>mplayer run with options mplayer -channels 2 </p>
<p> </p>
<p><strong>midi</strong></p>
<p> </p>
<p>small file, often used in internet in games then take down some elements. Device called sequencer, bank of sounds of (sample) as well as steering file this devices that is our file midi. He contains only and exclusively informations about heights sound, his length, number of sound as well as to contain maybe more information e.g. Text. This small informations are no including in need much memory of sound samples. Loading suitable drivers we can steer external device midi, or internal if card such a one possesses. Often used they are today program emulators (timidity)which equal quality and even equipment sequencery top. It happens this behind matter of added effects through authors of software, however samples for equipments' devices are loaded without effects. Timidity is example of program player with bank timidity-instruments. It possesses he very large possibility and him creation of file is main assignment wav, aiff, etc From file mid without necessity of listen to of whole work. Considerable quantity of effects possesses. Example:</p>
<p> </p>
<p></p>
<pre class="ipsCode">timidity -s 48000 -od1 --reverb=n --chorus=n *.Mid ## will play us file midi
timidity -s 48000 -ow --reverb=n --chorus=n *.Mid ## will create file wav.</pre>
<div></div>
<p></p>
<p> </p>
<p> Aplymidi is standard player in alsa. It be able to to use also from everybody of accessible harbours. Aplay -l #### will show accessible harbours</p>
<p></p>
<pre class="ipsCode">port client name port name 62:0 midi through midi through port-0 64:0 emu10k1 mpu-401 (uart) emu10k1 mpu-401 (uart) 65:0 emu10k1 wavetable emu10k1 port 0 65:1 emu10k1 wavetable emu10k1 port 1 65:2 emu10k1 wavetable emu10k1 port 2 65:3 emu10k1 wavetable emu10k1 port 3
128:0 timidity timidity port 0
128:1 timidity timidity port 1
128:2 timidity timidity port 2
128:3 timidity timidity port 3</pre>
<div></div>
<p></p>
<p> </p>
<p>Aplay -p 128:0 *.mid will redirect and it will reproduce us sample behind help sequencer timidity. To to use one should to load accessible samples under names * from equipment's harbour.sf2. To loading to memory It serves programme asfxload from packet awesfx. Sfxload  /home/user/4gmgsmt.sf2</p>
<p> </p>
<p></p>
<pre class="ipsCode">aplay -p 65:0 /home/user/*.mid</pre>
<div></div>
<p></p>
<p> </p>
<p>Interesting patch to be xplaymidi as well as kmid maybe for kde. Splendid patches exist obviously on players, mixers as mplayer, xine, aumix, kmix and such I command to apply, but sometimes We have to intervention in textual mode and I think that this example will help you in this somewhat. Sometimes problems appear with cards e.g. of Type ensonic and it it was not been known how to advise itself with them - default arrangements not even modprobe are not effective , and this example for one from cards:</p>
<p> </p>
<p></p>
<pre class="ipsCode">sb esstype=1869 io=0x220 irq=5 dma=1</pre>
<div></div>
<p> </p>
<p> </p>
<p></p>
<pre class="ipsCode">for ess chips an additional parameter "esstype" can be specified. This controls
the (auto) detection of the ess chips. It can have 3 kinds of values: -1 act like 2.0 kernels: only detect es688 or es1688.
0 try to auto-detect the chip (may fail for es1688)
688 the chip will be treated as es688
1688 ,, ,, ,, ,, ,, ,, es1688
1868 ,, ,, ,, ,, ,, ,, es1868
1869 ,, ,, ,, ,, ,, ,, es1869
1788 ,, ,, ,, ,, ,, ,, es1788
1887 ,, ,, ,, ,, ,, ,, es1887
1888 ,, ,, ,, ,, ,, ,, es1888 because full duplex is supported for es1887 you can specify a second dma
channel by specifying module parameter dma16. It can be one of: 0, 1, 3 or 5.</pre>
<div></div>
<p></p>
<p> </p>
<p></p>
<pre class="ipsCode">http://linux-audio.net/</pre>
<div></div>
<p></p>
<p><a href="http://linux-sound.org/" rel="external nofollow">http://linux-sound.org/</a></p>
<p>cdn........</p>
<p> </p>
<p>......Lex</p>
]]></description><guid isPermaLink="false">33814</guid><pubDate>Tue, 08 Aug 2006 14:30:44 +0000</pubDate></item><item><title>using cpulimit</title><link>https://mandrivausers.org/index.php?/topic/72734-using-cpulimit/</link><description><![CDATA[
<p>Have anyone tried this piece of software? very cool.</p>
<p> </p>
<p>This software helps controlling the cpu usage of a certain process or application.</p>
<p> </p>
<p><a href="http://cpulimit.sourceforge.net/" rel="external nofollow">http://cpulimit.sourceforge.net/</a> or install it via urpmi.</p>
<p> </p>
<p>Usage: cpulimit TARGET [OPTIONS...]</p>
<p>   TARGET must be exactly one of these:</p>
<p>      -p, --pid=N        pid of the process</p>
<p>      -e, --exe=FILE     name of the executable program file</p>
<p>      -P, --path=PATH    absolute path name of the executable program file</p>
<p>   OPTIONS</p>
<p>      -l, --limit=N      percentage of cpu allowed from 0 to 100 (mandatory)</p>
<p>      -v, --verbose      show control statistics</p>
<p>      -z, --lazy         exit if there is no suitable target process, or if it dies</p>
<p>      -h, --help         display this help and exit</p>
<p> </p>
<p> </p>
<p>- It helps me a lot especially on using dynamips (cisco emulator) and pemu (pix firewall emu) on my mandriva. Very cool.</p>
]]></description><guid isPermaLink="false">72734</guid><pubDate>Mon, 03 Nov 2008 10:35:00 +0000</pubDate></item><item><title>grub-install problems</title><link>https://mandrivausers.org/index.php?/topic/71774-grub-install-problems/</link><description><![CDATA[
<p>I recently encountered a problem with a lost or damaged MBR.  There are a number of ways that this might happen.  One of them is mixing dual-boot or multi-boot installations of IDE or scsi device naming schemes, e.g. /dev/hdx or /dev/sdx.</p>
<p>Usually, booting the install media and typing "linux rescue" at the prompt will take you, after answering a few questions and choosing the installation location of the OS you want to use for the boot loader, to a terminal.  Then type "#chroot /mnt/sysimage", enter, and you can then cd to your /boot/grub directory, check and/or edit your grub.conf or menu.lst, and then type "#grub-install /dev/hdx (or /dev/sdx).  The return will show the layout of your system, and you're done.  Exit out of the rescue mode and reboot, and your grub menu is there.</p>
<p>However, this time, when I would type "#grub-install /dev/hda, this would be my return;</p>
<p>#grub-install /dev/hda</p>
<p>/dev/hda does not have any corresponding BIOS drive.</p>
<p> </p>
<p>The most important thing I've learned in 40 years of fixing things, and 5 years of playing with Linux is this, DON'T PANIC!</p>
<p>Think, study, research, ask for help.  Just don't do anything rash that you might not be able to recover from.  </p>
<p>In this case I was fortunate, in that I was able to use the rescue mode as described above to finally find an OS,(I currently multi-boot with CentOS 5.2, Mandriva 2008 Spring, Mandriva 2009, and Ubuntu.) that I could do "grub-install" on and get my system to boot, even though it didn't happen to be my preferred installation.  At least I had a working system from which I could work and try to find the problem.</p>
<p>My searching led me to this; </p>
<p><a href="http://forums.fedoraforum.org/showthread.php?t=153679" rel="external nofollow">http://forums.fedoraforum.org/showthread.php?t=153679</a></p>
<p> </p>
<p>Stoat, the author of this gem, explains this far more eloquently and intelligently than I could.  I recommend reading this post thoroughly if you have questions about this.  It is really quite good.  </p>
<p> </p>
<p>This is what I had for device.map in two of my installations;</p>
<p>The first is from the CentOS installation;</p>
<p>$ sudo cat /boot/grub/device.map</p>
<p>(hd0) /dev/sde</p>
<p>(hd1) /dev/sda</p>
<p>(hd2) /dev/sdb</p>
<p>(hd3) /dev/sdc</p>
<p>The next is from the Mandriva 2009 installation;</p>
<p>$ sudo cat /hda9/boot/grub/device.map</p>
<p>(hd0) /dev/sda</p>
<p>(hd1) /dev/sdb</p>
<p>(hd2) /dev/sdc</p>
<p>(hd3) /dev/sdi</p>
<p> </p>
<p>Note the discrepancy between the two.  Because of the screwy device.map(s), grub-install was confused, and couldn't install.</p>
<p> </p>
<p>Following the information in the above link, I did this;</p>
<p> </p>
<p>$ sudo /sbin/grub-install --recheck /dev/hda</p>
<p> </p>
<p>and the return, as expected, described the device layout and succeeded.</p>
<p>My device.map then looked like this for the CentOS installation;</p>
<p>$ sudo cat /boot/grub/device.map</p>
<p>(hd0) /dev/hda</p>
<p>(hd1) /dev/hdb</p>
<p>(hd2) /dev/sdb</p>
<p>(hd3) /dev/sdc </p>
<p>and this for the Mandriva 2009 installation;</p>
<p>$ sudo cat /hda9/boot/grub/device.map</p>
<p>(hd0) /dev/sda</p>
<p>(hd1) /dev/sdb</p>
<p>(hd2) /dev/sdc</p>
<p>(hd3) /dev/sdi</p>
<p>Although they aren't identical, the drive order, allowing for the difference between IDE and scsi scheming, follows the same sequence.</p>
<p>So, I hope this information might be helpful if you should encounter a similar problem.</p>
<p> </p>
<p>Thanks,</p>
<p>owa</p>
]]></description><guid isPermaLink="false">71774</guid><pubDate>Sat, 25 Oct 2008 16:03:11 +0000</pubDate></item><item><title>tune2fs and inodes</title><link>https://mandrivausers.org/index.php?/topic/71684-tune2fs-and-inodes/</link><description><![CDATA[
<p>Currently, in tune2fs - the tool for enabling journaling on ext2 partitions and various other stuff has a feature that should work, but it doesn't seem to - at least in my case.</p>
<p> </p>
<p>Last night, I thought it would be a great idea to change my inode size from 128 to 256 on my /home partition.  I didn't take a backup, because I thought since tune2fs could enable journaling OK, it should be able to modify inode sizes.  So I did:</p>
<p> </p>
<p></p>
<pre class="ipsCode">tune2fs -I /dev/sda3</pre>
<div></div>
<p></p>
<p> </p>
<p>being my /home partition.  Now, this ran and ran and ran, for a few hours, and it was still going.  I only have a 110GB partition so this shouldn't in theory have taken too long.  Anyway, later on, either the CTRL-C I pressed cancelled it, or it simply finished as the response wasn't immediate.  My system still have 128 inode value set, and figured that it had been trying to change it and hadn't actually done anything.</p>
<p> </p>
<p>My system seemed fine, all my files were there, and I rebooted and everything was normal.  That was until later today, whilst doing some heavy disk read/writes that my whole system hung.  I had no keyboard response, and so issued the ALT-SYSRQ sequence to in as much as safe as possible restart my machine - ALT-SYSRQ RSEIUB - which it did fine.</p>
<p> </p>
<p>The problem was, that /home wouldn't come online because of a problem, and I couldn't enter the password to go into maintenance mode - so I rebooted with a LiveCD.  On checking the system, it said it had problems with inodes, and asked if I wanted to repair.  So, I said yes to everything.</p>
<p> </p>
<p>Then, after mounting /home to check all was OK, I noticed everything was gone! :o</p>
<p> </p>
<p>To my shock, I thought I'd just lost over 80GB of data.  I then downloaded a recovery CD, which in all honesty didn't do much as it would only recover partitions deleted from a disk - which can also get your data back.  I had my partitions, I just didn't have the data.</p>
<p> </p>
<p>I then mounted /home again, and checked in the Lost&amp;Found folder and saw a load of folders with #nnnnnnn - where nnnnn was a number.  On checking inside these, I could see all my data, so I just moved them back to their previous locations.  Then, after doing:</p>
<p> </p>
<p></p>
<pre class="ipsCode">tune2fs -j /dev/sda3</pre>
<div></div>
<p></p>
<p> </p>
<p>to enabling journaling and thus have ext3 again instead of just ext2, I could now boot my system normally, and I had all my data!</p>
<p> </p>
<p>So, whilst I was lucky, don't do as I do.  Get a backup first before trying something so stupid as changing your inode size - which, I should have realised before doing this that there was a likelihood of a major problem!  Like, data-loss.</p>
<p> </p>
<p>For the life of me, I cannot see why this option exists to change the inode.  Either it's there for the future (ext4), or I should have left my system for a day or two for it to finish changing the inode size.  Either way, I won't be doing it again.  The most simplest way to change it is:</p>
<p> </p>
<p>1. Copy off all data to another machine.</p>
<p>2. Format the partition and specify the inode size you want.</p>
<p>3. Copy data back to partition.</p>
<p> </p>
<p>Well, it was a nice lesson, and the outcome wasn't as bad as it should have been :)</p>
]]></description><guid isPermaLink="false">71684</guid><pubDate>Fri, 24 Oct 2008 11:57:14 +0000</pubDate></item><item><title>How to use LVM on your system</title><link>https://mandrivausers.org/index.php?/topic/66974-how-to-use-lvm-on-your-system/</link><description><![CDATA[
<p>I wanted to show you how easy it is to maintain a system with LVM or Logical Volume Management, and why it is good to use.</p>
<p> </p>
<p>I've used the command-line because you can then use this on any distro you like.  You can use a GUI tool, but I find it much easier and clearer to show all this by doing it from the command-line.  Feel free to try whichever way you prefer the most, but it's just as easy from the command-line, if not perhaps quicker.</p>
<p> </p>
<p>Firstly, when you use static partition types, you tend to allocate the space, and then find later you ran out.  Then you're having to move/resize all your partitions about to make space.  This is where LVM comes in handy.  You simply just add another disk and add more space to the logical volume that requires it.  Of course, you could add another disk, and just create a new partition and then move your files to this.  However, LVM saves the need for moving your files.</p>
<p> </p>
<p>Let's take my example here, done with Mandriva 2008.1 Spring in VMware.  I simulated this way, because I set the system up normally with /dev/sda and two partitions:</p>
<p> </p>
<p></p>
<pre class="ipsCode">Disk /dev/sda: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7c63a8b5

  Device Boot	  Start		 End	  Blocks   Id  System
/dev/sda1			   1		 125	 1004031   82  Linux swap / Solaris
/dev/sda2			 126		2610	19960762+  83  Linux</pre>
<div></div>
<p></p>
<p> </p>
<p>as you can see swap is allocated to /dev/sda1 and / is allocated to /dev/sda2.  Of course, if I run out of space on /dev/sda2, I've kind of got a problem.  However, I added two more disks to the system, /dev/sdb and /dev/sdc both of which are 20GB in size.  /dev/sda is also 20GB in size also, which you can see from above!</p>
<p> </p>
<p><strong>Check you have LVM installed</strong></p>
<p> </p>
<p>To use LVM, we have to make sure the package is installed, so:</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost ian]# rpm -qa | grep -i lvm
lvm2-2.02.33-1mnb1</pre>
<div></div>
<p></p>
<p> </p>
<p>shows me that the package is installed.  The name of this package can vary from distro to distro, but it's generally lvm or lvm2 (at the time of writing this article).</p>
<p> </p>
<p><strong>Creating the Volume Groups and Logical Volumes</strong></p>
<p> </p>
<p>Let's assume now that on my system, I am OK with 20GB for my users files, but I wanted to create a /data partition for example to store all my files away from /home.  Because usually, this could fill up my /dev/sda2 pretty quickly otherwise considering it's only 20GB in size.</p>
<p> </p>
<p>I've just added two disks to the system, so I could technically do:</p>
<p> </p>
<p>/dev/sdb1 = /data</p>
<p>/dev/sdb2 = /data2</p>
<p> </p>
<p>which is OK, but then it means I've got it split in two locations.  With LVM, I can use one volume across both disks.  You could also install a RAID controller and use Raid 0 for the same thing, but the end result is the same, except with LVM - I don't need to buy a RAID controller.  Just simply add more disks to the system.</p>
<p> </p>
<p>To prepare the disks for LVM, we first have to create the partition as follows:</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost ian]# fdisk /dev/sdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0xea2ead97.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.


The number of cylinders for this disk is set to 2610.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
  (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): n
Command action
  e   extended
  p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-2610, default 1): 
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-2610, default 2610): 
Using default value 2610

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): 8e
Changed system type of partition 1 to 8e (Linux LVM)

Command (m for help): p

Disk /dev/sdb: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xea2ead97

  Device Boot	  Start		 End	  Blocks   Id  System
/dev/sdb1			   1		2610	20964793+  8e  Linux LVM

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.</pre>
<div></div>
<p></p>
<p> </p>
<p>you can see all the commands I used in fdisk to create this partition.  Now we have to prepare it to use it with LVM:</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost ian]# pvcreate /dev/sdb1
 Physical volume "/dev/sdb1" successfully created

[root@localhost ian]# vgcreate datavolume /dev/sdb1
 Volume group "datavolume" successfully created

[root@localhost ian]# vgs
 /dev/cdrom: read failed after 0 of 2048 at 0: Input/output error
 VG		 #PV #LV #SN Attr   VSize  VFree 
 datavolume   1   0   0 wz--n- 19.99G 19.99G</pre>
<div></div>
<p></p>
<p> </p>
<p>Now the command explanation - the pvcreate prepared the volume.  I then created a volume group called datavolume, and assigned /dev/sdb1 to this volume group.  The last command vgs, shows the volume group I have, and the amount of space available.</p>
<p> </p>
<p>Now, we can create a logical volume within this and mount it to /data:</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost ian]# lvcreate -l 100%VG -n data datavolume
 Logical volume "data" created

[root@localhost ian]# lvs
 LV   VG		 Attr   LSize  Origin Snap%  Move Log Copy%  Convert
 data datavolume -wi-a- 19.99G</pre>
<div></div>
<p></p>
<p> </p>
<p>so now I have the LVM volume data created, using all 20GB of the datavolume.  Technically, I could have done something like this:</p>
<p> </p>
<p></p>
<pre class="ipsCode">lvcreate -L10G -n data datavolume</pre>
<div></div>
<p></p>
<p> </p>
<p>which would have allocated 10GB of this partition to data instead.  I however, wanted to use the full disk, which is why I used the first command.</p>
<p> </p>
<p>Now, we can create the filesystem and mount it as normally like this:</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost ian]# mke2fs -j /dev/datavolume/data
mke2fs 1.40.8 (13-Mar-2008)
Warning: 256-byte inodes not usable on older systems
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
1310720 inodes, 5240832 blocks
262041 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
160 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
4096000

Writing inode tables: done							
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

[root@localhost ian]# mount /dev/datavolume/data /data

[root@localhost ian]# df -h
Filesystem			Size  Used Avail Use% Mounted on
/dev/sda2			  19G  2.2G   16G  13% /
/dev/mapper/datavolume-data
				   20G  173M   19G   1% /data</pre>
<div></div>
<p></p>
<p> </p>
<p>now you can see, I used ext3 to create the filesystem and then created the mount point /data and mounted the volume.  Now I have 20GB for /data.</p>
<p> </p>
<p><strong>Oops, I just ran out of disk space, what do I do now?</strong></p>
<p> </p>
<p>OK, so let's assume, I just run out of space on my /data partition.  I can now prepare the third disk and add this to the volume group and then just extend my logical volume.  Sounds tricky?  Not really.</p>
<p> </p>
<p>You create the partition on the third disk like before, and toggle the partition type to Linux LVM.  Then you do the LVM commands like this:</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost ian]# pvcreate /dev/sdc1
 Physical volume "/dev/sdc1" successfully created

[root@localhost ian]# vgextend datavolume /dev/sdc1
 Volume group "datavolume" successfully extended

[root@localhost ian]# vgs
 VG		 #PV #LV #SN Attr   VSize  VFree 
 datavolume   2   1   0 wz--n- 39.98G 19.99G</pre>
<div></div>
<p></p>
<p> </p>
<p>now you can see that I have 40GB allocated to datavolume.  I just now need to allocate the extra space to /data:</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost ian]# lvextend -l100%VG /dev/datavolume/data
 Extending logical volume data to 39.98 GB
 Logical volume data successfully resized</pre>
<div></div>
<p></p>
<p> </p>
<p>First, I unmount /data:</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost ian]# umount /data</pre>
<div></div>
<p></p>
<p> </p>
<p>then I check partition for errors:</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost ian]# fsck -n /dev/datavolume/data
fsck 1.40.8 (13-Mar-2008)
e2fsck 1.40.8 (13-Mar-2008)
/dev/datavolume/data: clean, 11/1310720 files, 126323/5240832 blocks</pre>
<div></div>
<p></p>
<p> </p>
<p>I disable journaling, so that partition becomes ext2 (you cannot resize ext3 partitions without doing this):</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost ian]# tune2fs -O ^has_journal /dev/datavolume/data
tune2fs 1.40.8 (13-Mar-2008)</pre>
<div></div>
<p></p>
<p> </p>
<p>The next command has to be done before a resize can be completed:</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost ian]# e2fsck -f /dev/datavolume/data 
e2fsck 1.40.8 (13-Mar-2008)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/datavolume/data: 11/1310720 files (9.1% non-contiguous), 93521/5240832 blocks</pre>
<div></div>
<p></p>
<p> </p>
<p>I resize to add the rest of the space to the filesystem:</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost ian]# resize2fs /dev/datavolume/data
resize2fs 1.40.8 (13-Mar-2008)
Resizing the filesystem on /dev/datavolume/data to 10481664 (4k) blocks.
The filesystem on /dev/datavolume/data is now 10481664 blocks long.</pre>
<div></div>
<p></p>
<p> </p>
<p>I enable journaling to go back to an ext3 filesystem:</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost ian]# tune2fs -j /dev/datavolume/data 
tune2fs 1.40.8 (13-Mar-2008)
Creating journal inode: done
This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.</pre>
<div></div>
<p></p>
<p> </p>
<p>Now, I mount the disk:</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost ian]# mount /dev/datavolume/data /data</pre>
<div></div>
<p></p>
<p> </p>
<p>check that it is actually ext3:</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost ian]# mount
/dev/sda2 on / type ext2 (rw)
none on /proc type proc (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
none on /proc/fs/vmblock/mountPoint type vmblock (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
/dev/mapper/datavolume-data on /data type ext3 (rw)</pre>
<div></div>
<p></p>
<p> </p>
<p>and then see how much space I have available for /data:</p>
<p> </p>
<p></p>
<pre class="ipsCode">[root@localhost ian]# df -h
Filesystem			Size  Used Avail Use% Mounted on
/dev/sda2			  19G  2.2G   16G  13% /
/dev/mapper/datavolume-data
				   40G  177M   38G   1% /data</pre>
<div></div>
<p></p>
<p> </p>
<p>as you can see, I now easily added 40GB to my /data partition.  This was just an example, but you could do this for /home, or /vmware or whatever other mount points you have on your system!</p>
<p> </p>
<p>Enjoy!</p>
<p> </p>
<p>Original document written and posted here: <a href="http://www.linuxsolutions.org/index.php?option=com_content&amp;task=view&amp;id=69&amp;Itemid=26" rel="external nofollow">How to use LVM on your system</a></p>
]]></description><guid isPermaLink="false">66974</guid><pubDate>Mon, 01 Sep 2008 09:34:56 +0000</pubDate></item><item><title>Using external USB disks and Linux partitions</title><link>https://mandrivausers.org/index.php?/topic/66594-using-external-usb-disks-and-linux-partitions/</link><description><![CDATA[
<p>I'd recently decided to drop FAT32/NTFS from my external 160GB disk, because of accessibility problems.  FAT32 isn't good for disks larger than 30GB and isn't great anyway because of defragmentation.  NTFS was better, but found that depending on my distro, I wouldn't generally have write support unless NTFS-3G was installed.  Both use umask=0 to get around problems with normal users reading/writing to the disk.</p>
<p> </p>
<p>I've since changed it to ext3, and found that by default, since root is mounting it via udev, that the disk was read-only for my one particular user.  I don't have any other users, which is why I never fixed the permissioning under udev, or wrote my own rule.  A nice simple way though is this.</p>
<p> </p>
<p>1. Plug your disk to your computer, udev will then auto-mount it to /media/disk or whatever.</p>
<p>2. Change the permissions by doing:</p>
<p> </p>
<p></p>
<pre class="ipsCode">chown -R username:username /media/disk
chmod -R 775 /media/disk</pre>
<div></div>
<p></p>
<p> </p>
<p>now, I can access the disk, and all files are owned by me.  Any other users could essentially save here since I changed read/write/execute permissions on the disk.  Simple, yet effective.  I chose ext3 as the partition, because I can use the ext2ifs driver in Windows if I want to mount and access the disk.  Under Windows though, it's read as ext2, so if you did use ext3, you have to make sure the disk was unmounted properly, otherwise Windows won't read it.  But then, the same happens to NTFS partitions if you didn't unmount them safely in Windows first.</p>
<p> </p>
<p>Obviously, replace username with your username.</p>
]]></description><guid isPermaLink="false">66594</guid><pubDate>Mon, 25 Aug 2008 11:13:58 +0000</pubDate></item><item><title>Tips to Log in as root from GUI</title><link>https://mandrivausers.org/index.php?/topic/66074-tips-to-log-in-as-root-from-gui/</link><description><![CDATA[
<p>it is safe to log in as root from console. </p>
<p>but, if u want to take root advantage from GUI; here is an easy way for all.</p>
<p> </p>
<p>&lt;open console &amp; do as follows&gt;</p>
<p> </p>
<p>$ su</p>
<p> </p>
<p>password:</p>
<p> </p>
<p># kdesu kwrite /etc/kde/kdm/kdmrc</p>
<p> </p>
<p>search for line- 'ALLOW ROOT LOGIN'</p>
<p> </p>
<p>change its value from- false to true.</p>
<p> </p>
<p>Save &amp; exit.</p>
<p> </p>
<p>Reboot PC &amp; then type 'root' as username &amp; enter root password.</p>
<p> </p>
<p>Now u log in as root from GUI. ENJOY!!</p>
]]></description><guid isPermaLink="false">66074</guid><pubDate>Sun, 17 Aug 2008 04:29:15 +0000</pubDate></item><item><title>Installing Motorola SB5100 USB Modem</title><link>https://mandrivausers.org/index.php?/topic/35372-installing-motorola-sb5100-usb-modem/</link><description><![CDATA[
<p>Hi,</p>
<p> </p>
<p>to install the modem just do the following:</p>
<p> </p>
<p></p>
<pre class="ipsCode"># modprobe usbnet
# modprobe uhci-hcd
# ifconfig -a
# dhclient eth1 //(or eth1)//</pre>
<div></div>
<p></p>
<p> </p>
<p>It worked perfectly for me.</p>
<p> </p>
<p>:D</p>
]]></description><guid isPermaLink="false">35372</guid><pubDate>Sun, 01 Oct 2006 21:57:09 +0000</pubDate></item><item><title>Resizing Partitions / Getting rid of Windows</title><link>https://mandrivausers.org/index.php?/topic/63534-resizing-partitions-getting-rid-of-windows/</link><description><![CDATA[
<p><strong>Remember, there is always the chance you can lose data when making system changes like this.  Therefore, it's advisable to ensure you have a backup of your data.  I'm not responsible if you lose your data.</strong></p>
<p> </p>
<p>Up until the other day, I was dual-booting Windows and Linux.  I had decided to drop Windows from this machine, since all I needed to do could be done within a virtual machine running Windows.  So, I'm now 50GB better for Linux!</p>
<p> </p>
<p>First of all, let me explain my partition setup prior to the resize.  I had my partitions as follows:</p>
<p> </p>
<p></p>
<pre class="ipsCode">/dev/sda1 = 50GB = Windows
/dev/sda2 = 8GB = Swap
/dev/sda3 = 20GB = /
/dev/sda4 = 82GB = /home</pre>
<div></div>
<p></p>
<p> </p>
<p>I know, 8GB of swap technically isn't needed, but I have 4GB of RAM.  If I was to suspend my machine to disk, I would certainly need this space if all my memory was being used.  So I'm just playing on the safe side here.  Now, since I was deleting that 50GB Windows partition, I wanted to reallocate it to /home.  Since this meant reordering my partitions, I wanted to have something like this:</p>
<p> </p>
<p></p>
<pre class="ipsCode">/dev/sda1 = 8GB = Swap
/dev/sda2 = 20GB = /
/dev/sda3 = 132GB = /home</pre>
<div></div>
<p></p>
<p> </p>
<p>This would mean creating interim partitions whilst moving data about.  To do all of this, you need to boot from a Linux Live CD or Rescue CD because you won't be able to change any of this while your system is active.  I then created the 8GB swap using fdisk utility and made the new swap file:</p>
<p> </p>
<p></p>
<pre class="ipsCode">mkswap -L SWAP-sda1 /dev/sda1</pre>
<div></div>
<p></p>
<p> </p>
<p>If you're familiar with Red Hat/CentOS/Fedora, you'll notice that the /etc/fstab always uses Labels for mounting partitions.  I tend to use this regardless of distro, as it's humanly readable!  Whilst I set a label on my swap, it won't actually be used.  I always ended up getting:</p>
<p> </p>
<p></p>
<pre class="ipsCode">Unable to access resume device (LABEL=SWAP-sda2)</pre>
<div></div>
<p></p>
<p> </p>
<p>first after moving to the new swap, and after re-generating the initrd for the kernel, it then mentioned SWAP-sda1.  Easy way is to just alter /etc/fstab and change the swap line to actually reference the partition, so /dev/sda1 instead of the label.  Then generate the initrd after this and you'll not see the error message again.  For the rest of the partitions, I used labels to mount, as it's only swap that was having the problem.</p>
<p> </p>
<p>Now that the swap was done, I had space to create another partition, 20GB to allocate as /.  So using fdisk again, I created /dev/sda2 as 20GB.  Then I created the filesystem:</p>
<p> </p>
<p></p>
<pre class="ipsCode">mke2fs -j /dev/sda2</pre>
<div></div>
<p></p>
<p> </p>
<p>Then, I did the following to migrate the data from /dev/sda3 to /dev/sda2.</p>
<p> </p>
<p></p>
<pre class="ipsCode">mkdir /mnt/oldroot
mkdir /mnt/newroot
mount /dev/sda3 /mnt/oldroot
mount /dev/sda2 /mnt/newroot
cp -dpRx /mnt/oldroot /mnt/newroot/</pre>
<div></div>
<p></p>
<p> </p>
<p>verify that the file-structure looks the same between /mnt/oldroot and /mnt/newroot.  If all is OK, you will successfully be able to boot your system.  But first, since we need to fix the labels, I do this next:</p>
<p> </p>
<p></p>
<pre class="ipsCode">e2label /dev/sda2 /
e2label /dev/sda3 oldroot</pre>
<div></div>
<p></p>
<p> </p>
<p>that will mean that when /etc/fstab tries to mount the label for /, it will now mount /dev/sda2 instead of /dev/sda3.  Verify this after your system has booted successfully.  Now, you can reboot using the LiveCD or Rescue CD again, so that we can delete /dev/sda3 and then start to move /home about.  Luckily, I was only using 15GB of my partition, which meant that the remaining 40GB or so that would now become /dev/sda3 meant I didn't have to copy data off of my machine to another before moving partitions around again.</p>
<p> </p>
<p>So, the process, is similar again.  I created /dev/sda3 using all the space between /dev/sda2 and /dev/sda4.  Then:</p>
<p> </p>
<p></p>
<pre class="ipsCode">mke2fs -j /dev/sda3</pre>
<div></div>
<p></p>
<p> </p>
<p>and I'm now copying data again, so:</p>
<p> </p>
<p></p>
<pre class="ipsCode">mkdir /mnt/oldhome
mkdir /mnt/newhome
mount /dev/sda4 /mnt/oldhome
mount /dev/sda3 /mnt/newhome
cp -dpRx /mnt/oldhome /mnt/newhome/</pre>
<div></div>
<p></p>
<p> </p>
<p>again, verify that all data was copied successfully to the new partition.  Then, edit the labels again:</p>
<p> </p>
<p></p>
<pre class="ipsCode">e2label /dev/sda3 /home
e2label /dev/sda4 oldhome</pre>
<div></div>
<p></p>
<p> </p>
<p>I then booted my system again, to make sure that /dev/sda3 was mounted to /home, and that /dev/sda4 was not mounted.  Then, I rebooted one more final time to delete /dev/sda4 and resize /dev/sda3 to have /home set to use 132GB.  First, I check /dev/sda3 for errors, and then remove the journal so that I can resize it (you cannot resize with journaling enabled).</p>
<p> </p>
<p></p>
<pre class="ipsCode">fsck -n /dev/sda3
tune2fs -O ^has_journal /dev/sda3
e2fsck /dev/sda3</pre>
<div></div>
<p></p>
<p> </p>
<p>once that has all happened, I then go into fdisk and delete /dev/sda4.  I then delete /dev/sda3, but I recreate it again using the same Start block - as this is important.  If you change the start block, you will lose all your data.  The end block was then basically the last available one on the disk, meaning I could use my full disk when I issue a resize for the /home filesystem.</p>
<p> </p>
<p></p>
<pre class="ipsCode">resize2fs /dev/sda3
fsck -n /dev/sda3
tune2fs -j /dev/sda3
e2fsck /dev/sda3</pre>
<div></div>
<p></p>
<p> </p>
<p>I can then mount /dev/sda3 and check to see if it has 132GB.  It did, so all was OK.  Now I restarted my system normally, and all was accessible without problems, and I had all my disks how I wanted them.  All my disk space available for Linux :-).</p>
<p> </p>
<p>Article originally written and posted here: <a href="http://www.linuxsolutions.org/index.php?option=com_content&amp;task=view&amp;id=66&amp;Itemid=26" rel="external nofollow">Resizing Partitions / Getting rid of Windows</a></p>
]]></description><guid isPermaLink="false">63534</guid><pubDate>Tue, 15 Jul 2008 12:03:58 +0000</pubDate></item><item><title>HardInfo</title><link>https://mandrivausers.org/index.php?/topic/59274-hardinfo/</link><description><![CDATA[
<p>Hi,</p>
<p> </p>
<p>Finally, after loads of trial I found what I needed, a good System info monitor. The webpage is there :</p>
<p> </p>
<p><a href="http://hardinfo.berlios.de/HomePage" rel="external nofollow">http://hardinfo.berlios.de/HomePage</a></p>
<p> </p>
<p>and a simple </p>
<p> </p>
<p></p>
<pre class="ipsCode">urpmi hardinfo</pre>
<div></div>
<p></p>
<p> </p>
<p>will put it on your distro. The GUI is just amazing and it includes a benchmarking utility. The benchmarking can be synchronized with the net and compares your machine with others. </p>
<p> </p>
<p>I invite you to try it and why not compare our results, after all, we are nerds!</p>
<p> </p>
<p></p>
<pre class="ipsCode">Processor
2x AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
Memory
2074MB (408MB used)
Operating System
Mandriva Linux 2008.1
User Name
stephane (stephane jaglin)
Date/Time
Mon 26 May 2008 10:42:28 BST
Display
Resolution
1024x768 pixels
OpenGL Renderer
GeForce 6800 GT/PCI/SSE2/3DNOW!
X11 Vendor
The X.Org Foundation

IDE Disks
IBM-DPTA-371020

_NEC DVD_RW ND-2510A

SCSI Disks
ATA Maxtor 6L160M0

Operating System
Version
Kernel
Linux 2.6.24.4-desktop-1mnb (i686)
Compiled
KDE 3.5
Benchmarks

CPU ZLib
This Machine
24032.916

CPU Fibonacci
This Machine
2.680

CPU MD5
This Machine
76.421

CPU SHA1
This Machine
88.259

CPU Blowfish
This Machine
13.002</pre>
<div></div>
<p></p>
<p> </p>
<p>Stef :woot_jump: :woot_jump: :woot_jump:</p>
<p> </p>
<p> </p>
<p><span style="font-size:8px;">[moved from Software by spinynorman]</span></p>
]]></description><guid isPermaLink="false">59274</guid><pubDate>Mon, 26 May 2008 10:03:31 +0000</pubDate></item></channel></rss>
