kubuntu 18.04 no wifi on network manager but in terminal is detected


WTFFFFF! NO WIFI ON KDE NETWORK MANAGER APPLET but with iwlist is detected  (07:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01) so the driver was working properly infact i connect to a open wifi , without password. so WHY!!! i guess for a problem with some systemd conf files anyway….

Lansharefiles_20180306_105007Lansharefiles_20180306_105449

DETECT IF ANY SERVICE HAS PROBLEMS

 systemctl --type service

which has this silly answer :

systemd-networkd-wait-online.service loaded failed failed Wait for Network to be Configured

checking even the wpa_supplicant service with

systemctl status wpa_supplicant.service
Failed to initialize control interface '/run/wpa_supplicant'.
 You may have another wpa_supplicant process already running or the file was
 left by an unclean termination of wpa_supplicant in which case you will need
 to manually remove this file before starting wpa_supplicant again.
sudo systemctl status NetworkManager.service

i got even this shit

 error>   sup-iface[0x56547f32d5b0,wlp7s0]: error adding interface: wpa_supplicant couldn't grab this interface.

now how to fix it !?

sudo systemctl  stop NetworkManager.service
sudo systemctl  stop wpa_supplicant.service 
sudo systemctl  start wpa_supplicant.service 
sudo pkill wpa_supplicant 
sudo systemctl  start wpa_supplicant.service
sleep 4
sudo systemctl start NetworkManager.service

 

result 😀

Lansharefiles_20180306_115122

USEFULL STUFF

  1. CHECK IF YOUR CARD IS ENABLE ON BIOS , if you want to see that just do  on therminal rfkill list  and make sure it’s all NO
  2. ENABLE YOUR CARD  sudo ifconfig XXXX up ( your card name that should be wlp7s0 you can get the name from ifconfig alone without optios) as you can see here

    sudo rfkill unblock all
    rfkill
    ID TYPE DEVICE SOFT HARD
    0 wlan phy0 unblocked unblocked
    1 bluetooth hci0 unblocked unblocked
    sem@semvaio18:~$ ifconfig
    lo: flags=73 mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10
    loop txqueuelen 1000 (Local Loopback)
    RX packets 31198 bytes 1590503 (1.5 MB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 31198 bytes 1590503 (1.5 MB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    wlp7s0: flags=4163 mtu 1500
    inet 192.168.0.21 netmask 255.255.255.0 broadcast 192.168.178.255
    inet6 fe80::1e7f:5239:d350:a751 prefixlen 64 scopeid 0x20 ether a4:19:32:c1:1c:23 txqueuelen 1000 (Ethernet)
    RX packets 4184 bytes 2798289 (2.7 MB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 4560 bytes 1447049 (1.4 MB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

  3. try to see if wpa supplicant is installed : sudo apt-get install wpasupplicant
  4. if you can’t see the network applet on your panel well maybe the network manager service is not started so start it and enable it with : sudo systemctl enable NetworkManager.service ; sudo
    systemctl start NetworkManager.service
  5. check the systemd-networkd-wait-online.service with systemctl status systemd-networkd-wait-online.service actuyally it gives me error even when i am connect so i guess it’s not so important like i thought but he has given me a hint to fix this shit so ..
  6. another command useful to get errors it’s this
    journalctl -xe

from here https://forums.linuxmint.com/viewtopic.php?t=171819
this is for my own use interfaces

auto wlp7s0
iface wlp7s0 inet dhcp
wireless-power off

sudo kate /etc/default/crda

REGDOMAIN=IT

Advertisements

use qemu instead of virtualbox from shell terminal linux kubuntu


http://qemu.weilnetz.de/qemu-doc.html

qemu uses img files instead of vmdk or vdi files so you need to convert

convert a virtual machine :

path_vmdk="/home/shared/debian.vmdk"
path_output_img="/home/shared/debian.vmdk"
qemu-img convert -f vmdk -O raw "$path_vmdk" "path_output_img"

bashrc functions

#USAGE :
#qemu-vmdk_img "/path/to/file"
 
qemu-vmdk_img(){
    path_vmdk="$1"
    path_img="${1%%.*}.img"
    echo "qemu-img convert -f vmdk -O raw "$path_vmdk" "$path_img""
    qemu-img convert -f vmdk -O raw "$path_vmdk" "$path_img"
 
}
 
qemu-vdi_img(){
    path_vdi="$1"
    path_img="${1%%.*}.img"
    echo "qemu-img convert -f vdi -O raw "$path_vdi" "$path_img""
    qemu-img convert -f vdi -O raw "$path_vdi" "$path_img"
 
}
 
qemu-img_vmdk(){
    path_img="$1"
    "$path_vmdk"="${1%%.*}.vmdk"
    echo "qemu-img convert -f raw -O vmdk  "$path_img" "$path_vmdk""
 
    qemu-img convert -f raw -O vmdk  "$path_img" "$path_vmdk"
 
}
 
qemu-img_vdi(){
    path_img="$1"
    path_vdi="${1%%.*}.vdi"
    echo "qemu-img convert -f raw -O vdi "$path_img" "$path_vdi""
 
    qemu-img convert -f raw -O vdi "$path_img" "$path_vdi"
 
}

in this example i used qemu-system-x86_64 for 64bit virtual machine … modify if you need…

in a single line

ram=512 ; vnc="-vnc :1" ; hdd="-hda" ; soundcard=ac97 ;keyboard="it" ; qemu-system-x86_64 -machine pc,accel=kvm -m $ram -k $keyboard -soundhw $soundcard $vnc $hdd /path/to/debian.img

multiline : (you can read better i guess 😉 )

ram="512"
vnc="-vnc :1" #enable vnc
hdd="-hda"
soundcard="ac97"
keyboard="it"
qemu-system-x86_64 -machine pc,accel=kvm -m $ram -k $keyboard -soundhw $soundcard $vnc $hdd /path/to/debian.img

sound card :

-soundhw sb16,adlib
-soundhw es1370
-soundhw ac97
-soundhw all

keyboards

ar de-ch es fo fr-ca hu ja mk no pt-br sv
da en-gb et fr fr-ch is lt nl pl ru th
de en-us fi fr-be hr it lv nl-be pt sl tr

modify resolution , terminal , for debian

/etc/default/grub
modify GRUB_GFXMODE=
save and exit
then sudo update-grub

BOOTING FROM ISO IMAGE

qemu-system-x86_64 -boot d -cdrom bridge-kde-2015.02-x86_64.iso -m 512

CREATE A DISK IMAGE WITH QEMU 3GIGABITE FOR HDA THAT IT’S PRETTY SMALL

folder="/home/shared/virtualboxes/mynew_qemu_image.img" ; qemu-img create -f qcow2 "$folder" 3G

so now run qemu with that img

qemu-system-x86_64 -m 512 -hda "/home/shared/virtualboxes/mynew_qemu_image.img" -boot d -cdrom bridge-kde-2015.02-x86_64.iso  

More information here http://superuser.com/questions/598374/how-to-change-the-resolution-of-the-bash-for-a-debian-vm

Kde Pulse microphone settings, change microphone on the fly


I was using some software that uses microphone , and i had some problems , for example on palava.tv which is a service like skype o google talk you can  speak and see your friends for free, without registration.

So i had this problem , the default microphone was the internal one so ….i tried to change it on the icon , like you can see here , and i have even reloaded the page but microphone was always the internal one.

microphonechrome

i knew that on gnome desktop you have the ability to change mic on the fly and i was searching a way to do the same on kde desktop , so i tried on system settings multimedia but it was not working at all .

so ?         SOLUTION

just install veromix and plasma script engine python  :

         sudo apt-get install plasma-scriptengine-python plasma-widget-veromix ladspa-sdk  swh-plugins 

add vermix to your panel and you will be able to change microphone on the fly , i will use palava.tv to show this feature .

so go here with chrome or chromium www.palava.tv/123testkdemic   now it will ask to allow or deny just use allow button , if you check VEROMIX now you will see RECORDSTREAM with chrome \chromoium icon just click on the ARROW ON THE RIGHT and click again on MOVE TO  ==> so you can select your preferred mic!

see heremicrophonechrome1

LADSPA EFFECTS ON KDE MIXER

if you are searching to add LADSPA EFFECTS to veromix remember to install ladspa-sdk swh-plugins now you can just add an effect to your card it’s very handy to do filter a little bit your audio.