Saturday, May 28, 2016

12.04 - 'Your system is running in low-graphic mode' after installing AMD fglrx drivers on a 6600M

Looks like I have a problem that has already been debated but non of the solutions provided did not work for me, so I'm asking this question again in hpes that someone can help me.


I'm running 12.04 64 bit version on Lenovo E520 with AMD Radeon HD 6600M and Intel HD graphic. I was using catalyst 12.6 driver downloaded and installed from http://support.amd.com/us/gpudownload/windows/previous/12/Pages/radeon_linux.aspx?os=Linux%20x86&rev=12.6.


However my system unexpectedly crashed with the "your system is running in low graphic card error". Since than I've removed the old ATI driver and installed the 12.8 version following their instructions with no problems, however the error still remains.
If I use open source drivers I can use Ubuntu, but it slow to the point I can't even use gnome 3.


Previous solutions described do not work for me:
How do I fix "Your system is running in low-graphics mode"?


Any help?

networking - Wifi connection not working with Intel NUC + Wireless AC 7620



I am posting here with the hope to get help to solve the problems I have with my wifi connection on my Intel NUC with the Wireless AC 7620 on Ubuntu 15.04.



I have copied below the output of the Wireless Info Script, but before some short history and description about the problems I have.



I built my NUC about a year ago and installed Ubuntu 14.04 straight after for a media center use. Everything was working perfect, with fast and stable wifi connection. When Ubuntu 14.10 was released, I didn't upgrade (I wanted to stay on a LTS version) but kept doing the regular updates.




Then one day to another (somewhere around October / November 2014 I would say), everything went wrong: connection to the wifi was lost on a regular basis, sometimes every few minutes, transfer rate was dropping so low it would take several minutes to display the Google homepage, the connection would get lost and never come back.



I went through several forums/websites/wikis and tried many things. What got the best results I think was to disable the power management with iwconfig. Disabling/renabling the wifi and/or network was working also sometimes. Upgrading to newer Ubuntu version was sometimes improving the situation, sometimes not.



Today, I went back home and wanted to use my NUC again and the situation is worse as ever. Here are the symptoms :




  • The NUC quickly connects to my wifi network at startup.

  • The signal strength is good, to about 75 % I would say.

  • The connection is stable.


  • It is impossible to get to any website. If I try to reach the Google homepage for example, the Firefox wheel will turn for ever but nothing shows up.

  • Trying to update with apt-get update does trigger some data transfer, but at a very low transfer rate (I cancelled it after five minutes and it wasn't finished).



My router/internet access is a Freebox v5, but I think the problem really comes from the NUC/Ubuntu, as I am also running a Windows 7 desktop and a Debian Jessie nettop on wifi and none of them have these problems.



Thanks in advance for your help !



Any additional command line or test, let me know and I will do it ASAP !




Note: I removed all wifi networks that weren't mine from iwlist scan to stay below the 30000 characters limit.



########## wireless info START ##########

Report from: 22 Jul 2015 21:14 CEST +0200

Booted last: 22 Jul 2015 20:53 CEST +0200

Script from: 14 Jul 2015 17:04 UTC +0000


##### release ###########################

Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid

##### kernel ############################

Linux 3.19.0-22-generic #22-Ubuntu SMP Tue Jun 16 17:15:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


Parameters: ro, quiet, splash, vt.handoff=7

##### desktop ###########################

Ubuntu

##### lspci #############################

00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I218-V [8086:1559] (rev 04)

Subsystem: Intel Corporation Device [8086:2054]
Kernel driver in use: e1000e

02:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev 6b)
Subsystem: Intel Corporation Dual Band Wireless-AC 7260 [8086:4170]
Kernel driver in use: iwlwifi

##### lsusb #############################

Bus 003 Device 002: ID 8087:8000 Intel Corp.

Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8087:07dc Intel Corp.
Bus 001 Device 005: ID 046d:c71f Logitech, Inc. diNovo Mini Wireless Keyboard
Bus 001 Device 004: ID 046d:c71e Logitech, Inc.
Bus 001 Device 002: ID 046d:0b07 Logitech, Inc.
Bus 001 Device 006: ID 0d7d:1900 Phison Electronics Corp. USB Thumb Drive
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################


##### rfkill ############################

0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no


##### lsmod #############################

iwlmvm 278528 0
mac80211 724992 1 iwlmvm
iwlwifi 196608 1 iwlmvm
cfg80211 540672 3 iwlwifi,mac80211,iwlmvm
snd_soc_rt5640 94208 0
snd_soc_rl6231 16384 1 snd_soc_rt5640
snd_soc_core 196608 1 snd_soc_rt5640
snd_pcm 106496 7 snd_soc_rt5640,snd_soc_core,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller,snd_pcm_dmaengine


##### 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:20 Memory:f7d00000-f7d20000

wlan0 Link encap:Ethernet HWaddr
inet addr:192.168.0.51 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:2269 errors:0 dropped:0 overruns:0 frame:0
TX packets:2210 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1637945 (1.6 MB) TX bytes:258557 (258.5 KB)

##### iwconfig ##########################

eth0 no wireless extensions.

lo no wireless extensions.


wlan0 IEEE 802.11abgn ESSID:"TXNPK188"
Mode:Managed Frequency:2.472 GHz Access Point:
Bit Rate=180 Mb/s Tx-Power=22 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=61/70 Signal level=-49 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:199 Missed beacon:0


##### route #############################

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.254 0.0.0.0 UG 1024 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0

##### resolv.conf #######################


nameserver 127.0.1.1

##### network managers ##################

Installed:

NetworkManager

Running:


root 720 1 0 20:53 ? 00:00:00 /usr/sbin/NetworkManager --no-daemon

##### NetworkManager info ###############

GENERAL.DEVICE: wlan0
GENERAL.TYPE: wifi
GENERAL.VENDOR: Intel Corporation
GENERAL.PRODUCT: Wireless 7260 (Dual Band Wireless-AC 7260)
GENERAL.DRIVER: iwlwifi
GENERAL.DRIVER-VERSION: 3.19.0-22-generic

GENERAL.FIRMWARE-VERSION: 25.17.12.0
GENERAL.HWADDR:
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.REASON: 0 (No reason given)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:1c.3/0000:02:00.0/net/wlan0
GENERAL.IP-IFACE: wlan0
GENERAL.NM-MANAGED: yes
GENERAL.AUTOCONNECT: yes
GENERAL.FIRMWARE-MISSING: no

GENERAL.CONNECTION: TXNPK188
GENERAL.CON-UUID: 55085fca-cbd0-4126-bdda-1d6e4f39c6bd
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2
CAPABILITIES.CARRIER-DETECT: no
CAPABILITIES.SPEED: 180 Mb/s
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{0}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]: 55085fca-cbd0-4126-bdda-1d6e4f39c6bd | TXNPK188
WIFI-PROPERTIES.WEP: yes
WIFI-PROPERTIES.WPA: yes
WIFI-PROPERTIES.WPA2: yes

WIFI-PROPERTIES.TKIP: yes
WIFI-PROPERTIES.CCMP: yes
WIFI-PROPERTIES.AP: yes
WIFI-PROPERTIES.ADHOC: yes
IP4.ADDRESS[1]: ip = 192.168.0.51/24, gw = 192.168.0.254
IP4.ROUTE[1]: dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]: 212.27.40.241
IP4.DNS[2]: 212.27.40.240
IP6.ADDRESS[1]: ip = fe80::/64, gw = ::


GENERAL.DEVICE: eth0
GENERAL.TYPE: ethernet
GENERAL.VENDOR: Intel Corporation
GENERAL.PRODUCT: Ethernet Connection I218-V
GENERAL.DRIVER: e1000e
GENERAL.DRIVER-VERSION: 2.3.2-k
GENERAL.FIRMWARE-VERSION: 0.6-4
GENERAL.HWADDR:
GENERAL.MTU: 1500
GENERAL.STATE: 20 (unavailable)

GENERAL.REASON: 2 (Device is now managed)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:19.0/net/eth0
GENERAL.IP-IFACE:
GENERAL.NM-MANAGED: yes
GENERAL.AUTOCONNECT: yes
GENERAL.FIRMWARE-MISSING: no
GENERAL.CONNECTION: --
GENERAL.CON-UUID: --
GENERAL.CON-PATH: --
CAPABILITIES.CARRIER-DETECT: yes

CAPABILITIES.SPEED: unknown
CONNECTIONS.AVAILABLE-CONNECTION-PATHS:
WIRED-PROPERTIES.CARRIER: off

SSID BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY ACTIVE *
FreeWifi_secure Infra 13 2472 MHz 54 Mbit/s 90 ▂▄▆█ WPA1 802.1X no
-- Infra 13 2472 MHz 54 Mbit/s 87 ▂▄▆█ WPA2 no
FreeWifi_secure Infra 8 2447 MHz 54 Mbit/s 52 ▂▄__ WPA2 802.1X no
FreeWifi Infra 13 2472 MHz 54 Mbit/s 89 ▂▄▆█ -- no
FreeWifi Infra 8 2447 MHz 54 Mbit/s 50 ▂▄__ -- no

TXNPK188 Infra 13 2472 MHz 54 Mbit/s 71 ▂▄▆_ WPA1 yes *

##### 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/TXNPK188]] (600 root)
[connection] id=TXNPK188 | type=802-11-wireless
[802-11-wireless] ssid=TXNPK188 | mac-address=
[ipv4] method=manual
[ipv6] method=auto

##### iw reg get ########################

Region: Europe/Paris (based on set time zone)


country 00: DFS-UNSET
(2402 - 2472 @ 40), (3, 20), (N/A)
(2457 - 2482 @ 40), (3, 20), (N/A), NO-IR
(2474 - 2494 @ 20), (3, 20), (N/A), NO-OFDM, NO-IR
(5170 - 5250 @ 40), (3, 20), (N/A), NO-IR
(5735 - 5835 @ 40), (3, 20), (N/A), NO-IR

##### iwlist channels ###################


eth0 no frequency information.

lo no frequency information.

wlan0 32 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
Channel 36 : 5.18 GHz
Channel 40 : 5.2 GHz

Channel 44 : 5.22 GHz
Channel 48 : 5.24 GHz
Channel 52 : 5.26 GHz
Channel 56 : 5.28 GHz
Channel 60 : 5.3 GHz
Channel 64 : 5.32 GHz
Channel 100 : 5.5 GHz
Channel 104 : 5.52 GHz
Channel 108 : 5.54 GHz
Channel 112 : 5.56 GHz

Channel 116 : 5.58 GHz
Channel 120 : 5.6 GHz
Channel 124 : 5.62 GHz
Channel 128 : 5.64 GHz
Channel 132 : 5.66 GHz
Channel 136 : 5.68 GHz
Channel 140 : 5.7 GHz
Current Frequency:2.472 GHz (Channel 13)

##### iwlist scan #######################


eth0 Interface doesn't support scanning.

lo Interface doesn't support scanning.

Channel occupancy:

5 APs on Frequency:2.412 GHz (Channel 1)
1 APs on Frequency:2.447 GHz (Channel 8)
3 APs on Frequency:2.472 GHz (Channel 13)


wlan0 Scan completed :
Cell 01 - Address:
Channel:13
Frequency:2.472 GHz (Channel 13)
Quality=66/70 Signal level=-44 dBm
Encryption key:on
ESSID:"TXNPK188"
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=00000001ced635cc
Extra: Last beacon: 52ms ago
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK

##### module infos ######################


[iwlmvm]
filename: /lib/modules/3.19.0-22-generic/kernel/drivers/net/wireless/iwlwifi/mvm/iwlmvm.ko
license: GPL
author: Copyright(c) 2003- 2014 Intel Corporation
version: in-tree:
description: The new Intel(R) wireless AGN driver for Linux
srcversion: 84DEF0B250352D8D14C9DD1
depends: iwlwifi,mac80211,cfg80211
intree: Y

vermagic: 3.19.0-22-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: C7:D4:40:34:4C:0B:3A:C2:A3:CE:C2:AE:B9:72:2E:CF:6C:AE:73:91
sig_hashalgo: sha512
parm: init_dbg:set to true to debug an ASSERT in INIT fw (default: false (bool)
parm: power_scheme:power management scheme: 1-active, 2-balanced, 3-low power, default: 2 (int)

[mac80211]
filename: /lib/modules/3.19.0-22-generic/kernel/net/mac80211/mac80211.ko
license: GPL

description: IEEE 802.11 subsystem
srcversion: 88CC41451370601B0D885E4
depends: cfg80211
intree: Y
vermagic: 3.19.0-22-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: C7:D4:40:34:4C:0B:3A:C2:A3:CE:C2:AE:B9:72:2E:CF:6C:AE:73:91
sig_hashalgo: sha512
parm: minstrel_vht_only:Use only VHT rates when VHT is supported by sta. (bool)
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)

[iwlwifi]
filename: /lib/modules/3.19.0-22-generic/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko
license: GPL
author: Copyright(c) 2003- 2014 Intel Corporation
version: in-tree:

description: Intel(R) Wireless WiFi driver for Linux
firmware: iwlwifi-100-5.ucode
firmware: iwlwifi-1000-5.ucode
firmware: iwlwifi-135-6.ucode
firmware: iwlwifi-105-6.ucode
firmware: iwlwifi-2030-6.ucode
firmware: iwlwifi-2000-6.ucode
firmware: iwlwifi-5150-2.ucode
firmware: iwlwifi-5000-5.ucode
firmware: iwlwifi-6000g2b-6.ucode

firmware: iwlwifi-6000g2a-5.ucode
firmware: iwlwifi-6050-5.ucode
firmware: iwlwifi-6000-4.ucode
firmware: iwlwifi-7265D-10.ucode
firmware: iwlwifi-7265-10.ucode
firmware: iwlwifi-3165-10.ucode
firmware: iwlwifi-3160-10.ucode
firmware: iwlwifi-7260-10.ucode
firmware: iwlwifi-8000-10.ucode
srcversion: 97E94F4448EBBA00BC45455

depends: cfg80211
intree: Y
vermagic: 3.19.0-22-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: C7:D4:40:34:4C:0B:3A:C2:A3:CE:C2:AE:B9:72:2E:CF:6C:AE:73:91
sig_hashalgo: sha512
parm: swcrypto:using crypto in software (default 0 [hardware]) (int)
parm: 11n_disable:disable 11n functionality, bitmap: 1: full, 2: disable agg TX, 4: disable agg RX, 8 enable agg TX (uint)
parm: amsdu_size_8K:enable 8K amsdu size (default 0) (int)
parm: fw_restart:restart firmware in case of error (default true) (bool)

parm: antenna_coupling:specify antenna coupling in dB (default: 0 dB) (int)
parm: wd_disable:Disable stuck queue watchdog timer 0=system default, 1=disable (default: 1) (int)
parm: nvm_file:NVM file name (charp)
parm: uapsd_disable:disable U-APSD functionality (default: Y) (bool)
parm: bt_coex_active:enable wifi/bt co-exist (default: enable) (bool)
parm: led_mode:0=system default, 1=On(RF On)/Off(RF Off), 2=blinking, 3=Off (default: 0) (int)
parm: power_save:enable WiFi power management (default: disable) (bool)
parm: power_level:default power save level (range from 1 - 5, default: 1) (int)
parm: fw_monitor:firmware monitor - to debug FW (default: false - needs lots of memory) (bool)


[cfg80211]
filename: /lib/modules/3.19.0-22-generic/kernel/net/wireless/cfg80211.ko
description: wireless configuration support
license: GPL
author: Johannes Berg
srcversion: E61EB836E1B33C2A2918485
depends:
intree: Y
vermagic: 3.19.0-22-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key

sig_key: C7:D4:40:34:4C:0B:3A:C2:A3:CE:C2:AE:B9:72:2E:CF:6C:AE:73:91
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 #################

[iwlmvm]
init_dbg: N
power_scheme: 2


[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
minstrel_vht_only: Y
probe_wait_ms: 500

[iwlwifi]

11n_disable: 0
amsdu_size_8K: 0
antenna_coupling: 0
bt_coex_active: Y
fw_monitor: N
fw_restart: Y
led_mode: 0
nvm_file: (null)
power_level: 0
power_save: N

swcrypto: 0
uapsd_disable: Y
wd_disable: 1

[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

##### /etc/modules ######################


lp

##### 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

[/etc/modprobe.d/modesetting.conf]
options cirrus modeset=1
options mgag200 modeset=1

##### rc.local ##########################

exit 0


##### pm-utils ##########################

##### udev rules ########################

[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x8086:0x1559 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x8086:0x08b1 (iwlwifi)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"


##### dmesg #############################

[ 3.464732] Bluetooth: hci0: Intel Bluetooth firmware patch completed and activated
[ 3.518660] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[ 4.460499] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled (repeated 2 times)
[ 7.916726] wlan0: authenticate with
[ 7.920483] wlan0: send auth to (try 1/3)
[ 7.922310] wlan0: authenticated
[ 7.928438] wlan0: associate with (try 1/3)

[ 7.942641] wlan0: RX AssocResp from (capab=0x411 status=0 aid=2)
[ 7.943963] wlan0: associated
[ 359.516348] wlan0: deauthenticating from by local choice (Reason: 3=DEAUTH_LEAVING)
[ 359.531246] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 367.152590] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled (repeated 2 times)
[ 370.627806] wlan0: authenticate with
[ 370.631010] wlan0: send auth to (try 1/3)
[ 370.632766] wlan0: authenticated
[ 370.633913] wlan0: associate with (try 1/3)
[ 370.644779] wlan0: RX AssocResp from (capab=0x411 status=0 aid=2)

[ 370.655915] wlan0: associated
[ 495.292650] wlan0: deauthenticating from by local choice (Reason: 3=DEAUTH_LEAVING)
[ 504.186814] iwlwifi 0000:02:00.0: L1 Enabled - LTR Enabled (repeated 2 times)
[ 507.569951] wlan0: authenticate with
[ 507.573064] wlan0: send auth to (try 1/3)
[ 507.575888] wlan0: authenticated
[ 507.576642] wlan0: associate with (try 1/3)
[ 507.585643] wlan0: RX AssocResp from (capab=0x411 status=0 aid=2)
[ 507.586893] wlan0: associated


########## wireless info END ############


I have a NUC as well and found that several minor quirks were fixed when I updated the BIOS to the latest. I urge you to do the same.



Next, check the settings in the router. WPA2-AES is preferred; not any WPA and WPA2 mixed mode and certainly not TKIP. Second, if your router is capable of N speeds, you may have better connectivity with a channel width of 20 MHz in the 2.4 GHz band instead of automatic 20/40 MHz, although it is likely to affect N speeds. I also have better luck with a fixed channel, either 1, 6 or 11, rather than automatic channel selection. Also, be certain the router is not set to use N speeds only; auto B, G and N is preferred. After making these changes, reboot the router.



Next, I recommend that your regulatory domain be set explicitly. Check yours:



sudo iw reg get



If you get 00, that is a one-size-maybe-fits-all setting. Find yours here: http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 Then, set it permanently:



gksudo gedit /etc/default/crda


Use nano or kate or leafpad if you don't have the text editor gedit. Change the last line to read:



REGDOMAIN=IS



Proofread carefully, save and close the text editor. Of course, substitute your country code if not Iceland.



Reboot the NUC and let us know if stability is improved.


Friday, May 27, 2016

13.04 - No launcher or menu




I've upgraded from 12.10 to 13.04 and now I'm missing my launcher and menu bars. I can open terminal through keyboard shortcut. Can anyone help




Install CCSM



sudo apt-get install compizconfig-settings-manager


And then run it in terminal (CTRL+ALT+T)



ccsm



Then search for "Ubuntu Unity Plugin". If it's not checked, check it.



If it is checked you may have another issue. Try restarting compiz:



kill -9 `pidof compiz`


This will kill it, it should start up again, if it doesn't, CTRL+ALT+F2 and then type:




sudo service lightdm restart


to restart the window manager. Go back to the terminal and run:



unity --reset


Which should reset unity. Note that in more current versions of unity, the reset option is now deprecated.




You could also try another desktop environment though this isn't a solution.


boot - Can't Try nor Install Ubuntu on Lenovo ideapad miix 310

I've just purchased a Lenovo ideapad miix 310 and my intention was to install Lubuntu but in the very first page after booting, when I click either to try or to install Lubuntu (same problem with Xubuntu and Ubuntu) I get a black screen. It remains black screen until I force the shut down with the button.




Secure boot disabled;
Downloaded the 64 bit version;
Iso image checked with md5sum;
Tried with two different USB drives;
Tried with Unetbootin from Mac and Rufus from Windows;



Same problem.
Any ideas?
Thanks

dual boot - GRUB has no option for Windows 10


I installed Ubuntu 18.04.01 LTS alongside Windows 10 but GRUB doesn't have an option to boot Windows.


When I hold shift to bring up GRUB there is no option for Windows 10.


I tried to boot to the Windows drive from BIOS and it just opened GRUB and booted Ubuntu instead, so then I used boot-repair to restore the MBR and booted straight to the Windows drive and it said, "Operating System not found".


https://ubuntuforums.org/showthread.php?t=1451149


This answer recommended creating a custom entry at /etc/grub.d/11_windows using this code:


#! /bin/sh -e
echo "Adding Windows" >&2
cat << EOF
menuentry "Windows 10" {
insmod ntfs
insmod chain
insmod drivemap
set root=(hd0,1)
drivemap -s (hd0) (hd1)
chainloader +1
}
EOF

When I loaded it from GRUB it said something like, "error: invalid signature".


Since none of that worked I used boot-repair's recommended repair and now it's back to booting Ubuntu when I try to boot the Windows drive.


Here's the pastebin it generated: http://paste.ubuntu.com/p/ztH5MSVts9/


Sorry if this seems like a duplicate question, but I've tried all of the answers I can find, and none of them have worked.


Update


I can't find them all but here's a few of the answers that I have tried:


https://ubuntuforums.org/showthread.php?t=1451149
(When I loaded this answer from GRUB it said something like, "error: invalid signature".)


No Windows 10 option in GRUB and Windows drive seems empty from Ubuntu
(This issue isn't exactly the same as mine, my Windows drive is not empty from Ubuntu. But update-grub didn't change anything when I rebooted.)


GRUB does not detect Windows
(os-prober gave no response when I used it here. Then update-grub didn't change anything.)


Unable to boot into Windows after installing Ubuntu, how to fix?
(The approved answer didn't work for me, I think because my PC isn't running UEFI. Karel's suggestion to use boot-repair to fix Windows boot files didn't work either, it still boots into GRUB with no Windows option when I load either hard drive.)


https://askubuntu.com/a/890562/880950
(When I make and load a custom entry, like in this answer, it says, "error: file "/bootmgr" not found".)
Here is the code I used at /boot/grub/custom.cfg:


menuentry "Windows 10" --class windows --class os {
insmod ntfs
search --no-floppy --set=root --fs-uuid 4A42271C42270C6F
ntldr /bootmgr
}

Update 2


I loaded up the Windows Recovery drive and tried the following:


C:
Bootrec /fixmbr
“This operation completed successfully.”
Bootrec /fixboot
“The volume does not contain a recognized file system.”
Bootrec /rebuildbcd
“Scanning all disks for Windows installations.
Total identifies Windows installations: 1
[1] C:\windows
Add installation to boot list?”
Yes
“This volume does not contain a recognized file system.”
bcdedit
“The boot configuration data store could not be opened.
The system cannot find the file specified.”

https://www.bleepingcomputer.com/forums/t/634635/window-10-will-not-start/
I found this forum where they seem to be having a similar issue, and recommend using “chkdsk C: /r” so I tried that and it returned:


“Windows has scanned the file system and found no problems.”


If you run a dual boot with say Windows and Ubuntu, sometimes Ubuntu's Grub can mess with the Windows System Boot and change the disk's MBR or interfere with Windows Boot Manager, making it impossible to boot into Windows from either the Grub menu options or from the BIOS boot menu. In such a case it is relatively easy to repair the MBR and/or Windows Boot Manager from a Windows command prompt found on the Windows Recovery and Repair disk/drive, which every Windows user should make and have at their disposal. The standard command used is bootrec together with its various switches used to fix the MBR and Windows Boot Manager if necessary. A good guide to using this command for Windows 10 and earlier versions can be found here.


However you may find once you've fixed things for Windows that you can only boot directly there and not into Grub. If that is the case boot into your Ubuntu Live UFD and run boot-repair. A good guide to doing this is found here. Once this has been done most times there should be no further booting issues, and Grub should appear on restart with the option to successfully boot to either system.


Last and not least you should always back up both Windows and Ubuntu systems by imaging, as this is the quickest way to dig yourself out of any system corruption issues, as well as useful for rolling back your system. Although Windows 7 - 10 has its own imaging system built-in, it is not recommended as it sometimes proves unreliable, as the OP found out to his cost. Ubuntu has its own GUI for this being Disks, which allows you to image individual partitions, the root \ being the most important one. But the best and most versatile imaging system is Macrium Reflect as this free GUI will back up both Windows and Ubuntu. For imaging Ubuntu, you have to make a Macrium Recovery USB first from within Windows. But once you've made this USB you can happily image either system once booted into it. It is very reliable and can be used to backup systems running on a UEFI or Legacy BIOS. It even includes a Windows command prompt so that you can run bootrec or any of Windows repair commands from there. Details of how to make the USB are shown here.


How can I install Ubuntu 16.04 LTS Server on an HP ProLiant ML10 v2 Server




I recently wanted a new Tower Server to run Ubuntu 16.04 LTS Server in my office. I have done many Linux/Ubuntu installations on dozens of machines over the years. I found an inexpensive machine in the "HP ProLiant ML10 v2 Tower Server System i3-4150v3 3.5 GHz 8 GB RAM 500GB SATA 7.2K," for $260 online.



It appeared from the HP website that Ubuntu installation was a supported configuration, but I found some posts indicating that there might be a problem with the disk driver, with one post saying that there was not a stable driver available. I could not find the drivers on the HP website, although I did find the manual at http://h20565.www2.hpe.com/hpsc/doc/public/display?sp4ts.oid=7796450&docId=emr_na-c04622279&docLocale=en_US



I bought the machine, connected an external DVD drive to the USB port, put a DVD with Ubuntu 16.04 LTS Server AMD64 in the drive, and turned on the computer.



After several cycles of a POST sequence, the system booted from the DVD, and the installation completed normally, including the GRUB install in the MBR. At the end, the installation ejected the DVD, and prompted me to start the reboot sequence into Ubuntu.



However, when the machine tried to boot from the HDD, I got the message "Non-system disk or disk error."




There are several posts about this problem over the past several years, but none that comprehensively describe the process for the ML10 v2, so I thought I would document my findings for those who want to use one of these inexpensive and capable servers with Ubuntu.



How to install Ubuntu Server on HP ProLiant MicroServer Gen8?, from 2014, describes the process of changing the SATA Conroller support with a ProLiant Microserver Gen8



https://www.linuxserver.io/index.php/2015/03/24/hp-proliant-microserver-gen8-g1610t-setting-up-a-linux-home-server/, from 2015, describes the process in more detail, also using a Microserver Gen8, and includes screenshots, but I found they did not match exactly my BIOS screens.



It may be that the Ubuntu installation is able to adjust the controller so that the installation can write to the HDD, but that the boot BIOS does not make that adjustment.



In any case, what worked for me was to let the first stage POST complete, and then the second stage Processor Initialization will show an "F9" button at the bottom of the screen. Pressing the F9 key on the keyboard will "light up" the "F9" button, and after this Processor Initialization, the "ROM-Based Setup Utility" will start. As per the screenshots in the second of the two references above, first select "System Options" and press Enter, then select "SATA Controller Options" and press Enter.




Here, the new system is a little different than the screenshots shown for the Microserver Gen8 -- I had to select "Embedded SATA Configuration," and when I did, I got a scary Yellow-on-Red warning that this would destroy my system (which would undoubtedly be true if I had a system installed).



Press Enter to get by this warning, then change from "Enable Dynamic HP Smart Array B120i RAID Support" to "Enable SATA AHCI Support", and press Enter. Note at the bottom that " Saves Selection" - there is no explicit "save" in this setup utility.



Then, back out of the menus with Esc, and then " to Exit Utility" and then " to Confirm Exit Utility." Again, no explicit "Save" with this utility. Press F10, and the system will again go through the ProLiant System BIOS - Early Processor Initialization. After that completes to 100%, you will go to the next stage "Processor Initialization.



If you have made the change correctly, during this second stage you will see a message "HP AHCI SATA Controller Initializing" and then "HP AHCI SATA Controller" and then "Broadcom NetXtreme Ethernet Boot Agent"



You can then install Ubuntu 16.04 LTS Server from the DVD (using your external DVD drive connected to a USB port). A message flashes during the installation about some BIOS corruption, but that does not seem to be a problem for the installation.




I selected the LVM with Encryption option, so when the system boots, I get a message "Please unlock disk sda5_crypt:" at which point I enter the password I used to encrypt the disk, and the system boots.



I would also mention that these servers come in a few standard configurations, and that there is also a configurator on the HP site, but selecting a custom configuration is very expensive -- just find a system configured the way you want, and you can have a very capable server for a very low price.



The manual for the HP ProLiant ML10 v2 Server is here: http://h20565.www2.hpe.com/hpsc/doc/public/display?sp4ts.oid=7796450&docId=emr_na-c04622279&docLocale=en_US



Hopefully, this post will encourage those who want an inexpensive Ubuntu Server to use this server.


Thursday, May 26, 2016

wireless - WiFi problem on lenovo E520 ubuntu 18.04.1


I just installed Ubuntu 18.04.1 on my Lenovo E520 yesterday and I have this issue since i tried to connect to WiFi , WiFi connects and everything is ok
but after some time (sometimes minutes, sometimes seconds) the connection gets lost!
I searched for the problem and understood that when I type rfkill list all in my terminal I got this:


0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no

I realized that all of them must be "no" but as you can see "Wireless LAN" is "yes" , I tried to make it "no" by typing this sudo rfkill unblock all but it works just for few minutes then turning back to "yes" again!
I don't know what to do


Here is my lspci-output :


lspci -knn | grep Net -A3
08:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 1000 [Condor Peak] [8086:0084]
Subsystem: Intel Corporation Centrino Wireless-N 1000 BGN [8086:1315]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi

Wireless script result when i type this :


wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info

i got :


`--2018-12-19 22:54:28--  https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/UbuntuForums/wireless-info/master/wireless-info [following]
--2018-12-19 22:54:30-- https://raw.githubusercontent.com/UbuntuForums/wireless-info/master/wireless-info
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.112.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.112.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17452 (17K) [text/plain]
Saving to: ‘wireless-info’

wireless-info 100%[===================>] 17.04K 68.1KB/s in 0.3s


Last-modified header missing -- time-stamps turned off.
2018-12-19 22:54:32 (68.1 KB/s) - ‘wireless-info’ saved [17452/17452]


`
and :
chmod +x wireless-info &&


./wireless-info
[sudo] password for saeed:



Results saved in "/home/saeed/wireless-info.txt".


Results also archived in "/home/saeed/wireless-info.tar.gz", as they exceed the 19.5 kB size limit for ".txt" attachments on the Ubuntu Forums.


and also when i type this : cat wireless-info.txt
i got :


    ########## wireless info START ##########

Report from: 19 Dec 2018 22:59 +0330 +0330


Booted last: 19 Dec 2018 00:00 +0330 +0330


Script from: 22 Oct 2018 03:34 UTC +0000


release

Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic


kernel

Linux 4.15.0-42-generic #45-Ubuntu SMP Thu Nov 15 19:32:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


Parameters: ro, quiet, splash, vt.handoff=1


desktop

Ubuntu


lspci

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:21e2]
Kernel driver in use: r8169


08:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 1000 [Condor Peak] [8086:0084]
Subsystem: Intel Corporation Centrino Wireless-N 1000 BGN [8086:1315]
Kernel driver in use: iwlwifi


lsusb

Bus 002 Device 004: ID 0a5c:217f Broadcom Corp. BCM2045B (BDC-2.1)
Bus 002 Device 003: ID 147e:1002 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
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 004: ID 5986:03b3 Acer, Inc
Bus 001 Device 003: ID 093a:2516 Pixart Imaging, 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: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no


secure boot

'mokutil' is not installed (package "mokutil").


lsmod

iwldvm 229376 0
mac80211 778240 1 iwldvm
iwlwifi 282624 1 iwldvm
cfg80211 622592 3 iwldvm,iwlwifi,mac80211


interfaces

[/etc/network/interfaces]
auto lo
iface lo inet loopback


ifconfig

1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback brd
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s0: mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether brd
inet 192.168.1.2/24 brd 192.168.1.255 scope global dynamic noprefixroute enp2s0
valid_lft 86042sec preferred_lft 86042sec
inet6 fe80::6cf8:ec8:7457:d74d/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: wlp8s0: mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether brd


iwconfig

enp2s0 no wireless extensions.


lo no wireless extensions.


wlp8s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off


route

default via 192.168.1.1 dev enp2s0 proto dhcp metric 20100
169.254.0.0/16 dev enp2s0 scope link metric 1000
192.168.1.0/24 dev enp2s0 proto kernel scope link src 192.168.1.2 metric 100


resolv.conf

[777 root '/etc/resolv.conf' -> '../run/systemd/resolve/stub-resolv.conf']


nameserver 127.0.0.53
search domain.name


network managers

Installed:


NetworkManager

Running:


root 793 1 0 22:45 ? 00:00:01 /usr/sbin/NetworkManager --no-daemon


NetworkManager info

GENERAL.DEVICE: enp2s0
GENERAL.TYPE: ethernet
GENERAL.NM-TYPE: NMDeviceEthernet
GENERAL.VENDOR: Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
GENERAL.DRIVER: r8169
GENERAL.DRIVER-VERSION: 2.3LK-NAPI
GENERAL.FIRMWARE-VERSION: --
GENERAL.HWADDR:
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.REASON: 0 (No reason given)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/enp2s0
GENERAL.IP-IFACE: enp2s0
GENERAL.IS-SOFTWARE: no
GENERAL.NM-MANAGED: yes
GENERAL.AUTOCONNECT: yes
GENERAL.FIRMWARE-MISSING: no
GENERAL.NM-PLUGIN-MISSING: no
GENERAL.PHYS-PORT-ID: --
GENERAL.CONNECTION: Wired connection 1
GENERAL.CON-UUID: 97cce32f-3df9-3970-a98e-435e94206f8b
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/5
GENERAL.METERED: no (guessed)
CAPABILITIES.CARRIER-DETECT: yes
CAPABILITIES.SPEED: 100 Mb/s
CAPABILITIES.IS-SOFTWARE: no
CAPABILITIES.SRIOV: no
WIRED-PROPERTIES.CARRIER: on
IP4.ADDRESS[1]: 192.168.1.2/24
IP4.GATEWAY: 192.168.1.1
IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 192.168.1.1, mt = 20100
IP4.ROUTE[2]: dst = 192.168.1.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[3]: dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]: 85.15.1.14
IP4.DNS[2]: 85.15.1.15
IP4.DOMAIN[1]: domain.name
DHCP4.OPTION[1]: requested_host_name = 1
DHCP4.OPTION[2]: requested_domain_search = 1
DHCP4.OPTION[3]: requested_time_offset = 1
DHCP4.OPTION[4]: requested_domain_name = 1
DHCP4.OPTION[5]: requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[6]: requested_broadcast_address = 1
DHCP4.OPTION[7]: requested_netbios_scope = 1
DHCP4.OPTION[8]: expiry = 1545333793
DHCP4.OPTION[9]: next_server = 0.0.0.0
DHCP4.OPTION[10]: domain_name = domain.name
DHCP4.OPTION[11]: requested_interface_mtu = 1
DHCP4.OPTION[12]: dhcp_message_type = 5
DHCP4.OPTION[13]: requested_wpad = 1
DHCP4.OPTION[14]: ip_address = 192.168.1.2
DHCP4.OPTION[15]: requested_subnet_mask = 1
DHCP4.OPTION[16]: requested_static_routes = 1
DHCP4.OPTION[17]: subnet_mask = 255.255.255.0
DHCP4.OPTION[18]: routers = 192.168.1.1
DHCP4.OPTION[19]: broadcast_address = 192.168.1.255
DHCP4.OPTION[20]: requested_ntp_servers = 1
DHCP4.OPTION[21]: requested_netbios_name_servers = 1
DHCP4.OPTION[22]: dhcp_lease_time = 86400
DHCP4.OPTION[23]: domain_name_servers = 85.15.1.14 85.15.1.15
DHCP4.OPTION[24]: requested_routers = 1
DHCP4.OPTION[25]: requested_domain_name_servers = 1
DHCP4.OPTION[26]: requested_ms_classless_static_routes = 1
DHCP4.OPTION[27]: network_number = 192.168.1.0
DHCP4.OPTION[28]: dhcp_server_identifier = 192.168.1.1
IP6.ADDRESS[1]: fe80::6cf8:ec8:7457:d74d/64
IP6.GATEWAY: fe80::76da:daff:fe76:dae9
IP6.ROUTE[1]: dst = ::/0, nh = fe80::76da:daff:fe76:dae9, mt = 20100
IP6.ROUTE[2]: dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[3]: dst = fe80::/64, nh = ::, mt = 256
IP6.ROUTE[4]: dst = fe80::/64, nh = ::, mt = 100
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{4}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]: 97cce32f-3df9-3970-a98e-435e94206f8b | Wired connection 1


GENERAL.DEVICE: wlp8s0
GENERAL.TYPE: wifi
GENERAL.NM-TYPE: NMDeviceWifi
GENERAL.VENDOR: Intel Corporation
GENERAL.PRODUCT: Centrino Wireless-N 1000 [Condor Peak] (Centrino Wireless-N 1000 BGN)
GENERAL.DRIVER: iwlwifi
GENERAL.DRIVER-VERSION: 4.15.0-42-generic
GENERAL.FIRMWARE-VERSION: 39.31.5.1 build 35138
GENERAL.HWADDR:
GENERAL.MTU: 1500
GENERAL.STATE: 20 (unavailable)
GENERAL.REASON: 0 (No reason given)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:1c.3/0000:08:00.0/net/wlp8s0
GENERAL.IP-IFACE: --
GENERAL.IS-SOFTWARE: no
GENERAL.NM-MANAGED: yes
GENERAL.AUTOCONNECT: yes
GENERAL.FIRMWARE-MISSING: no
GENERAL.NM-PLUGIN-MISSING: no
GENERAL.PHYS-PORT-ID: --
GENERAL.CONNECTION: --
GENERAL.CON-UUID: --
GENERAL.CON-PATH: --
GENERAL.METERED: unknown
CAPABILITIES.CARRIER-DETECT: no
CAPABILITIES.SPEED: unknown
CAPABILITIES.IS-SOFTWARE: no
CAPABILITIES.SRIOV: no
WIFI-PROPERTIES.WEP: yes
WIFI-PROPERTIES.WPA: yes
WIFI-PROPERTIES.WPA2: yes
WIFI-PROPERTIES.TKIP: yes
WIFI-PROPERTIES.CCMP: yes
WIFI-PROPERTIES.AP: no
WIFI-PROPERTIES.ADHOC: yes
WIFI-PROPERTIES.2GHZ: yes
WIFI-PROPERTIES.5GHZ: no
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: --


SSID BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY ACTIVE IN-USE


NetworkManager.state

[main]
NetworkingEnabled=true
WirelessEnabled=false
WWANEnabled=true


NetworkManager config

[[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]]
[connection]
wifi.powersave = 2


[[/etc/NetworkManager/NetworkManager.conf]]
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no


[[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]]
[main]
dns=systemd-resolved


[[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]]
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:wwan


[[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]]
[connectivity]
uri=http://connectivity-check.ubuntu.com/


[[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]]
[device-mac-addr-change-wifi]
match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl
wifi.scan-rand-mac-address=no
wifi.cloned-mac-address=preserve
ethernet.cloned-mac-address=preserve


NetworkManager profiles

[[/etc/NetworkManager/system-connections/Saeed]] (600 root)
[connection] id=Saeed | type=wifi | permissions=
[wifi] mac-address= | mac-address-blacklist= | ssid=Saeed
[ipv4] method=auto
[ipv6] method=auto


[[/etc/NetworkManager/system-connections/iPhone]] (600 root)
[connection] id=iPhone | type=wifi | permissions=
[wifi] mac-address= | mac-address-blacklist= | ssid=iPhone
[ipv4] method=auto
[ipv6] method=auto


Netplan config

[/etc/netplan/01-network-manager-all.yaml]
network:
version: 2
renderer: NetworkManager


iw reg get

Region: Asia/Tehran (based on set time zone)


global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)


iwlist channels

enp2s0 no frequency information.


lo no frequency information.


wlp8s0 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


iwlist scan

wlp8s0 Interface doesn't support scanning : Network is down


enp2s0 Interface doesn't support scanning.


lo Interface doesn't support scanning.


module infos

[iwldvm]
filename: /lib/modules/4.15.0-42-generic/kernel/drivers/net/wireless/intel/iwlwifi/dvm/iwldvm.ko
license: GPL
author: Copyright(c) 2003- 2015 Intel Corporation
description: Intel(R) Wireless WiFi Link AGN driver for Linux
srcversion: 5144A889CD9311D5F87BAC3
depends: mac80211,iwlwifi,cfg80211
retpoline: Y
intree: Y
name: iwldvm
vermagic: 4.15.0-42-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
parm: force_cam:force continuously aware mode (no power saving at all) (bool)


[mac80211]
filename: /lib/modules/4.15.0-42-generic/kernel/net/mac80211/mac80211.ko
license: GPL
description: IEEE 802.11 subsystem
srcversion: 10B87D6D65DDD085D1326C9
depends: cfg80211
retpoline: Y
intree: Y
name: mac80211
vermagic: 4.15.0-42-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
parm: minstrel_vht_only:Use only VHT rates when VHT is supported by sta. (bool)
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)


[iwlwifi]
filename: /lib/modules/4.15.0-42-generic/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko
license: GPL
author: Copyright(c) 2003- 2015 Intel Corporation
description: Intel(R) Wireless WiFi driver for Linux
firmware: iwlwifi-100-5.ucode
firmware: iwlwifi-1000-5.ucode
firmware: iwlwifi-135-6.ucode
firmware: iwlwifi-105-6.ucode
firmware: iwlwifi-2030-6.ucode
firmware: iwlwifi-2000-6.ucode
firmware: iwlwifi-5150-2.ucode
firmware: iwlwifi-5000-5.ucode
firmware: iwlwifi-6000g2b-6.ucode
firmware: iwlwifi-6000g2a-6.ucode
firmware: iwlwifi-6050-5.ucode
firmware: iwlwifi-6000-6.ucode
firmware: iwlwifi-7265D-29.ucode
firmware: iwlwifi-7265-17.ucode
firmware: iwlwifi-3168-29.ucode
firmware: iwlwifi-3160-17.ucode
firmware: iwlwifi-7260-17.ucode
firmware: iwlwifi-8265-34.ucode
firmware: iwlwifi-8000C-34.ucode
firmware: iwlwifi-9260-th-b0-jf-b0-34.ucode
firmware: iwlwifi-9260-th-a0-jf-a0-34.ucode
firmware: iwlwifi-9000-pu-a0-jf-b0-34.ucode
firmware: iwlwifi-9000-pu-b0-jf-b0-34.ucode
firmware: iwlwifi-9000-pu-a0-jf-a0-34.ucode
firmware: iwlwifi-QuQnj-a0-hr-a0-34.ucode
firmware: iwlwifi-QuQnj-a0-jf-b0-34.ucode
firmware: iwlwifi-QuQnj-f0-hr-a0-34.ucode
firmware: iwlwifi-Qu-a0-jf-b0-34.ucode
firmware: iwlwifi-Qu-a0-hr-a0-34.ucode
srcversion: 773231C3AA2E3CAB7CBD42B
depends: cfg80211
retpoline: Y
intree: Y
name: iwlwifi
vermagic: 4.15.0-42-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
parm: swcrypto:using crypto in software (default 0 [hardware]) (int)
parm: 11n_disable:disable 11n functionality, bitmap: 1: full, 2: disable agg TX, 4: disable agg RX, 8 enable agg TX (uint)
parm: amsdu_size:amsdu size 0: 12K for multi Rx queue devices, 4K for other devices 1:4K 2:8K 3:12K (default 0) (int)
parm: fw_restart:restart firmware in case of error (default true) (bool)
parm: antenna_coupling:specify antenna coupling in dB (default: 0 dB) (int)
parm: nvm_file:NVM file name (charp)
parm: d0i3_disable:disable d0i3 functionality (default: Y) (bool)
parm: lar_disable:disable LAR functionality (default: N) (bool)
parm: uapsd_disable:disable U-APSD functionality bitmap 1: BSS 2: P2P Client (default: 3) (uint)
parm: bt_coex_active:enable wifi/bt co-exist (default: enable) (bool)
parm: led_mode:0=system default, 1=On(RF On)/Off(RF Off), 2=blinking, 3=Off (default: 0) (int)
parm: power_save:enable WiFi power management (default: disable) (bool)
parm: power_level:default power save level (range from 1 - 5, default: 1) (int)
parm: fw_monitor:firmware monitor - to debug FW (default: false - needs lots of memory) (bool)
parm: d0i3_timeout:Timeout to D0i3 entry when idle (ms) (uint)
parm: disable_11ac:Disable VHT capabilities (default: false) (bool)


[cfg80211]
filename: /lib/modules/4.15.0-42-generic/kernel/net/wireless/cfg80211.ko
description: wireless configuration support
license: GPL
author: Johannes Berg
srcversion: 62FD05DCC5AEEA290640C3D
depends:
retpoline: Y
intree: Y
name: cfg80211
vermagic: 4.15.0-42-generic SMP mod_unload
signat: PKCS#7
signer:
sig_key:
sig_hashalgo: md4
parm: bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
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

[iwldvm]
force_cam: Y


[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
minstrel_vht_only: Y
probe_wait_ms: 500


[iwlwifi]
11n_disable: 0
amsdu_size: 0
antenna_coupling: 0
bt_coex_active: Y
d0i3_disable: Y
d0i3_timeout: 1000
disable_11ac: N
fw_monitor: N
fw_restart: Y
lar_disable: N
led_mode: 0
nvm_file: (null)
power_level: 0
power_save: N
swcrypto: 0
uapsd_disable: 3


[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00


/etc/modules
modprobe options

[/etc/modprobe.d/amd64-microcode-blacklist.conf]
blacklist microcode


[/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 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/intel-microcode-blacklist.conf]
blacklist microcode


[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211


rc.local

grep: /etc/rc.local: No such file or directory


pm-utils
udev rules
dmesg

[ 17.809595] iwlwifi 0000:08:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 18.000321] iwlwifi 0000:08:00.0: loaded firmware version 39.31.5.1 build 35138 op_mode iwldvm
[ 18.027511] iwlwifi 0000:08:00.0: CONFIG_IWLWIFI_DEBUG disabled
[ 18.027514] iwlwifi 0000:08:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[ 18.027515] iwlwifi 0000:08:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[ 18.027517] iwlwifi 0000:08:00.0: Detected Intel(R) Centrino(R) Wireless-N 1000 BGN, REV=0x6C
[ 18.070909] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[ 18.369621] iwlwifi 0000:08:00.0 wlp8s0: renamed from wlan0
[ 30.450705] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[ 30.698802] r8169 0000:02:00.0 enp2s0: link down
[ 30.698897] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[ 30.739108] IPv6: ADDRCONF(NETDEV_UP): wlp8s0: link is not ready
[ 83.047651] iwlwifi 0000:08:00.0: Radio type=0x0-0x0-0x3 (repeated 2 times)
[ 83.151089] IPv6: ADDRCONF(NETDEV_UP): wlp8s0: link is not ready (repeated 2 times)
[ 83.862520] wlp8s0: authenticate with
[ 83.866873] wlp8s0: send auth to (try 1/3)
[ 83.869198] wlp8s0: authenticated
[ 83.869447] wlp8s0: waiting for beacon from
[ 83.928167] wlp8s0: associate with (try 1/3)
[ 83.935936] wlp8s0: RX AssocResp from (capab=0x411 status=0 aid=4)
[ 83.948506] wlp8s0: associated
[ 84.055005] IPv6: ADDRCONF(NETDEV_CHANGE): wlp8s0: link becomes ready
[ 420.823012] wlp8s0: deauthenticating from by local choice (Reason: 3=DEAUTH_LEAVING)
[ 421.313490] wlp8s0: authenticate with
[ 421.317148] wlp8s0: send auth to (try 1/3)
[ 421.318899] wlp8s0: authenticated
[ 421.319751] wlp8s0: associate with (try 1/3)
[ 421.324047] wlp8s0: RX AssocResp from (capab=0x411 status=0 aid=4)
[ 421.328298] wlp8s0: associated
[ 496.549637] wlp8s0: deauthenticating from by local choice (Reason: 3=DEAUTH_LEAVING)
[ 507.318336] r8169 0000:02:00.0 enp2s0: link up
[ 507.318346] IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready


#### wireless info END ############


After a long time searching and asking finally my problem solved by fixing DNS on my internet. So here is the solution:


First save this codes as .sh file (it's a DNS fixer file) on your desktop (you can name the file whatever you want) :


#!/bin/bash
##start Local net Cheking
var1=`ip addr | grep brd | wc -l`
var2=`ip addr | awk {'print $1'} | grep : | wc -l`
if [ "$var1" == "$var2" ];then
echo -e "\033[91m[-]Your Are Offline!!!"
exit 1
else
echo -e "\033[92m[+]Your Local Netowkr Is Ok!."
##start internet Checking
ping -c2 -w2 8.8.8.8 1>/dev/null 2>/dev/null
if [ "$?" != "0" ];then
echo -e "\033[91m[-]You Have Internet ERROR! CHECK THAT."
exit 1
else
echo -e "\033[92m[+]Your Internet Is OK!"
##Start DNS Checking
nslookup gnu.org -timeout=1 1>/dev/null 2>/dev/null
if [ "$?" != "0" ];then
echo -e "\033[91m[-]You Have Dns ERROR! "
read -p "I cat To Ok That, Do You Want To Contniue?[Y/n] " yesorno
if [ "$yesorno" == "Y" ] || [ "$yesorno" == "y" ] || [ "$yesorno" ==
"" ];then
echo -e "nameserver 208.67.222.222\nnameserver 8.8.8.8" | sudo tee
/etc/resolvconf/resolv.conf.d/tail 1>/dev/null
sudo systemctl restart NetworkManager
else
echo "Ok, You Need To Fix it."
exit 1
fi
else
echo -e "\033[92m[+]Your DNS Is OK!"
exit 0
fi
##End Of DNS Checking.
fi
##End of internet checking
fi
##End Of Localnet checking

After that open your Terminal follow the codes below step by step:


cd Desktop
chmod +x FileName.sh
./FileName
reboot

Hope It works for you


11.10 - Can&#39;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 (...