SOLVEDNo WLAN connection Debian Buster LXQT, but LXDE OK

New to Debian (Or Linux in general)? Ask your questions here!

SOLVEDNo WLAN connection Debian Buster LXQT, but LXDE OK

Postby debcub » 2020-06-26 07:47

Hi,
I am not a complete beginner - having some exoerience with Debian Gnome and Debian Buster LxDE - but with the following WLAN problem I am:

After a fresh install of Debian Buster LxQt I cannot get an internet connection, contrary to LxDe on the same machine (notebook). I find the, for me, strange app "connman" in the "Internet" menu, I can produce it as a system tray icon, but when I open the context menu via right-mouse-klick on the connman icon, and chooose "WiFi connections" there is nothing to chose, empty :( Please help!

Details
********
I have multiboot (Debian 10 gnome, Lubuntu 18.04 [LxDe], Ubuntu 18.04 Gnome, and Windows 10), and when I install Debian Buster LxDe (the same way I do with Debian Buster LxQt) there is not problem at all with WiFi (WLAN, because I cannot use internat cable right now).
This is how I install, two different methods:

*** 1 ***
Using the minmal ISO debian-10.4.0-amd64-netinst.iso as described in https://wiki.debian.org/LXQt and marked as in https://upload.wikimedia.org/wikipedia/commons/thumb/a/ad/Debian-Installer_10_Tasksel.svg/800px-Debian-Installer_10_Tasksel.svg.png

*** 2 ***
The other method, also without success. installing only the minimal ISO. After installation, establishing WiFi (it might not be correct, but I am a beginner in this, anyway it was the only method I found that worked): worked):
In
Code: Select all
/etc/network/interfaces
added:

Code: Select all
# my wifi device
allow-hotplug wlp2s0
iface wlp2s0 inet dhcp
   wpa-ssid ESSID
   wpa-psk PASSWORD


Restart the computer, then activated WiFi like this:

Code: Select all
# ifup wlp2s0
# iw wlp2s0 link
# ip a


And now:
# apt install task-lxqt-desktop

Reboot, of course, but same WiFi failure as with the method above.

It works so well with LxDe! What could be wrong with the LxQt version?

Thanks, debcub
Last edited by debcub on 2020-07-08 14:06, edited 1 time in total.
debcub
 
Posts: 34
Joined: 2017-01-18 16:12

Re: No WLAN connection Debian Buster LXQT, but LXDE OK. Why?

Postby arochester » 2020-06-26 10:48

When you run the command
Code: Select all
ip a
what is the output?
arochester
 
Posts: 1687
Joined: 2010-12-07 19:55

Re: No WLAN connection Debian Buster LXQT, but LXDE OK. Why?

Postby debcub » 2020-06-26 11:48

Thanks:

Code: Select all
~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    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: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,DYNAMIC,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 50:b7:c3:7f:73:40 brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 20:16:d8:43:47:9a brd ff:ff:ff:ff:ff:ff
    inet 169.254.7.174/16 brd 169.254.255.255 scope link wlp2s0:avahi
       valid_lft forever preferred_lft forever
    inet6 fe80::2216:d8ff:fe43:479a/64 scope link
       valid_lft forever preferred_lft forever
~$
debcub
 
Posts: 34
Joined: 2017-01-18 16:12

Re: No WLAN connection Debian Buster LXQT, but LXDE OK. Why?

Postby arochester » 2020-06-26 12:14

Does this not show that your Ethernet is down and your Wi-Fi is up?

Code: Select all
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,DYNAMIC,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000


Code: Select all
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000


What output do you get from (AS ROOT)
Code: Select all
 iwlist wlp2s0 scan | grep -i ssid
?
arochester
 
Posts: 1687
Joined: 2010-12-07 19:55

Re: No WLAN connection Debian Buster LXQT, but LXDE OK. Why?

Postby debcub » 2020-06-26 12:35

Code: Select all
root@debian:~# iwlist wlp2s0 scan | grep -i ssid
                    ESSID:"FRITZ!Box 6360 Cable"
                    ESSID:"UPCE3143C9Ghz2,4"
                    ESSID:"SLEM55HP39"
                    ESSID:"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
                    ESSID:"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
                    ESSID:"Vodafone Hotspot"
                    ESSID:"UPC9433BB3"
                    ESSID:"fritzy"
                    ESSID:"Telekom_FON"
                    ESSID:"Vodafone Hotspot"
                    ESSID:"WLAN-ES9WA4"
                    ESSID:"SLEM55HP39"
                    ESSID:"Vodafone Hotspot"
                    ESSID:"FRITZ!Box 7490"
root@debian:~#

Sorry it has been "ages" since I had been using WIFI command lines; my present understanding about it is accordingly.
debcub
 
Posts: 34
Joined: 2017-01-18 16:12

Re: No WLAN connection Debian Buster LXQT, but LXDE OK. Why?

Postby debcub » 2020-06-26 14:44

Omitting something brought something promising up! Maybe this helps?

In the file /etc/network/interfaces I omitted the #my wifi device part:

Code: Select all
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback


Then rebooted, and, lo and behold, ALL contex menus can be reached via the connman icon, e.g. "WiFi connections" opens a large "Agent Input" menu, see attachment, starting with "Passphrase" and ending with "WPS Pin". The latter seems wrong, because I have WPA.
The "Conman System Tray" Tab "Wireless" looks promising now, see attachment, because I can see all SSIDs around me, including the one I always use, including their signal strength. However, I have no experience with this Connman and am helpless in using it! Can you help please?

P.S. Sorry, I was not allowed to add attachments :(
debcub
 
Posts: 34
Joined: 2017-01-18 16:12

Re: No WLAN connection Debian Buster LXQT, but LXDE OK. Why?

Postby debcub » 2020-06-26 15:59

SOLVED
I used command lines taken from https://wiki.archlinux.org/index.php/ConnMan
It worked beautifully, but to be honest, connecting with Debian Buster LXDE is much, much simpler!
debcub
 
Posts: 34
Joined: 2017-01-18 16:12

Re: No WLAN connection Debian Buster LXQT, but LXDE OK. Why?

Postby arochester » 2020-06-26 16:07

I use LXQt.

I like Ceni. So simple. https://packages.debian.org/buster/ceni
arochester
 
Posts: 1687
Joined: 2010-12-07 19:55

Re: No WLAN connection Debian Buster LXQT, but LXDE OK. Why?

Postby debcub » 2020-06-26 17:15

Hmm. I looked up this http://manual.aptosid.com/en/inet-ceni-en.htm and find it rather complicated, seems to be a lot of filling out forms? I like the ease of getting an internet connection with Buster LXDE, Buster Gnome or the (L)Ubuntu versions. Did I get something wrong?
debcub
 
Posts: 34
Joined: 2017-01-18 16:12

Re: No WLAN connection Debian Buster LXQT, but LXDE OK. Why?

Postby arochester » 2020-06-26 17:57

The only things you need to add are Network ESSID and Preshared Key --- shown in graphic #3
arochester
 
Posts: 1687
Joined: 2010-12-07 19:55

Re: No WLAN connection Debian Buster LXQT, but LXDE OK. Why?

Postby debcub » 2020-06-26 18:04

Will I have to deinstall connman first to install ceni to give it a try?

EDIT: Sometimes I rely on mobile broadband (internet usb stick). I could not find anything with connman and MB. So I keept connman for the time being; have to find out whether connman suports mobile broadband.
debcub
 
Posts: 34
Joined: 2017-01-18 16:12

Re: No WLAN connection Debian Buster LXQT, but LXDE OK. Why?

Postby debcub » 2020-06-26 19:14

No worries, just removed connman and installed my good old network-manager-gnome; case closed.
debcub
 
Posts: 34
Joined: 2017-01-18 16:12

SOLVEDNo WLAN connection Debian Buster LXQT, but LXDE OK

Postby debcub » 2020-07-08 14:05

debcub wrote:...no experience with this Connman and am helpless in using it! Can you help please?

Found it:
*** 1 ***
Minimal install with "Debian desktop envirinment"+"LXQT"+"Web server"+"Essential system utilities"
*** 2 ***
When finished reboot, then reboot again (don't aks me why)
*** 3 ***
menu > Internet > Connman UI, and establish internet connection to WiFi
*** 4 ****
Put cmst in Autostart
*** 5 ***
menu > Internet > Connman UI, make sure that in Preferences menu "minimal view" is checked

Fine :)
debcub
 
Posts: 34
Joined: 2017-01-18 16:12


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable