You are not logged in.

#1 2018-02-16 15:01

michaelk
Member
Registered: 2017-03-16
Posts: 81

wlan carneval

Hi,
on q4os scorpion I have a wlan problem. The usb-Wlan-stick works, for sure. If I attach it I do not get a connection. If a plugin a Lan cable I have connection immediately. But now the joke: while having the connection I start the wlan connection till I see with „ifconfig“ that the wlan-connection is there with an own IP number. Then I take out the Lan-cable - and the wlan connection stays connected.

With tail -f /var/log/messages I get this output:
Feb 16 14:18:51 koek2 NetworkManager[422]: <info>  [1518787131.7215] dhcp4 (enp0s20): state changed bound -> done
Feb 16 14:18:51 koek2 NetworkManager[422]: <info>  [1518787131.7229] dns-mgr: Removing DNS information from /sbin/resolvconf
Feb 16 14:18:51 koek2 NetworkManager[422]: <info>  [1518787131.7850] manager: NetworkManager state is now CONNECTED_LOCAL
Feb 16 14:18:51 koek2 NetworkManager[422]: <info>  [1518787131.7853] manager: NetworkManager state is now DISCONNECTED

Now the network-manager applet shows a red X, no Internet connection, and 2 cm to the right a black applet shows me: Wicd connection to inet 192.168.178.72

root@koek2:/home/michael/Schreibtisch# nmcli -a d
GERÄT            TYP       STATUS           VERBINDUNG
enp0s20          ethernet  nicht verfügbar  -- (not available - the Ethernet card)
wlx001f1fbddc72  wifi      nicht verfügbar  --(mpt available - the Wlan-card)
lo               loopback  nicht verwaltet  --    (not adminstered)
<= but the connection is there and works!)


Is carneval the wrong term? ;-)

Regards,
Michael

Last edited by michaelk (2018-02-16 16:07)

Offline

#2 2018-02-16 16:10

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: wlan carneval

From your post it would seem like you are using two different methods for controlling your internet connections, Network Manager for ethernet and Wicd for Wifi.

If this is the case then the behaviour you describe when removing the LAN cable would appear to me to be expected.

And not sure what you mean by carneval sorry...

Offline

#3 2018-02-16 16:21

michaelk
Member
Registered: 2017-03-16
Posts: 81

Re: wlan carneval

Dear Dai_trying,

carneval is a short time period in the year in some parts of the world when all the normal everydays rules do not work, so it is funny, often strange, series of events! ;-)
What do you think - shall I uninstall wicd?
This nmcli thing I detected 10' before - I would prefer to go with that. As then I should get useable error messages. Right?

Last edited by michaelk (2018-02-16 16:21)

Offline

#4 2018-02-16 16:27

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,223
Website

Re: wlan carneval

@michaelk
We can recommend you to use 'nmtui' tool, it's the most simple network manager frontend. And yes, we highly recommend you to use only one network manager at a time as suggested by Dai_trying, so you should completely uninstall 'Wicd'. If you keep two network managers running in parallel, they could conflict to each other.

Offline

#5 2018-02-16 16:28

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: wlan carneval

I usually use the TDENetworkManager unless I have a reason not to, I have in the past used the Debian Network Manager when I couldn't do something with the TDE version, but I have found the TDE one has done everything I have needed in Scorpion.
You don't have to use the nmcli command to manage your Wifi (but you can if you prefer) as it can be done by simply clicking on the network icon and adding (or changing) the network connections.

Offline

#6 2018-02-16 18:44

michaelk
Member
Registered: 2017-03-16
Posts: 81

Re: wlan carneval

Ok, I have uninstalled all wicd - but the situation is still weird. Look here please, the cable is plugged out, the Stick is attached.

root@koek2:/# ifconfig
enp0s20: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:17:31:ef:a4:fb  txqueuelen 1000  (Ethernet)
        RX packets 1349  bytes 239244 (233.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1072  bytes 83251 (81.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlx001f1fbddc72: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.178.75  netmask 255.255.255.0  broadcast 192.168.178.255
        inet6 fe80::aa32:c4c0:95ab:bafd  prefixlen 64  scopeid 0x20<link>
        ether 0a:f4:92:91:27:49  txqueuelen 1000  (Ethernet)
        RX packets 63  bytes 9513 (9.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 24  bytes 3425 (3.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

The applet (1) shows me there is no Internet connection, applet (2) shows me there is one under Wlan (wlanmb). There is something definitely wrong here, isn't it?

root@koek2:/etc/NetworkManager/system-connections# nmcli connection show
NAME                         UUID                                  TYP                                                 GERÄT
Home                         0ce3461c-4012-43a3-954d-58b400c53ef4  vpn                                                 --
Kabelgebundene Verbindung 1  124d78b9-1545-3b7f-90f0-afe0cb5ecc5d  802-3-ethernet   --
wlanmb                       8078a039-1ba7-4b7d-8415-1cae6be3aedf  802-11-wireless  --

But I post from this wireless connection.
(While trying to setup a VPNC connection we found out that Tde-NetworkManager cannot handle VPNC - therefore we switched to the normal NetworkManager)

Last edited by michaelk (2018-02-16 18:46)


Attachments:
png 180216.netzverbindungen.q4os.desktop.2.a.png, Size: 18.96 KiB, Downloads: 642

Offline

#7 2018-02-16 18:52

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: wlan carneval

I'm guessing a bit here, but have you got another method for connecting to wifi? maybe something in /etc/network/interfaces or /etc/network/interfaces.d/ but only a guess...
Network manager is showing a connection from wlx001f1fbddc72 but doesn't mention wlanmb, this makes me think there could be some virtual adapter or bridged connection going on...

Maybe the devs have some better advice smile

EDIT:
Just noticed you still have two network managers running, this i think is the problem, remove the gnome network manager and it should resolve it. smile

Last edited by Dai_trying (2018-02-16 18:54)

Offline

#8 2018-02-16 19:42

michaelk
Member
Registered: 2017-03-16
Posts: 81

Re: wlan carneval

Ok, I will give it a try. When I write

apt-get remove --purge network-manager-gnome

I get this answer:

Die folgenden Pakete werden ENTFERNT:
  network-manager-gnome* q4os-network-manager*
0 aktualisiert, 0 neu installiert, 2 zu entfernen und 1 nicht aktualisiert.
Nach dieser Operation werden 6.269 kB Plattenplatz freigegeben.

Remover 2 packages. Let us see. 
Being careful I had a further look: https://www.q4os.org/forum/viewtopic.php?id=1772
And I have a fresh install on a laptop, also scorpion, with the same problem. So I applied your glitch solution - worked! ;-)
But it costed a lot of time! ;-)
Not seldom with laymen on Linux. But solved, you know! Not the old style of Windozer friends: new installation! ;-)

Regards,
Michael

Last edited by michaelk (2018-02-16 19:57)

Offline

#9 2018-02-16 20:44

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: wlan carneval

You will likely need to remove the q4os-network-manager, I noticed it has the dependency of network-manager-gnome and I imagine it is what you originally installed.

Offline

#10 2018-02-16 21:58

michaelk
Member
Registered: 2017-03-16
Posts: 81

Re: wlan carneval

No, the problem is kind of solved now. If I boot the machine with the stick plugged in there is no Wlan connection possible. I start the Desktop surface with not stick plugged in, wait some seconds and plug it in. voila, works immediately. Has nothing to do with those network-manager-gnome and q4os-network-manager.

But I should mention that with q40s Orion this problem did not exit, whatever why. I am so happy with q4os for my daily work that I do not mind that much. - Ah, BTW: if I find a way to pay some money for your team without Paypal I am ready to do this. And I advice to build a safe way for other guys as well and publish it in a suitable form. My love for OpenSource does not feed your team! Compliments one cannot eat.

The remaining nasty thing is that I am able to store the settings of the konsole so that the colour scheme black on yellow ground is stored in the settings so that any new konsole opens like this. You know how to do this, by chance? ;-)

Offline

#11 2018-02-16 22:16

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,223
Website

Re: wlan carneval

michaelk wrote:

The remaining nasty thing is that I am able to store the settings of the konsole so that the colour scheme black on yellow ground is stored in the settings so that any new konsole opens like this. You know how to do this, by chance? ;-)

Right mouse click on the konsole -> Settings -> Configure konsole -> Session tab -> set 'Schema' combobox to 'Black on white' -> Ok -> Save -> Restart konsole

Works fine here.

Offline

#12 2018-02-16 22:27

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,223
Website

Re: wlan carneval

michaelk wrote:

BTW: if I find a way to pay some money for your team without Paypal I am ready to do this. And I advice to build a safe way for other guys as well and publish it in a suitable form. My love for OpenSource does not feed your team! Compliments one cannot eat.

It's possible to make a donation with a credit card, follow the link:

https://www.paypal.com/cgi-bin/webscr?c … 4Y4X4FJWKG

and on left-hand bottom check the "Don't have a PayPal account? Use your credit card or bank account (where available). Continue .." link.

Thank you smile

Offline

#13 2018-02-16 22:35

michaelk
Member
Registered: 2017-03-16
Posts: 81

Re: wlan carneval

„Right mouse click on the konsole -> Settings -> Configure konsole -> Session tab -> set 'Schema' combobox to 'Black on white' -> Ok -> Save -> Restart konsole“
Yes. but from reasons unknown to me it does not work. The konsole opens always with white on black background. Arrgh... is there any configfile for it? That I could manually change?

The money: thanks, tomorrow I will have a look.

Thanks for the cooperation! Nice team, damned quick response! Should be mentioned.

Offline

#14 2018-02-16 22:39

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,223
Website

Re: wlan carneval

michaelk wrote:

...but from reasons unknown to me it does not work. The konsole opens always with white on black background. Arrgh... is there any configfile for it? That I could manually change?

You may also need to select session type, so try the updated instructions:
Right mouse click on the konsole -> Settings -> Configure konsole -> Session tab -> select 'Linux Console' or your session type in the 'Session' listbox -> set 'Schema' combobox to 'Green on black' -> Ok -> Save -> Restart konsole

The config file is located in '$HOME/.trinity/share/config/konsolerc'

Offline

#15 2018-02-17 09:35

michaelk
Member
Registered: 2017-03-16
Posts: 81

Re: wlan carneval

Yes. indeed, one first needs to select session type. Worked, great! ;-)

In said file it should read
"schema=BlackOnLightYellow.schema"
- now it works!

And now enjoy a nice weekend!

Regards,
Michael

Offline

Board footer

Powered by FluxBB