I downloaded the D-link driver from the website and transferred it on usb to my computer. When running the install.sh file I encounter the error "bash: make: command not found". Since I do not have internet, I cannot download the build-essential package that contains make. What can I do?
Saturday, June 30, 2018
14.04 - How to upgrade to Ubuntu 15.10?
Ubuntu 15.10 was released yesterday. What's the proper way to upgrade from Ubuntu 14.04?
VirtualBox unable to capture device (USB Hard Drive)
I'm facing some issues with my USB hard drive and VirtualBox. The problem is that it's detected in devices list and I activate the checkbox to capture the device but it's not captured by the guest system (Windows 7). The only way I made it work was adding a filter in virtual machine configuration and when the system starts the device is captured but I don't want this behaviour because when I unplug the device and then plug it again, the same problem occurs, it won't recognize it again until I restart the virtual machine.
Suggestions? Thanks in advance.
grub2 - How to modify GRUB boot menu?
The system am looking after has two hard drives of 80GB each, with about 8 partitions between them; primary and extended. It has Intel Pentium 4 and 2GB rams
The following software were installed in them as listed in the GRUB boot menu.
- GRUB4DOS 0.4.4 2009-06-20, Memory: 640K / 1014M, MemEnd: 0x48D2A
- Lnux Mint 11 Kalya (sdb6)
- Windows XP Professional SP3 (sda1)
- Linux Puppy 5.4.2 Precise (sda3/puppy5.4.2)
- Ubuntu 11.04 Natty Narwhal (sdb8)
- Linux-Puppy 5.2.5 Lucid (sda3/puppy525)
- Linux-Puppy 5.3.3 Slacko (sda3/puppyslacko5.3.3)
- Advanced Menu
Lacking knowledge of Linux decided to remove all partitions and keep only two primary partitions on each Drive. In result, the situation now is two drives with 80GB each.
- On one drive, all the 80GB are unallocated space and would like to keep it like that until I read through the vast contributions and have the hang of Linux distributions.
- On the other drive the 80GB are used for the MBR and two primary partitions, both NTFS filesystem, 70Gb for the root bootable with Windows XP preinstalled and the rest for the 2nd partition which is reserved for use as recovery.
The problem is, GRUB boot Menu did not reflect this change. It is still showing the same old list (the 7 items listed earlier at top) of bootable programs.
Reading an article by Dedoimedo I thought I might be able to find where GRUB was installed and manually remove the entries from the boot menu: But didn’t get to fully understand it.
I also thought I might find GRUB stage 2 files or directory in the root directory with Windows XP, so I made file search in Windows explorer but it returned zero result.
I appreciate any help toward answering the following;
- Is it possible to substitute GRUB with Windows own Bootloader and how to do that?
- How to find where GRUB’s stage 1 & 2 files are installed; what are files or directory names?
- How to change the list on GRUB’s boot menu, if I have to retain GRUB?
- I understand that GRUB’s stage 1 could be found in the first sector installed alongside the MBR but how to find it?
I have Linux Mint 16 Live, System rescue.iso
and GParted live.iso
(which I used to delete the partitions): all of them are on CD’s.
There were lots of useful command strings in Dedoimedo’s article including complete command listing on how to add OS to GRUB menu. I thought removing programs from the menu would just be the reverse of adding a program: The problem is I was not able to do the first step of changing the command cursor / line from Mint $ character to GRUB directory.
Your help much appreciated
Friday, June 29, 2018
system installation - Will Ubuntu work on a Dell Inspiron 15R?
I want to know how to install Ubuntu on a Dell Inspiron 15R with Intel Core i3, 3GB RAM, Intel HD graphics and 320GB HDD. I've heard some people have had issues with the wireless card. Also, I tried a few days ago to install the 64-bit version of Ubuntu 10.10 and the installaten hung on the "Who are you" screen... Can anyone help me, I really want to get into Linux but without having any problems with the laptops drivers.
apt - Full changelog of updated packages for Ubuntu releases?
So for any given version e.g. 12.04, 12.10, 13.04,etc. a full changelog of all update packages e.g. MySQL, Apache, etc.?
Note: Raring Ringtail release notes says:
For a list of all packages being accepted for 13.04 Raring Ringtail, please subscribe to raring-changes.
The raring changes is a mailing list of nightmare proportions. Maybe there's a final, proofed, easy to understand, changelog of all updated packages?
You can find all changelog on http://changelogs.ubuntu.com/, but it's difficult to see.
So the best strategy is to go to http://packages.ubuntu.com, search for interesting packages, and on right column click on "Ubuntu Changelog".
wireless - Why is Wifi not working on my HP laptop?
The wireless card is not working but the Internet is working good with Ethernet cable.
The output of lspci
is :
02:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
At fist the card was working but sometimes it's disconnected, and have problem on coverage range, and sometimes it's not working at all
I tried many solutions on the Internet but now it's not working at all.
I don't know what to do :(
backup - How to make a disk image and restore from it later?
I'm a new Linux user. I've reinstalled my Wubi from scratch at least ten times the last few weeks because while getting the system up and running (drivers, resolution, etc.) I've broken something (X, grub, unknowns) and I can't get it back to work. Especially for a newbie like me, it's easier (and much faster) to just reinstall the whole shebang than try to troubleshoot several layers of failed "fixing" attempts.
Coming from Windows, I expect that there is some "disk image" utility that I can run to make a snapshot of my Linux install (and of the boot partition!!) before I meddle with stuff. Then, after I've foobar'ed my machine, I would somehow restore my machine back to that working snapshot.
What's the Linux equivalent of Windows disk imagers like Acronis True Image or Norton Ghost?
Note: I found a similar question: Easy backup/restore of installed system?
drivers - Why won't my graphics work in Ubuntu 12.04 LTS?
I'm very new to Ubuntu and to Linux in general, and took the leap and formatted my PC to Ubuntu 12.04 LTS very recently :)
I seem to be having some trouble getting my graphics card to run properly, I looked over what information I could find but I still cannot get it up and running and figured this was a good place to ask for help.
The information I can find on my graphics is as follows:
lspci
outputs:
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS880M [Mobility Radeon HD 4225/4250]
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Madison [Mobility Radeon HD 5650/5750 / 6530M/6550M]
I tried using a mixture of the following links:
How do I fix my installation of ATI Catalyst Video Driver in 12.04 LTS?
What is the correct way to install proprietary ATI Catalyst Video Drivers (fglrx) directly from AMD?
Ubuntu Precise Installation Guide
But it does not seem to work, since running fglrxinfo
in terminal gives:
display: :0.0
screen: 0
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 0x301)
OpenGL version string: 1.4 (2.1 Mesa 9.0.3)
What am I doing wrong here?
All help appreciated.
Edit:
I have tried the legacy driver from http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13-4-linux-x86.x86_64.zip
I also tried the guide at https://launchpad.net/~makson96/+archive/fglrx which caused the system to crash (blackscreen, no boot)
Neither seemed to work. I did however reinstall ubuntu 12.04 LTS, and re-tried both with no success.
Reinstalling ubuntu did however fix the broken dependencies problems, etc.
Thursday, June 28, 2018
windows - Access secondary hard disk from Virtual Machine
I have a fairly specific question.
I had Ubuntu on my Laptop (for years). For a variety of reasons, I've had to switch to Windows but the computer has two hard drives. The main drive was reformatted and I've installed windows. The second hard drive still has the Linux system disk format (not sure on type). Obviously, windows can't access it but can I access it from a Virtual machine (VirtualBox) or will I need to load up a Live-Session to access / move the contents?
Edit: If this is possible, how would one proceed to mount the disk?
In all honesty, I do not think so.
The reason for this:
Disclaimer: I loooove deductive reasoning. Brace yourself.
Let's look at out information, shall we:
- You have 2 hard drives. One of them has windows installed, the other uses a (currently) unknown linux filesystem.
- You want to create a Virtual machine. To do so, you need special software known as a Virtual Machine Hypervizor. An example of such software is VirtualBox.
- Windows is unable to use the hard drive at its current format.
- To create a virtual machine, you need to create a file that will act as a virtual hard drive. That file has to be stored somewhere.
- Since windows can not access the hard drive as is, it is highly unlikely it can use it to provide services to software running on it, like a Hypervizor (e.g Storage)
- So, the virtual machine will have to be stored on the hard drive that windows is installed on. =(
- Unless you get very technical in virtual machines or are a highly skilled computer hacker, there is (very very ...) little chance that you can access the host (physical computer) from the guest (virtual machine)
TL:DR: Theoretically anything that contains a virtual machine is highly unlikely to help.
However, you might be able to use partitioning software to format the hard drive and make it available to Windows.
networking - Realtek ethernet driver error ubuntu 16.04
I have recently upgraded from Ubuntu 15.10 to 16.04. when i was using 15.10 ethernet works flawlessly. But after upgrading to 16.04 it doesn't work anymore showing network cable unplugged. I tried reinstalling driver & end up getting following error
sumit@Lenovo-Z50-70:~/Desktop/r8168-8.041.01$ sudo ./autorun.sh
[sudo] password for sumit:
Check old driver and unload it.
rmmod r8169
Build the module and install
make[2]: *** No rule to make target 'kernel/drivers/net/ethernet/realtek'. Stop.
make[1]: *** [install] Error 2
make: *** [install] Error 2
When i had installed in 15.10 it was installed successfully.
My ethernet controller is: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev10).
I have done all proxy settings same as they were in 15.10.
Please help. :(
Get an internet connection(i got through wifi). Use the command:
sudo apt-get install r8168-dkms
Enter your password. This will install the latest version of the driver. Ethernet connection should be established after installing (you may reboot & check again).
Wednesday, June 27, 2018
wubi - Can I upgrade my ubuntu version and change to be primary OS after originally installing with Wibu?
I have recently installed Ubuntu 12.04 using Wubi 12.04 and I now wish to upgrade to a full installation of Ubuntu 14.04, Before attempting to upgrade through the update center I did some research on upgrading from a Wubi installation (alongside windows) to a full installation making Ubuntu primary and only OS and found that it is in fact doable through the update center however it is just highly recommended to perform a full backup before doing so. I have now finished backing up all the data I need to worry about and began the upgrade process through the update center and received the following error:
Your graphics hardware may not be fully supported in Ubuntu 14.04.
Running the 'unity' desktop environment is not fully supported by your graphics hardware. You will maybe end up in a very slow environment after the upgrade. Our advice is to keep the LTS version for now. For more information see https://wiki.ubuntu.com/X/Bugs/UpdateManagerWarningForUnity3D Do you still want to continue with the upgrade?
My questions are as follows: A. Isnt 14.04 a LTS version??? B, What are your recomendations in order to ensure my graphics driver is installed correctly and im not stuck with bad configs/install?
When it comes to the error it is saying that 14.04, although an lts release, does not have unity2d as you are probably using on your current computer with 12.04, and would have to try and run a full unity3d environment with software acceleration instead of hardware. What are your computer's specs? Also to make it a primary installation you can download boot-repair (google it for instructions on doing so) and elect to install it in the mbr of your drive, then update grub. It will most likely have ubuntu as the default boot option and may even have an option to boot windows below it. If you want to just use ubuntu after that, just delete the windows partition (after backing up everything you want to save) then run sudo update-grub /dev/sd
then resize the ubuntu partition(s) CAREFULLY with gparted to take up the full disk.
nvidia - Ubuntu 13.10 64bit installation problems with hp elitebook 8540w
I have tried both 32bit and 64bit versions of ubuntu 13.10 and 12.04 LTS and allways the same screen pops on! And I tried it with CD and USB.
For burning CD I used Poweriso.
For USB i used poweriso and Universal-USB-Installer-1.9.5.1.
This is the screen that pops up when trying to install -
I'm using HP EliteBook 8540w
intel core 2 i5-520M
Nvidia quadro fx 1800M
Currently using windows 8.1
11.10 - mhddfs mount in /etc/fstab fails if periodic fsck kicks in... how to solve?
( ubuntu oneiric 11.10 server)
Here is my /etc/fstab
# /etc/fstab: static file system information.
proc /proc proc nodev,noexec,nosuid 0 0
UUID=4e455083-9ac0-4076-ab25-dedcf461a578 / ext4 noatime,errors=remount-ro 0 1
UUID=9e691b30-8f85-4566-86cd-587de6571ce8 /storage/HDD/SAM-1500-1 ext4 defaults 0 2
UUID=1888e5df-2fe5-4760-a271-09676504e168 /storage/HDD/SAM-2000-1 ext4 defaults 0 2
UUID=dc321a2e-8266-42de-9b79-7a1b33eacf6c /storage/HDD/SEA-1000-1 ext4 defaults 0 2
UUID=987ef5ec-01d2-4542-8e69-a38bed12ddfa /storage/HDD/SEA-1000-2 ext4 defaults 0 2
mhddfs#/storage/HDD/SAM-2000-1/Medias,/storage/HDD/SAM-1500-1/Medias,/storage/HDD/SEA-1000-1/Medias,/storage/HDD/SEA-1000-2/Medias /storage/BigData/Medias fuse defaults,allow_other,nofail 0 0
If the periodic fsck run starts during boot, my mhddfs mount fails and the server waits for a ctrl+d to continue boot...
How can I prevent the "hang" while keeping my periodic fsck runs ?
empty jockey install proprietory nvidia after bumblebee on 13.04
I am trying to install the proprietory Nvidia drivers on my Asus UX32VD (GT620M) running 13.04.
Since the additional drivers (Jockey) tab was empty I followed the advice from a similar question here to install Bumblebee. Unfortunately the Jockey tab is still empty (as in, my card does not show up).
My question is twofold
- how do I get the Nvidia drivers to show up in the additional drivers tab?
- after having installed Bumblebee, which is the way to install Nvidia drivers? (as the Bumblebee site mentions something on specific packages)
Upon request:
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 1507
Flags: bus master, fast devsel, latency 0, IRQ 47
Memory at f7400000 (64-bit, non-prefetchable) [size=4M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
Expansion ROM at [disabled]
Capabilities:
Kernel driver in use: i915
00:04.0 Signal processing controller: Intel Corporation 3rd Gen Core Processor Thermal Subsystem (rev 09)
Subsystem: ASUSTeK Computer Inc. Device 1507
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at cfe08000 (64-bit, non-prefetchable) [size=32K]
Capabilities:
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) (prog-if 30 [XHCI])
Subsystem: ASUSTeK Computer Inc. Device 1507
Flags: bus master, medium devsel, latency 0, IRQ 43
Memory at f7900000 (64-bit, non-prefetchable) [size=64K]
Capabilities:
"Skipping acquire... component misspelt in sources.list?" when trying to sudo apt update
27 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'main' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'main/binary-amd64/Packages' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'main' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'main/i18n/Translation-en' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'main' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'main/i18n/Translation-en_GB' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'main' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'main/dep11/Components-amd64.yml' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'main' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'main/dep11/icons-48x48.tar' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'main' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'main/dep11/icons-64x64.tar' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'main' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'main/cnf/Commands-amd64' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'main' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/binary-amd64/Packages' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/binary-i386/Packages' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/i18n/Translation-en_GB' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/i18n/Translation-en' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/dep11/Components-amd64.yml' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/dep11/icons-48x48.tar' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/dep11/icons-64x64.tar' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'restricted/cnf/Commands-amd64' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'restricted' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/binary-amd64/Packages' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/binary-i386/Packages' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/i18n/Translation-en_GB' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/i18n/Translation-en' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/Components-amd64.yml' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/icons-48x48.tar' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/dep11/icons-64x64.tar' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'universe/cnf/Commands-amd64' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/binary-i386/Packages' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/binary-amd64/Packages' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/i18n/Translation-en_GB' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/i18n/Translation-en' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/Components-amd64.yml' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/icons-48x48.tar' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/dep11/icons-64x64.tar' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'multiverse/cnf/Commands-amd64' as repository 'http://gb.archive.ubuntu.com/ubuntu bionic InRelease' doesn't have the component 'multiverse' (component misspelt in sources.list?)
How can I fix this problem?
Compiz has broken after installing 12.10 with ATI Catalyst 12.10 drivers
After upgrading to Quantal yesterday I installed the new ATI Catalyst drivers, the 12.10 version, for my ATI Radeon HD 7850 card. Upon logging into Ubuntu I am presented with no Unity. I can access terminal with Ctrl + Alt + T.
I tried uninstalling the driver, but that did not fix Compiz.
Does anyone know how I can fix Compiz? Any info on getting drivers working would be good too.
Edit: I solved this problem by first uninstalling the proprietary driver through the terminal, which I believe is in /usr/share/ati/amd-uninstall.sh. Then I rebooted and installed the open source driver, radeon, and rebooted again. It's slower than the proprietary drivers but it works.
Hi I have the answere for all of you, the problem is 12.10 doesn't include the kernel headers for some reason. so when installing drivers run sudo apt-get install linux-headers-$(uname -r)
you can do this before or after it doesn't mater. Once thats done reboot your system and enjoy!
Tuesday, June 26, 2018
apt - How to install programs into user directory without sudo
I mean how to install programs from repos into the user directory without sudo?
There are two ways (and even more) of installing software: from repos and from the software developer's website (tarball). First method requires one to have the superuser password. One must use sudo to perform a command like this apt-get install app_name
. The second method is to download a tarball from the website, extract it, place the extracted files into the specified directory (or build it first), set up shortcuts. As you can see, the second method needs a user to have certain skills, but the first one needs only a knowledge of the superuser password.
The question is — how to combine these advantages: not to know the password (install software to home directory), not to be skilled (install in one click) and to use software only from repos.
Why it looks not so complicated for me: as an example let's look at SweetHome3D. This app is available both in repos and on the developer's website. When I download the tarball I just extract it, rename the folder to make it invisible and set up the shortcut (make it and then place it into ~/.local/share/applications
). Or I can just do $ sudo apt-get install sweethome3d
Now let's try something different (not necessary like this):
Perform $ apt-get download sweethome3d
. This command downloads .dep file.
Extract the contents. There are no difficulties of doing this.
… (here are some automatic actions to make the app prepared to launch)
PROFIT!
Any ideas?
The deb file that is downloaded and installed when you run apt-get install
is basically a build of the source code with most options already set. This includes the location where it would be installed, probably /usr/some_folder
.
This means you cannot change this location by using a deb file. The only way to do this is to get the source code, modify it and then install it.
show keyboard indicator in ubuntu 13.04
I have been trying to show the keyboard indicator in ubuntu 13.04. It is only available at the log in window at the right top of the panel, but ones getting in my account the menu strangely disappears.
apt - Unable to locate package python-pip on live system
I am trying to install electrum on my Ubuntu live USB. Please forgive me because I am very new to this OS. I have also made a persistence 4GB space for installing software.
How can I get past this error? I tried using
sudo apt-get update
first, but I still get
E: Unable to locate package python-pip
when I try to install.
Two Methods:
You can install through Ubuntu Software Center.
Open Ubuntu Software Center and search for
easy_install
Highlight alternative Python package installer (python-pip) from the
list and click InstallYou can check weather the installation was successful or not by
giving the commandwhich pip
you will see the path of installed application, for example
/usr/local/bin/pip
Second method
Open terminal by pressing CTRL+ALT+T and type the following:
cd ~
to navigate to your home directory.
Then issue the below command:
wget -P Downloads/ https://svn.apache.org/repos/asf/oodt/tools/oodtsite.publisher/trunk/distribute_setup.py
Next step is to run the downloaded script. To do this, issue this
command:sudo python Downloads/distribute_setup.py
and type your user password when prompted (Please, note that your
account needs to be a member of Administrators group in order to
issuesudo
).Hit
Enter
and let the script run.To ensure easy_install is installed, issue the command below:
which easy_install
The typical response in case the installation completed successfully
would look something like this:/usr/local/bin/easy_install
The next thing to do is use easy_install to install pip. For that
you’ll need to issue:sudo easy_install pip
Enter your password if prompted to confirm command.
Let the installer run and once the installation is completed type:
which pip
This command should typically respond with something like this:
/usr/local/bin/pip
grub2 - How can ubiquity be forced not to install grub?
My HDD partitions:
- esp --> sda1
- archlinux --> sda2
- swap --> sda3
- sda4 --> would be a place for ubuntu
I'm going to install ubuntu on sda4; currently my boot process is controlled by systemd-boot which is installed in archlinux via bootctl software. It's fine and I'd like to keep it.
By installing Ubuntu it will try to install grub on sda or sdaX. Look at the dropdown menu at this screenshot:
I want to install Ubuntu on sda4 without dealing with grub. Then I will point to Ubuntu vmlinuz file and initrd file by creating a new entry file in archlinux under systemd-boot configuration system.
12.10 - Is it feasible to install and play games in steam while steam is in Wine (PlayOnLinux)
So I downloaded steam on PlayOnLinux and I installed some random games and they open but I can't do anything with them I can move the mouse around and the menu buttons change, but I can't actually click anything. The games I tried it on were Castle Crashers, Deus Ex: HR, and Super Meat Boy and they all did the same thing. Should I just download the games from PlayOnLinux and then choose to download the steam version or can I actually have them in Steam, and I'm just doing something wrong. Also I'm on Ubuntu 12.10 using PlayOnLinux 4.19 with a GTX 560 and the NVIDIA Experimental Binary Drivers.
I use native Steam on Ubuntu for the games that are available for Linux, but I want to be able to play my other games that aren't available on Linux, and have them all in steam, instead of having them strewn around in PlayOnLinux.
installing ubuntu and starting windows isn't in boot option
I didn't installing ubuntu alongside my windows7.
I have windows7 installed in my ssd and ubuntu in another.
Right before I install ubuntu, I unplugged all my other hdd. 1st because it the ubuntu installation somehow didn't detect the hdd I want to install onto and 2nd because in that way I would be I didn't choose the wrong hdd to install ubuntu onto.
After ubuntu install is completed and running, I plugged my windows7 hdd and other storage hdd back.
But somehow when I restart my pc, it didn't even ask which os to use it just directly goes into ubuntu. I used F12 to have the option to select device to boot up with and I can clearly see my windows7 ssh and of course by clicking it, windows7 boots up properly.
I went into my bios and check my boot priority and options. There are only two boot options and the first is my ubuntu hdd and second is my optic drive. When I try to change the boot option, those two are the only options I can choose from. I cannot choose from any other hdd.
Can someone give me a hand?
Not sure if this is the place to post my question but this happened after ubuntu installation.
Thanks in advance people.
If you are looking for grub loader, please enter the following command in ubuntu-
sudo update-grub
After executing the above commands, reboot and check if the grub loader appears.
I had faced similar issue where I did not get the option to install ubuntu alongside windows and Ubuntu was loaded automatically. After executing the above mentioned command, I got the grub loader where I could choose the OS to load.
Hope that helps.
repository - What is "deb deb-src stable/xenial main" in /etc/apt/sources.list
I was going through Repository files
and in file /etc/apt/sources.list
, saw these lines :
deb http://ppa.launchpad.net/elementary-os/stable/ubuntu xenial main
deb-src http://ppa.launchpad.net/elementary-os/stable/ubuntu xenial main
Wherein, I understand that
http://ppa.launchpad.net/elementary-os/stable/ubuntu
is where apt-get would retrieve files from, but I couldn't get what the rest of words in it mean. These words are deb
, deb-src
, xenial main
, stable main
, trusty main
.
Edit: Also, I found these lines while visiting this site and noticed [arch=amd64]
in between deb
and the URL.
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/chrome.list
So, The Question here is:
What do these words in
sources.list
file mean?deb
deb-src
xenial main
stable main
trusty mainAlso, What does
[arch=amd64]
mean?
Your question revolves around the syntax or format of source list file that describes other programs what, how & from where to get the sources. So, Here it goes :
Apt ( A
dvanced p
ackage t
ool )
used to manage the repository on Debian & Debian-based (Ubuntu) systems. It uses a file that lists the Repository Sources
from where packages should and can be obtained. Also the file lists how the packages should be obtained and from what subpackages (or suites).
The format in which entities are written tells everything to apt. However, there are two variations of the format.
- They have extensions
.list
- Traditional format, supported by
all version of apt
. - A single line entry describes the source.
Example :
deb http://security.debian.org stretch/updates main contrib non-free
- They have extensions
- They have extension
.sources
- Supported by apt itself
since version 1.1
- Individual entries are separated by an empty line where each entry contains information in the form of
fieldname : value
. Example :
Types: deb
URIs: http://deb.debian.org/debian
Suites: stretch
Components: main contrib non-free
- They have extension
As you can get an idea from deb822-style format
what are those words you asked in question. Let's get into more details into the format.
1. Archive Type
- It tells which source is going to be accessed.
- The first word on each line possibly
deb
ordeb-src
, indicates the type of archive. deb
indicates that archive contains binary packages (deb), the pre-compiled packages that we normally use.deb-src
indicates source packages, which are the original program sources plus theDebian control files (.dsc)
and the diff.gz containing the changes needed for packaging the program.- Format, syntax and names of the options vary between one-line-style and deb822-style formats as described above, but they both have the same options available.
2. Repository URL or URI Specification
Its simply a URL/URI to the source repository from where you want to get the packages. You can specify type for the URL/URI that can be anyone from the currently recognized URIs that are :
http | https | file | cdrom | ftp | copy | rsh,ssh
You can add more recognizable URI types, If you want.
3. Suite
A suite refers to combination of two attributes of distribution that are :
Release Code Name
An alias given to every release of OS. Every OS has got a Code Name
& you already now that How to get distribution's full code name ?Release Class
Defines the development phase of a package that can be one or the combination of the following :
stable testing unstable
4. Components
Components tell that whether package is :
- Free (As defined in context of free software) or Non-Free,
- Independent ( as in
main
) or have dependencies somewhere else ( as incontrib
). - whether they comply with DFSG or not.
- Also tell the Repository Sections that can be
main
orrestricted
oruniverse
ormultiverse
.
5. Options
The EDIT part
in your question refers to what is called as options. And as the name says, they are optional but when used, they modify the source entry to fetch a particular kind of packages. They can define :
Architecture for which packages are to be fetched. As in options in the source entry you quote in Edit part :
"[arch=amd64]"
specific Language
- Trust level of sources
- Pdiff values
- and many others.
The Syntax (Revised) :
One-line-style format
[archive-type] [ option1=value1,option2=value2 ] URI suite [component1] [component2] [...]
deb822-style format
Types: deb deb-src
URIs: uri
Suites: suite
Components: [component1] [component2] [...]
option1: value1
option2: value2
Some Useful Links.
Feel free to add-in more details.
grub2 - Unable to boot into Windows 8.1 after installing on separate partition (not preinstalled)
I have decided to give Ubuntu a try, so I decided to install it alongside my Windows 8.1 (not preinstalled - It was delivered with Win7), though I had to make a custom install (had the "no system detected" or something upon installation). So I installed Ubuntu on a separate partition.
Anyways, when I booted up after installation, the PC booted directly up into Ubuntu, so I downloaded the Boot-Repair tool and ran it. When I boot up now, I reach the GRUB menu with Ubuntu as the only entries. Boot-Repair gave me this log.
How do I correctly add my Windows 8.1 to GRUB? I have just a little experience with Ubuntu (and Linux systems in general), so I am not sure what to do.
Thank you in advance!
networking - Network disabled - device not ready 16.04
Laptop: Acer V 13
no preinstalled OS. Freshly installed ubuntu 16.04.
At the top right corner, when I click the network manager, no wifi networks are found, and there's a grayed out device not ready
text instead.
Ethernet cable is working (this is how I'm posting this ...)
I'm in a co working space with many networks and users so I know the problem is on my end.
Below you will find everything I've tried followed by every piece of information I thought might b relevant.
I also logged the result of this script which has some additional info, and tailed syslog for a while.
Thanks in advance, you rock! :)
Things I've tried:
$ sudo service network-manager start
(No output)$ sudo service network-manager stop && sudo service network-manager start
No output, network icon dissapears and reappears from tray$ sudo ifup lo
ifup: interface lo already configured$ sudo ifup enp2s0
Unknown interface enp2s0- using wicd network manager
I didn't detect any wireless network as well.
(I'm actually glad it didn't work, seems like a bad idea anyway) $ sudo service networking restart
$ sudo service NetworkManager restart
$ sudo echo "blacklist ath10k_pci" >> /etc/modprobe.d/blacklist.conf
after rebooting, any reference to wifi was gone from the network manager menu in the tray$ sudo apt-get install bcmwl-kernel-source
```
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gksu libgksu2-0 libglade2-0 python-cairo python-dbus python-gi python-glade2 python-gobject python-gobject-2 python-gtk2 python-notify python-wicd wicd-daemon
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
dkms
The following NEW packages will be installed:
bcmwl-kernel-source dkms
0 upgraded, 2 newly installed, 0 to remove and 315 not upgraded.
Need to get 1581 kB of archives.
After this operation, 8278 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://pl.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dkms all 2.2.0.3-2ubuntu11.1 [66,2 kB]
Get:2 http://pl.archive.ubuntu.com/ubuntu xenial/restricted amd64 bcmwl-kernel-source amd64 6.30.223.248+bdcom-0ubuntu8 [1515 kB]
Fetched 1581 kB in 0s (4809 kB/s)
Selecting previously unselected package dkms.
(Reading database ... 206160 files and directories currently installed.)
Preparing to unpack .../dkms_2.2.0.3-2ubuntu11.1_all.deb ...
Unpacking dkms (2.2.0.3-2ubuntu11.1) ...
Selecting previously unselected package bcmwl-kernel-source.
Preparing to unpack .../bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu8_amd64.deb ...
Unpacking bcmwl-kernel-source (6.30.223.248+bdcom-0ubuntu8) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up dkms (2.2.0.3-2ubuntu11.1) ...
Setting up bcmwl-kernel-source (6.30.223.248+bdcom-0ubuntu8) ...
Loading new bcmwl-6.30.223.248+bdcom DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-34-generic
Building for architecture x86_64
Building initial module for 4.4.0-34-generic
Done.
wl:
Running module version sanity check.- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.4.0-34-generic/updates/dkms/
depmod....
DKMS: install completed.
modprobe: ERROR: could not insert 'wl': Required key not available
update-initramfs: deferring update (trigger activated)
Processing triggers for shim-signed (1.18~16.04.1+0.8-0ubuntu2) ...
Processing triggers for initramfs-tools (0.122ubuntu8) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-34-generic
W: Possible missing firmware /lib/firmware/i915/skl_guc_ver6.bin for module i915_bpo
```
- Installing to /lib/modules/4.4.0-34-generic/updates/dkms/
- Original module
signed and loaded module wl:
$ openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=awesome key/"
$ sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n wl)
$ sudo mokutil --import MOK.der
$ reboot
$ sudo modprobe wl # no error output this time :)
- reinstalling some packages:
$ sudo apt-get purge bcmwl-kernel-source
$ sudo apt-get install build-essential dkms linux-headers-generic
$ sudo apt-get update
$ sudo apt-get install bcmwl-kernel-source
$ modprobe -r b43 bcma
$ modprobe -r brcmsmac bcma
$ modprobe -r wl
$ modprobe wl
$ reboot
Relevant Info:
$ rfkill list
0: acer-wireless: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
-
$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
-
$ iwconfig
wlp3s0 IEEE 802.11abgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
enp2s0 no wireless extensions.
lo no wireless extensions.
-
$ sudo lshw -c network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: enp2s0
version: 15
serial: 30:65:ec:9a:29:e2
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.0.103 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:124 ioport:3000(size=256) memory:a1204000-a1204fff memory:a1200000-a1203fff
*-network DISABLED
description: Wireless interface
product: QCA6174 802.11ac Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlp3s0
version: 32
serial: c8:ff:28:00:90:51
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath10k_pci driverversion=4.4.0-34-generic firmware=WLAN.RM.2.0-00180-QCARMSWPZ-1 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
resources: irq:127 memory:a1000000-a11fffff
-
lspci -knn | grep Net -A2
03:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
Subsystem: Lite-On Communications Inc QCA6174 802.11ac Wireless Network Adapter [11ad:0807]
Kernel driver in use: ath10k_pci
Kernel modules: ath10k_pci, wl
-
in the next file, I've tried to set managed=true
and reboot, tho somewhere it got reverted back to managed=false
$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false
-
$ dmesg | grep "\(disabled\|switch\)"
[ 0.000000] x86/fpu: Using 'eager' FPU context switches.
[ 0.000000] 6 disabled
[ 0.000000] 7 disabled
[ 0.000000] 8 disabled
[ 0.000000] 9 disabled
[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.069778] DMAR-IR: x2apic is disabled because BIOS sets x2apic opt out bit.
[ 0.237651] pci 0000:00:14.0: System wakeup disabled by ACPI
[ 0.244497] pci 0000:00:1c.0: System wakeup disabled by ACPI
[ 0.245318] pci 0000:00:1c.4: System wakeup disabled by ACPI
[ 0.246125] pci 0000:00:1c.5: System wakeup disabled by ACPI
[ 0.248614] pci 0000:00:1f.3: System wakeup disabled by ACPI
[ 0.249896] pci 0000:02:00.0: System wakeup disabled by ACPI
[ 0.256218] pci 0000:03:00.0: System wakeup disabled by ACPI
[ 0.937596] audit: initializing netlink subsys (disabled)
[ 0.942695] Console: switching to colour frame buffer device 240x67
[ 0.970222] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 1.103625] fb: switching to inteldrmfb from EFI VGA
[ 1.103641] Console: switching to colour dummy device 80x25
[ 1.254041] Console: switching to colour frame buffer device 240x67
[ 1117.284285] xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
[ 1117.292227] rtc_cmos 00:03: System wakeup disabled by ACPI
[ 1117.292230] r8169 0000:02:00.0: System wakeup disabled by ACPI
-
$ ifconfig
enp2s0 Link encap:Ethernet HWaddr 30:65:ec:9a:29:e2
inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26514 errors:0 dropped:0 overruns:0 frame:0
TX packets:18223 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32858129 (32.8 MB) TX bytes:2703210 (2.7 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2379 errors:0 dropped:0 overruns:0 frame:0
TX packets:2379 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:217304 (217.3 KB) TX bytes:217304 (217.3 KB)
-
I don't know why it worked, here's what I did:
Backed up /lib/firmware/ath10k/QCA6174
Replaced it with https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174
Rebooted
At this point wifi was completely gone from the network manager menu.
so I restored the original QCA6174 folder, rebooted, and it works now!
Marking as solved.
If anyone knows why this worked I'm very curious ...
Monday, June 25, 2018
partitioning - Recover files from Damaged Partitiohn
I was using Ubuntu 10.10 with VirtualBox for my virtual machines. I think my hdd has some bad sectors because after one reset Ubuntu failed to start. After running fsck -y from live CD some changes were made to my partition. I tried to run testdisk from another PC to this harddrive but I can't access the old Linux partition. It appears deleted partition after deep scan. How can I recover my ova files? Testdisk also gives me a warning about number of heads/cylinder mismatches.
Try "R-Linux", it might recover your data and it's got nice GUI:
http://www.r-tt.com/free_linux_recovery/Download.shtml
There's probably also a way to repair broken partition, but I would recover data to another partition with R-Linux first (just in case).
After doing that backup, run DOS tool "HDAT2" from boot disc (like Hiren's Boot CD) and see if those were really bad sectors (it might even fix them for you - but don't count that drive will not fail again).
usb - how to get a DisplayLink display adapter working in Ubuntu 13.10
I have a UGA-2K-A USB 2.0 to DVI DisplayLink graphics adapter and I'm trying to get it to work on Ubuntu 13.10 in order to hook it up to a display.
First, I confirmed that the package xserver-xorg-video-modesetting
was installed. It was by default.
Next, I connected the graphics adapter. The dmesg
output on initial connection connection was as follows:
[ 4679.672775] usb 2-2: new high-speed USB device number 9 using xhci_hcd
[ 4679.690786] usb 2-2: device descriptor read/8, error -32
[ 4679.810714] usb 2-2: device descriptor read/8, error -32
[ 4680.025025] usb 2-2: new high-speed USB device number 10 using xhci_hcd
[ 4680.045611] usb 2-2: New USB device found, idVendor=17e9, idProduct=0378
[ 4680.045621] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4680.045626] usb 2-2: Product: Plugable UGA-2K-A
[ 4680.045631] usb 2-2: Manufacturer: DisplayLink
[ 4680.045634] usb 2-2: SerialNumber: 786492
[ 4680.097418] [drm] vendor descriptor length:22 data:22 5f 01 00 20 05 00 01 03 00 04
[ 4680.330439] udl 2-2:1.0: fb1: udldrmfb frame buffer device
[ 4680.330452] [drm] Initialized udl 0.0.1 20120220 on minor 1
[ 4680.330503] usbcore: registered new interface driver udl
I understand that the line
udl 2-2:1.0: fb1: udldrmfb frame buffer device
implies that the kernel driver has bound.
At this point, the LED on the device was not lit and the display connected to the graphics adapter did not register a signal.
Some information on the kernel and xrandr is the following:
uname -r
3.11.0-18-generic
xrandr --version
xrandr program version 1.4.0
Server reports RandR version 1.4
xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x49 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 6 associated providers: 0 name:Intel
I rebooted the computer with the graphics adapter attached. The relevant dmesg
output on boot was as follows:
[ 2.118884] usb 2-2: new high-speed USB device number 3 using xhci_hcd
[ 2.138973] usb 2-2: New USB device found, idVendor=17e9, idProduct=0378
[ 2.138978] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.138980] usb 2-2: Product: Plugable UGA-2K-A
[ 2.138982] usb 2-2: Manufacturer: DisplayLink
[ 2.138984] usb 2-2: SerialNumber: 786492
[ 2.144629] [drm] Initialized drm 1.1.0 20060810
[ 2.149981] [drm] vendor descriptor length:22 data:22 5f 01 00 20 05 00 01 03 00 04
[ 2.262948] tsc: Refined TSC clocksource calibration: 2394.457 MHz
[ 2.290353] open /dev/fb0 user=0 fb_info=ffff88020e9e2800 count=1
[ 2.293046] [drm] write mode info 153
[ 2.293051] Console: switching to colour frame buffer device 210x65
[ 2.307012] usb 2-4: new full-speed USB device number 4 using xhci_hcd
[ 2.317593] udl 2-2:1.0: fb0: udldrmfb frame buffer device
[ 2.317595] udl 2-2:1.0: registered panic notifier
[ 2.317599] [drm] Initialized udl 0.0.1 20120220 on minor 0
[ 2.317628] usbcore: registered new interface driver udl
[ 2.324247] usb 2-4: New USB device found, idVendor=8087, idProduct=07dc
[ 2.324251] usb 2-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.491175] usb 2-5: new full-speed USB device number 5 using xhci_hcd
At this point, the LED on the device is lit and the display connected to the graphics adapter registers a signal (though the image is black).
The output of xrandr --listproviders
remains the following:
Providers: number : 1
Provider 0: id: 0x49 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 6 associated providers: 0 name:Intel
I am not sure what to do next. According to a forum post, it may be that I need to slave the second graphics device to the first, but I have no idea how to do this. I would really appreciate some guidance. :) Thanks!
While the framerate is a little sluggish at times and there can be misidentifications of the the display dimensions occasionally, it is working in Ubuntu 14.04, so upgrading is one solution.
partitioning - How do I install Ubuntu on the C Drive without losing any data from the other drives?
This is the first time I am installing Linux.
I have Windows 7 on my C drive. I want to just format the C drive and then install Linux on the C drive only. So how can I install it on only the one drive (partition) replacing Windows 7?
When installing it is using the complete hard disk space.
grub2 - how to add windows 8 entry to grub after boot-repair
I installed ubuntu 14.04 in a dual boot (with windows 8.1) but my pc directly boots into ubuntu. For that I did a boot-repair->recommended repair. But all I got was grub menu with an option to boot to ubuntu.
here is the ubuntu pastebin file I got at the end of boot-repair:
http://paste.ubuntu.com/8433985/
It seems to identify the windows 8 partition, but I don't know how to add an entry for the same in the grub menu.
I searched the net but I couldn't understand the procedure (I am a newbie..)
So pl help me guys..
Thanx in advance..
cuda - Can't install nvidia drivers
Today I tried to install the Nvidia drivers on my 11.10 ubuntu.
I done everything what told on http://www.dickscheid.net/2011/10/19-cuda-ubuntu-1110/ and http://blog.ryant.org/2011/12/installing-cuda-toolkit-on-ubuntu-1110.html
then i reboot
now i see only title "Ubuntu" and ~5 points
I cant even switch to console (ctrl alt f 1-6)
anybody know what i can to do to save my ubuntu?
system installation - how can I install Ubuntu on my old computer
I've been trying to download and install Ubuntu on my Dell Inspiron 6000 laptop computer with no luck.
It's an old computer about 9 years old.
It has intel 1.6g processor and 2 gigs of memory.
I had tried to install one of the Ubuntu but I got a message that says I need an x86-64.
I have a 32bit laptop.
I have only one hard drive with windows XP on it,
How can I purchase a Ubuntu O.S. or download the correct Ubuntu for my particular computer but a current system where I can get support.
64 bit - is x86_64 a x86 or x64?
my ubuntu version is 12.04, and when cat /proc/version
, it shows
Linux version 3.2.0-23-generic (buildd@crested) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu4) ) #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012
Linux yuzhe-HP 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Here it shows the os is x86_64
. To install oracle jdk over linux, install package comes with two versions x86
and x64
. Which should I choose for a x86_64
system?
It is a 64bit system. Using the designation x86 only for 32bit architectures is not quite correct. There are x86 processors with 64bit architecture. More precisely there are two different architectures designated as x64: the Intel x86 with 64bit and the AMD64.
See also:
drivers - How do I get an Acer Npilfy 802.11 (BCM43225) wireless card working?
My Laptop is Acer 5742G with "Npilfy 802.11 wireless".
I have both windows 7 and Ubuntu 12.10
Earlier when I had Ubuntu 12.04, the wireless was working fine, but after installing 12.10 wireless is not working at all, although it is still working in windows.
I am not able to see "Wireless Networks" in the Network Manager nor in the Network Settings.
This was the output I got for rfkill
0: acer-wireless: Wireless LAN
Soft blocked: no
Hard blocked: no
1: acer-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
This is a snapshot of my Additional Drivers settings.
As you can see, the required driver for wireless is installed.
Your problem looks similar to mine, and I think the new kernel and broadcom drivers are the connection. I ran
sudo apt-get install linux-headers-generic
sudo apt-get install --reinstall bcmwl-kernel-source
sudo modprobe wl
and it worked for me on a Samsung netbook.
package management - ubuntu-restricted-extras
I am trying to install ubuntu-restricted-extras on Ubuntu 14.04 LTS (so that I can play mp3 files). However, I get an error message (see below). Any suggestions? Thanks!
...$ sudo apt-get install ubuntu-restricted-extras
[sudo] password for ***:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
freepats gstreamer0.10-fluendo-mp3 gstreamer0.10-plugins-bad
gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly
gstreamer1.0-fluendo-mp3 gstreamer1.0-libav gstreamer1.0-plugins-bad
gstreamer1.0-plugins-bad-faad gstreamer1.0-plugins-bad-videoparsers
gstreamer1.0-plugins-ugly liba52-0.7.4 libass4 libavcodec-extra libcdaudio1
libchromaprint0 libdca0 libdirac-encoder0 libdirectfb-1.2-9 libdvdnav4
libdvdread4 libenca0 libfaac0 libfaad2 libflite1 libfluidsynth1 libgme0
libgstreamer-plugins-bad0.10-0 libgstreamer-plugins-bad1.0-0 libkate1
libmad0 libmimic0 libmjpegutils-2.1-0 libmms0 libmodplug1 libmpcdec6
libmpeg2-4 libmpeg2encpp-2.1-0 libmpg123-0 libmplex2-2.1-0 libofa0 liboil0.3
libopenal-data libopenal1 libsidplay1 libslv2-9 libsoundtouch0 libspandsp2
libsrtp0 libts-0.0-0 libtwolame0 libwildmidi-config libwildmidi1 libzbar0
libzvbi-common libzvbi0 oxideqt-codecs-extra tsconf ubuntu-restricted-addons
Suggested packages:
frei0r-plugins libchromaprint-tools python-acoustid libdvdcss2
libroar-compat2 sidplay-base xsidplay slv2-jack srtp-utils
The following packages will be REMOVED:
oxideqt-codecs
The following NEW packages will be installed:
freepats gstreamer0.10-fluendo-mp3 gstreamer0.10-plugins-bad
gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly
gstreamer1.0-fluendo-mp3 gstreamer1.0-libav gstreamer1.0-plugins-bad
gstreamer1.0-plugins-bad-faad gstreamer1.0-plugins-bad-videoparsers
gstreamer1.0-plugins-ugly liba52-0.7.4 libass4 libavcodec-extra libcdaudio1
libchromaprint0 libdca0 libdirac-encoder0 libdirectfb-1.2-9 libdvdnav4
libdvdread4 libenca0 libfaac0 libfaad2 libflite1 libfluidsynth1 libgme0
libgstreamer-plugins-bad0.10-0 libgstreamer-plugins-bad1.0-0 libkate1
libmad0 libmimic0 libmjpegutils-2.1-0 libmms0 libmodplug1 libmpcdec6
libmpeg2-4 libmpeg2encpp-2.1-0 libmpg123-0 libmplex2-2.1-0 libofa0 liboil0.3
libopenal-data libopenal1 libsidplay1 libslv2-9 libsoundtouch0 libspandsp2
libsrtp0 libts-0.0-0 libtwolame0 libwildmidi-config libwildmidi1 libzbar0
libzvbi-common libzvbi0 oxideqt-codecs-extra tsconf ubuntu-restricted-addons
ubuntu-restricted-extras
0 upgraded, 60 newly installed, 1 to remove and 8 not upgraded.
Need to get 851 kB/50.2 MB of archives.
After this operation, 86.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main oxideqt-codecs-extra amd64 1.5.6-0ubuntu0.14.04.2
404 Not Found
Err http://security.ubuntu.com/ubuntu/ trusty-security/main oxideqt-codecs-extra amd64 1.5.6-0ubuntu0.14.04.2
404 Not Found
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/oxide-qt/oxideqt-codecs-extra_1.5.6-0ubuntu0.14.04.2_amd64.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
My configuration in "Software & Updates" is as follows: everything is checked under "Downloadable from the Internet" (including the last item "Software restricted by copyright or legal issues (multiverse)"), and I have "Download from: Main server".
networking - Wifi ridiculously slow on Ubuntu 16.04 LTS and a Frontier MI424WR Router
My Acer Aspire E5 575G has a Qualcomm Atheros QCA9377. I have tried reinstalling my kernel, I have reinstalled drivers(ath10k), installing backport, have turned off powersaving, have installed wicd, etc...
only thing that has slightly helped is disabling WMM in the router settings. My kernel version is 4.10.0-42-generic.
Typical speeds right next to the router are 15 mbps up and down. I have a 50/50 plan. 50+ mbps is my ethernet speed. when bluetooth is on, my mbps is half of the current slow wifi.
Here are some of the commands y'all often ask for:
tcr-g@TCR:~/backports-20151120$ lshw -C network
WARNING: you should run this program as super-user.
*-network
description: Wireless interface
product: Qualcomm Atheros
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlp3s0
version: 31
serial: 3c:a0:67:b7:f9:b5
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath10k_pci driverversion=4.10.0-42-generic firmware=WLAN.TF.1.0-00267-1 ip=192.168.1.13 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:132 memory:b4000000-b41fffff
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0.1
bus info: pci@0000:04:00.1
logical name: enp4s0f1
version: 12
serial: a8:1e:84:8c:f3:95
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8411-2_0.0.1 07/08/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:129 ioport:3000(size=256) memory:b4204000-b4204fff memory:b4200000-b4203fff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
tcr-g@TCR:~/backports-20151120$ dmesg | grep ath
[ 2.605692] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 3.753058] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:03:00.0.bin failed with error -2
[ 3.753072] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[ 3.756304] ath10k_pci 0000:03:00.0: qca9377 hw1.1 target 0x05020001 chip_id 0x003821ff sub 11ad:08a6
[ 3.756307] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 1 dfs 0 testmode 0
[ 3.756709] ath10k_pci 0000:03:00.0: firmware ver WLAN.TF.1.0-00267-1 api 5 features ignore-otp crc32 79cea2c7
[ 3.826673] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id N/A crc32 93da0176
[ 5.624886] ath10k_pci 0000:03:00.0: htt-ver 3.1 wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1
[ 5.631635] ath: EEPROM regdomain: 0x69
[ 5.631636] ath: EEPROM indicates we should expect a direct regpair map
[ 5.631637] ath: Country alpha2 being used: 00
[ 5.631638] ath: Regpair used: 0x69
[ 5.635286] ath10k_pci 0000:03:00.0 wlp3s0: renamed from wlan0
[ 8.219280] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[ 17.699227] ath10k_pci 0000:03:00.0 wlp3s0: disabling HT as WMM/QoS is not supported by the AP
[ 17.699229] ath10k_pci 0000:03:00.0 wlp3s0: disabling VHT as WMM/QoS is not supported by the AP
[ 17.706891] ath: EEPROM regdomain: 0x8348
[ 17.706892] ath: EEPROM indicates we should expect a country code
[ 17.706892] ath: doing EEPROM country->regdmn map search
[ 17.706893] ath: country maps to regdmn code: 0x3a
[ 17.706893] ath: Country alpha2 being used: US
[ 17.706894] ath: Regpair used: 0x3a
[ 17.706894] ath: regdomain 0x8348 dynamically updated by country IE
[21149.836191] ath10k_pci 0000:03:00.0: failed to install key for vdev 0 peer 00:7f:28:79:03:4e: -110
[21176.174975] ath10k_pci 0000:03:00.0 wlp3s0: disabling HT as WMM/QoS is not supported by the AP
[21176.174976] ath10k_pci 0000:03:00.0 wlp3s0: disabling VHT as WMM/QoS is not supported by the AP
[21176.187707] ath: EEPROM regdomain: 0x8348
[21176.187708] ath: EEPROM indicates we should expect a country code
[21176.187709] ath: doing EEPROM country->regdmn map search
[21176.187710] ath: country maps to regdmn code: 0x3a
[21176.187711] ath: Country alpha2 being used: US
[21176.187711] ath: Regpair used: 0x3a
[21176.187712] ath: regdomain 0x8348 dynamically updated by country IE
[22095.165638] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[22095.267894] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[22095.370380] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[22095.472716] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[22095.575322] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[22095.677724] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[22095.780064] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[22095.882586] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[22095.984765] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[22096.087341] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[22106.315653] ath10k_warn: 10 callbacks suppressed
[22106.315691] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[24125.507965] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[25301.490471] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[25964.493815] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[28246.217197] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[28573.272844] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[28575.380226] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[28887.948033] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[30208.862759] __mutex_lock_slowpath+0x193/0x290
[30208.862822] path_openat+0x2ac/0x1430
[30208.862883] entry_SYSCALL_64_fastpath+0x1e/0xad
[30564.955587] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[30565.470017] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[30899.273952] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[30899.274179] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[30903.578321] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[31557.410765] ath10k_pci 0000:03:00.0: no channel configured; ignoring frame(s)!
[34913.254867] ath10k_pci 0000:03:00.0 wlp3s0: disabling HT as WMM/QoS is not supported by the AP
[34913.254871] ath10k_pci 0000:03:00.0 wlp3s0: disabling VHT as WMM/QoS is not supported by the AP
[34913.270099] ath: EEPROM regdomain: 0x8348
[34913.270100] ath: EEPROM indicates we should expect a country code
[34913.270101] ath: doing EEPROM country->regdmn map search
[34913.270102] ath: country maps to regdmn code: 0x3a
[34913.270103] ath: Country alpha2 being used: US
[34913.270103] ath: Regpair used: 0x3a
[34913.270105] ath: regdomain 0x8348 dynamically updated by country IE
[35173.320845] ath10k_pci 0000:03:00.0 wlp3s0: disabling HT as WMM/QoS is not supported by the AP
[35173.320849] ath10k_pci 0000:03:00.0 wlp3s0: disabling VHT as WMM/QoS is not supported by the AP
[35173.336678] ath: EEPROM regdomain: 0x8348
[35173.336678] ath: EEPROM indicates we should expect a country code
[35173.336679] ath: doing EEPROM country->regdmn map search
[35173.336680] ath: country maps to regdmn code: 0x3a
[35173.336681] ath: Country alpha2 being used: US
[35173.336682] ath: Regpair used: 0x3a
[35173.336683] ath: regdomain 0x8348 dynamically updated by country IE
[39817.251694] ath10k_pci 0000:03:00.0: failed to install key for vdev 0 peer 00:7f:28:79:03:4e: -110
[39817.375135] ath10k_pci 0000:03:00.0 wlp3s0: disabling HT as WMM/QoS is not supported by the AP
[39817.375138] ath10k_pci 0000:03:00.0 wlp3s0: disabling VHT as WMM/QoS is not supported by the AP
[39817.384885] ath: EEPROM regdomain: 0x8348
[39817.384886] ath: EEPROM indicates we should expect a country code
[39817.384887] ath: doing EEPROM country->regdmn map search
[39817.384888] ath: country maps to regdmn code: 0x3a
[39817.384889] ath: Country alpha2 being used: US
[39817.384890] ath: Regpair used: 0x3a
[39817.384891] ath: regdomain 0x8348 dynamically updated by country IE
tcr-g@TCR:~/backports-20151120$ sudo iw reg get
[sudo] password for tcr-g:
country US: DFS-FCC
(2402 - 2472 @ 40), (N/A, 30), (N/A)
(5170 - 5250 @ 80), (N/A, 17), (N/A)
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS
(5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
(5735 - 5835 @ 80), (N/A, 30), (N/A)
(57240 - 63720 @ 2160), (N/A, 40), (N/A)
tcr-g@TCR:~/backports-20151120$
tcr-g@TCR:~/backports-20151120$ modinfo ath10k_pci; dkms status
filename: /lib/modules/4.10.0-42-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
firmware: ath10k/QCA9377/hw1.0/board.bin
firmware: ath10k/QCA9377/hw1.0/firmware-5.bin
firmware: ath10k/QCA6174/hw3.0/board-2.bin
firmware: ath10k/QCA6174/hw3.0/board.bin
firmware: ath10k/QCA6174/hw3.0/firmware-5.bin
firmware: ath10k/QCA6174/hw3.0/firmware-4.bin
firmware: ath10k/QCA6174/hw2.1/board-2.bin
firmware: ath10k/QCA6174/hw2.1/board.bin
firmware: ath10k/QCA6174/hw2.1/firmware-5.bin
firmware: ath10k/QCA6174/hw2.1/firmware-4.bin
firmware: ath10k/QCA9887/hw1.0/board-2.bin
firmware: ath10k/QCA9887/hw1.0/board.bin
firmware: ath10k/QCA9887/hw1.0/firmware-5.bin
firmware: ath10k/QCA988X/hw2.0/board-2.bin
firmware: ath10k/QCA988X/hw2.0/board.bin
firmware: ath10k/QCA988X/hw2.0/firmware-5.bin
firmware: ath10k/QCA988X/hw2.0/firmware-4.bin
firmware: ath10k/QCA988X/hw2.0/firmware-3.bin
firmware: ath10k/QCA988X/hw2.0/firmware-2.bin
license: Dual BSD/GPL
description: Driver support for Qualcomm Atheros 802.11ac WLAN PCIe/AHB devices
author: Qualcomm Atheros
srcversion: 55269025DC0881FB8B580CD
alias: pci:v0000168Cd00000050sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000042sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000046sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000056sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000040sv*sd*bc*sc*i*
alias: pci:v0000168Cd0000003Esv*sd*bc*sc*i*
alias: pci:v0000168Cd00000041sv*sd*bc*sc*i*
alias: pci:v0000168Cd0000003Csv*sd*bc*sc*i*
depends: ath10k_core
intree: Y
vermagic: 4.10.0-42-generic SMP mod_unload
parm: irq_mode:0: auto, 1: legacy, 2: msi (default: 0) (uint)
parm: reset_mode:0: auto, 1: warm only (default: 0) (uint)
bbswitch, 0.8, 4.10.0-42-generic, x86_64: installed
bbswitch, 0.8, 4.10.0-43-generic, x86_64: installed
bbswitch, 0.8, 4.4.0-105-generic, x86_64: installed
nvidia-384, 384.90, 4.10.0-42-generic, x86_64: installed
nvidia-384, 384.90, 4.10.0-43-generic, x86_64: installed
nvidia-384, 384.90, 4.4.0-105-generic, x86_64: installed
tcr-g@TCR:~/backports-20151120$ sudo iwlist scan
[sudo] password for tcr-g:
vmnet1 Interface doesn't support scanning.
enp4s0f1 Interface doesn't support scanning.
vmnet8 Interface doesn't support scanning.
lo Interface doesn't support scanning.
wlp3s0 Scan completed :
Cell 01 - Address: XX:XX:XX:XX:XX:XX
Channel:8
Frequency:2.447 GHz (Channel 8)
Quality=57/70 Signal level=-53 dBm
Encryption key:on
ESSID:"delbhome"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=00000001bdbf8475
Extra: Last beacon: 48ms ago
IE: Unknown: 000864656C62686F6D65
IE: Unknown: 010882848B960C121824
IE: Unknown: 030108
IE: Unknown: 200100
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: Unknown: 2D1A8C131B0000000000000000000000000000000000000000000000
IE: Unknown: 3D1608001B00000000000000000000000000000000000000
IE: Unknown: DD0900037F01010000FF7F
IE: Unknown: DD0A00037F04010000000000
IE: Unknown: 0706555320010B1B
tcr-g@TCR:~$ tracepath mtu
1?: [LOCALHOST] pmtu 1500
1: Wireless_Broadband_Router.home 1.350ms
1: Wireless_Broadband_Router.home 1.247ms
2: 47.187.192.1 10.938ms
3: 172.102.52.82 16.723ms
4: ae7---0.scr01.dlls.tx.frontiernet.net 14.487ms
5: ae1---0.cbr01.dlls.tx.frontiernet.net 12.700ms
6: no reply
7: no reply
8: 10ge3-15.core1.dal1.he.net 24.767ms
9: 100ge4-2.core1.phx2.he.net 49.334ms asymm 11
10: 100ge11-2.core1.lax2.he.net 64.731ms
11: xerocole-inc.gigabitethernet2-9.core1.lax2.he.net 40.325ms
12: no reply
13: no reply
14: no reply
15: no reply
16: no reply
17: no reply
18: no reply
19: no reply
20: no reply
21: no reply
22: no reply
23: no reply
24: no reply
25: no reply
26: no reply
27: no reply
28: no reply
29: no reply
30: no reply
Too many hops: pmtu 1500
Resume: pmtu 1500
tcr-g@TCR:~$
Thank you for your help!
Sunday, June 24, 2018
nvidia - How can I improve battery life on my laptop?
I have a Macbook Pro 6,2. It uses Nvidia Optimus technology and would not work with Bumblebee as the i915 driver would fail. I had to uninstall Bumblebee, install nvidia-current, and blacklist nouveau and i915 to get my laptop up and running. So basically right now I'm running solely on my dedicated GPU which means I get only about 2:30 hrs of battery life.
Am I stuck with this short battery life until Nvidia provides proper support for their hardware?
Thanks.
Battery life in Linux sometimes tends to be shorter due to drivers not being able to automatically going into a sort of Power Saving mode.
Although the following suggestions won't change lots if your graphics card is on maximum power consumption permanently, I've found they've helped increase my battery life quite a bit:
Install CPUFreq
sudo apt-get install indicator-cpufreq
You will then be able to click on the icon to the right of the keyboard icon in this screenshot below (indicator bar):
And this should open up a menu like below:
The lower your processor speeds the less power it will consume, so either go with Powersave or put it on the minimum, this reduces battery power consumption especially well if you have a multi-core CPU.
Install TLP if you're running Ubuntu 13.04:
sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install tlp tlp-rdw smartmontools ethtool
For how to configure TLP in detail check the answers to this question on power-saving in 13.04 they explain more than enough for your needs I'd expect.
Install Jupiter if you're running 11.10, 12.04 or 12.10
sudo add-apt-repository ppa:webupd8team/jupiter
sudo apt-get update
sudo apt-get install jupiter
This applet can be opened using the lightning bolt in the indicator bar:
Or alternatively if it doesn't start up automatically you can turn launch it by typing jupiter
into a terminal window (opened using Ctrl+Alt+T). Once you click on the lightning bolt you'll have the following menu open up where you'll be able to choose your power-consumption setting:
Additionally in the devices tab you can disable wifi and bluetooth if you don't need them and would rather have more battery-life.
- Install powertop:
sudo apt-get install powertop
You run the app by typing in sudo powertop
in the terminal and you use the arrow keys to go the far right column entitled Tunables, you should see something like this:
Using the arrow keys select each of the "Bad" settings and set them to "Good" by pressing enter, this should ensure your computer is using your battery in an optimal way.
Set Jupiter and CPUFreq on startup
Normally Jupiter and CPUFreq should start up automatically next time you reboot but if they don't all you have to do is go into start-up applications and type in the following:
- For jupiter
For CPUFreq
Obviously you can change the names and comments of the start-up programs to whatever you want as long as the command stays the same.
So in short to answer your question:
If it is your GPU which is draining your battery, then you have to wait on nVidia. However if any other component is also draining power the steps I've highlighted above will help you solve any problems and increase your battery life.
NB. Some information taken from the following sources:
Many thanks to both of them.
upgrade - System monitor detecting load averages higher in 12.04?
In 11.10 my load averages stayed around .06.I ve been on 12.04 precise for 3 days now and have noticed my load averages stay around 1.06 at all times.Can someone tell me what is going on?I was told that 12.04 precise was faster and efficient.Anyone else experiencing this issue?*update*I woke up this morning noticing my hdd was being accessed.I woke my computer and checked system monitor.My load averages were around 1.46 so it seems to be getting worse.This is the highest so far.I m running a quad core but I think at idle I should be like it was in 11.10,0.06.
How do I install Skype on Ubuntu 13.04? - solution found?
I am getting the following error message from the Ubuntu software centre when trying to install Skype for Linux on my Ubuntu 13.04 64 but system:
Requires installation of untrusted package :
gcc-4.7-base:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386 libcomerr2:i386 libcups2:i386 libexpat1:i386 libffi6:i386 libfontconfig1:i386 libfreetype6:i386 libgcc1:i386 libglib2.0-0:i386 libgpg-error0:i386 libgssapi-krb5-2:i386 libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386 libice6:i386 libjbig0:i386 libjpeg8:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-3:i386 libkrb5support0:i386 liblcms1:i386 libllvm3.2:i386 liblzma5:i386 libmng1:i386 liborc-0.4-0:i386 libp11-kit0:i386 libpciaccess0:i386 libpcre3:i386 libpng12-0:i386 libqtwebkit4:i386 libselinux1:i386 libsm6:i386 libsqlite3-0:i386 libstdc++6:i386 libtasn1-3:i386 libtxc-dxtn-s2tc0:i386 libuuid1:i386 libxau6:i386 libxdamage1:i386 libxdmcp6:i386 libxslt1.1:i386 libxss1:i386 zlib1g:i386
can anybody help?
Dear all - many thanks for your rapid responses. The answer provided by Qasim did the trick. Probably the other solutions were good too, but I may not have pressed the right buttons when trying them; Copy-pasting Qasim's commands into the terminal worked like a miracle - I had stuff scrolling down the screen for about 5 minutes but then Skype installed and I have already had my first conversation. Long live the AskUbuntu community. Cheers
Newest kernel stable or unstable?
I'm used to installing newest kernels on my machine.
I always keep an eye on the latest release from this site and now it says that the latest v4.2 is stable.
After that I'm used to downloading the kernel I choose from this site where now I can see that from v4.1 all versions are unstable.
So I'd like to know which one is telling the truth.
Thanks
They are both telling the truth. Having gone through 8 Release Candidates, the kernel.org version of 4.2 is considered stable. In about two weeks you will observe kernel 4.3 RC1 there, and the process continues.
Now, consider Ubuntu. Ultimately, the Ubuntu version, will have several changes additions and deletions that are not included in the mainline releases linked to. There are also patches applied to to the mainline for the debian packaging and changelog stuff in addition to kernel configuration settings. There simply must be a delay between the kernel.org version being declared stable and the actual Ubuntu version being created, tested on multiple and varied Ubuntu environments, and initially released. From the Ubuntu perspective the mainline PPA would never be considered "stable".
Edit bodhi.zazen
To some extent the confusion is coming from the terminology used by kernel.org and Debian/Ubuntu, specifically the terms unstable/testing/stable.
From https://www.kernel.org/category/releases.html
The terms used are:
Prepatch
Prepatch or "RC" kernels are mainline kernel pre-releases that are
mostly aimed at other kernel developers and Linux enthusiasts. They
must be compiled from source and usually contain new features that
must be tested before they can be put into a stable release. Prepatch
kernels are maintained and released by Linus Torvalds.
Mainline
Mainline tree is maintained by Linus Torvalds. It's the tree where all
new features are introduced and where all the exciting new development
happens. New mainline kernels are released every 2-3 months.
Stable After each mainline kernel is released, it is considered "stable." Any bug fixes for a stable kernel are backported from the
mainline tree and applied by a designated stable kernel maintainer.
There are usually only a few bugfix kernel releases until next
mainline kernel becomes available -- unless it is designated a
"longterm maintenance kernel." Stable kernel updates are released on
as-needed basis, usually 2-3 a month.
Longterm There are usually several "longterm maintenance" kernel releases provided for the purposes of backporting bugfixes for older
kernel trees. Only important bugfixes are applied to such kernels and
they don't usually see very frequent releases, especially for older
trees.
Distribution kernels
Many Linux distributions provide their own "longterm maintenance"
kernels that may or may not be based on those maintained by kernel
developers. These kernel releases are not hosted at kernel.org and
kernel developers can provide no support for them.
Debian takes code from upstream (kernel.org in this case) and packages it. See https://www.debian.org/doc/manuals/debian-faq/ch-choosing.en.html
Unstable has the most recent (latest) versions. But the packages in unstable are not well tested and might have bugs.
On the other hand, stable contains old versions of packages. But
this package is well tested and is less likely to have any bugs.
The packages in testing fall between these two extremes.
And then there is the Ubuntu kernel team's ppa, https://wiki.ubuntu.com/Kernel/MainlineBuilds
This last ppa provides the "mainline" , precompiled, for testing purposes.
So, when choosing what kernel to run you can:
- Obtain the source code from kernel.org, apply any patches you wish, and compile it yourself. You can choose:
Mainline - This kernel is the latest and most likely to have bugs.
Prepatch - This kernel is "pre-release" , or in the development cycle one goes Latest (unstable) -> Alpha -> Beta -> Release Candidate/Pre-release -> Stable release (terms vary with project).
Stable - Released code, less likely to have bugs, good for general use.
Long term - Very stable, at the sacrifice of new features.
or 2. Use a "distribution kernel"
Debian / Ubuntu then takes the source code from kernel.org , and applies patches, so the cycle repeats in what kernel.org would term a "distribution kernel".
The Debian/Ubuntu distribution kernel goes through a similar cycle Unstable -> testing -> stable
The kernel used by various versions of Ubuntu is listed here - https://en.wikipedia.org/wiki/List_of_Ubuntu_releases#Table_of_versions
So, at the time of release, Ubuntu is pulling from the "stable" upstream source code (15.10 is using kernel version 4.1).
At the time of this post, kernel 4.2 is the mainstream kernel, and thus not available in the Ubuntu repositories.
You can either compile the mainstream kernel yourself (I prefer this method) or install it from the ppa - http://kernel.ubuntu.com/~kernel-ppa/mainline/
These kernels are provided as is, as a convenient way for you to try the mainline kernel without having to compile it for yourself. It is unsupported and to some extent expected to have bugs.
They list the current mainstream kernel, 4.2, as unstable according to Debian policy (unstable -> testing -> stable)
As the other kernels listed there have undergone appropriate testing and patches they are eventually re-labeled as "stable"
11.10 - Can't boot from USB after installing Ubuntu
I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...
-
Some of the similar questions don't quite seem to match with my question. What I'm trying to do is to have .bashrc (or similar) to ...
-
I got a very weird problem. My developer laptop runs Ubuntu 11.04 with Unity. As a Java developer I'm using eclipse which whose shortcut...
-
So I do not know my administrative password. I read up on how to reset it by clicking left shift after the BIOS page upon start up. going to...