Categories
Posts Uncategorized

Fedora – Add User To Sudoers

Pretty simple and quick way to add a user to the sudoers list in fedora:

Login as root user:
su
Password: *enter root password here*

Add write permissions to the sudoers file:
chmod +w /etc/sudoers
Add the user (change alex to the user you want to add to sudoers) to sudoers and set no password (so you don’t have to enter a password when using sudo).
echo '<strong>alex</strong> ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
Remove the write permission from the sudoers file once you have finished writing to protect it, and then exit:
chmod -w /etc/sudoers
exit

Now try testing it out by checking for updates or anything else you need to do as root :-)

Categories
Posts Uncategorized

Fedora 11 – Error: “Cannot retrieve repository metadata (repomd.xml)”

To fix this error you will need to edit some of the repo files located in /etc/yum.repos.d/ heres how:

su -
cd /etc/yum.repos.d/
gedit fedora.repo

In here you are going to want to remove the comments ‘#’ from the lines beginning with baseurl and then comment out the lines beginning with mirrorlist. Now do the same for the file fedora-updates.repo in the same directory.

gedit fedora-updates.repo

Finally you want to add two lines to /etc/hosts file:

gedit /etc/hosts
add these two lines to the bottom of this file:
80.239.156.215          mirrors.fedoraproject.org
213.129.242.84          mirrors.rpmfusion.org

Now try yum update if the error doesn’t show it worked! :)

Categories
Posts Uncategorized

Fedora 11 – Surround Sound Setup

To set up your surround sound first open up Terminal, or alternatively Alt+F2 and type the following in either:
gedit /etc/pulse/daemon.conf

Now you’re looking for this line, it may be commented out so make sure to remove the ‘;’ in order for it be seen.
default-sample-channels = 2
You might have a different amount of channels set there but simply change it the amount of speakers you have, the sub doesn’t count so 5.1 will be 5, 6.1 = 6, 7.1 = 7 etc..

Ok now you will need to restart you system for these changes to take effect once thats done test them out with this command:
speaker-test -Dplug:surround51 -c6 -l1 -twav

Manuals:
pulse-daemon
speaker-test

Categories
Blog Posts Uncategorized

Lite-On PA-1900-24 Smoking

The power cable for my Acer Travelmate 5720 started playing up, it started by turning on and off just while I was typing and so I checked it out just in time to catch it smoking. So I quickly removed it from my laptop and the wall and took it outside to cool down both due to the squeeling sound and also being a little scared it might randomly combust infront of me. I’m just glad I caught it and wasn’t asleep while this happened as it could have damaged the laptop or worse. Going to have to find some sort of support to submit a report incase it’s not just this incident.