Ubuntu is a Linux distribution with an emphasis on ease of use and installation. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

learn more… | top users | synonyms (1)

0
votes
1answer
2k views

Enable wifi monitor mode on Samsung Chromebook

I want to buy the Samsung Chromebook and use it with Ubuntu (12.10). I also want to play around with airmon-ng and thus want to use the wifi card in monitor mode. I didn't find any information if ...
-4
votes
3answers
3k views

ubuntu: sudo find / -type d -exec chmod -Rf a-wr {} \; the user can't login [closed]

I used ubuntu 12.04 (32bit).Today,I mistakes a command is executed: WARNING DO NOT EXECUTE THIS COMMAND: sudo find / -type d -exec chmod -Rf a-wr {} \; I can't login system;The System is only one ...
1
vote
3answers
943 views

How can I get an Ubuntu 12.04 box to do an aptitude update; aptitude upgrade?

I did an aptitude apt-get and then aptitude upgrade, on an Ubuntu 12.04 box, and got: root@li393-189:~# aptitude upgrade Resolving dependencies... The following packages will be ...
3
votes
1answer
841 views

Weird issue with unmet dependencies when cloning package states from earlier installation on same machine [closed]

I've been doing the usual routine of saving the package selections and also marking the packages as auto or manual as outlined in the question and answer here: Restoring all data from backup of dpkg ...
2
votes
1answer
315 views

Creating a terminal application from a shell script

I have a shell script. I want to convert the shell script to an application for Ubuntu which can be installed using (sudo apt-get install) command and after installing, the application can run from ...
6
votes
2answers
15k views

Ubuntu: How do the md devices get assembled at bootup?

How do the md devices get assembled at bootup in Ubuntu? Is /etc/mdadm/mdadm.conf truly the relevant factor here? My mdadm.conf is sound and I checked that while I was in the rescue CD environment. ...
0
votes
1answer
388 views

Can I configure software RAID on an existing server without losing the existing partition?

I've got an existing server with 1 disk and Ubuntu 12.10 installed and running. I want to add a 2nd disk and configure RAID 0 across the two disks using Ubuntu's software RAID. Can I do this ...
6
votes
2answers
23k views

eth0 not being configured automatically

When I start an ubuntu 12.10 instance, eth0 is NOT getting configured. davidparks21@MySqlDB:~$ cat /run/network/ifstate lo=lo When I manually edit ifstate and add eth0=eth0 and service restart ...
0
votes
1answer
1k views

Connecting from OpenVPN Server to MySQL Server

I have an OpenVPN server installed on a server. What I'm trying to do connect from the OpenVPN server using the mysql client to the MySQL server than is connected to the OpenVPN server using a ...
2
votes
0answers
235 views

Use dedicated per-user log file for cron and?

On Ubuntu 12.04 how can I configure cron to log to a particular file when it runs jobs as a particular user? I am interested in redirecting both the messages that go into auth.log and those going into ...
2
votes
1answer
81 views

Sharing /boot between two Ubuntu 12.04 Server installations?

This question may seem trivial at first sight, but it has certain implications and I'm wondering what is the recommended path to take here. Assume the following scenario: a server system. The default ...
4
votes
4answers
42k views

Ubuntu: How to configure DNS servers in /etc/network/interfaces correctly for resolvconf?

All examples I have seen of configurations (/etc/network/interfaces) showed that you configure an interface and then underneath that gave the dns-* lines such as: auto eth0 iface eth0 inet static ...
2
votes
3answers
3k views

Using sudo in openSUSE without actually changing to root user (i.e., like in Ubuntu)

I recently started trying openSUSE 12.3 after having used Ubuntu for a few years. I'm still getting used to openSUSE's treatment of su (and sudo) vs. Ubuntu's use of sudo. I've been reading the ...
2
votes
2answers
273 views

Install the same 64-bit packages as a 32-bit Xubuntu installation

I have been using a virtual machine (Xubuntu 12.10, with VMWare on a windows host) for all my programming work, which I am trying to transition from a 32-bit install to a 64-bit install. I am hoping ...
0
votes
1answer
61 views

How to resolve midgard2 already loaded?

When running PHP on my Ubuntu 13.04 machine I get the following warning: PHP Warning: Module 'midgard2' already loaded in Unknown on line 0 This tells me exactly nothing. How could I resolve this ...
0
votes
0answers
1k views

make: i686-linux-gcc: Command not found

I am using Ubuntu-11.10 amd64 and trying to cross-compile a linux-2.6.38.8 kernel for a 32-bit target.I tried make CROSS_COMPILE=i686-linux- ARCH=i386 But I got error make: i686-linux-gcc: ...
0
votes
2answers
153 views

Transfering files using ssh

I've found the following command pretty convenient for transferring files to servers I have ssh access to: cat myfile.txt | ssh my.host.edu "cat > myfile.txt" Is there a similarly convenient ...
3
votes
1answer
104 views

Deleted user but files keep his group?

I removed a user from my computer. Now there's a lot of files that I need to modify that are from the deleted user group. How can I change ALL file group and owner from that deleted user without ...
0
votes
1answer
492 views

Ubuntu software-center problem in Linux Mint

I am using Linux Mint KDE Nadia 14 64bit version. When I run software-center, it dosen't work, following errors appear: huseyin@huseyin-GA-MA770-UD3 ~ $ software-center 2013-03-31 23:00:24,688 - ...
0
votes
1answer
343 views

emacs fonts from ssh not as good as locally installed

How can I have the same emacs fonts and antialiasing configuration that I have in my local Ubuntu 12.04 also working when I open an emacs session via ssh to a CentOS 5 system? EDIT: I didn't get an ...
3
votes
1answer
17k views

Cannot reach outside network or IP after upgrading to Ubuntu 12.04

I am running Ubuntu 12.04 on my server but since the upgrade from 10.04 I can no longer reach any outside sources of the server. I can SSH into the box, but from inside here I can not reach anything. ...
1
vote
1answer
992 views

Unable to upgrade Cinnamon with Linux Mint 13

I would like to upgrade to the latest version of Cinnamon. I'm running Linux Mint 13 in a virtual machine. Everywhere I look, I see the same instructions: > sudo add-apt-repository ...
0
votes
1answer
492 views

Copy modified files from one server to other

Scenario: 2 Servers (*.12 and *.13) CakePHP "application" on both of them. *.12 is "Production" Server *.13 is "Development" Server Now i want to copy all files modified the last 2 days from test ...
2
votes
1answer
115 views

Partitioning. Arch vs Ubuntu manuals

I got a little confused after I had read advices on https://wiki.archlinux.org/index.php/Partitioning and on https://help.ubuntu.com/12.04/installation-guide/powerpc/directory-tree.html. Why is there ...
2
votes
1answer
3k views

exchange two words using sed

I am trying to exchange two words in a line but it doesn't work. For example: "Today is my first day of university" should be "my is Today first day of university" This is what I tried: sed ...
5
votes
1answer
90 views

How does APT deal with different programs with the same name?

I decided to finally learn vi and as I was doing that I realized that vi wasn't behaving as I expected. I learned from another post that this was because, on Ubuntu, vim-tiny is installed by default. ...
4
votes
0answers
209 views

To what extent does LXC manage configuring the network interface in a container?

In the LXC config file we can specify an IP address for a container: lxc.network.type=veth lxc.network.link=br0 lxc.network.ipv4 = 10.1.0.35/16 lxc.network.flags=up lxc.network.hwaddr= ...
1
vote
1answer
268 views

Backtrack mp3 problem

I've installed Backtrack but I can't figure out how to play mp3files. I've installed ubuntu-restricted-extras,lame, libmp3lame but still won't work(I have Rhythmbox player, I've also tried Amarok). ...
0
votes
2answers
3k views

Ubuntu crontab php not working

Yes, I have read many, many documentations but I can't get it to work. I have a simple single php file which I want to run once or twice in a minute. My php file is called: cronjob_refresh.php and I'm ...
3
votes
2answers
7k views

Extra bridge interfaces get added automatically

I have a bridge set up between eth0 and br0, the bridge works fine, but sometimes, for unknown reasons and circumstances, I keep getting these off vethXXXXXX interfaces added to the bridge. When this ...
0
votes
0answers
129 views

User installation emacs 23 on a centos 5 with system-wide installed emacs-21.4-20.el5?

I would like to install my own copy of emacs 23 on a Centos 5 Linux where I don't have admin rights. I would like to have my own modern copy of emacs on this Centos 5 system since I've got a problem ...
3
votes
2answers
2k views

cgroups: blkio.weight doesn't seem to have the expected effect

I've got 2 LXC containers with these cgroup settings: lxc.cgroup.blkio.weight = 200 lxc.cgroup.cpu.shares = 200 and lxc.cgroup.blkio.weight = 800 lxc.cgroup.cpu.shares = 800 I have verified in ...
7
votes
1answer
5k views

Is GREP_OPTIONS= --color=always ignored?

I was playing around with setting GREP_OPTIONS and couldn't get it to work. Just curious as to why. Simple test commands output: richard@ubuntu:~$ echo $GREP_OPTIONS richard@ubuntu:~$ ...
2
votes
0answers
1k views

Error: invalid arch independent ELF magic, while loading a VirtualBox machine with Ubuntu Tinyos

I've created a virtual machine with Ubuntu (having TinyOS). The problem arises when I start the machine. I immediately get a black screen with written: GRUB loading. error: invalid arch independent ...
1
vote
0answers
281 views

Can't drag and drop in Qt Creator

I recently installed the system upgrades for my Ubuntu distro (12.10). Since the upgrades, I can't drag and drop items in Qt Creator. I found a solution that requires editing of xorg.conf. My system ...
1
vote
1answer
12k views

Wireless not working after update (Network Unclaimed)

I just installed backbox3, during the install im asked to connect to wireless, and it works like a charm, but after i update the system and reboot, i loose wireless... "sudo lshw -C network" gives ...
1
vote
1answer
1k views

How do I manually modify an inode?

I am using Ubuntu Linux and, just for fun, I want to create a hardlink to a directory (as seen here). Because I'm just doing this for fun, I'm not looking for any sort of pre-developed ...
1
vote
1answer
1k views

How to recover grub after Windows installation

Usually when we install Windows after installing GNU/Linux, we usually lose the Grub. Which is the best way to recover grub when we lost grub or what are the possible different ways.
17
votes
5answers
18k views

LXC: How do I mount a folder from the host to the container?

I'm trying to mount a folder on the host to an LXC container. The host has a folder /mnt/ssd/solr_data created (this is currently on the root filesystem, but later I'll mount an SSD drive there, so ...
3
votes
1answer
1k views

How to setup whatever.localhost.dev to resolve into 127.0.0.1 on Ubuntu 12.04?

I'm running Ubunut 12.04 I want *localhost.dev to point to 127.0.0.1. Ubuntu 12.04 comes with dnsmasq-base installed with network-manager. But there is no /etc/dnsmasq.conf. So I installed the ...
-1
votes
1answer
2k views

I can't install Mono because something's wrong with the kernel (I think)

$ sudo apt-get install mono-runtime Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The ...
1
vote
1answer
815 views

Opening lid results in black screen (Dell Laptop with ATI Graphics, Ubuntu 12.04, 3.2 kernel, GNOME 3)

For the past few weeks, when opening the lid my laptop often fails to recover from suspension leaving me with a blank screen. Further, when this bug occurs, the laptop fans continue to run while the ...
-1
votes
1answer
331 views

Own distro, own name? [closed]

There are lots of tools to modify the system of Linux distro. I would like to start own OS. But I am not good at such programming. If I take Linux Fedora... I would use this tools and install ...
1
vote
1answer
3k views

External drive not being recognized

I am currently running elementary OS (a Linux OS based on Ubuntu so everything in Ubuntu works in it) - dual booting it with Windows 8. I have a 3TB external hard drive (USB 3.0) that does not seem ...
0
votes
1answer
363 views

Bluetooth doesn't show up, Linaro

rfkill list all Shows: 0: fxi_c210-bt: Bluetooth Soft blocked: no Hard blocked: no And hcitool dev shows nothing except: Devices: Bluetooth didn't work, but at some start it didn't ...
1
vote
0answers
44 views

How do I encrypt the main partition of a SIFT (Ubuntu 9.10 variant) install?

I've got SIFT (based on Ubuntu 9.10) installed on a work laptop. We're trying to encrypt the entire installation (root partition and swap), which is apparently doable using LUKS, but I'm having some ...
1
vote
3answers
3k views

Ubuntu 12.04 won't boot, asks for low graphics mode, cant run apt-get because file system is read-only

My computer won't boot anymore I think because it ran out of disk space. It asks to boot in low graphics mode and then gets stuck checking battery state. When I boot in recovery mode I run clean and ...
2
votes
1answer
2k views

explanation of the output's command “ifconfig ppp0”

I'm trying to understand the meaning the output of the command: ifconfig ppp0 Note that I'm using an internet-usb-board and so I'm sure that ppp0 interface is associated to it. In particular I have ...
1
vote
1answer
1k views

dpkg sees them, but apt-get can't remove them?

(similar to the question Uninstalling default VBoxGuestAdditions on Debian but a Ubuntu install, and the solution there isn't working for me?) and really the issue seems to be with dpkg/apt-get not ...
1
vote
0answers
39 views

Create a browser only session (Ubuntu) [duplicate]

I was recently in a Virgin media shop and was interested to see that they had laptops running Ubuntu for customers to browse the web on. The setup itself was interesting and I'm wondering if anyone ...