Wednesday, January 27, 2016

drivers - Ubuntu 14.10 Intel Wireless 7260 - Bluetooth not working

I just installed the new wireless card, connected via Ethernet and Ubuntu recognized the new card, it recognized the card and installed the software and the WiFi on 2.4 and 5GHz started working perfect but there's no Bluetooth (No Bluetooth adapters found message). Everything is up to date.




I'm new to Ubuntu, learning a little every day but this issue is far away from my understanding. I'll appreciate any help.



Toshiba R835-P94



rfkill list all




0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no





dmesg | grep iwl




[ 22.144101] iwlwifi 0000:04:00.0: irq 49 for MSI/MSI-X



[ 22.314469] iwlwifi 0000:04:00.0: loaded firmware version 25.228.9.0 op_mode iwlmvm



[ 22.370843] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band Wireless AC 7260, >REV=0x144




[ 22.371011] iwlwifi 0000:04:00.0: L1 Enabled - LTR Disabled



[ 22.377363] iwlwifi 0000:04:00.0: L1 Enabled - LTR Disabled



[ 22.550928] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'



[ 24.709629] iwlwifi 0000:04:00.0: L1 Enabled - LTR Disabled



[ 24.710014] iwlwifi 0000:04:00.0: L1 Enabled - LTR Disabled




xx@xx-PORTEGE-R835:~$ ^C



xx@xx-PORTEGE-R835:~$ dmesg | grep iwl



[ 22.144101] iwlwifi 0000:04:00.0: irq 49 for MSI/MSI-X



[ 22.314469] iwlwifi 0000:04:00.0: loaded firmware version 25.228.9.0 op_mode iwlmvm



[ 22.370843] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band Wireless AC 7260, REV=0x144




[ 22.371011] iwlwifi 0000:04:00.0: L1 Enabled - LTR Disabled



[ 22.377363] iwlwifi 0000:04:00.0: L1 Enabled - LTR Disabled



[ 22.550928] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'



[ 24.709629] iwlwifi 0000:04:00.0: L1 Enabled - LTR Disabled



[ 24.710014] iwlwifi 0000:04:00.0: L1 Enabled - LTR Disabled





lsusb




Bus 002 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver



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 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub



Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



Bus 001 Device 006: ID 0bda:58e5 Realtek Semiconductor Corp.



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



package management - Ubuntu on armhf: "using PPAs with apt-get source -b"?

In brief, the problem I seem to be having is that apt-get "ignores" whatever PPA I add. I assume that this is because the respective PPA's limit their debs to i386 and AMD64 builds. (I'm using armhf.) This causes a problem though. I'd like to use "apt-get source -b" to build the respective debs. However, even when enabling the PPA's deb-src repository, apt-cache policy still doesn't "find" the respective packages. I'm forced to download the packages, configure/make/checkinstall.




Am I correct in thinking I should be able to compile these packages on arm via "apt-get source -b"? If so, how do I force ubuntu to load these repositories? That is, how do I stop apt-get from "IGN"oring these PPAs?

13.10 - How can we setup Startup tasks


In Windows we can add applications/batch scripts to open automatically on startup. Is there something similar in Ubuntu, or Linux in general?



To setup tasks to run on login, use gnome-session-properties. This means you can add programs to run when you login to user account on your machine.


You can configure it like this - just add the command you want to run in the command box:
config


Very long answer on that here


To get things to run when the computer boots, use rc.local:


You can edit it with sudo nano /etc/rc.local, or gksudo gedit /etc/rc.local.


Makes sure it has this line at the start of the file:


 #!/bin/sh -e

Below that, you can place commands that will run as root when you start the computer.


Also make sure it has this line at the end:


exit 0

More on that here


installation - bad md5sum error when trying to customize ubuntu-keyring-udeb

I have been trying to customize Ubuntu 8.04 (hardy heron) alternate install cd. I have followed the community documentation at https://help.ubuntu.com/community/InstallCDCustomization#Generating_a_new_ubuntu-keyring_.deb_to_sign_your_CD to rebuild the ubuntu-keyring packages. But when the media boots I get a warning:


anna[7581]: WARNING **: bad md5sum.

Though I have not been able to confirm that the message is for the ubuntu-keyring-udeb package, the nearest debconf Adding [package] message is for ubuntu-keyring-udeb.


This is followed by:


INPUT critical retriever/cdrom/error.

This message is already from syslog. I don't think dpkg.log will help in this case. I have tried modifying the md5sum file within the source package manually and signing it with my own public key, before building it. But that has not helped either.


How do get the installer to work in this scenario? Alternatively, can I customize the contents of Ubuntu 8.04 without signing anything?

Tuesday, January 26, 2016

permissions - System in low-graphics mode



Possible Duplicate:
How to fix “The system is running in low-graphics mode” error?



I am totally new to Linux, and Ubuntu.


I bought ASUS X53E Notebook, erased Windows and installed Ubuntu. First it worked ok.


Then when I started working with it, I opened the terminal, entered sudo chmod 666 /usr and then all the icons from the main panel disappeared + the whole system stopped responding.


I decided to restart the system. When restarted, a message appears:



the system is running in low graphics mode



and below it:



Your screen, graphics card and input device setting could not be detected correctly.
You will need to configure it yourself.



But the "OK" button is disabled and if I press any buttons nothing happens.


If I enter Ctrl-Alt-F2 it opens the bash terminal. But there commands sudo or apt-get are not found and it says that permission denied if i try to enter any folder like cd /usr


If I enter the su command it asks for the password I don't know.


When encountering this problem first, I reinstalled the whole Ubuntu. but today it happened again just the same.


What shall I do?



You have just corrupted the permission settings of important system files. You won't be able to use the system normally.


By using 666 as permission settings, you successfully removed the execution bit from the /usr/ directory, so no files in it can be accessed. And as far as I know, the unity program resides in /usr/bin directory which is of course failing to execute.


The only option is reinstalling Ubuntu again. And please don't chmod system files without knowing exactly what you were doing.


Check these links:


The last link will give you information about the system files and folders


system installation - can't install with usb pen drive, SYSLINUX problem


i'm on ubuntustudio and i want to format my hd and try kubuntu
(install in my acer notebook, no partion, no double operating system problem, only istall it)
i've downloaded iso file ( kubuntu-10.10-desktop-i386.iso ), insert usb pen drive,
then: system > administration > startup disk creator
erased usb pen content, and "make startup disk"
finally, reboot computer with pen inside usb port


normal boot didn't start (as expected) but only black screen with this signal:


SYSLINUX 4.03 2010-10-22 EDD Copyright (c) 1994-2010, H. Peter Anvin et al
unknown keyword in configuration file
boot:

i've tried different usb pen stick and different iso files (ubuntu, kubuntu, netbook edition).. always same problem (sometimes only the first line without "unknow keyword in conf file" error)


some advice??
sorry for my bad english



In 10.10 there is a bug in usb-creator that may cause your problems. Try creating your stick using UNetbootin, as was just suggested.


There are reports that you can fix the bug by opening syslinux.cfg on the USB drive and replace the following line:


ui gfxboot bootlogo

with


gfxboot bootlogo

grub2 - Removing old kernel entries in Grub




I regularly delete old kernels leaving only the latest two entries using Synaptic.




I'm using Precise. However in my Grub "previous Linux version" menu there are quite a few entries labelled 2.6.8. I cannot find these linux-images in Synaptic.



dpkg -l | grep linux-image


Gives:



rc  linux-image-3.0.0-17-generic           3.0.0-17.30                         
Linux kernel image for version 3.0.0 on x86/x86_64
ii linux-image-3.2.0-27-generic 3.2.0-27.43

Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.2.0-29-generic 3.2.0-29.46
Linux kernel image for version 3.2.0 on 32 bit x86 SMP
ii linux-image-3.4.0-030400-generic 3.4.0-030400.201205210521
Linux kernel image for version 3.4.0 on 32 bit x86 SMP
ii linux-image-generic 3.2.0.29.31
Generic Linux kernel image


Sudo update-grub gives:




Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.4.0-030400-generic
Found initrd image: /boot/initrd.img-3.4.0-030400-generic
Found linux image: /boot/vmlinuz-3.2.0-29-generic
Found initrd image: /boot/initrd.img-3.2.0-29-generic
Found linux image: /boot/vmlinuz-3.2.0-27-generic
Found initrd image: /boot/initrd.img-3.2.0-27-generic
Found linux image: /boot/vmlinuz-2.6.38-11-generic
Found initrd image: /boot/initrd.img-2.6.38-11-generic

Found linux image: /boot/vmlinuz-2.6.38-10-generic
Found initrd image: /boot/initrd.img-2.6.38-10-generic
Found linux image: /boot/vmlinuz-2.6.38-8-generic
Found initrd image: /boot/initrd.img-2.6.38-8-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows Vista (loader) on /dev/sda1


sudo apt-get remove linux-image-2.6.8-8-generic gives:




E: Unable to locate package linux-image-2.6.8-8-generic
E: Couldn't find any package by regex 'linux-image-2.6.8-8-generic'


My boot folder contains the following:



abi-2.6.38-10-generic         initrd.img-3.4.0-030400-generic
abi-2.6.38-11-generic memtest86+.bin
abi-2.6.38-8-generic memtest86+_multiboot.bin
abi-3.2.0-27-generic System.map-2.6.38-10-generic

abi-3.2.0-29-generic System.map-2.6.38-11-generic
abi-3.4.0-030400-generic System.map-2.6.38-8-generic
config-2.6.38-10-generic System.map-3.2.0-27-generic
config-2.6.38-11-generic System.map-3.2.0-29-generic
config-2.6.38-8-generic System.map-3.4.0-030400-generic
config-3.2.0-27-generic vmcoreinfo-2.6.38-10-generic
config-3.2.0-29-generic vmcoreinfo-2.6.38-11-generic
config-3.4.0-030400-generic vmcoreinfo-2.6.38-8-generic
extlinux vmlinuz-2.6.38-10-generic
grub vmlinuz-2.6.38-11-generic

initrd.img-2.6.38-10-generic vmlinuz-2.6.38-8-generic
initrd.img-2.6.38-11-generic vmlinuz-3.2.0-27-generic
initrd.img-2.6.38-8-generic vmlinuz-3.2.0-29-generic
initrd.img-3.2.0-27-generic vmlinuz-3.4.0-030400-generic
initrd.img-3.2.0-29-generic


and

ls -l /etc/grub.d
yields:

total 56
-rwxr-xr-x 1 root root 6715 Apr 17 20:16 00_header

-rwxr-xr-x 1 root root 5522 Oct 1 2011 05_debian_theme
-rwxr-xr-x 1 root root 7407 May 17 09:22 10_linux
-rwxr-xr-x 1 root root 6335 Apr 17 20:16 20_linux_xen
-rwxr-xr-x 1 root root 1588 May 3 2011 20_memtest86+
-rwxr-xr-x 1 root root 7603 Apr 17 20:16 30_os-prober
-rwxr-xr-x 1 root root 214 Oct 1 2011 40_custom
-rwxr-xr-x 1 root root 95 Oct 1 2011 41_custom
-rw-r--r-- 1 root root 483 Oct 1 2011 README



gdisk -l /dev/sda


yields:



Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present



***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format.
***************************************************************

Disk /dev/sda: 312581808 sectors, 149.1 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): F832A498-05E1-4615-B5B1-757ACB4A757A
Partition table holds up to 128 entries

First usable sector is 34, last usable sector is 312581774
Partitions will be aligned on 2048-sector boundaries
Total free space is 4183661 sectors (2.0 GiB)

Number Start (sector) End (sector) Size Code Name
1 2048 61442047 29.3 GiB 0700 Microsoft basic data
3 163842048 169986047 2.9 GiB 8200 Linux swap
4 169986048 312578047 68.0 GiB 0700 Microsoft basic data
5 61444096 159666175 46.8 GiB 8300 Linux filesystem



Please help with removing the old and inexistent kernels from Grub.



I found what this problem was.



The issue was that, when I upgraded Ubuntu, by installing through a liveUSB instead of doing a normal upgrade, it left behind the old kernel files in the /boot folder.



Now that I have upgraded in the same way from 12.10 to 13.04, I encountered the same situation.



The solution is to manually delete all the files related to the old kernels in the /boot folder and run sudo update-grub. The extra entries vanished.



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 (...