<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WiredRevolution.com &#187; 8.10</title>
	<atom:link href="http://www.wiredrevolution.com/tag/810/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wiredrevolution.com</link>
	<description>A Bit of Linux Wisdom</description>
	<lastBuildDate>Sat, 22 May 2010 16:03:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Setup PS3 controller over bluetooth on Ubuntu</title>
		<link>http://www.wiredrevolution.com/ubuntu/setup-ps3-controller-over-bluetooth-on-ubuntu</link>
		<comments>http://www.wiredrevolution.com/ubuntu/setup-ps3-controller-over-bluetooth-on-ubuntu#comments</comments>
		<pubDate>Sat, 04 Apr 2009 15:25:49 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[8.10]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[controller]]></category>
		<category><![CDATA[dualshock3]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[joystick]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[playstation3]]></category>
		<category><![CDATA[ps3]]></category>
		<category><![CDATA[sixaxis]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=1058</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/>The PS3 Sixaxis and DualShock3 bluetooth controllers are a great for gaming on your PS3 but will work just as well under Linux. With this guide you will be able to configure them to work on your Ubuntu Linux 8.10 (Intrepid Ibex) PC in USB as well as wireless bluetooth mode.
There are a variety of [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li>
<li><a href='http://www.wiredrevolution.com/ubuntu/install-boxee-on-64-bit-ubuntu-910-karmic' rel='bookmark' title='Permanent Link: Install Boxee on 64-bit Ubuntu 9.10 Karmic'>Install Boxee on 64-bit Ubuntu 9.10 Karmic</a> <small>Installing Boxee turns your computer into an incredible HTPC. These...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/><p>The PS3 <strong>Sixaxis</strong> and <strong>DualShock3</strong> bluetooth controllers are a great for gaming on your PS3 but will work just as well under Linux. With this guide you will be able to configure them to work on your <strong>Ubuntu Linux 8.10</strong> (<strong>Intrepid Ibex</strong>) PC in USB as well as wireless bluetooth mode.</p>
<p>There are a variety of solutions out there but they are either overly complex, or because of the ever changing state of Linux bluetooth support, they are somewhat outdated. The advantage of this solution is that it is simple, and requires only slight modification to the default versions of the <strong>bluez-utils</strong> packages (<strong>bluez-4.12</strong>). This minimizes possible conflicts and eliminates unneeded configuration. </p>
<p>This guide specifically covers <strong>Ubuntu Linux 8.10 (Intrepid Ibex)</strong> but I&#8217;m sure similar steps can be taken for other distributions.</p>
<h2>Installation</h2>
<p>Install the <strong>hidd</strong> daemon located in the <strong>bluez-compat</strong> package.</p>
<pre>
$ sudo apt-get bluez-compat joystick
</pre>
<p>The <strong>hidd</strong> daemon in the <strong>bluez-compat</strong> package has been deprecated but it provides the only way to connect with the PS3 controller. It will not interfere with the current <strong>bluetooth</strong> service.</p>
<p>From this point you can take one of two roads. </p>
<ol>
<li>If you are on <strong>32bit (i386)</strong> or <strong>64bit (amd64)</strong> versions of Ubuntu I have precompiled all the binaries you will need. Simply download the corresponding tarball for your architecture and follow a couple simple steps to complete the setup.</li>
<li>The other option is to manually patch and compile the binaries yourself. This is a bit more time consuming but not anymore difficult as I have documented the exact steps for this method as well. This option is necessary if you are on some other architecture (<strong>PowerPC</strong>, etc.) or if you experience any problems with the precompiled binaries I provided.</li>
</ol>
<h2>Option 1: Download Precompiled Binaries</h2>
<p>You can test which architecture you are using by running <strong>uname</strong>.</p>
<pre>
$ uname -a
</pre>
<pre>
Linux xps 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:06 UTC 2008 <strong>x86_64</strong> GNU/Linux
</pre>
<p>Download the tarball of binaries which corresponds to your architecture.<br />
<a href='http://www.wiredrevolution.com/wp-content/uploads/2009/04/bluez-compat_ps3_amd64.tgz'>bluez-compat_ps3_amd64.tgz</a><br />
<a href='http://www.wiredrevolution.com/wp-content/uploads/2009/04/bluez-compat_ps3_i386.tgz'>bluez-compat_ps3_i386.tgz</a></p>
<p>Untar the files.</p>
<pre>
$ tar xzvf bluez-compat_ps3_&lt;<em>arch</em>&gt;.tgz
</pre>
<pre>
bluez-compat_4.12-0ubuntu5_amd64.deb
sixpair
</pre>
<p>Skip down to the <strong>Install the Updated Package</strong> section.</p>
<h2>Option 2: Patch and Compile Binaries</h2>
<p>Download the <strong>hidd</strong> daemon patch:<br />
<a href='http://www.wiredrevolution.com/wp-content/uploads/2009/04/patch-hidd-3.19-pabr3'>patch-hidd-3.19-pabr3</a></p>
<p>Install the <strong>dpkg-dev</strong> and <strong>fakeroot</strong> which will allow you to compile the <strong>blues-utils</strong> package.</p>
<pre>
$ sudo apt-get dpkg-dev fakeroot
</pre>
<p>Install the <strong>blues-utils</strong> package, apply the patch, and build the package.</p>
<pre>
$ sudo apt-get source bluez-utils
$ sudo apt-get build-dep bluez-utils
$ patch bluez-4.12/compat/hidd.c patch-hidd-3.19-pabr3
$ cd bluez-4.12
$ sudo dpkg-buildpackage -rfakeroot
$ cd ../
</pre>
<p>This will build all the bluez related packages, the only one we are interested in is <strong>bluez-compat</strong>.</p>
<p>Download the <strong>sixpair.c</strong> source code:<br />
<a href='http://www.wiredrevolution.com/wp-content/uploads/2009/04/sixpair.c'>sixpair.c</a></p>
<p>Install the <strong>libusb-dev</strong> and <strong>libusb-0.1-4</strong> which will allow you to compile the <strong>sixpair</strong> utility.</p>
<pre>
$ sudo apt-get libusb-dev libusb-0.1-4
</pre>
<p>Build the <strong>sixpair</strong> utility.</p>
<pre>
$ gcc -o sixpair sixpair.c -lusb
</pre>
<h2>Install the Updated Package</h2>
<p>At this point you should have either downloaded or compiled the <strong>bluez-compat</strong> package.</p>
<p>Install the patched <strong>bluez-compat</strong> package.</p>
<pre>
$ sudo dpkg -i bluez-compat_4.12-0ubuntu5_&lt;<em>arch</em>&gt;.deb
</pre>
<p><em>Optional</em>: if you will dist-upgrade your system, the process will overwrite your modified package with newer versions. You can either choose to redo the above steps every time a new version of bluez-utils is packaged, or &#8220;hold&#8221; the package. This should work with both apt and aptitude.</p>
<pre>
$ sudo echo bluez-compat hold | sudo dpkg --set-selections
</pre>
<h2>Bluetooth Pairing</h2>
<p>With the updated package in place, you can now follow steps will get the PS3 controller paired with your Ubuntu system. This step only needs to be performed once as it will remain successfully paired with Ubuntu between uses.  If you reconnect/re-pair the controller with the PS3 however, you will have to repeat this step.</p>
<p>If you want to setup multiple controllers, repeat this step for each one individually. </p>
<p>Run the following command to view the system log messages as they are generated. </p>
<pre>
$ watch -n 1 "tail /var/log/messages"
</pre>
<p>Plug in PS3 controller with USB cable. You should see output similar to the following system log in the terminal.</p>
<pre>
Apr  4 11:06:40 xps kernel: [ 9666.789711] input: Sony PLAYSTATION(R)3 Controller as /devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input23
Apr  4 11:06:40 xps kernel: [ 9666.834506] input,hiddev96,hidraw3: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1d.0-2
</pre>
<p>The lights will blink indicating that the controller is communicating with the system. </p>
<p>Press the PS button (clear button in the center of the gamepad). This will acknowledge the controller connection sequence and the controller will become activated.</p>
<p>Check that the <strong>/dev/input/js0</strong> device exists at this point.</p>
<pre>
$ls /dev/input/js*
</pre>
<pre>
/dev/input/js0
</pre>
<p>You can test the controller by running either of the following commands. <strong>jscalibrator</strong> opens a GUI window and allows you you calibrate your buttons. <strong>jstest</strong> shows the raw output from the buttons themselves. Make sure you have pressed the PS button on the controller if you aren&#8217;t getting any response.</p>
<pre>
$ jscalibrator -d /dev/input/js0
</pre>
<p>or</p>
<pre>
$ jstest /dev/input/js0
</pre>
<p>The lights will continue to blink indefinitely as long as the controller is connected, this is normal. There is no way at this point to disable them but the controller will operate correctly over USB.</p>
<p>Execute the <strong>sixpair</strong> utility. This will tell the PS3 controller to look for your Ubuntu bluetooth master device and not the PS3 itself when it attempts to connect over bluetooth.</p>
<pre>
$ sudo ./sixpair
</pre>
<pre>
Current Bluetooth master: 00:1f:e1:e3:48:YY
Setting master bd_addr to 00:1f:e1:e3:48:YY
</pre>
<p>You should now disconnect the controller from the USB cable. It will remain paired with the Ubuntu system from this point forward.</p>
<h2>Initiate Connection</h2>
<p>By now you should have installed the updated package and successfully paired the PS3 controller with your Ubuntu system. Until you reconnect/re-pair the controller to the PS3 you can simply repeat this step each time you want to use your controller.</p>
<p>For the controller to successfully connect with your Ubuntu system you will have to temporarily disable the default bluetooth service and start the <strong>hidd</strong> daemon instead.</p>
<p>Stop the <strong>bluetooth</strong> service.</p>
<pre>
$ sudo /etc/init.d/bluetooth stop
</pre>
<p>Run the <strong>hidd</strong> daemon. The &#8216;<strong>-n</strong>&#8216; will stop it from running in the background and you can see its output in the terminal.</p>
<pre>
$ sudo hidd --server --nocheck -n
</pre>
<pre>
hidd[14407]: Bluetooth HID daemon
</pre>
<p>In a separate terminal run the <strong>hcidump</strong> command below. It will show you the current bluetooth traffic as it happens.</p>
<pre>
$ sudo hcidump -t -V -x
</pre>
<p>Press the PS button (clear button in the center of the gamepad). This will cause the controller to begin its connection sequence. You should see the <strong>hidd</strong> daemon accept the connection and print something similar to the output below. Pay attention to the bold text below. This is your bluetooth PS3 controller address which you will need later to ultimately disconnect the controller.</p>
<pre>
hidd[13149]: New HID device <strong>00:16:FE:D7:8C:XX</strong> (Sony Computer Entertainment Wireless Controller)
</pre>
<p>The system log should also show the following.</p>
<pre>
Apr  4 11:09:52 xps kernel: [ 6258.750437] input: Sony Computer Entertainment Wireless Controller as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2.1/7-2.1:1./bluetooth/hci0/hci0:11/input22
</pre>
<p><strong>hcidump</strong> should start reporting a large amount of bluetooth traffic from the PS3 controller. Here&#8217;s a snippet of the sample output below. </p>
<pre>
2009-04-04 11:10:04.745725 > ACL data: handle 11 flags 0x02 dlen 54
    L2CAP(d): cid 0x0041 len 50 [psm 19]
      HIDP: Data: Input report
      01 00 00 00 00 00 86 88 78 79 00 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 03 05 14 FF C8 00 00 23 5E 77 01
      81 01 FE 01 E8 01 8F 00 02
2009-04-04 11:10:04.757745 > ACL data: handle 11 flags 0x02 dlen 54
    L2CAP(d): cid 0x0041 len 50 [psm 19]
      HIDP: Data: Input report
      01 00 00 00 00 00 86 88 78 79 00 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 03 05 14 FF C8 00 00 23 5E 77 01
      81 01 FE 01 E7 01 8F 00 02
</pre>
<p>Check that the <strong>/dev/input/js0</strong> device exists once again.</p>
<pre>
$ls /dev/input/js*
</pre>
<pre>
/dev/input/js0
</pre>
<p>You can verify the controller is correctly working over bluetooth by once again running either <strong>jscalibrator</strong> or <strong>jstest</strong>.</p>
<pre>
$ jscalibrator -d /dev/input/js0
</pre>
<p>or</p>
<pre>
$ jstest /dev/input/js0
</pre>
<p>Congratulations! You have successfully connected your PS3 controller. As before, the lights will continue to blink as long as the controller is connected. You can operate the controller and map its buttons just like any other joystick or gamepad.</p>
<p>If you are wanting to connect multiple controllers that were successfully paired in the previous step, press the PS button for each one. You should see that a device (<strong>/dev/input/js*</strong>) is created for each one. </p>
<p>Kill the <strong>hidd</strong> daemon by pressing <strong>Ctrl+C</strong> in the terminal window. You no longer need this as the the PS3 controller is now connected.</p>
<p>You can now restart the bluetooth service to resume the normal operation of bluetooth devices on your system. The controller will continue to operate normally.</p>
<pre>
$ sudo /etc/init.d/bluetooth start
</pre>
<h2>Terminate Connection</h2>
<p>The PS3 controller doesn&#8217;t hibernate and power off like it does when paired with the PS3. To conserve your battery, once you are done with it you need to &#8220;unplug&#8221; the controller from the system with the following command. Use the bluetooth address you saved from initiating the connection.</p>
<pre>
$ sudo hidd --unplug <strong>00:16:FE:D7:8C:XX</strong>
</pre>
<p>The lights on the controller will go dark once it has been successfully unplugged. </p>
<p>If you want to reconnect/re-pair the controller to your PS3, simply reattach the controller to the PS3 with the USB cable and press the PS button.</p>
<h2>Summary</h2>
<p>Once you have successfully installed the package and are comfortable with the pairing and connection process you can eliminate all the debugging steps.</p>
<p>Here is a quick reference for the pairing and connection process.</p>
<p><strong>Bluetooth Paring</strong> (only if you need to re-pair with Ubuntu)</p>
<pre>
(connect controller with USB cable)
$ sudo ./sixpair
(disconnect controller from USB cable)
</pre>
<p><strong>Initiate Connection</strong></p>
<pre>
$ sudo /etc/init.d/bluetooth stop
$ sudo hidd --server --nocheck -n
(press the PS button on controller to connect)
(terminate hidd Ctrl+C)
$ sudo /etc/init.d/bluetooth start
</pre>
<p><strong>Terminate Connection</strong></p>
<pre>
$ sudo hidd --unplug 00:16:FE:D7:8C:XX
</pre>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li>
<li><a href='http://www.wiredrevolution.com/ubuntu/install-boxee-on-64-bit-ubuntu-910-karmic' rel='bookmark' title='Permanent Link: Install Boxee on 64-bit Ubuntu 9.10 Karmic'>Install Boxee on 64-bit Ubuntu 9.10 Karmic</a> <small>Installing Boxee turns your computer into an incredible HTPC. These...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/ubuntu/setup-ps3-controller-over-bluetooth-on-ubuntu/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Enable HDMI output on Dell XPS M1530/M1330 with Ubuntu</title>
		<link>http://www.wiredrevolution.com/ubuntu/enable-hdmi-output-on-dell-xps-m1530m1330-with-ubuntu</link>
		<comments>http://www.wiredrevolution.com/ubuntu/enable-hdmi-output-on-dell-xps-m1530m1330-with-ubuntu#comments</comments>
		<pubDate>Sat, 24 Jan 2009 14:45:15 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[8.10]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[HDMI]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[m1330]]></category>
		<category><![CDATA[m1530]]></category>
		<category><![CDATA[output]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[xps]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=940</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/>Hardware support in Linux, specifically Ubuntu 8.10 (Intrepid Ibex) for the Dell XPS M1530 and M1330 is very impressive. However in certain cases the process is not as straight forward as it could be, and it takes a bit of tinkering in order to get it to work. In this article I will go through [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/><p>Hardware support in Linux, specifically Ubuntu 8.10 (Intrepid Ibex) for the Dell XPS M1530 and M1330 is very impressive. However in certain cases the process is not as straight forward as it could be, and it takes a bit of tinkering in order to get it to work. In this article I will go through how to enable audio and video through the HDMI output.</p>
<p>The first step is making sure that the HDMI cable is connected between the computer and external monitor, HDTV, etc.</p>
<h3>Video Support</h3>
<p></p>
<p>To enable the video you need to go to your <strong>NVIDIA X Server Settings</strong> manager. This of course assumes you are using the NVIDIA driver on your system.</p>
<p><strong>System -> Administration ->  NVIDIA X Server Settings</strong></p>
<p>Select the <strong>X Server Display Configuration</strong>.  Click the <strong>Detect Displays</strong> button and you external monitor should be displayed. Click on the external screen so that it becomes selected and click the <strong>Configure</strong> button and select the <strong>TwinView</strong> option.</p>
<p>Once this monitor is enabled a <strong>Position</strong> dropdown box should appear. It is best in most cases to select <strong>Clones</strong>.The screen output will be duplicated on both devices. </p>
<p>Select the <strong>Apply</strong> button for these changes to take effect.</p>
<p>If your external monitor has a lower resolution than your laptop screen it may help to disable the laptop screen so that maximized video won&#8217;t go beyond the borders of your external monitor. To do this click the laptop screen so that it becomes selected, click the <strong>Configure</strong> button, and select <strong>Disabled</strong>.</p>
<h3>Audio Support</h3>
<p></p>
<p>Open the <strong>Volume Control</strong> manager, usually ou can click on the volume applet on the top GNOME panel.</p>
<p>Make sure your device is set to <strong>HDA Intel (Alsa Mixer).</strong></p>
<p>Select the <strong>Switches</strong> tab and put a check mark next to <strong>IEC958</strong>. Selecting this enables audio output over the HDMI connection. </p>
<p>If you want to disable audio output through your laptop speakers you can disable them. Go back to the <strong>Playback</strong> tab and mute the <strong>Front</strong> channel.</p>
<h3>Bugs</h3>
<p></p>
<p>1) Enabling the laptop screen as well an external monitor through HDMI can cause X to freeze with certain Compiz-Fusion effects such as desktop switching. Disabling Compiz-Fusion or disabling the laptop screen while operating in this mode fixes this issue.</p>
<p>2) Disabling the laptop monitor will not correctly resize the GNOME desktop to match the resolution of the external monitor over HDMI. However video playback will still be correctly maximized.</p>
<p>3) Audio output over HDMI connection may not work for a specific program even if everything has been configured correctly. Restarting this program usually fixes this issue.</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/ubuntu/enable-hdmi-output-on-dell-xps-m1530m1330-with-ubuntu/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to SSH into Ubuntu LiveCD</title>
		<link>http://www.wiredrevolution.com/ubuntu/how-to-ssh-into-ubuntu-livecd</link>
		<comments>http://www.wiredrevolution.com/ubuntu/how-to-ssh-into-ubuntu-livecd#comments</comments>
		<pubDate>Tue, 16 Dec 2008 14:08:44 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[8.10]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[aptitude]]></category>
		<category><![CDATA[ifconfig]]></category>
		<category><![CDATA[inet addr]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[IP address]]></category>
		<category><![CDATA[livecd]]></category>
		<category><![CDATA[openssh_server]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=865</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/>The ability to remotely SSH into a machine running an Ubuntu LiveCD can come in handy in many situations. The LiveCD supports a large variety of hardware and can be used to troubleshoot system problems on a machine where you have limited or no access. A user with limited skills can easily setup remote access [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/><p>The ability to remotely <strong>SSH</strong> into a machine running an <strong>Ubuntu</strong> <strong>LiveCD</strong> can come in handy in many situations. The LiveCD supports a large variety of hardware and can be used to troubleshoot system problems on a machine where you have limited or no access. A user with limited skills can easily setup remote access and allow a trusted friend to troubleshoot the system from another location.</p>
<p>The first thing to start the process is to open a <strong>terminal</strong>. Follow these menus:</p>
<p><strong>Applications -> Accessories -> Terminal</strong></p>
<p>In the terminal install the <strong>ssh server</strong> on your LiveCD system.</p>
<pre>
$ sudo apt-get install openssh-server
</pre>
<p>The server is started automatically after installing. </p>
<p>To login remotely, you’ll need to set the password for the default ubuntu user.</p>
<pre>
$ sudo passwd ubuntu
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
</pre>
<p>You should now be able to login to the system running the LiveCD. But first you need to <a href="/system-administration/find-your-ip-address-with-ifconfig">find the IP address</a> of the machine so you can connect to it.</p>
<p>The <strong>ifconfig</strong> command will list your network interfaces and along with it your IP address.</p>
<pre>
$ ifconfig
</pre>
<pre>
eth0      ...
          <strong>inet addr:192.168.1.1</strong>  Bcast:192.168.2.255  Mask:255.255.255.0
          ...
</pre>
<p>The <strong>inet addr</strong> entry is your IP address which you need to log into the LiveCD system. As you an see above the IP address begins with &#8220;<strong>192.168</strong>&#8221; which indicates that the IP address is only valid on the local network. It was an address assigned to the machine by the router.  This is fine if you plan on logging in from another machine on this local network.</p>
<p>If you need to access the machine from outside your local network you have a couple of options.  The first is to remove any router between you and the Internet. This should give you a valid IP address which is accessible from outside your local network. You may also be able to access your router&#8217;s administration panel and tell it to pass SSH traffic to the IP address of the LiveCD system.  You will then use the router&#8217;s IP address instead for the next step.</p>
<p>If your IP address already begins with something other than &#8220;<strong>192.168</strong>&#8221; then you are safe as well. You should be able to access the LiveCD system from any location, local or not.</p>
<p>Using the IP address from the previous step you can now log into the LiveCD system as the ubuntu user. Use the password you created earler.</p>
<pre>
$ ssh ubuntu@&lt;IP Address&gt;
</pre>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/ubuntu/how-to-ssh-into-ubuntu-livecd/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Allow sudo access without passwords in Ubuntu</title>
		<link>http://www.wiredrevolution.com/ubuntu/allow-sudo-access-without-passwords-in-ubuntu</link>
		<comments>http://www.wiredrevolution.com/ubuntu/allow-sudo-access-without-passwords-in-ubuntu#comments</comments>
		<pubDate>Fri, 21 Nov 2008 13:51:28 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[8.10]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[NOPASSWD]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[sudoers]]></category>
		<category><![CDATA[visudo]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=695</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/>To give a specific user access to sudo without having to enter a password you have to edit the /etc/sudoers configuration file.  For security reasons you should only edit the file using the visudo command.

$ sudo visudo

In Ubuntu the following lines are placed at the bottom of /etc/sudoers by default. This gives your default [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/><p>To give a specific user access to sudo without having to enter a password you have to edit the <strong>/etc/sudoers</strong> configuration file.  For security reasons you should only edit the file using the <strong>visudo</strong> command.</p>
<pre>
$ sudo visudo
</pre>
<p>In Ubuntu the following lines are placed at the bottom of <strong>/etc/sudoers</strong> by default. This gives your default user access to sudo as well as any other user in the admin group. </p>
<pre>
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
</pre>
<p>If you want to allow sudo access without passwords for all users in the admin group you can simply add the <strong>NOPASSWD</strong> option to this line and be done.</p>
<pre>
%admin ALL=(ALL) NOPASSWD: ALL
</pre>
<p>If you want to give a specific user sudo access without passwords, you will have to add an additional line for each user. These lines will conflict with the default admin line above so they <strong>must be placed at the end</strong> of the sudoers file. The reason for this is that sudo will handle contradicting configuration lines by giving priority to the line closest to the bottom of the file.  </p>
<p>Add the following line to the <strong>end</strong> of the file, replace &#8216;ryan&#8217; with your username.</p>
<pre>
ryan    ALL=(ALL) NOPASSWD: ALL
</pre>
<p>Add a line for each user that you wish to have access.</p>
<p>For more ways to use and configure sudo have a look <a href="/commands/submit-commands-as-root-with-sudo">here</a>.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/ubuntu/allow-sudo-access-without-passwords-in-ubuntu/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix Skype audio on Ubuntu with Dell XPS M1530/M1330</title>
		<link>http://www.wiredrevolution.com/ubuntu/fix-skype-audio-on-ubuntu-with-dell-xps-m1530m1330</link>
		<comments>http://www.wiredrevolution.com/ubuntu/fix-skype-audio-on-ubuntu-with-dell-xps-m1530m1330#comments</comments>
		<pubDate>Thu, 13 Nov 2008 13:29:32 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[8.10]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[m1330]]></category>
		<category><![CDATA[m1530]]></category>
		<category><![CDATA[mic]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[xps]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=660</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/>To get Skype audio working with Ubuntu Intrepid Ibex (Ubuntu 8.10) and Dell XPS M1530/M1330 requires a few changes to the standard install.
Make sure you have added the medibuntu repository and installed Skype.
You need to enable the embedded microphone. Go to Volume Control by clicking on the volume icon. In Preferences select Digital Input Source. [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/><p>To get Skype audio working with Ubuntu Intrepid Ibex (Ubuntu 8.10) and Dell XPS M1530/M1330 requires a few changes to the standard install.</p>
<p>Make sure you have <a href="/ubuntu/add-ubuntu-medibuntu-repository">added the medibuntu repository</a> and installed Skype.</p>
<p>You need to enable the embedded microphone. Go to <strong>Volume Control</strong> by clicking on the volume icon. In <strong>Preferences</strong> select <strong>Digital Input Source</strong>. This will enable the <strong>Digital Mic 1</strong> option which you should select.</p>
<p>Now launch Skype and go into <strong>Options</strong> -> <strong>Sound Devices</strong>. Select &#8220;HDA Intel (hw:Intel,0)&#8221; for <strong>Sound In</strong>, <strong>Sound Out</strong>, and <strong>Ringing</strong>.</p>
<p>Go ahead and make a test call to verify that everything is working correctly.</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/ubuntu/fix-skype-audio-on-ubuntu-with-dell-xps-m1530m1330/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Add Ubuntu medibuntu repository</title>
		<link>http://www.wiredrevolution.com/ubuntu/add-ubuntu-medibuntu-repository</link>
		<comments>http://www.wiredrevolution.com/ubuntu/add-ubuntu-medibuntu-repository#comments</comments>
		<pubDate>Tue, 11 Nov 2008 11:52:18 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[8.10]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[keyring]]></category>
		<category><![CDATA[medibuntu]]></category>
		<category><![CDATA[repository]]></category>
		<category><![CDATA[sources.list]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=650</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/>The Medibuntu repository (Multimedia, Entertainment &#38; Distractions In Ubuntu) contains packages that cannot be included into the Ubuntu distribution for legal reasons.  Some of these packages include Skype Acrobat Reader, Google Earth, and multimedia codecs.
Add Medibuntu to your sources.list. Make sure you specify the correct version of your distribution. This example uses Intrepid Ibex [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/install-boxee-on-64-bit-ubuntu-910-karmic' rel='bookmark' title='Permanent Link: Install Boxee on 64-bit Ubuntu 9.10 Karmic'>Install Boxee on 64-bit Ubuntu 9.10 Karmic</a> <small>Installing Boxee turns your computer into an incredible HTPC. These...</small></li>
<li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/ubuntu_icon.png" width="80" height="78" alt="" title="ubuntu" /><br/><p>The Medibuntu repository (Multimedia, Entertainment &amp; Distractions In Ubuntu) contains packages that cannot be included into the Ubuntu distribution for legal reasons.  Some of these packages include Skype Acrobat Reader, Google Earth, and multimedia codecs.</p>
<p>Add Medibuntu to your sources.list. Make sure you specify the correct version of your distribution. This example uses <strong>Intrepid Ibex</strong> (Ubuntu 8.10).</p>
<pre>
# wget http://www.medibuntu.org/sources.list.d/intrepid.list --output-document=/etc/apt/sources.list.d/medibuntu.list
</pre>
<p>Then add its GPG key to your keyring.</p>
<pre>
# apt-get update &amp;&amp; apt-get install medibuntu-keyring &amp;&amp; apt-get update
</pre>
<p>Now you should be able to install packages in this repository.</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/install-boxee-on-64-bit-ubuntu-910-karmic' rel='bookmark' title='Permanent Link: Install Boxee on 64-bit Ubuntu 9.10 Karmic'>Install Boxee on 64-bit Ubuntu 9.10 Karmic</a> <small>Installing Boxee turns your computer into an incredible HTPC. These...</small></li>
<li><a href='http://www.wiredrevolution.com/ubuntu/installing-ubuntu-910-on-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Installing Ubuntu 9.10 on the Dell Zino HD'>Installing Ubuntu 9.10 on the Dell Zino HD</a> <small>The Dell Inspiron Zino HD is the perfect machine if...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/ubuntu/add-ubuntu-medibuntu-repository/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
