I have tried to install Xen on my ubuntu 14.04 system but I got an error while rebooting " error while mounting /proc/xen.
Now i want to remove xen packages completely from my system. I have tried many ways to uninstall the Xen from my system but still getting that error.How can i remove Xen completely from my system?
Can somebody help ?
Thanks
Thursday, June 30, 2016
14.04 - Xen uninstallation
system installation - Ubuntu 18.04 LTS server full disk encryption
I was installing ubuntu 18.04 lts server (ubuntu-18.04-live-server-amd64.iso
). I need full disk encryption. But it is missing here. How can I get the LVM and full disk encryption.
According to the 18.04 server release notes on
https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes#Ubuntu_Server
you will need to use the alternate installer to configure LVM (also RAID, multipath, vlans, bonds, or the ability to re-using existing partitions) on installation. You can download it from:
http://cdimage.ubuntu.com/releases/18.04/release/
drivers - Why doesn't 12.04 recognize my ATI Radeon X300SE graphics card?
So far everything including the BCM4321 card is working, however, the OEM ATI Radeon X300SE (RV370) is not recognized. When I go into system details the card comes up as unknown.
When I run lspci the card shows up as:
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV370 5B60 [Radeon X300 (PCIE)]
01:00.1 Display controller: Advanced Micro Devices [AMD] nee ATI RV370 [Radeon X300SE]
I have attempted check Additional Drivers but the card does not show up as needing a driver.
So far this is causing the system to run warmer as the processor is doing a bit of the work to run Unity and any full screen videos tend to be rather choppy.
Is there an available driver that will fix my issue and what is the install method?
I am not scared to run a terminal so no worries there, as long as I have instructions, I can find my way.
I am running under 12.04 LTS Kernel 3.2.0-25-generic-pae
manpage - Missing man page of Clang
I installed Clang 3.6
following the instructions here (the latest version in Ubuntu repository is 3.5):
# to retrieve the archive signature
wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add -
# to install all packages
apt-get install clang-3.6 clang-3.6-doc libclang-common-3.6-dev libclang-3.6-dev libclang1-3.6 libclang1-3.6-dbg libllvm-3.6-ocaml-dev libllvm3.6 libllvm3.6-dbg lldb-3.6 llvm-3.6 llvm-3.6-dev llvm-3.6-doc llvm-3.6-examples llvm-3.6-runtime clang-modernize-3.6 clang-format-3.6 python-clang-3.6 lldb-3.6-dev
However, after the installation, man clang
says
No manual entry for clang
See 'man 7 undocumented' for help when manual pages are not available.
but man clang-3.6
works. Also, neither man clang++
or man clang++-3.6
works. How do I make man clang
and man clang++
work and open the man page as it is already in the system? I also want to use the commands clang
and clang++
instead of clang-3.6
and clang++-3.6
.
Just create some symlinks:
sudo ln -s "$(command -v clang-3.6)" /usr/local/bin/clang
sudo ln -s "$(command -v clang++-3.6)" /usr/local/bin/clang++
sudo ln -s "$(man -w clang-3.6)" /usr/share/man/man1/clang.1.gz
The first two are for the clang
and clang++
commands, and the third for the manpage. If the manpages for clang
and clang++
are supposed to be the same, you can repeat it withclang++.1.gz
instead of clang.1.gz
.
And while you're at it, file a feature request with the package maintainers.
bug reporting - What tools do I need to use to report a bug in a developers PPA?
When you want to report an error the best way to report a package in Ubuntu is sudo ubuntu-bug package
.
But what if the package is in a developers PPA and I want to report an error with enough information, what tools can I use to generate that necessary information?
Best backup software for ubuntu
I need a backup software for Ubuntu 14.04 that has a GUI that can backup my entire system to an external hard drive or network drive. Any recommendations?
Wednesday, June 29, 2016
Why is there a minus sign instead of a check mark in the software sources configuration window?
After an initial installation of Ubuntu, the software sources window has check marks on main, universe, restricted, and multiverse, but a minus sign on source code.
Nevertheless, all deb-src lines in /etc/apt/sources.list are uncommented.
What is the difference to explicitly selecting the checkbox?
system installation - Ubuntu 18.04 Live boot leads to blank screen
My system is booting from the USB drive the problem is that after booting it shows the menu to select an option. And on selecting any option it leads to a blank screen.
I am trying to boot Ubuntu 18.04 from a USB live stick. I waited for about half an hour too after selecting install Ubuntu option, but it's not working.
I have Dell Vostro 3568 8GB RAM, i5 7gen with AMD Radeon. I have made the live USB from startup disk creator which is preinstalled in Ubuntu.
So after much googling, I got the solution. It was very simple to fix that issue. It is about nomodeset
.
When the USB/CD boots press E on grub menu it will lead to edit the grub.
Find the line which ends with
quiet splash
and addnomodeset
in front of it. So it becomesnomodeset quiet splash
. Whatever is there in front of it leave it as it is just addnomodeset
in front ofquiet splash
.Now press Ctrl+X to boot it normally. It will lead you to Try Ubuntu Without installing option. Now from here too you can install Ubuntu. As install Ubuntu option is always there in the live session. Now after installing Ubuntu we need to change
nomodeset
thing permanently so that we don't have to do it again.After successfully installing the system will reboot. Press
shift
button for 5 seconds to get the grub menu after the system starts. If it does not work then try the same with Esc. The most important thing is that it is all about timing.Now again repeat step 2 so that we can login in the system.
Now open a terminal and type
sudo nano /etc/default/grub
it will be having contents similar to this.GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""Find the line having
quiet splash
and addnomodeset
in front of it.Now save it with Ctrl+O and exit it with Ctrl+X. In order to update grub menu enter:
sudo update-grub
Update and Edit 1
After the above, I was able to boot and install Ubuntu 18.04. I was not able to control screen brightness after installing and setting grub setting as nomodeset
so after searching on StackOverflow further I came across this question and I also got to know that nomodeset
is a temporary fix. I updated my kernel and after this, I changed grub
setting as it was earlier, i. e. removing nomodeset
in /etc/default/grub
and updated grub
. Now it's working awesome.
Try Display brightness cannot be adjusted 18.04 if you face issues such as unable to control screen brightness.
How can I update my NVIDIA driver?
I recently installed the opensource game 0AD. Everything went fine, but when I run it I get the error
"You are using 260.19.* series NVIDIA drivers, which may crash the game. Please upgrade to 260.19.21 or later."
How do I go about updating this driver? I downloaded the 260.19.21 driver here.
Its a .bin file.
Newer NVIDIA drivers are available in the X Updates PPA:
You want to add ppa:ubuntu-x-swat/x-updates
to your software sources to upgrade them, you can follow these instructions here:
Lubuntu USB full install but all changes to external harddrive
I have a damaged hdd. It is not working anymore (I tried low-level formating etc...) And I want to install lubuntu on my usb drive. but I want to keep my changes on my external hdd.
Or;
Is there any chance to install lubuntu on my ext hdd without losing data
Ubuntu 12.04 32bit cant login
I have tried almost every comment in this subject.
my .xsession-errors
file says:
openConnection: connect: No such file or directory
cannot connect to brltty at :0
and that is all. I can login as a guest but not with my account.
Tuesday, June 28, 2016
Does UEFI support mean Wubi will now work on laptops shipped with Windows 8?
According to this news , there is an official fix for secure boot. Will Ubuntu adapt it?
If so, how long should it take? And does it allow booting new computers from Wubi?
dual boot - My partition table is facing limitations; having problems creating more partitions
I first noticed an issue when trying to install Linux Mint 14 as a third OS alongside Ubuntu 12.10 and Windows 7 - I was unable to create another partition to install Mint to.
Poking around, I realised that I had reached the limit of primary partitions: (from left to right of the table) 1) a ~100 MB primary partition that I meant to use for storing Grub files but never got down to, 2) a 25 GB extended partition, with the entire partition containing an ext4 Ubuntu partition, 3) a ~513 GB partition containing Windows 7, 4) some ~50 GB of unallocated space, and finally 5) a 4 GB swap partition.
I decided to wipe off the first ~100 MB partition, which I didn't need anyway. This brought me to a dilemma, however: as Ubuntu, during initial installation, had created an extended partition for itself, which meant that I could not create any more. Having an extended partition for Ubuntu is virtually useless as there is only enough space to contain Ubuntu itself, and the benefits of extended are worthless here. And if I go ahead and install Mint now, I would face the same issue of too many primary partitions in the future should I want to create any more.
What I'd really like to do is this: convert the current extended partition into a normal primary partition, and create a new extended partition in the unallocated space for all future partitions. Is this possible, and if so how? Thanks in advance!
My FixParts program can convert from primary to logical and vice-versa, albeit with some caveats concerning what's legal in terms of MBR partition layouts. If I understand your layout and goals, FixParts should do what you need. This is likely to be safer than using fdisk
or parted
, since there's less room for user error. I'd recommend also converting the swap partition to a logical while you're at it, since that will reduce your primary partition count to 3, giving your more options should you ever need another primary partition. If you convert your swap space to a logical partition, you'll then need to use GParted to resize the extended partition that FixParts will create around the swap partition. It's best to do all of this from an emergency disc.
Ubuntu Gnome 14.04 Instal Nvidia drivers
I have been looking all over the web, and tried every suggestion I found to get the nvidia drivers working on my computer with Ubuntu Gnome 14.04, with no luck.
Every time I install a driver or choose to use the driver from addition drivers, when I reebot, I cannot log in again. It gets stuck at the logo screen. I need to go to the ALT + CTRL + F1 to purge all nvidia traces so I can get back.
Is it possible to install the new nvidia drivers?
I just upgraded from 13.10 to 14.04, I have an Asus N550VJ which has hybrid graphics with Intel 4000 / Nvidia 750M
What Im looking for is to try the primus functionality to disable the discreet card and enable it whenever I want to play or run heavy graphic stuff.
When I was in 13.10 I was using bumblebee, but, since, the nvidia prime is supposedly mature enough, I wanted to try it.
Is this possible for Ubuntu Gnome 14.04. I read there was a bug with gdm, but also, saw that it was already fixed.
Thank you very much for your help. Im not that well versed in linux.
hardware - Why does my USB mouse seem to randomly quit working?
While I am doing stuff... doesn't seem to matter what, my USB mouse just stops working... sometimes it will be the keyboard as well but usually not as often. Ubuntu forces me to press my power button to recover my mouse again.
Any ideas?
Let me know if you need more information.
This is a dual boot system and only happens on Ubuntu, and it works fine under Windows
How to remotely use Ubuntu software center
my sysadmin set up my work machine such that I don't have root privilege but I can use ubuntu software center to install packages by providing my password.
I login to that Ubuntu machine remotely, and I'd like to install some packages from the software center, how can I do this?
I tried "software-center" , which gives me the interface, but nothing happens when I click on "install"
NOTE: both machines involved are ubuntu machine.
This post might help understand my situation, my sys-admin did the same thing. I don't know how he/she implemented it.
Thank you in advance.
my sys-admin say that the software-center cannot go through X-forwarding, so I cannot install via software center using ssh. But I will try the remote desktop thing.
Thank you all for inputs!
You can use team viewer
For the 32-bit package:
$ wget http://download.teamviewer.com/download/teamviewer_linux.deb
$ sudo dpkg -i teamviewer_linux.deb
For the 64-bit package:
$ wget http://download.teamviewer.com/download/teamviewer_linux_x64.deb
$ sudo dpkg -i teamviewer_linux_x64.deb
& Install it on the other pc that you are wanting to control with
connect by the id & password
Monday, June 27, 2016
What's the difference between a PPA and a repository?
I recently posted an answer where I wrote add the PPA. But I now realize, that I have no idea what the difference between a PPA and a Repository is. So can someone please explain it to me?
On systems like Ubuntu, most software is packaged in nice .deb (or .rpm, like in Red Hat) files which contain the programs and libraries you need. These files can be downloaded or come in CDs (Ubuntu's CD is full of them). Repositories are servers which contain sets of packages.
Personal Package Archives (PPA) allow you to upload Ubuntu source packages to be built and published as an apt repository by Launchpad.
Also see What are PPAs and how do I use them?
and Wikipedia.
To sum it up:
- A repository has packages.
- PPAs are archives of personal packages.
- Launchpad.net holds PPAs.
Unity doesnt shows correctly after proprietary nvidia even after linux-headers-generic
I just reinstalled ubuntu 12.10 and cant get nvidia proprietary drivers to work properly in the unity dash.. Previously before formating i installed the linux-headers-generic tweak and it worked, but now even if i install it it stays messy!! Someone help!
release management - Is it possible to skip an LTS upgrade?
If you want to upgrade from 10.10 to 12.04, then you'll need to follow the upgrade path; 10.10 > 11.04 > 11.10 > 12.04. However, with LTS versions, you can upgrade directly, so that you can upgrade from 10.04LTS to 12.04LTS directly.
But now, LTS versions are supported for five years while there's still a new LTS every two years. That means you can choose to skip an LTS. So the question is; will I be able to upgrade from 12.04LTS to 16.04LTS directly, or will I then have to follow the LTS upgrade path; 12.04 > 14.04 > 16.04?
I decided to drop Mark Shuttleworth a comment on his blog.
My Question:
Mark – its not clear what the LTS upgrade strategy is beyond 12.04.
i.e. – could a 12.04 business jump to 16.04 directly – i.e. plan to
upgrade in 4 years time?
and Mark's response:
We support LTS-to-LTS upgrades, so yes, you could stay on 12.04 LTS,
then move to 16.04 LTS (in our current testing plan we would test the
migration from 12.04 to 14.04 and then to 16.04, not directly).
Thus, any business on 12.04 LTS staying for 4 to 5 years, their upgrade plan would be first 14.04 LTS and staying with that for the 3-4 years that LTS gives, or to plan a double upgrade - 14.04 and then 16.04.
networking - How to search for wireless networks?
I'm using Ubuntu 12.04. I tried with this
sudo iwlist eth0 scan
but this doesn't seem to work :(..It says "interface dosn't support scanning"
What to do? Please help..
I can't access Internet on Ubuntu.
Even I've mobile broadband usb, but even that doesn't get detected. Other pendrives get detected
More details
*-network UNCLAIMED
description: Network controller
product: Broadcom Corporation
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:08:00.0
version: 01
width: 64
bits clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list configuration: latency=0 resources: memory:c1500000-c1507fff
And more details:
lspci
00:00.0 Host bridge: Intel Corporation Ivy Bridge DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Ivy Bridge PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Ivy Bridge Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation Panther Point USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation Panther Point MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation Panther Point High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 2 (rev c4)
00:1d.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Panther Point LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation Panther Point 6 port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation Panther Point SMBus Controller (rev 04)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Thames XT/GL [Radeon HD 7600M Series]
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
08:00.0 Network controller: Broadcom Corporation Device 4365 (rev 01)
wireless - Intel 8260 does not work in Ubuntu 14.04.3
I am brand new to the Linux community, and I have installed Ubuntu 14.04. However, I am having some issues with Wifi. Ubuntu does not recognize Wifi at all, and I think it might be a communication problem between the hardware and Ubuntu. I am using a brand new Lenovo Y700 with an intel Core i7 processor.
When I search in terminal for network hardware it recognizes the Intel Wireless 8260 wireless card, but says that it is unclaimed.
lshw -class network
*-network UNCLAIMED
description: Network controller
product: Wireless 8260
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:08:00.0
version: 3a
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: memory:94100000-94101fff
*-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:09:00.0
logical name: eth0
version: 15
serial: 50:7b:9d:5f:1e:82
size: 10Mbit/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=half firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:24 ioport:3000(size=256) memory:94004000-94004fff memory:94000000-94003fff
and searching the network interface configuration does not show a WLAN device.
sudo ifconfig -a
eth0 Link encap:Ethernet HWaddr 50:7b:9d:5f:1e:82
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
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:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1184 (1.1 KB) TX bytes:1184 (1.1 KB)
also, there is no information listed for a wireless card in rfkill
rfkill list all
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
Here is the result of uname -r
3.19.0-25-generic
I have also attempted to add the proprietary internet drivers by going to System Settings -> Software and Updates -> Additional Drivers
, and no proprietary drivers appear. I have searched in a number of places, but cannot find a solution that works.
How can I get Ubuntu to recognize that there is a wireless card in my computer? A hitch in my giddyup is that I do not have access to ethernet so am unable to just try adding different packages and installations easily.
Any help would be greatly appreciated. Could it be that I am having issues because this is a newer computer? or because it is designed for gaming? or just because I am new to Linux?
Thanks for any information, and please let me know any other information you'd like posted.
Paul
It looks like you installed Ubuntu 14.04.3 with kernel 3.19.
The problem is that the kernel 3.19 does support Intel 8260
, but it needs firmware that is not in the original linux-firmware
file.
It is even worse. This kernel supports firmware version 9-12 for this adapter, but the trusty-updates
package has version 13.
Since you just did a fresh install, I suggest to download and install Ubuntu 14.04.4, that does support the wireless adapter.
Ubuntu 14.04.4 will install kernel 4.2 that supports firmware version 10-15 and you will get firmware v. 13 out-of-the-box.
That will be much easier than to upgrade the kernel without any internet access.
Hopefully your Ethernet adapter will work too. If this is not the case, you can ask another question regarding the Ethernet.
For Lenovo Yoga 700 the wireles adapter is blocked by ideapad_laptop
kernel module. You can temporarily fix it by running
sudo modprobe -r ideapad_laptop
This issue has been fixed in the last kernel update since 4.2.0-28. After you install the system and update the kernel, your wireless adapter should work.
Do not forget to install updates for your system and you will not need to stop ideapad_laptop
any more.
12.04 - Attempting to enter recovery mode and go to root
I have attempted to follow directions as listed in the "How do I reset a lost administrative password" question. The procedure is also listed in "how do I boot into recovery mode".
I get through the initial steps but the arrow keys stop working when I get to the Recovery Menu. They work fine selecting the boot option.
I am running Ubuntu 12.04.3 LTS (Precise Pangolin) as a server.
dual boot - using gparted to create more than 4 partitions?
I've created a bootable usb and I'm getting ready to install ubuntu 13.10 to dual-boot with Windows 7. The problem is I don't know how to deal with my partitions.
I have 4 primary partitions on my HDD already (recovery, boot, and 2 that are unnamed and I can't explore). Which one of the latter 2 would I use to create an extended partition with unallocated space using gparted?? How do I find out. I've been googling this for hours and I just don't know how to do this in an informed manner and safely. I just can't find the answer.
Thanks to all that can help!!
Update:
ok looking at it from the Linux end the last two are hidden partitions and I can see that they are not empty. One is called HDDRECOVERY. Not sure how to proceed. Can I back up the files in those partitions and then extend one and delete the other?
Sunday, June 26, 2016
Login loop with gdm and lightdm, startx works
I am running 12.10. Attempting to login via gdm lands me back at the login page. The behaviour is the same for when I switched to lightdm. Logging in with guest is fine, and logging in with a test account I created is fine.
If I access tty1, login with my account and then startx, I get to my desktop fine.
Any ideas? I have tried chowning Xauthority and then removing it but to no success. The problem appears to be a setting in my account, although I have no idea what as when I last used my computer before the problem occurred I didn't do anything abnormal (i.e. system updates or changing any user settings).
UPDATE: SOLVED
Solved thanks to help from Braiam. My ~/.xsession-errors.old file had the following:
/usr/sbin/lightdm-session: 34: /home/*username*/.profile: source: not found
/usr/sbin/lightdm-session: 42: /home/*username*/.profile: Syntax error: "(" unexpected
I had recently added some lines to my .profile to provide useful git information in my prompt. It worked fine when logging in via tty1 and then running startx, however it seems it was stopping me from logging in via gdm / lightdm
The ~/.xsession-errors.old
reveals errors found on your ~/.profile
file. You should check the syntax and fix the offending line.
Can I create my own Ubuntu 16.04 Live DVD / USB with patches?
The only Ubuntu Live DVD I have is for version 14.04.1.
I recently upgraded to 16.04 when the semi-weekly updates nudged me to do so. After the upgrade I had to patch various parts of the system for my laptop to behave. I also upgraded to Kernel 4.6.3 and then to Kernel 4.7.1 and then 4.7.2 immediately after that.
Today I was thinking I should create a spare 16.04 Live DVD "just in case" but then started wondering if I could make one incorporating all the changes I've done the last few weeks.
So.... Can I? and how would I go about doing it?
Thanks in advance.
Edit 1:
To add clarity it's not a kernel patch or major rewrite. There are just a few files I want to add:
/etc/acpi/events/lid-open
/etc/acpi/events/lid-close
/etc/acpi/events/tv-sound
I need to add my cell phone to the usb id's and change terminal to colour prompt so two files need to be changed:
/usr/share/hwdata/usb.ids
~/.bashrc
Optionally I might want to setup plymouth themes for sunrise and sunset instead of Ubuntu logo with horizontal dots. Also within grub kernel command line "kaslr" option could be added.
grub2 - How can I show or hide boot messages when Ubuntu starts?
Is there a way to easily turn on/off showing the boot messages (loading the services) when Ubuntu starts? Is it something in Grub2?
I am running 10.04.
You would need to edit the file /etc/default/grub
. In this file you'll find an entry called GRUB_CMDLINE_LINUX_DEFAULT
. This entry must be edited to control the display of the splash screen.
The presence of the word splash
in this entry enables the splash screen, with condensed text output. Adding quiet
as well, results in just the splash screen; which is the default for the desktop edition since 10.04 (Lucid Lynx). In order to enable the "normal" text start up, you would remove both of these.
So, the default for the desktop, (i.e. splash screen only):
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" #Hide text and show splash
For the traditional, text display:
GRUB_CMDLINE_LINUX_DEFAULT= #Show text but not the splash
For the splash, but the ability to show the boot messages by pressing Esc:
GRUB_CMDLINE_LINUX_DEFAULT="splash"
Or, finally, for just a (usually) black screen, try:
GRUB_CMDLINE_LINUX_DEFAULT=quiet #Don't show Ubuntu bootup text
GRUB_CMDLINE_LINUX="console=tty12" #Don't show kernel text
After editing the file, you need to run update-grub
.
sudo update-grub
For more details, see this: https://help.ubuntu.com/community/Grub2
boot - Unable to install Ubuntu alongside Windows 10 due to UEFI firmware error
I have recently bought a new ASUS laptop which has Windows 10. Now I need to install Ubuntu 15.04 alongside Windows. I have done this before with my other laptops. However, now when i try to install Ubuntu, first during the installation it gives me a warning as;
Force UEFI Installation? This machines's firmware has started
this installer in UEFI mode but it looks like there maybe existing
operating systems already installed using BIOS compatibility mode, If
you continue to install Debian in UEFI mode,it might be difficult to
reboot into any BIOS-mode operating system.
Also note that I'm not getting the "Install alongside Windows" option. Instead, I see;
This computer currently has detected no operating systems.
Even though I have Windows 10 installed.
How can i install Ubuntu alongside Windows?
Saturday, June 25, 2016
i can't download adobe flash player
I have ubuntu 14.04 and i need to download adobe flash player,but when i go to the main page on the bottom right corner on top of the download button it says "Note: Your antivirus software must allow you to install software." does anyone know how i can download it?
Install Nvidia GeForce 740M driver in Ubuntu 12.04
I have a laptop with VGA Onboard Intel HD integrated graphics and an Nvidia GeForce 740M graphics processor. How I can install the Nvidia GeForce 740M driver in Ubuntu 12.04? Because, yesterday I can't install it. After restarting my laptop's resolution was 600x480.
Do I have to install that with terminal PPA or by downloading the file from the NVIDIA official website? Please give me solutions. Thanks.
apt - davfs2 : Depends: libneon27 but it is not going to be installed
When installing davfs2 on Ubuntu bionic, I have got the following errors:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
davfs2 : Depends: libneon27 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Then I have to install previous version of libneon27 first to make it right.
sudo apt install libneon27=0.30.2-2build1
software sources - How to remove a repository?
Please let me know how to remove certain repositories in Ubuntu 11.04. I am getting the following errors while updating.
sudo apt-get update
Err http://ppa.launchpad.net natty/main Sources
404 Not Found
Err http://ppa.launchpad.net natty/main i386 Packages
404 Not Found
......
E: Some index files failed to download. They have been ignored, or old ones used instead.
Unable to boot from cd or live usb on Toshiba satellite U945-S4140
I am trying to completely switch over to ubuntu from a my toshiba ultrabook. Link to product page: http://www.toshiba.com/us/computers/laptops/satellite/U940/U945-S4110
I previously had linux mint dual booted with windows 8, and to get that to work my friend had to do something to the computer. I have the iso for ubuntu 14.04 LTE loaded onto a cd, and I have tried starting my computer with my external usb disk drive, but I keep getting the message "Reboot and Select proper Boot device or Insert Boot Media in selected boot device and press a key" even though I have the UEFI set up to boot from my cd drive. I was able to previously install ubuntu, but right at the end of the install the bootloader failed to install correctly. How should I proceed to be able to join the ubuntu family?
Friday, June 24, 2016
system installation - Ubuntu 14.04 Live USB installer will not run
I'm currently trying to update from 12.04 to 14.04 with a live USB which I made using the Startup Disk Creator application. However, whenever I boot up with it, it takes several minutes to start up, and I receive the following error:
Installation failed
The installer encountered an unrecoverable error. A desktop session will now be started...
I found this question which seemed similar, but I tried everything suggested there with no results. I verified the md5sum of the iso I used to make the USB image, and that checked out. Removing ubiquity slideshow as suggested in one of the answers also did not help, so I re-added that.
Whenever I try to run ubiquity to install Ubuntu 14.04, it just hangs (with the rotating waiting mouse icon) and then eventually closes.
I'm trying to install on a 64-bit HP Envy-15t, which is currently dual-booted with Windows 8.1 and Ubuntu 12.04, and I'm using the 64-bit Ubuntu desktop iso.
Does anyone know a fix for this?
system installation - How to totally remove Ubuntu and install Lubuntu?
I've Asus computer with 2x Intel Celeron CPU 1000M @ 1.80 Ghz.
I've installed Ubuntu 16 on my computer but it seems too heavy for it. When computer is opening sometimes it takes 5 minutes to prepare desktop and when I click on any application again it takes something like 4-5 minutes to run application.
Thusly I've decided to uninstall Ubuntu and install Lubuntu instead of it which is more lighweight. I got all personel folder to somewhere else and burned a Lubuntu ISO to USB stick.
Now I want to totally remove Ubuntu and all additional softwares which I've downloaded to computer and then make a clean install of Lubuntu. But I can not remove the Ubuntu.
I've checked internet and on every blog says something different. Finally I've run apt-get install lubuntu-desktop
and now I can switch to Lubuntu but still computer to slow. As well whole pre-installed softwares are exist.
How can I achieve for a totally clean re-install of Ubuntu and installing a clean Lubuntu instead of it?
I have over came on issue which avoid me to format whole OS through BIOS settings . I had burned Lubuntu ISO to USB but couldn't see USB because of Secure Boot Mode was enable.
I've disabled it and then saw the Lubuntu installer USB on Boot Options and be succedd to totally removing Ubuntu, installing Lubuntu instead of it.
Thanks for @ciampix and @guiverc for their comments.
boot - Why won't grub load my newly upgraded kernel?
I upgrade my kernel
when I run update-grub, these are found
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.4.0-3-generic
Found kernel: /boot/vmlinuz-3.2.0-24-generic-pae
Found kernel: /boot/vmlinuz-3.2.0-24-generic
Found kernel: /boot/vmlinuz-3.0.0-20-generic
Found GRUB 2: /boot/grub/core.img
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done
but when run uname -r
, the kernel is 3.0.0-20
.
How can I solve that?
Thursday, June 23, 2016
Unable to Boot from USB after installing Ubuntu 17.10
I am currently using an ASUS K53SC machine (laptop).
I tried installing Ubuntu 17.10 (dual boot with windows 10) december last year, however, after installation completion the machine directly booted to windows 10. Also, on restart there was no option to boot to Ubuntu 17.10.
Additionally, I tried the installation again from USB via the BIOS, however, although the USB would show up, I was unable to boot from it (gets stuck at a black screen).
In the meanwhile, I have formatted the Ubuntu drive and windows 10 works normally. I tried updating the machine BIOS (read some suggestions on the internet) to fix the boot issue, however, still no success.
Now, I am left with current windows 10, and am unable to install any ubuntu version (unable to boot from USB via BIOS).
Any suggestions on how to fix this, except for replacing the motherboard, would be appreciated.
Thank you.
macbook - Trying to install popcorn time 3.2 on Ubuntu 16.04
I am using Ubuntu 16.04 on may mac-book and would like to install popcorn time(the current version is 3.2). However all the packages of popcorn time that I have downloaded either;
- Do not have an installation file ( so I cannot use
sudo ./install
) - Are not executable and simply do nothing when double clicked,
- Give me an error "Sorry, this did not work, no
file_to_app
results to show" when they try open with Ubuntu software installer
EDIT 1; This is the procedure I first used as in a popular post here in askubuntu;
- Download PopCorn Time.
- Open a Terminal ( Ctrl + Alt + T ).
- Enter in your download folder :
cd ~/Downloads mkdir $$
- Extract the downloaded archive
tar -xf Popcorn-Time-*.tar.xz -C $$
- Run
cd $$
sudo ./install.
Then when
sudo ./install
returned no such file, I tried going into the unzipped folder and double clicking the popcorn-time file, that's when I got:
Sorry, this did not work, no file_to_app results to show
hardware - What are the system requirements for each flavour of Ubuntu Desktop?
I'm thinking about installing Ubuntu Desktop, but I don't know what flavor is the best for my system. What are the minimum and recommended hardware requirements? What kind of CPU? How much memory? Should I have Hardware Acceleration? What flavor should I use?
This is an attempt of a canonical answer. My answers have the "official requirements", the recommended are a mix of official sources and opinion based (along with the answer it's told the source). You can comment or edit if you feel that the information is obsolete or incomplete.
It is a good rule of thumb that any system capable of running Windows
Vista, 7, 8, x86 (Intel) OS X will almost always be a lot faster with any
Ubuntu flavor even if they are lower-spec than described below.
Wednesday, June 22, 2016
package management - Install MySQL without apt-get
I want to install MySQL but my internet connection is very slow so I decided to download the database from the MySQL site.
I have read this question, but I don't have any friends using Ubuntu.
Well I thought this was an interesting problem. There are things like apt-offline
that will help you if you have another Ubuntu machine connected to the internet (strongly suggest looking into it if you do) but there isn't much I can see to help people who are stuck needing packages of things.
And yes, I do think the packages are worth the effort in this case. MySQL is a hard thing to install well manually. There's a lot of configuration that dpkg
handles for you with the ubuntu packages.
So I've written this one-line script. Give it a package to install (in this case mysql-server
) and it'll use your local apt-get
database in simulate mode to work out what packages it needs. You might be able to get away without an updated package list, but I strongly suggest you run sudo apt-get update
before running this (you'll need some bandwidth for that).
apt-get install -qs mysql-server | grep "Inst " | awk 'BEGIN { FS="[ \(\)\[\]\/]+" } { print "http://packages.ubuntu.com/" $5 "/" $6 "/" $2 "/download" }'
This generates a list like this:
http://packages.ubuntu.com/maverick/all/libnet-daemon-perl/download
http://packages.ubuntu.com/maverick/all/libplrpc-perl/download
http://packages.ubuntu.com/maverick/i386/libdbi-perl/download
http://packages.ubuntu.com/maverick/i386/libdbd-mysql-perl/download
http://packages.ubuntu.com/maverick-updates/i386/mysql-client-core-5.1/download
http://packages.ubuntu.com/maverick-updates/i386/mysql-client-5.1/download
http://packages.ubuntu.com/maverick-updates/i386/mysql-server-core-5.1/download
http://packages.ubuntu.com/maverick-updates/i386/mysql-server-5.1/download
http://packages.ubuntu.com/maverick/all/libhtml-template-perl/download
http://packages.ubuntu.com/maverick-updates/all/mysql-server/download
Those links will take you to the packages.ubuntu.com website where you can download the packages (at their right versions). Unfortunately, this is a little bit manual and the website is pretty slow. People might be able to improve my script to provide direct download links to the packages.
Once you have the packages and you're back on your low-bandwidth system, either stick them in /var/cache/apt/archives/
and run the standard sudo apt-get install mysql-server
or simply cd
into the directory where the packages are and run `sudo dpkg -i *.deb"
ati - Can't install Catalyst 12.8
Possible Duplicate:
What is the correct way to install ATI Catalyst Video Drivers?
I can not install fglrx ATI drivers/Catalyst 12.8. I have tried installing AMA Catalyst 12.8 using this guide: http://www.upubuntu.com/2012/08/install-amd-catalyst-128-on-ubuntu.html
When I reach the part of installing with sudo sh amd-driver-installer-8.982-x86.x86_64.run
, I get the following error:
When I run it using the --force option, I get this message:
How can I fix these errors and install Catalyst 12.8?
dual boot - Should I choose to Install alongside windows 8 or something else
I'm thinking about installing Ubuntu ( dual boot ) as I might like it but I'm not sure whether I should choose to install alongside Windows 8 or something else.
I do have 100 GB unallocated already for Ubuntu on my D:/
drive so I'm good to go.
I've seen people configure their partitions specially ( they created swap
and then used the remaining unallocated to install Ubuntu ). Do I need to do this? Or will the installer handle it for me.
As far as I go, never trust automatic partitioning options in Ubuntu installers, as you may end up with nasty surprises. When installing Ubuntu, personally I always prepare the partitions manually. Since you want to keep a dual-boot set-up, most flexible would be to create a new extended
partition and inside it create the several logical
partitions.
In the extended
partition I usually I reserve:
- 5GB for
swap
(or whatever appropriate given your RAM) - 25GB for
/
which will contain all your system files (but some will say that this is overly generous, as 15-20GB could suffice given your installation habits) - the rest for
/home
which will contain all your user data
I tend to use ext3
file system for the above partitions for reliability reasons (but you could of course use ext4
or reiserfs
if you so prefer). Sometimes I include a /boot
partition no bigger than 500MB using ext2
, but I cannot remember if this is more hassle than necessary; from memory, this is where kernels and grub
config files end up.
Additionally, see My approach for replacing current Ubuntu with newer for a discussion on how manual partitioning can be approached.
xubuntu - How do I start x11vnc via bash script on startup, not login?
I have a server with Xubuntu 11.10 Desktop installed, and x11vnc. When on login screen I want x11vnc to start and to take some settings:
Automatically set defined password
Automatically accept conncetions, but ask for a password
Automatically start this script on loading the system, not the user profile.
How can I do this.
ubuntu 18.04 add package lsb-cxx
How to install package lsb-cxx?
i did following
$ apt install lsb-cxx
which result in
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package lsb-cxx
server - ATI R7850 w. OpenCL support on 12.04+
Preface
I have downloaded the latest AMD/ATI drivers for my Radeon HD 7850 and I am having a difficult time getting it to work with ATI Stream SDK 2.1.
I have tried purging fglrx and installing from debs created from the Catalyst installation script. I have also tried simply installing directly from the script, vs generating and installing .debs. After every installation, I run sudo aticonfig --initial --nobackup and then reboot my system.
Problem
The problem I am having is that fglrxinfo is giving me this error: Error: unable to open display (null). I have run fglrxinfo with my DISPLAY variable set to both :0.0 and :0 with no success.
Also, DISPLAY=:0.0 ./CLInfo only returns my CPU and no GPU. My goal is to install my graphics card and have it shown in CLInfo so that I can use it for OpenCL.
System Information
$ lspci -nn | grep VGA
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Device [1002:6819]
$ uname -a
Linux Ubuntu-12.04 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:42:16 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection
Section "Module"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
- Ubuntu 12.04 (Server)
References
I was able to get everything working by installing a lightweight X Window system.
sudo apt-get install lxde
apache2 - Cannot install libapache2-mod-php5 because of unmet dependencies
I have a vagrant box that installs php 5.3.28 and most php libraries
dpkg -l |grep '^ii' |grep php
ii php5-cgi 5.3.28-1~dotdeb.0 server-side, HTML-embedded scripting language (CGI binary)
ii php5-cli 5.3.28-1~dotdeb.0 command-line interpreter for the php5 scripting language
ii php5-common 5.3.28-1~dotdeb.0 Common files for packages built from the php5 source
ii php5-curl 5.3.28-1~dotdeb.0 CURL module for php5
ii php5-dbg 5.3.28-1~dotdeb.0 Debug symbols for PHP5
ii php5-fpm 5.3.28-1~dotdeb.0 server-side, HTML-embedded scripting language (FPM-CGI binary)
ii php5-gd 5.3.28-1~dotdeb.0 GD module for php5
ii php5-gmp 5.3.28-1~dotdeb.0 GMP module for php5
ii php5-imap 5.3.28-1~dotdeb.0 IMAP module for php5
ii php5-interbase 5.3.28-1~dotdeb.0 interbase/firebird module for php5
ii php5-intl 5.3.28-1~dotdeb.0 internationalisation module for php5
ii php5-ldap 5.3.28-1~dotdeb.0 LDAP module for php5
ii php5-mcrypt 5.3.28-1~dotdeb.0 MCrypt module for php5
ii php5-mysql 5.3.28-1~dotdeb.0 MySQL module for php5
ii php5-odbc 5.3.28-1~dotdeb.0 ODBC module for php5
ii php5-pspell 5.3.28-1~dotdeb.0 pspell module for php5
ii php5-recode 5.3.28-1~dotdeb.0 recode module for php5
ii php5-snmp 5.3.28-1~dotdeb.0 SNMP module for php5
ii php5-sqlite 5.3.28-1~dotdeb.0 SQLite module for php5
ii php5-tidy 5.3.28-1~dotdeb.0 tidy module for php5
ii php5-xmlrpc 5.3.28-1~dotdeb.0 XML-RPC module for php5
ii php5-xsl 5.3.28-1~dotdeb.0 XSL module for php5
But when I do sudo apt-get install libapache2-mod-php5
I get
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libapache2-mod-php5 : Depends: php5-common (= 5.3.10-1ubuntu3.14) but 5.3.28-1~dotdeb.0 is to be installed
E: Unable to correct problems, you have held broken packages.
What can I do to resolve this issue?
boot - Invalid video mode specification `text' with no further display
My Ubuntu server crashed and after recovering with fsck, the server starts with a prompt:
error: invalid video mode specification `text'.
Booting in blind mode.
There is no further echo of my inputs. However, the recovery mode seems to work perfectly.
I tried to do a grub-install and grub-update, which didn't work. Anyone knows how to fix this?
This is a very weird problem. I solved it by manually changing the
gfxmode $linux_gfx_mode
line in /boot/grub/grub.cfg to:
gfxmode auto
after reboot, the console is now able to show the startup message, and for me to find where the real issue is. It turned out that one of my auto mount in fstab has some issues with the journal index. After running fsck from a live cd the system now starts flawlessly.
But this leads to two more questions:
- Why would an automount in fstab crash the entire startup sequence? The volume is for external data and non-essential to the system.
- Why there is no display due to this issue? After fixing the volume, I ran grub-mkconfig again and the line was restored to $linux_gfx_mode, and the system runs fine. It feels to me like some bug in grub where the video mode string was not correctly passed to kernel on startup issues. But guess only grub developers could tell.
Tuesday, June 21, 2016
14.04 Login incorrect ('Retry' placeholder in password field)
it happened to my system after hard shutdown.
Now on login screen I see placeholder 'Retry' in the password field, I can't type anything.
Login screen snapshot:
Then I decided to watch what terminal says (ctrl+alt+f1):
terminal snapshot:
Proper login doesn't work at all. Always get "login incorrect".
What is that? Some broken auth package?
apt - ffmpeg installation, kubuntu utopic unicorn
I haven't found any utopic unicorn ffmeg repositories, so I am trying to install it from https://launchpad.net/~jon-severinsson/+archive/ffmpeg by changing version from utopic to trusty in /etc/apt/sources.list.
However, when I do that, I get the following error
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ffmpeg :
Depends: libavcodec54 (>= 7:1.2.5~) but 6:9.11-2ubuntu3 is to be installed or
libavcodec-extra-54 (>= 7:1.2.5~) but it is not going to be
installed
Depends: libavdevice53 (>= 7:1.2.5~) but it is not going to be installed
Depends: libavfilter3 (>= 7:1.2.5~) but it is not going to be installed
Depends: libavformat54 (>= 7:1.2.5~) but 6:9.11-2ubuntu3 is to be installed
E: Unable to correct problems, you have held broken packages.
I suppose that's because of version difference and not sure, what to do.
Do I have to search for those libraries and add more repositories, or is there are some simple way to do this?
I think the Problem is, that Ubuntu is changing/changed from ffmpeg to avconv. One possible solution is that you install ffmpeg from their homepage
python - CuPy - import error - nvidia lib. not found
I get the following error when trying to import CuPy:
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/cupy/__init__.py", line 20, in
six.reraise(ImportError, ImportError(msg), exc_info[2])
File "/usr/local/lib/python2.7/dist-packages/cupy/__init__.py", line 9, in
from cupy import core # NOQA
File "/usr/local/lib/python2.7/dist-packages/cupy/core/__init__.py", line 1, in
from cupy.core import core # NOQA
File "cupy/core/core.pyx", line 1, in init cupy.core.core (cupy/core/core.cpp:103472)
File "/usr/local/lib/python2.7/dist-packages/cupy/cuda/__init__.py", line 3, in
from cupy.cuda import compiler # NOQA
File "/usr/local/lib/python2.7/dist-packages/cupy/cuda/compiler.py", line 12, in
from cupy.cuda import function
File "cupy/cuda/function.pyx", line 1, in init cupy.cuda.function (cupy/cuda/function.cpp:6346)
ImportError: CuPy is not correctly installed. Please check your environment, uninstall CuPy and reinstall it with `pip install cupy --no-cache-dir -vvvv`.
original error: libnvidia-fatbinaryloader.so.375.82: cannot open shared object file: No such file or directory
I have tried to reinstall CuPy with the suggestion. Also, I tried to copy the libnvidia-fatbinaryloader.so.375.82 file from /usr/lib/nvidia-375 to /usr/local/cuda-8.0/lib64/ but does not work.
In fact, when I copy that file to /usr/local/cuda-8.0/lib64/ I get this error (when trying to create an array):
>>> import cupy as cp
>>> x_gpu = cp.array([1, 2, 3])
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/cupy/creation/from_data.py", line 26, in array
return core.array(obj, dtype, copy, ndmin)
File "cupy/core/core.pyx", line 1822, in cupy.core.core.array (cupy/core/core.cpp:59154)
File "cupy/core/core.pyx", line 1848, in cupy.core.core.array (cupy/core/core.cpp:58918)
File "cupy/core/core.pyx", line 92, in cupy.core.core.ndarray.__init__ (cupy/core/core.cpp:6509)
File "cupy/cuda/memory.pyx", line 283, in cupy.cuda.memory.alloc (cupy/cuda/memory.cpp:5911)
File "cupy/cuda/memory.pyx", line 263, in cupy.cuda.memory._malloc (cupy/cuda/memory.cpp:5853)
File "cupy/cuda/memory.pyx", line 264, in cupy.cuda.memory._malloc (cupy/cuda/memory.cpp:5739)
File "cupy/cuda/memory.pyx", line 34, in cupy.cuda.memory.Memory.__init__ (cupy/cuda/memory.cpp:1789)
File "cupy/cuda/device.pyx", line 67, in cupy.cuda.device.Device.__init__ (cupy/cuda/device.cpp:1789)
File "cupy/cuda/runtime.pyx", line 158, in cupy.cuda.runtime.getDevice (cupy/cuda/runtime.cpp:2563)
File "cupy/cuda/runtime.pyx", line 130, in cupy.cuda.runtime.check_status (cupy/cuda/runtime.cpp:2242)
cupy.cuda.runtime.CUDARuntimeError: cudaErrorUnknown: unknown error
My CUDA version: 8.0
Ubuntu 16.04
Python: 2.7
Could somebody help? I want to avoid reinstalling CUDA if it's possible. If you need further information to solve it, do not hesitate to ask. Thank you!
My wireless/WiFi connection does not work. What information is needed to diagnose the issue?
Your situation
- You have successfully installed Ubuntu.
You have just downloaded and booted Ubuntu live media.
The latest LTS (see also HWE) or latest non-LTS release are preferred. See the list of Ubuntu releases that are currently supported.)
You upgraded your Ubuntu installation to the latest release that the software updater offered you. WiFi worked before, but not now on the new release.
- You migrated your existing Ubuntu installation to new hardware.
Your problem
- The wireless of your laptop or desktop is not working. You tried switching the wireless switch off and on and you tried rebooting several times, but you don't see any WiFi access points.
- You can see your wireless access point, but you cannot establish a connection.
- You want to analyze the problem, but you don't know where to start or what information you can provide.
This question and answer was written to give people the wireless script that will provide the information needed in most cases to diagnose their wireless issue's.
Related questions
The easiest and most complete method of gathering information to help diagnose wireless issues is to run the wireless info script we created at the Ubuntu Forums to collect all the most common information needed while masking all sensitive data.
Open a terminal with Ctrl+Alt+T and run these commands:
wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info &&
chmod +x wireless-info &&
./wireless-info
This will create the file "wireless-info.txt" at the location it is run from, and depending on its size, an additional archive called "wireless-info.tar.gz". Sensitive information like MAC addresses and WPA/WEP keys are masked automatically.
If you cannot connect to the internet with the affected system, including via a wired connection, you will have to move files between it and a system connected to the internet. A USB stick would likely be the easiest method for this.
Post the results on paste.ubuntu.com or pastebin.com, and link to it here in your question.
Further details on the script: GitHub page.
Here is an example of the information that the script will collect:
########## wireless info START ##########
Report from: 02 May 2015 23:04 CDT -0500
Booted last: 01 May 2015 00:44 CDT -0500
Script from: 30 Apr 2015 17:23 UTC +0000
##### release ###########################
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
##### kernel ############################
Linux 3.13.0-49-generic #81-Ubuntu SMP Tue Mar 24 19:29:48 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Parameters: ro, quiet, splash, vt.handoff=7
##### desktop ###########################
GNOME Flashback (Compiz)
##### lspci #############################
02:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM57785 Gigabit Ethernet PCIe [14e4:16b5] (rev 10)
Subsystem: Acer Incorporated [ALI] Device [1025:0647]
Kernel driver in use: tg3
03:00.0 Network controller [0280]: Qualcomm Atheros AR9485 Wireless Network Adapter [168c:0032] (rev 01)
Subsystem: Lite-On Communications Inc Device [11ad:6617]
Kernel driver in use: ath9k
##### lsusb #############################
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 1bcf:2c18 Sunplus Innovation Technology Inc.
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
##### PCMCIA card info ##################
##### rfkill ############################
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: acer-wireless: Wireless LAN
Soft blocked: no
Hard blocked: no
##### lsmod #############################
acer_wmi 32522 0
sparse_keymap 13948 1 acer_wmi
ath9k 164164 0
ath9k_common 13551 1 ath9k
ath9k_hw 453856 2 ath9k_common,ath9k
ath 28698 3 ath9k_common,ath9k,ath9k_hw
mac80211 630669 1 ath9k
cfg80211 484040 3 ath,ath9k,mac80211
wmi 19177 1 acer_wmi
video 19476 2 i915,acer_wmi
##### interfaces ########################
auto lo
iface lo inet loopback
##### ifconfig ##########################
eth0 Link encap:Ethernet HWaddr
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:16
wlan0 Link encap:Ethernet HWaddr
inet addr:192.168.43.63 Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: 2600:100c:b004:3fa3:2216:d8ff:fe89:5871/64 Scope:Global
inet6 addr: fe80::2216:d8ff:fe89:5871/64 Scope:Link
inet6 addr: 2600:100c:b004:3fa3:9db3:d3ca:cda7:6666/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:227572 errors:0 dropped:0 overruns:0 frame:0
TX packets:200363 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:162556355 (162.5 MB) TX bytes:31143668 (31.1 MB)
##### iwconfig ##########################
eth0 no wireless extensions.
lo no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"scubby"
Mode:Managed Frequency:2.437 GHz Access Point:
Bit Rate=12 Mb/s Tx-Power=16 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=70/70 Signal level=-33 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:150 Missed beacon:0
##### route #############################
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.43.1 0.0.0.0 UG 0 0 0 wlan0
192.168.43.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan0
##### resolv.conf #######################
nameserver 127.0.1.1
#ubuntuforums-mods
##### NetworkManager info ###############
NetworkManager Tool
State: connected (global)
- Device: wlan0 [scubby] -------------------------------------------------------
Type: 802.11 WiFi
Driver: ath9k
State: connected
Default: yes
HW Address:
Capabilities:
Speed: 54 Mb/s
Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes
Wireless Access Points (* = current AP)
ATT9156: Infra, , Freq 2412 MHz, Rate 54 Mb/s, Strength 37 WPA2
taarakian: Infra, , Freq 2417 MHz, Rate 54 Mb/s, Strength 29 WPA2
NETGEAR: Infra, , Freq 2462 MHz, Rate 54 Mb/s, Strength 19 WPA WPA2
suddenlink.net-1140: Infra, , Freq 2412 MHz, Rate 54 Mb/s, Strength 7 WPA2
RSS-351540: Infra, , Freq 2412 MHz, Rate 54 Mb/s, Strength 12 WPA2
suddenlink.net-9572: Infra, , Freq 2462 MHz, Rate 54 Mb/s, Strength 12 WPA WPA2
SJI: Infra, , Freq 2412 MHz, Rate 54 Mb/s, Strength 20 WPA2
NETGEAR70: Infra, , Freq 2447 MHz, Rate 54 Mb/s, Strength 5 WPA2
SUDDENLINK.NET-6E3D: Infra, , Freq 2462 MHz, Rate 54 Mb/s, Strength 39 WEP
*scubby: Infra, , Freq 2437 MHz, Rate 54 Mb/s, Strength 85 WPA2
SJI Guest: Infra, , Freq 2412 MHz, Rate 54 Mb/s, Strength 12
ATT677: Infra, , Freq 2452 MHz, Rate 54 Mb/s, Strength 24 WPA WPA2
IPv4 Settings:
Address: 192.168.43.63
Prefix: 24 (255.255.255.0)
Gateway: 192.168.43.1
DNS: 192.168.43.1
- Device: eth0 -----------------------------------------------------------------
Type: Wired
Driver: tg3
State: unavailable
Default: no
HW Address:
Capabilities:
Carrier Detect: yes
Wired Properties
Carrier: off
##### NetworkManager.state ##############
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true
##### NetworkManager.conf ###############
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false
##### NetworkManager profiles ###########
[[/etc/NetworkManager/system-connections/DIRECT-roku-067-072A4B]] (600 root)
[connection] id=DIRECT-roku-067-072A4B | type=802-11-wireless
[802-11-wireless] ssid=DIRECT-roku-067-072A4B | mac-address=
[ipv4] method=auto
[ipv6] method=auto
##### iw reg get ########################
Region: America/Chicago (based on set time zone)
country 00:
(2402 - 2472 @ 40), (3, 20)
(2457 - 2482 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
(2474 - 2494 @ 20), (3, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
(5170 - 5250 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
(5735 - 5835 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
##### iwlist channels ###################
eth0 no frequency information.
lo no frequency information.
wlan0 13 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Current Frequency:2.437 GHz (Channel 6)
##### iwlist scan #######################
Channel occupancy:
2 APs on Frequency:2.412 GHz (Channel 1)
1 APs on Frequency:2.417 GHz (Channel 2)
1 APs on Frequency:2.437 GHz (Channel 6)
2 APs on Frequency:2.462 GHz (Channel 11)
eth0 Interface doesn't support scanning.
lo Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address:
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=30/70 Signal level=-80 dBm
Encryption key:on
ESSID:"Larry"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000000028511003
Extra: Last beacon: 20ms ago
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Cell 02 - Address:
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=29/70 Signal level=-81 dBm
Encryption key:on
ESSID:"ATT9156"
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=00000371b6618537
Extra: Last beacon: 20ms ago
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Cell 03 - Address:
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=28/70 Signal level=-82 dBm
Encryption key:off
ESSID:"SJI Guest"
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=000000149eca5197
Extra: Last beacon: 2304ms ago
Cell 04 - Address:
Channel:2
Frequency:2.417 GHz (Channel 2)
Quality=20/70 Signal level=-90 dBm
Encryption key:on
ESSID:"taarakian"
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=00000268fbeb2d80
Extra: Last beacon: 1996ms ago
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Cell 05 - Address:
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=37/70 Signal level=-73 dBm
Encryption key:on
ESSID:"SUDDENLINK.NET-6E3D"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
18 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=000001765a3e4af3
Extra: Last beacon: 20ms ago
Cell 06 - Address:
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=23/70 Signal level=-87 dBm
Encryption key:on
ESSID:"NETGEAR"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=00000092d136ec9e
Extra: Last beacon: 20ms ago
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
##### module infos ######################
[ath9k]
filename: /lib/modules/3.13.0-49-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
license: Dual BSD/GPL
description: Support for Atheros 802.11n wireless LAN cards.
author: Atheros Communications
srcversion: 274594FBD61F5DF88102A4C
depends: ath9k_hw,mac80211,ath9k_common,cfg80211,ath
intree: Y
vermagic: 3.13.0-49-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: A2:F2:B9:84:B0:F0:3D:B6:0B:A1:EA:08:10:49:37:4C:1A:C3:D9:02
sig_hashalgo: sha512
parm: debug:Debugging mask (uint)
parm: nohwcrypt:Disable hardware encryption (int)
parm: blink:Enable LED blink on activity (int)
parm: btcoex_enable:Enable wifi-BT coexistence (int)
parm: bt_ant_diversity:Enable WLAN/BT RX antenna diversity (int)
parm: ps_enable:Enable WLAN PowerSave (int)
[ath9k_common]
filename: /lib/modules/3.13.0-49-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko
license: Dual BSD/GPL
description: Shared library for Atheros wireless 802.11n LAN cards.
author: Atheros Communications
srcversion: 93644B269B570BC55CF5154
depends: ath,ath9k_hw
intree: Y
vermagic: 3.13.0-49-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: A2:F2:B9:84:B0:F0:3D:B6:0B:A1:EA:08:10:49:37:4C:1A:C3:D9:02
sig_hashalgo: sha512
[ath9k_hw]
filename: /lib/modules/3.13.0-49-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
license: Dual BSD/GPL
description: Support for Atheros 802.11n wireless LAN cards.
author: Atheros Communications
srcversion: 65C14EF588BF1A68181643C
depends: ath
intree: Y
vermagic: 3.13.0-49-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: A2:F2:B9:84:B0:F0:3D:B6:0B:A1:EA:08:10:49:37:4C:1A:C3:D9:02
sig_hashalgo: sha512
[ath]
filename: /lib/modules/3.13.0-49-generic/kernel/drivers/net/wireless/ath/ath.ko
license: Dual BSD/GPL
description: Shared library for Atheros wireless LAN cards.
author: Atheros Communications
srcversion: 88A67C5359B02C5A710AFCF
depends: cfg80211
intree: Y
vermagic: 3.13.0-49-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: A2:F2:B9:84:B0:F0:3D:B6:0B:A1:EA:08:10:49:37:4C:1A:C3:D9:02
sig_hashalgo: sha512
[mac80211]
filename: /lib/modules/3.13.0-49-generic/kernel/net/mac80211/mac80211.ko
license: GPL
description: IEEE 802.11 subsystem
srcversion: 29A87AE7782ED3657631C32
depends: cfg80211
intree: Y
vermagic: 3.13.0-49-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: A2:F2:B9:84:B0:F0:3D:B6:0B:A1:EA:08:10:49:37:4C:1A:C3:D9:02
sig_hashalgo: sha512
parm: max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm: max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm: beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm: probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm: ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)
[cfg80211]
filename: /lib/modules/3.13.0-49-generic/kernel/net/wireless/cfg80211.ko
description: wireless configuration support
license: GPL
author: Johannes Berg
srcversion: 176113E009F723E69BE9BAB
depends:
intree: Y
vermagic: 3.13.0-49-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: A2:F2:B9:84:B0:F0:3D:B6:0B:A1:EA:08:10:49:37:4C:1A:C3:D9:02
sig_hashalgo: sha512
parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm: cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)
##### module parameters #################
[ath9k]
blink: 0
bt_ant_diversity: 0
btcoex_enable: 0
nohwcrypt: 0
ps_enable: 0
[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
probe_wait_ms: 500
[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00
##### /etc/modules ######################
lp
rtc
##### modprobe options ##################
[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci
[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off
[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211
[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en
##### rc.local ##########################
exit 0
##### pm-utils ##########################
[/etc/pm/power.d/disable_wol] (777 root)
CONFFILE=/etc/default/tlp
LIBDIRS='/usr/lib /usr/lib64'
for d in ${LIBDIRS}; do
if [ -d "${d}/pm-utils/power.d" ]; then
blocked="${d}/pm-utils/power.d/${0##*/}"
break
fi
done
if [ -n "$blocked" ] && [ -x "$blocked" ]; then
# else nothing to disable -> don't read $CONFFILE
if [ -e "$CONFFILE" ] && . "$CONFFILE" && [ "$TLP_ENABLE" = '1' ]; then
# TLP is enabled -> disable $blocked
echo "Notice: '${blocked}' disabled by TLP."
else
exec "$blocked" $*
fi
fi
exit 0
[/etc/pm/power.d/laptop-mode] (777 root)
CONFFILE=/etc/default/tlp
LIBDIRS='/usr/lib /usr/lib64'
for d in ${LIBDIRS}; do
if [ -d "${d}/pm-utils/power.d" ]; then
blocked="${d}/pm-utils/power.d/${0##*/}"
break
fi
done
if [ -n "$blocked" ] && [ -x "$blocked" ]; then
# else nothing to disable -> don't read $CONFFILE
if [ -e "$CONFFILE" ] && . "$CONFFILE" && [ "$TLP_ENABLE" = '1' ]; then
# TLP is enabled -> disable $blocked
echo "Notice: '${blocked}' disabled by TLP."
else
exec "$blocked" $*
fi
fi
exit 0
[/etc/pm/power.d/pci_devices] (777 root)
CONFFILE=/etc/default/tlp
LIBDIRS='/usr/lib /usr/lib64'
for d in ${LIBDIRS}; do
if [ -d "${d}/pm-utils/power.d" ]; then
blocked="${d}/pm-utils/power.d/${0##*/}"
break
fi
done
if [ -n "$blocked" ] && [ -x "$blocked" ]; then
# else nothing to disable -> don't read $CONFFILE
if [ -e "$CONFFILE" ] && . "$CONFFILE" && [ "$TLP_ENABLE" = '1' ]; then
# TLP is enabled -> disable $blocked
echo "Notice: '${blocked}' disabled by TLP."
else
exec "$blocked" $*
fi
fi
exit 0
[/etc/pm/power.d/pcie_aspm] (777 root)
CONFFILE=/etc/default/tlp
LIBDIRS='/usr/lib /usr/lib64'
for d in ${LIBDIRS}; do
if [ -d "${d}/pm-utils/power.d" ]; then
blocked="${d}/pm-utils/power.d/${0##*/}"
break
fi
done
if [ -n "$blocked" ] && [ -x "$blocked" ]; then
# else nothing to disable -> don't read $CONFFILE
if [ -e "$CONFFILE" ] && . "$CONFFILE" && [ "$TLP_ENABLE" = '1' ]; then
# TLP is enabled -> disable $blocked
echo "Notice: '${blocked}' disabled by TLP."
else
exec "$blocked" $*
fi
fi
exit 0
[/etc/pm/power.d/sched-powersave] (777 root)
CONFFILE=/etc/default/tlp
LIBDIRS='/usr/lib /usr/lib64'
for d in ${LIBDIRS}; do
if [ -d "${d}/pm-utils/power.d" ]; then
blocked="${d}/pm-utils/power.d/${0##*/}"
break
fi
done
if [ -n "$blocked" ] && [ -x "$blocked" ]; then
# else nothing to disable -> don't read $CONFFILE
if [ -e "$CONFFILE" ] && . "$CONFFILE" && [ "$TLP_ENABLE" = '1' ]; then
# TLP is enabled -> disable $blocked
echo "Notice: '${blocked}' disabled by TLP."
else
exec "$blocked" $*
fi
fi
exit 0
[/etc/pm/power.d/usb_bluetooth] (777 root)
CONFFILE=/etc/default/tlp
LIBDIRS='/usr/lib /usr/lib64'
for d in ${LIBDIRS}; do
if [ -d "${d}/pm-utils/power.d" ]; then
blocked="${d}/pm-utils/power.d/${0##*/}"
break
fi
done
if [ -n "$blocked" ] && [ -x "$blocked" ]; then
# else nothing to disable -> don't read $CONFFILE
if [ -e "$CONFFILE" ] && . "$CONFFILE" && [ "$TLP_ENABLE" = '1' ]; then
# TLP is enabled -> disable $blocked
echo "Notice: '${blocked}' disabled by TLP."
else
exec "$blocked" $*
fi
fi
exit 0
[/etc/pm/power.d/wireless] (777 root)
CONFFILE=/etc/default/tlp
LIBDIRS='/usr/lib /usr/lib64'
for d in ${LIBDIRS}; do
if [ -d "${d}/pm-utils/power.d" ]; then
blocked="${d}/pm-utils/power.d/${0##*/}"
break
fi
done
if [ -n "$blocked" ] && [ -x "$blocked" ]; then
# else nothing to disable -> don't read $CONFFILE
if [ -e "$CONFFILE" ] && . "$CONFFILE" && [ "$TLP_ENABLE" = '1' ]; then
# TLP is enabled -> disable $blocked
echo "Notice: '${blocked}' disabled by TLP."
else
exec "$blocked" $*
fi
fi
exit 0
[/etc/pm/power.d/xfs_buffer] (777 root)
CONFFILE=/etc/default/tlp
LIBDIRS='/usr/lib /usr/lib64'
for d in ${LIBDIRS}; do
if [ -d "${d}/pm-utils/power.d" ]; then
blocked="${d}/pm-utils/power.d/${0##*/}"
break
fi
done
if [ -n "$blocked" ] && [ -x "$blocked" ]; then
# else nothing to disable -> don't read $CONFFILE
if [ -e "$CONFFILE" ] && . "$CONFFILE" && [ "$TLP_ENABLE" = '1' ]; then
# TLP is enabled -> disable $blocked
echo "Notice: '${blocked}' disabled by TLP."
else
exec "$blocked" $*
fi
fi
exit 0
##### udev rules ########################
[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x14e4:0x16b5 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x168c:0x0032 (ath9k)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
# USB device 0x:0x (rndis_host)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
##### dmesg #############################
[53764.123272] wlan0: deauthenticating from by local choice (reason=3)
[53766.341705] ath: phy0: ASPM enabled: 0x43
[53769.663996] ath9k 0000:03:00.0: no hotplug settings from platform
[53770.839058] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[53772.588289] wlan0: authenticate with
[53772.612650] wlan0: send auth to (try 1/3)
[53772.614687] wlan0: authenticated
[53772.614954] wlan0: AP has invalid WMM params (AIFSN=1 for ACI 2), disabling WMM
[53772.615474] wlan0: associate with (try 1/3)
[53772.618314] wlan0: RX AssocResp from (capab=0x411 status=0 aid=1)
[53772.618513] wlan0: associated
[53772.618541] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[53772.771949] wlan0: deauthenticating from by local choice (reason=2)
[53772.783893] wlan0: authenticate with
[53772.801865] wlan0: send auth to (try 1/3)
[53772.803896] wlan0: authenticated
[53772.804020] wlan0: AP has invalid WMM params (AIFSN=1 for ACI 2), disabling WMM
[53772.807642] wlan0: associate with (try 1/3)
[53772.810355] wlan0: RX AssocResp from (capab=0x411 status=0 aid=1)
[53772.810561] wlan0: associated
########## wireless info END ############
grub2 - Couldn't boot Windows7 after installing 12.04 on a Dell N 5050 laptop
I installed 12.04(64bit) alongside Windows 7 (64bit) through a USB drive.
Earlier I couldn't load Ubuntu without a USB drive until I ran sudo grub-install --force /dev/sda2
.
But now I can't load Windows 7 (loader)(on/dev/sda2)
in GRUB. When I select that, it displays a black screen and then returns to GRUB.
Help me to solve this. I read "Installing GRUB 2" article but I cannot understand what I should do.
Ubuntu 12.10 unity won't start on startup
I've just updated to Ubuntu 12.10 from 12.04, and now Unity won't automatically start on startup! I have to get around this problem every time I start my machine by pressing control+alt+t to get a pseudo-terminal, and starting Unity manually. How do I make Ubuntu 12.10 automatically start on startup? Also, is anyone else experience my problem?
check if ubuntu unity plugin enabled in ccsm
and see if this work
Monday, June 20, 2016
UEFI option for booting through USB is deleted after Ubuntu 16.04.2 installation (Dual boot with Windows 10) on Dell Vostro 3558
UEFI option for booting from USB drive is deleted after Ubuntu 16.04.2 (64 bit) installation (Dual boot with Windows 10 64 bit) on Dell Vostro 3558.
I have used information from the following:
Resetting UEFI to default brings back the USB boot option again.
Any help is welcome. Thanks in advance: SRoy
command line - No GUI before login on Ubuntu 14.04
After I installed Ubuntu 14.04 as the only OS on my computer on nomodeset to install the Nvidia drivers for my video card. I installed it and all is working properly.
The only problem that I have is that when I turn on my compurter I only see command lines instead of the Ubuntu logo.
After that the login screen works in a proper way even with the GUI.
I only want to get the Ubuntu logo instead of the command lines.
PS: when I turn off my computer, the same thing is repeated.
16.04 - Upgrade to Xubuntu 18.04
Working on Xubuntu 16.04. I would like to upgrade to 18.04, without reinstall. What are the steps?
software installation - How does tar command work for installing Node js
When installing Node on my machine, I used the below command that I found on a website.
tar --strip-components 1 -xzf /usr/save/node-v4.2.1-linux-x64.tar.gz
I know that tar -xzf
is used to extract the archives but I want to know how is node getting installed?
I tried installing it in this way. I've extracted the node files to /usr/local
using the below command,
tar /usr/local -xzf /usr/save/node-v4.2.1-linux-x64.tar.gz
But this doesn't work. Can somebody explain or help me to understand the difference between these two commands?
What more is command 1 doing than what command 2 is doing?
The tarball directory structure is like this:
$ tar tf node-v6.10.1-linux-x64.tar.xz | head
node-v6.10.1-linux-x64/
node-v6.10.1-linux-x64/bin/
node-v6.10.1-linux-x64/bin/npm
node-v6.10.1-linux-x64/bin/node
node-v6.10.1-linux-x64/share/
node-v6.10.1-linux-x64/share/man/
node-v6.10.1-linux-x64/share/man/man1/
node-v6.10.1-linux-x64/share/man/man1/node.1
node-v6.10.1-linux-x64/share/systemtap/
node-v6.10.1-linux-x64/share/systemtap/tapset/
When you extract this archive without any other options in /usr/local
, you get this:
/usr/local/node-v6.10.1-linux-x64/
/usr/local/node-v6.10.1-linux-x64/bin/
/usr/local/node-v6.10.1-linux-x64/bin/npm
/usr/local/node-v6.10.1-linux-x64/bin/node
/usr/local/node-v6.10.1-linux-x64/share/
/usr/local/node-v6.10.1-linux-x64/share/man/
/usr/local/node-v6.10.1-linux-x64/share/man/man1/
/usr/local/node-v6.10.1-linux-x64/share/man/man1/node.1
/usr/local/node-v6.10.1-linux-x64/share/systemtap/
/usr/local/node-v6.10.1-linux-x64/share/systemtap/tapset/
So, a new directory is created in /usr/local
, and the files get dumped there.
However, with --strip-components=1
, one directory component from the extracted path is removed, so node-v6.10.1-linux-x64/bin/
becomes bin/
and node-v6.10.1-linux-x64/bin/npm
becomes bin/npm
:
/usr/local/
/usr/local/bin/
/usr/local/bin/npm
/usr/local/bin/node
/usr/local/share/
/usr/local/share/man/
/usr/local/share/man/man1/
/usr/local/share/man/man1/node.1
/usr/local/share/systemtap/
/usr/local/share/systemtap/tapset/
And /usr/local/bin
is already in PATH
, so you don't need to do anything else to execute npm
and node
.
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 ...
-
My computer has an SSD and an internal hard drive. I tried to set things up so that the hard drive would mount automatically on start-up. Un...
-
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...