Pages

Sunday, March 31, 2013

How to change directory and transfer files to USB with the command line



You will sometimes need to use the command line to access the USB and transfer files from or to it. This usually happens when something wrong happens to X or when you try to install everything from scratches like with Arch Linux. To change the directory or transfer files to a USB from the command line, you just need to know the name of the USB.

Just open the terminal and from your home folder, type:

 cd /media  

Then:
 ls  

And you will see the name of the USB and other mounted devices.

To change directory or transfer files to the USB or the mounted devices, just copy paste the name after /media like this:
 cd /media/name-of-USB  

In case the name of the USB has spaces, you will need to use the quote marks ("") around its name. Here is how it looks in the terminal in my box:


Mageia 3 Beta 4



Anne Nicolas has announced the availability of the fourth and last beta release of Mageia 3: "After all the delays in our Mageia 3 planning, we're very pleased to be able to announce the beta 4 release. Packagers and the QA team have worked hard to fix as many bugs as possible. We are now one month from the Mageia 3 final release, so your tests -- and reports! -- are more important than ever. This beta release comes with nearly all the designs for Mageia 3 integrated -- many thanks to Leo who made the background image for Mageia 2 and then worked again on the Mageia 3 design. Initially we're releasing the i586 and x86_64 DVDs and dual CD using the classical installer; work is still in progress on the live ISOs." Read the release announcement and release notes for more details. Download: Mageia-3-beta4-x86_64-DVD.iso (3,857MB, MD5, torrent).

How to Change your Network Adapter Name (eth0/wlan0) in Ubuntu/Linux Mint



In this article, we will cover the way to change the name defined for your Ethernet/wireless adapter (eth0, eth1, wlan0, wlan1, etc.). This tip is not very useful, but  it maybe interesting for some users and we will show you here how to do it.

Getting Started

You can check the current name for your wired/wireless adapter with this command under Ubuntu/Linux Mint:


ifconfig

Next, make a backup copy of the file we are going to edit using this command:

sudo cp /etc/udev/rules.d/70-persistent-net.rules /etc/udev/rules.d/70-persistent-net.rules.back

Edit now the file with this command:

gksudo gedit /etc/udev/rules.d/70-persistent-net.rules

In this file, locate your adapter name  and change it to whatever name you want. Here is a code snippet from the file indicating the part you must change:

# PCI device 0x8086:/sys/devices/pci0000:00/0000:00:03.0 (e1000)SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:1b:4e:ec", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

After you finish, save the file and close it, then restart your computer so that changes take effect. Run again "ifconfig" to check if the name has changed or not. If you want to restore your original file, run this command:

sudo cp /etc/udev/rules.d/70-persistent-net.rules.back /etc/udev/rules.d/70-persistent-net.rules

Elive 2.1.33 (Unstable)




Elive 2.1.33, a new development built of the desktop Linux distribution that integrates Debian GNU/Linux with the Enlightenment window manager, has been released for testing: "The Elive Team is proud to announce the release of development version 2.1.33. This version includes some miscellaneous features like: Google Talk plugin included, you can now do calls with voice and video; much improved way to connect to the Internet, with sorting by signal and a complete set of features for any need; improved Elive tools, with detection of your city and time zones without requiring a GPS; Enlightenment 0.17 fixes for keyboard, GL detection and Night mode. We appreciate your feedback about the overall speed and lightness of the system compared to the last stable version of Elive." Here is the brief release announcement. Download from here: elive_2.1.33_alpha_hybrid.iso (1,381MB, MD5).