tag:blogger.com,1999:blog-34006623563576212912024-02-21T03:10:44.042+10:00Warwick HunterA diary of Linux configuration steps and hurdles.Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.comBlogger36125tag:blogger.com,1999:blog-3400662356357621291.post-77235390866418763162017-09-11T14:26:00.002+10:002017-09-11T14:26:39.313+10:00Android Oreo (8.0) USB debug hassles on Fedora Linux<div class="moz-text-html" lang="x-unicode">
<span style="font-family: Helvetica, Arial, sans-serif;">After my phone received
the Android Oreo update I was having trouble getting it to
connect to adb. </span><span style="font-family: Helvetica, Arial, sans-serif;">I was seeing errors
like this:</span><br />
<span style="font-family: Helvetica, Arial, sans-serif;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;">$ adb devices<br />
List of devices attached<br />
025d15a338973018 no permissions (verify udev rules); see
[<a class="moz-txt-link-freetext" href="http://developer.android.com/tools/device.html">http://developer.android.com/tools/device.html</a>]</span>
<br />
<br />
<span style="font-family: Helvetica, Arial, sans-serif;">This recipe worked for
me. <br />
</span><br />
<span style="font-family: Helvetica, Arial, sans-serif;"><a class="moz-txt-link-freetext" href="https://github.com/M0Rf30/android-udev-rules">https://github.com/M0Rf30/android-udev-rules</a></span><br />
<br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">Android Oreo, adb, Fedora, Linux</span><br />
</div>
Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0tag:blogger.com,1999:blog-3400662356357621291.post-47687245569764719962016-04-29T08:19:00.000+10:002016-04-29T08:19:10.686+10:00Tip : Don't install p4v in /usr/bin on Fedora 22 and above.<span style="background-color: white; color: #282828; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22.4px;">I normally install p4v into /usr/bin and /usr/lib. This is a bad idea on a system such as Fedora 22 or 23 that use Qt5. </span><br style="background-color: white; color: #282828; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22.4px;" /><br style="background-color: white; color: #282828; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22.4px;" /><span style="background-color: white; color: #282828; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22.4px;">The reason is that the p4v tarball contains a file qt.conf. If this file is placed in /usr/bin it overrides all of the default paths that Qt uses to find the various plugins. This causes some (or most) of the Qt based applications to crash.</span><br style="background-color: white; color: #282828; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22.4px;" /><br style="background-color: white; color: #282828; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22.4px;" /><span style="background-color: white; color: #282828; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22.4px;">On reboot it also prevents the KDE Plasma Workspace from starting preventing anyone from logging in via the graphical desktop. The startup of the graphical desktop fails with a message like below.</span><br style="background-color: white; color: #282828; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22.4px;" /><br style="background-color: white; color: #282828; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22.4px;" /><span style="background-color: white; color: #282828; font-family: monospace; font-size: 14px; line-height: 22.4px;"><span style="color: black;">This application failed to start because it could not find or load the Qt platform plugin "xcb" </span>in "". </span><br style="background-color: white; color: #282828; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22.4px;" /><br style="background-color: white; color: #282828; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22.4px;" /><span style="background-color: white; color: #282828; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22.4px;">Warwick </span><br />
<span style="background-color: white; color: #282828; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22.4px;"><br /></span>
<span style="background-color: white; color: #282828; font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 22.4px;">PS. p4v is the graphical client to the Perforce Helix source code management system.</span>Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0tag:blogger.com,1999:blog-3400662356357621291.post-48927828089109364482015-09-14T21:00:00.001+10:002015-09-14T21:08:05.802+10:00New NVIDIA graphics card (GeForce GTX 750 Ti) causes me lots of woes<span style="font-family: Arial, Helvetica, sans-serif;">My old NVIDIA graphics card died, so I replaced it with a new one, a GeForce GTX 750 Ti. Sadly this caused me lots of problems. I couldn't find the right video driver for Fedora 22 until I found this post.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif;"><a href="http://forums.fedoraforum.org/showpost.php?p=1692880&postcount=10">http://forums.fedoraforum.org/showpost.php?p=1692880&postcount=10</a></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white;"><br /></span>
I want to say a very big thanks to the forum user <span style="background-color: #edeff1; font-size: 11px; white-space: nowrap;">leigh123linux</span></span><br />
<span style="background-color: white; font-family: Arial, Helvetica, sans-serif;"><br /></span>
Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0tag:blogger.com,1999:blog-3400662356357621291.post-88682438520711037622013-11-10T12:23:00.002+10:002013-11-10T12:23:26.905+10:00KDE fails to start with "Could not start D-Bus. Can you call qdbus?"<span style="font-family: Arial, Helvetica, sans-serif;">I had been running Fedora 19 for quite a while with KDE as my desktop happily. Then one day after a yum update I could no longer start KDE. An error message appeared each time I tried to start KDE from login.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;">Could not start D-Bus. Can you call qdbus?</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">After some debugging it turns out that kde4-config --qt-binaries returns /usr/bin/bin as the location of the Qt binaries, which is a bogus directory. </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;"># kde4-config --qt-binaries</span><br />
<br />
<span style="font-family: Courier New, Courier, monospace;">/usr/bin/bin</span><br />
<div>
<br /></div>
<span style="font-family: Arial, Helvetica, sans-serif;">I have temporarily worked around the problem by creating a soft link from /usr/bin/bin to /usr/bin while I search for a proper solution.</span><br />
<br />Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0tag:blogger.com,1999:blog-3400662356357621291.post-65425703769736291782012-10-06T11:52:00.001+10:002012-10-06T11:52:17.194+10:00Installing skype on 64 bit linuxSkype needs a number of i686 RPMS to run on a 64 bit Fedora Linux machine.
<br />
<br />
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;">yum install glibc.i686 alsa-lib.i686 libXv.i686 libXScrnSaver.i686 qt.i686 qt-x11.i686
</span>Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0tag:blogger.com,1999:blog-3400662356357621291.post-24359526369518284422012-04-12T12:16:00.001+10:002012-04-12T12:16:55.054+10:00VMWare Player 4.0.2 doesn't like the latest kernel that is available for Fedora 16. A bit of patching is required.<p/>
<a href="http://weltall.heliohost.org/wordpress/2012/01/26/vmware-workstation-8-0-2-player-4-0-2-fix-for-linux-kernel-3-2-and-3-3/">http://weltall.heliohost.org/wordpress/2012/01/26/vmware-workstation-8-0-2-player-4-0-2-fix-for-linux-kernel-3-2-and-3-3/</a><p/>
A big thanks to those that posted the solution.Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0tag:blogger.com,1999:blog-3400662356357621291.post-23782504501621742672012-03-05T20:39:00.001+10:002012-03-05T20:39:42.695+10:00Making OpenVPN run as a service on Fedora 16Make sure the config file is named something like myvpn.conf in <pre>/etc/openvpn</pre>
<pre>
# ln -s /lib/systemd/system/openvpn@.service /etc/systemd/system/multi-user.target.wants/openvpn@myvpn.service
</pre>
Then start and stop the service manually this way:
<pre>
# systemctl start openvpn@myvpn.service
# systemctl stop openvpn@myvpn.service
</pre>
Or enable it to start at boot time:
<pre>
# systemctl enable openvpn@myvpn.service
</pre>
Thanks to those that took the time to post the solution here:
<a href="http://forums.fedoraforum.org/showthread.php?t=272612">http://forums.fedoraforum.org/showthread.php?t=272612</a>Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0tag:blogger.com,1999:blog-3400662356357621291.post-56517142019401280262012-02-26T17:19:00.003+10:002012-02-26T17:34:08.165+10:00Booting into single user modeEvery time I receive a new kernel I must install the NVIDIA drivers.
<ol>
<li>Boot the new kernel into single user mode. Add "single" and "vga=normal" to the grub boot command</li>
<li>Switch to run level 3 with telinit 3</li>
<li>3. Log in and run the NVIDIA installer</li>
</ol>Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0tag:blogger.com,1999:blog-3400662356357621291.post-909699991514726202011-11-20T07:01:00.001+10:002011-11-20T07:03:06.081+10:00Fedora 16Once again after the installation of a new version of Fedora things have changed.<br /><br />Grub has become grub2 and the administration of it is different. The first change I had to deal with is the setting of the default boot partition. <br /><br />http://fedoraproject.org/wiki/Grub2Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0tag:blogger.com,1999:blog-3400662356357621291.post-90991278846532060462011-06-22T20:20:00.009+10:002011-07-06T22:30:43.595+10:00My Eclipse pluginsAndroid <a href="http://dl-ssl.google.com/android/eclipse">http://dl-ssl.google.com/android/eclipse</a><br/><br />Groovy <a href="http://dist.springsource.org/release/GRECLIPSE/e3.7">http://dist.springsource.org/release/GRECLIPSE/e3.7</a><br/><br />Perforce <a href="http://www.perforce.com/downloads/http/p4-eclipse/install/3.6">http://www.perforce.com/downloads/http/p4-eclipse/install/3.6</a><br/><br />From the Eclipse Marketplace<br /><ul><br /><li>Google plugin</li><br /><li>EGit</li><br /><li>PyDev</li><br /><li>Findbugs</li><br /></ul>Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0tag:blogger.com,1999:blog-3400662356357621291.post-36909785649844641922011-06-19T08:58:00.002+10:002011-06-19T09:01:33.035+10:00Fedora 15I have installed Fedora on my guinea pig machine. Things went pretty smoothly apart from two problems.<div><br /></div><div>1. selinux was stopping openvpn from working. The simple solution is to disable selinux like I usually do.</div><div>2. Bluetooth is not enabled and started by default on F15. This seems to be a bug. The steps to enable it require interacting with the new systemctl utility.</div><div><br /></div><div><span class="Apple-style-span" style="font-size: 11px; font-style: italic; background-color: rgb(237, 239, 241); "><span class="Apple-style-span" >systemctl status bluetooth.service<br />sudo systemctl enable bluetooth.service<br />sudo systemctl start bluetooth.service</span></span></div><div><span class="Apple-style-span" style="font-size: 11px; font-style: italic; background-color: rgb(237, 239, 241); "><span class="Apple-style-span" ><br /></span></span></div><div><span class="Apple-style-span" style="font-size: 11px; font-style: italic; background-color: rgb(237, 239, 241); "><span class="Apple-style-span" ><a href="http://forums.fedoraforum.org/showthread.php?t=265053">http://forums.fedoraforum.org/showthread.php?t=265053</a></span></span></div>Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0tag:blogger.com,1999:blog-3400662356357621291.post-39687396841376242802011-03-08T10:12:00.003+10:002011-03-08T10:16:03.342+10:00C++0x feature support in GCC 4.5Here is a description of some nice new features available in C++0x supported by GCC 4.5.<br /><br />http://www.ibm.com/developerworks/aix/library/au-gcc/index.html?cmp=dw&cpb=dwaix&ct=dwnew&cr=dwnen&ccy=zz&csr=030311<br /><br />Here are some highlights.<br /><br />Static assertions:<br /><br />static_assert(sizeof(int) == 4, "Integer sizes expected to be 4");<br /><br />New character types<br /><br />char16_t guaranteed to be able to hold a UTF-16 character<br />char32_t guaranteed to be able to hold a UTF-32 character<br /><br />Auto syntax type<br /><br />auto *num1 = new int(7); // type for num1 it int*<br />const auto num2 = 3.1415; // type for num2 is double<br /><br /><br />Initializer lists<br /><br />// in a variable definition<br />std::vector<double> doubles = {2.3, 4.511, 1.23, 0.99};<br /><br />// Initializer list used with new<br />std::list<double> *d2 = new std::list<double> {1.2, 1.3};<br /><br />// Initialize a map<br />std::map<string, int=""> = { {“key1”, 1}, {“key2”, 2} };<br /></string,></double></double></double>Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com1tag:blogger.com,1999:blog-3400662356357621291.post-16550148989458326172011-02-07T21:52:00.002+10:002011-02-07T21:55:00.999+10:00Flash on 64 bit Fedora 14Download: http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_2_p3_64bit_linux_111710.tar.gz<br /><br /># tar xzf flashplayer10_2_p3_64bit_linux_111710.tar.gz<br /># cp libflashplayer.so ~/.mozilla/plugins <br /><br />Thanks to the Fedora forums:<br />http://forums.fedoraforum.org/archive/index.php/t-256318.htmlWarwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0tag:blogger.com,1999:blog-3400662356357621291.post-75343625799403389802011-02-07T16:07:00.002+10:002011-02-07T16:12:13.311+10:00If tail -f file gives "too many open files"If tail -f file gives "too many open files" then add this to your /etc/sysctl.conf<br /><pre>fs.inotify.max_user_watches=16384</pre><br />Or interactively:<br /><pre># sysctl -w fs.inotify.max_user_watches=16384</pre>Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com1tag:blogger.com,1999:blog-3400662356357621291.post-2397728615941705792010-06-10T13:48:00.000+10:002010-06-10T13:49:02.785+10:00Setup grub as the boot loader in your MBR# Boot from CD and choose linux rescue which will mount the system. <br /># Write to the MBR. Assuming grub.conf is intact, continue with the process. Type "grub" (return) to enter the grub shell.<br /><br />Tell grub where to find the requisite files. If you know where they are, enter something like:<br /><br /><span style="font-family: courier new;">root (hd0,1) </span><br /><br />(hd0,1) means primary controller master, second partition. If you DON'T know where they are, type:<br /><br /><span style="font-family: courier new;">find /boot/grub/stage1 </span><br /><span style="font-family: courier new;"> </span><br /><span style="font-family: courier new;"> setup (hd0) </span><br /><br />This command will install grub on the MBR of the first drive.<br /><br /># Type quit and reboot. Everything should proceed normally.<br /><br />In our case, the details were all identical except that we used (hd0,0) in place of (hd0,1) because our /boot was on the first partition of the first drive.Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0tag:blogger.com,1999:blog-3400662356357621291.post-32853664384912034172010-06-10T13:27:00.000+10:002010-06-10T13:28:02.269+10:00How to put real java on your Linux machine<h2><b>Fedora Systems </b></h2><p>This set of commands will get rid of the stupid gcj java that is packaged with Fedora and other Linux distros and replace it with the real java from Oracle.<br /></p><p>alternatives --config java<br />alternatives --remove java /usr/lib/jvm/jre-1.4.2-gcj/bin/java<br />alternatives --install /usr/bin/java java /usr/java/latest/bin/java 1<br />alternatives --config javac<br />alternatives --remove javac /usr/lib/jvm/java-1.4.2-gcj/bin/javac<br />alternatives --install /usr/bin/javac javac /usr/java/latest/bin/javac 1<br /></p><h2><b>Ubuntu</b></h2>update-java-alternatives -l<br />update-java-alternatives -s java-6-sunWarwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com1tag:blogger.com,1999:blog-3400662356357621291.post-48192177792391647782010-06-03T12:15:00.002+10:002010-06-03T12:18:41.764+10:00Building an RPM on Fedora 12 for an older systemIf you are building an RPM on a Fedora 12 system (or later) and you want that RPM to be installed on a system with an older version of rpm, such as an older Fedora or Centos, define these values in your ~/.rpmmacros.<br /><br />%_binary_filedigest_algorithm 1<br />%_source_filedigest_algorithm 1<br />%_binary_payload w9.gzdio<br /><br />This sets the hash algorithm and the payload compression used by RPM to be compatible with older versions of rpm. This avoids the following errors:<br /><br />error: Failed dependencies:<br /> rpmlib(FileDigests) <= 4.6.0-1 is needed by x<br /> rpmlib(PayloadIsXz) <= 5.2-1 is needed by xWarwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0tag:blogger.com,1999:blog-3400662356357621291.post-9932544564115573822010-04-22T22:30:00.003+10:002010-04-22T22:37:45.844+10:00Linux drivers for a Dell 1235CN printer - kudos to Samsung<span style="font-family: arial;font-family:arial;" >I purchased a Dell 1235CN laser multi-function printer, which arrived today. Unfortunately Fedora 12 doesn't know about the printer, so this lead me to the inevitable search for the right drivers. </span><br /><br /><span style="font-family: arial;font-family:arial;" >I found a post by someone who had the same problem. She/he had called Dell support who told her/him that Dell did not support Linux for that printer, but that the printer is actually a rebadged Samsung CLX-3175 printer. </span><br /><br /><span style="font-family: arial;font-family:arial;" >I visited the Samsung web site and was really happy to see that Samsung to a great job of supporting their printers on Windows, Mac and Linux. I was able to download a Linux tarball that contained the necessary drivers wrapped up in an easy to use installer. </span><br /><br /><a style="font-family: arial;" href="http://www.samsung.com/au/consumer/print-solutions/print-multifunctions-copiers/colour-multifunction/CLX-3175FN/XSA/index.idx?pagetype=prd_detail&tab=support">http://www.samsung.com/au/consumer/print-solutions/print-multifunctions-copiers/colour-multifunction/CLX-3175FN/XSA/index.idx?pagetype=prd_detail&tab=support<br /></a><br /><span style="font-family: arial;font-family:arial;" >After installing the tarball my printer was working. </span><br /><br /><span style="font-family: arial;font-family:arial;" >Thanks to the people at Samsung! Excellent work for your top class Linux support.</span><span style="font-weight: bold; font-family: arial;font-family:arial;" ><br /></span>Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com5tag:blogger.com,1999:blog-3400662356357621291.post-29159961336444582872010-04-04T15:30:00.002+10:002010-04-04T15:36:50.484+10:00VMWare MKS Console Plugin - problem and solutionWhile messing around with a beta service from Melbourne IT called vCloud Express, that is based on VMWare, I was frustrated that I could not get the VMWare MKS console plugin to work in Firefox on Fedora 12.<br /><br />I tracked down a forum post that showed me how to run it from the command line: <code class="jive-code jive-plain"><span style="font-family: Georgia,serif;"><br /><br /></span></code><span style="font-size:85%;"><span style="font-family: courier new;">~/.mozilla/firefox/<random>.default/extensions/VMwareMKSPlugin\@vmware.com/plugins/viewer</span></span><br /><br />This was very useful because I showed that I was missing a number of old shared libraries on which the VMWare console plugin relies: libexpat.so.0 and libstdc++.so.5.<br /><br />It was then a simple matter of installing the two RPMS: compat-expat1 and compat-libstdc++-33.Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0tag:blogger.com,1999:blog-3400662356357621291.post-34074730785024320812009-12-16T17:46:00.002+10:002009-12-16T18:14:44.347+10:00Problems with NetworkManager and DHCPI have great troubles with NetworkManager not being able to acquire an IP address via DHCP on my home network. By accident I killed it and it restarted and immediately acquired the address. It seems that this might be some sort of startup ordering problem. <div><br /></div><div>The simple solution for now is to kill and restart NetworkManager and all is well.</div>Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com1tag:blogger.com,1999:blog-3400662356357621291.post-83202020816825661402009-12-16T17:04:00.002+10:002009-12-16T17:06:52.663+10:00How to enable MP3 playback with Amarok on Fedora 12<span class="Apple-style-span" style=" border-collapse: collapse; font-family:Helvetica, Arial, sans-serif;font-size:13px;"><div><span class="Apple-style-span" style="font-size: medium; ">Set-up RPM Fusion repository to get the free and non-free components.</span></div><span class="Apple-style-span" style="font-size: medium;"><a href="http://rpmfusion.org/Configuration" target="_blank" style="color: rgb(66, 99, 171); "></a></span></span><div><span class="Apple-style-span" style=" border-collapse: collapse; font-family:Helvetica, Arial, sans-serif;font-size:13px;"><a href="http://rpmfusion.org/Configuration" target="_blank" style="color: rgb(66, 99, 171); "><span class="Apple-style-span" style="font-size: medium;">http://rpmfusion.org/<wbr>Configuration</span></a><span class="Apple-style-span" style="font-size: medium;"><br /><br />Install gstreamer-plugins-ugly<br /></span><a href="http://amarok.kde.org/wiki/MP3_on_Fedora_Core" target="_blank" style="color: rgb(66, 99, 171); "><span class="Apple-style-span" style="font-size: medium;">http://amarok.kde.org/wiki/<wbr>MP3_on_Fedora_Core</span></a><br /></span></div>Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0tag:blogger.com,1999:blog-3400662356357621291.post-91891953096886685592009-12-16T15:51:00.002+10:002009-12-16T15:56:15.813+10:00Kubuntu rides again<div>After installing Fedora 12 and having another round of sound problems after I thought I had it all working with Fedora 10 and 11 I thought I would try Kubuntu because previously everything just works with Kubuntu.</div><div><br /></div><div>Well, much to my surprise, Kubuntu also has sound problems. So there was nothing else to do but start digging. After a bit of experimentation I was able to work out that I needed to make PulseAudio the default and tell Pulse to set-up an ALSA compatibility module.</div><div><br /></div><div>To make Pulse the default create ~/.asoundrc with the following content.</div><div><div><span class="Apple-style-span" style="font-family:'courier new';">pcm.!default { type pulse }</span></div><div><span class="Apple-style-span" style="font-family:'courier new';">ctl.!default { type pulse }</span></div><div><span class="Apple-style-span" style="font-family:'courier new';"><br /></span></div><div><span class="Apple-style-span" style="font-family:'courier new';">Then set-up the correct modules for the pulseaudio daemon in the file /etc/pulse/default.pa</span></div><div><br /></div></div>### Load audio drivers statically (it's probably better to not load<div>### these drivers manually, but instead use module-hal-detect -- </div><div>### see below -- for doing this automatically) </div><div>load-module module-alsa-sink device=hw:0 </div><div>load-module module-alsa-source device=hw:0 </div><div>load-module module-alsa-card device_id=0 </div><div>#load-module module-oss device="/dev/dsp" sink_name=output source_name=input</div><div>#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input</div><div>#load-module module-null-sink </div><div>load-module module-pipe-sink </div><div><br /></div>Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0tag:blogger.com,1999:blog-3400662356357621291.post-35771697350696109812009-10-11T12:13:00.002+10:002009-10-11T12:15:51.195+10:00Dyndns client ddclient configUpdate to my earlier post about using ddclient to support dyndns access.<br />I generated the config file using the dyndns.org web site https://www.dyndns.com/support/tools/clientconfig.html. The config generated by the web site works nicely.<br /><span style="font-family: courier new;"><br /></span>Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0tag:blogger.com,1999:blog-3400662356357621291.post-28445769406344204862009-07-25T09:03:00.002+10:002009-07-25T09:08:03.642+10:00Audio on Fedora finally workingAfter numerous attempts and many wrong turns I finally have audio working on Fedora 10 at work and Fedora 11 here at home.<br /><br />I use the KDE version and could never get the microphone to record clear audio. I could also never hear audio from any flash movies played within the browser.<br /><br />Well the key to the puzzle was that I was fiddling with KMix, the KDE audio mixer. This had very little effect. I recently discovered the Pulse Audio Volume Control application and this has solved my problem. By manipulating the audio settings via the Pulse Audio Volume Control I now have perfectly working audio.<br /><br />/usr/bin/pavucontrol in the pavucontrol RPM.Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0tag:blogger.com,1999:blog-3400662356357621291.post-26907477335027445792009-04-17T18:18:00.002+10:002009-04-17T18:27:26.296+10:00Cloning a Windows XP partitionThe hard disc in my desktop started to log errors, which is a very scary sign. This means time to get a new disc. I didn't want to face up to re-installing Windows, so cloning the partition is the way to go.<br /><br /><ol><li>Boot the old Windows system</li><li>Defrag the partition</li><li>Run chkdsk to check and fix any errors</li><li>Run regedit and delete the values in HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices, <a href="http://www.dominok.net/en/it/en.it.clonexp.html">otherwise XP is confused when it boots on the new partition</a><br /></li><li>Shutdown and reboot from the gparted live CD</li><li>Select the old XP partition and select Copy from the context menu</li><li>Select the empty space on the new disc and Paste, this can take hours<br /></li><li>Select the new partition and choose Manage Flags from the context menu, select boot</li><li>Shutdown</li><li>Change the new disc so that it is the first disc on the SATA and then boot the machine<br /></li></ol>Thanks to the people at gparted for a great tool and Michael Dominok for the XP tips.Warwick Hunterhttp://www.blogger.com/profile/15811503581299977648noreply@blogger.com0