#StackBounty: #networking #16.04 #server #hostapd Is there a way to debug wireless access point issues that was setup with hostapd?

Bounty: 50

I am trying to setup a wireless access point with a home PC. I replaced my old Intel wifi link 5100 with Atheros AR9462. I recently did a fresh Ubuntu Server 16.04 install.

To setup wireless access point I installed hostapd and created a simple configuration

# cat /etc/hostapd/hostapd.conf 

And here is how my network interfaces are configured:

# cat /etc/network/interfaces
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

auto enp1s0
iface enp1s0 inet dhcp

auto wlp3s0
iface wlp3s0 inet static

After these configurations, I rebooted the device. My network is active (checked via /etc/init.d/networking status). hostapd (checked via service hostapd status) seems to be running fine. However, I cannot event detect the wireless access point from any other device.

My wireless card is functioning in master mode:

# iwconfig
wlp3s0    IEEE 802.11abgn  Mode:Master  Tx-Power=19 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

lo        no wireless extensions.

enp1s0    no wireless extensions.

My network hardware results look like the following:

# lshw -C 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:01:00.0
       logical name: enp1s0
       version: 07
       serial: 00:e0:4c:68:18:fd
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 ip= latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:120 ioport:e000(size=256) memory:a0004000-a0004fff memory:a0000000-a0003fff
       description: Wireless interface
       product: AR9462 Wireless Network Adapter
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlp3s0
       version: 01
       serial: 44:c3:06:31:a7:b0
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=4.4.0-62-generic firmware=N/A ip= latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
       resources: irq:18 memory:81200000-8127ffff memory:81280000-8128ffff

How can I troubleshoot this issue further and find out what is going wrong?

Get this bounty!!!

#StackBounty: #16.04 #application-switcher How to never ungroup windows of the same app in Task Switcher

Bounty: 50

In Ubuntu 16.04 when an app is focused on long enough in the application switcher it will present me with all the windows of that app. How do I configure the switcher to never do this?

Get this bounty!!!

#StackBounty: #16.04 #compiling #compiler #clang How to compiler OpenMP program using clang?

Bounty: 50

My gcc compiles well, but clang fails with the following message:

clang -fopenmp=libomp -o main main.c
main.c:5:10: fatal error: 'omp.h' file not found

I also installed libomp5 package and changed flag to -fopenmp=libomp5 , though it didn’t help either:

clang -fopenmp=libomp5 -o main main.c
clang: error: unsupported argument 'libomp5' to option 'fopenmp='
clang: error: unsupported argument 'libomp5' to option 'fopenmp='

https://clang-omp.github.io/ recommendations didn’t work.

Would be grateful for hints on installing necessary 16.04 specific packages and passing corresponding flags.

Don’t shun my question, please, I think it’s specific to Ubuntu, currently I have no time to test the case on any other distro.

Get this bounty!!!

#StackBounty: #16.04 #multiple-monitors #dell Ubuntu 16, second monitor no longer recognised

Bounty: 50

I am running Ubuntu 16.04 on a Dell XPS 13 and up until yesterday I could plug in an external Dell monitor and my computer would recognise it. I connect it via the thunderbolt connection (via a HDMI converter), however today my computer no longer detects the display (even using “Detect Displays” in Settings). Tried restarting with and without monitor connected, but no change. I also downloaded the additional intel drivers, but this also didn’t work…

Any help would be greatly appreciated!

Some outputs that may help (monitor was connected during):

    xrandr --query
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 294mm x 165mm
   3200x1800     59.98 +  47.99  
   2880x1620     60.00  
   2560x1440     60.00  
   2048x1536     60.00  
   1920x1440     60.00  
   1856x1392     60.01  
   1792x1344     60.01  
   2048x1152     60.00  
   1920x1200     59.95  
   1920x1080     60.00*   59.93  
   1600x1200     60.00  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      60.00  
   1280x1024     60.02  
   1440x900      59.89  
   1280x960      60.00  
   1368x768      60.00  
   1360x768      59.80    59.96  
   1152x864      60.00  
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   640x360       60.00  
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

sudo lshw -C display
       description: VGA compatible controller
       product: Sky Lake Integrated Graphics
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 0a
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915_bpo latency=0
       resources: irq:278 memory:db000000-dbffffff memory:90000000-9fffffff ioport:f000(size=64)

Get this bounty!!!

#StackBounty: #16.04 #virtualbox VirtualBox – RTR3InitEx failed with rc=-1912 (rc=-1912)

Bounty: 50

I have installed VirtualBox Version 5.1.18 r114002 (Qt5.5.1) on Ubuntu 16.04 LTS. To virtualize everything (Kali, Windows 10).

I encounter the following error:

RTR3InitEx failed with rc=-1912 (rc=-1912)

The VirtualBox kernel modules do not match this version of VirtualBox.
The installation of VirtualBox was apparently not successful.


may correct this. Make sure that you do not mix the OSE version and
the PUEL version of VirtualBox.

where: supR3HardenedMainInitRuntime what: 4
VERR_VM_DRIVER_VERSION_MISMATCH (-1912) – The installed support driver
doesn’t match the version of the user.
enter image description here

  • What causes this problem?
  • How can this problem be solved?

When i run dpkg --list virtualbox-* in terminal, I get:

 | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend     
 |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)  
 ||/ Name       Version      Architecture Description
 rc  virtualbox-5.0 5.0.32-11293 i386         Oracle VM VirtualBox 
 rc  virtualbox-5.1 5.1.18-11400 i386         Oracle VM VirtualBox  
 un virtualbox-gue <none>       <none>       (no description available)
 un virtualbox-gue <none>       <none>       (no description available)
 un virtualbox-ose <none>       <none>       (no description available)

Get this bounty!!!

#StackBounty: #16.04 #unity #multiple-monitors How to make Unity/Ubuntu Expo plugin to show only desktops of a current monitor

Bounty: 250

I’m running a dual monitor setup in Ubuntu 16.04.2.
When I activate unity expo it shows the desktop in all monitors, as illustrated below.
buggy unity expo

Is it to shows only the desktops in the current monitor (similarly to KDE)?

Get this bounty!!!

#StackBounty: #16.04 #kubuntu #kde #plasma Unable to populate a KDE Quicklaunch widget via the Plasma Scripting Interface?

Bounty: 50

I’m customising the KDE desktop environment for our corporate desktop, and I’ve found what I hope is not a bug –

In short, all I want to do is add a quicklaunch widget to the panel, then populate it with some application shortcuts via the plasma scripting interface.

I have code that I believe should work:

//new panel for testing purposes
var panel = new Panel 
var quicklaunch = panel.addWidget("org.kde.plasma.quicklaunch");  
var qlurls = ["/usr/share/applications/firefox.desktop",
quicklaunch.currentConfigGroup = ["General"];
quicklaunch.writeConfig("launcherUrls", qlurls);
//confirm it's written correctly
//flailing for ideas now?!?

You can test it by starting the scripting console in a KDE session, and copying and pasting:

qdbus org.kde.plasmashell /PlasmaShell showInteractiveConsole

This correctly adds a new panel, a quicklaunch widget, and applies all the same settings that were applied when I interrogated a manually created quicklaunch, but – it doesn’t display any of the application shortcuts, just a rocket icon.

What am I doing wrong?

Get this bounty!!!

#StackBounty: #boot #16.04 #luks #passphrase How to enable text-mode LUKS passphrase prompt on boot?

Bounty: 50

I’m on Ubuntu MATE 16.04.1 and I changed graphic card to GeForce 8600GT and now I can’t enter LUKS password on boot after installing NVIDIA propriatary drivers (I tried 304.135 and 340.102). Keyboard does not work there, I only have such screen and I can’t enter anything:

enter image description here

To boot my OS I need to go through recovery mode and it boots fine, but I would like to fix it by perhaps changing that passphrase screen to text-mode. I know that there should be such mode for this as I have it on another machine with another GeForce, only thing that it’s on 14.04 and it switched to text-mode automatically right after installing NVIDIA driver.

How do I do this on 16.04?

PS. I’ve tried THIS solution (both wxh and text) and it does not work for me – not any passphrase screen appears…

Get this bounty!!!

#StackBounty: #networking #16.04 #wireless #suspend #ethernet WiFi signal icon switches to Ethernet icon (up down arrows) after Suspend?

Bounty: 50

When I wake my laptop up after being suspended for a little while, the WiFi signal gets replaced by up and down arrows. The connection still works, but is rather annoying nonetheless. Restarting the Network Manager works, but is only a temporary fix.

I read somewhere that it might be because the connection is getting renamed, thus causing it to think I’m connected via Ethernet instead of WiFi?

How can I fix this?

Edit: I’ve noticed that this also happens on occasion after turning WiFi on/off.

Get this bounty!!!

#StackBounty: #16.04 #unity #application-switcher Application switcher disappears behind windows

Bounty: 50

Title says it all.

Instead of popping out in front of all the open windows, the task switcher is stuck in the back. At first, I thought it just didn’t work – and then I closed some of the windows, I saw it was just kinda stuck in the back.

Get this bounty!!!