Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  network-manager  (Read 49442 times)

Offline sunrat

  • User
  • Posts: 406
network-manager
« on: 2014/01/11, 06:15:15 »
Not sure if this is a bug or just my faulty methodology.
I have Atheros wireless, so installed firmware-atheros from a USB drive and configured network in the live session with network-manager. Then updated sidu-installer and installed.
After installation and re-entering pass key to n-m, I was online with Iceweasel. Dropped to RL3 to do dist-upgrade and no connection. I reconfigured with Ceni and purged n-m (don't need it, static desktop) and installed Knemo for monitoring. Connection OK now.
Is network-manager supposed to configure global network or does it just work for user space as I experienced? If I configured with Ceni first, would n-m still work?

ps. December installed 4 days ago now and running beautifully after a few personal tweaks. Best OS I have used! Thanks.

Online ayla

  • User
  • Posts: 1.744
Re: network-manager
« Reply #1 on: 2014/01/11, 08:02:57 »
Hi,

you may use nmcli if you need a network connection in runlevel 3. See
Code: [Select]
man nmcli.

You may use ceni or networkmanager, you can't use both at the same time.

To do a dist-upgrade you may download only first, then go to runlevel 3 and d-u. Following steps:

open root terminal:

Quote
apt-get upgrade update
apt-get dist-upgrade -d
init 3 # or whatever the systemd command now is...
then on runlevel 3
Code: [Select]
apt-get dist-upgrade
normally you dont need a network connection on runlevel 3 then.

Maybe related:
http://chili.siduction.org/issues/1459

greets
ayla[/code]
« Last Edit: 2014/01/11, 13:13:53 by ayla »

Offline sunrat

  • User
  • Posts: 406
Re: network-manager
« Reply #2 on: 2014/01/11, 09:20:57 »
Maybe related:
http://chili.siduction.org/issues/1459
Yes.
I am happy now anyway without network-manager but not happy without runlevel 3 networking.
Definitely a bug.
I will use the method of download then switch to RL3 to dist-upgrade for now.

Thanks ayla.
« Last Edit: 2014/01/11, 13:04:44 by sunrat »

Offline sunrat

  • User
  • Posts: 406
Re: network-manager
« Reply #3 on: 2014/01/11, 13:04:14 »
I just read your post again. The first line here should be "update" not "upgrade".
« Last Edit: 2014/01/11, 14:48:33 by sunrat »

Online ayla

  • User
  • Posts: 1.744
Re: network-manager
« Reply #4 on: 2014/01/11, 13:09:58 »
you're right of course.

Code: [Select]
apt-get update
apt-get dist-upgrade -d
init 3 # or whatever the systemd command now is..
apt-get dist-upgrade

Edited original post.

Offline sunrat

  • User
  • Posts: 406
Re: network-manager
« Reply #5 on: 2014/01/11, 14:48:07 »
 :)
Removed quote from my previous post to avoid confusion.

Offline unklarer

  • User
  • Posts: 816
Re: network-manager
« Reply #6 on: 2014/01/12, 12:23:12 »
Dieses Verhalten habe ich bei "december 2013.2 rqt" installiert
am 10.01.2014 um 22.07 Uhr auch.

Die "december 2013.2 lxde" installiert am 03.01.2014 um 10.53 Uhr hat das nicht.

Bei beiden Installationen wurde vorher

Code: [Select]
apt-get install sidu-base && sidu-installer
gemacht.
Die netzwerk Verbindung ist weg, wenn in die init 3 Umgebung
gewechselt wird. (systemctl isolate multi-user.target)

Erst nach einem Neustart ist sie wieder ok.
Im Moment helfe ich mir mit der Option -d.

Google-Translate:
This behavior I "2013.2 december rqt" installed aton 10.01.2014 at 22.07 clock also.

The "december 2013.2 lxde" installed on 03.01.2014 at 10.53 clock does not.

In both installations was previously

Code: [Select]
apt-get install sidu-base && sidu-installer
made.
The network connection is gone when in init 3 Environmentis changed. (systemctl isolate multi-user.target)

Only after a restart it is ok again.
At the moment I'm helping me with the  -d option.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: network-manager
« Reply #7 on: 2014/01/12, 13:39:52 »

The network connection is gone when in init 3 Environmentis changed. (systemctl isolate multi-user.target)


Try


Code: [Select]
systemctl stop lightdm



Quote
Only after a restart it is ok again.


Try


Code: [Select]
ifup eth0

(or wlan0, etc.)


I have also seen this issue with a KDE/KDM system.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline unklarer

  • User
  • Posts: 816
Re: network-manager
« Reply #8 on: 2014/01/12, 20:32:52 »

Hello dibl,


thanks for your tips.
It works.


Nevertheless, it is not answered, why lxde slim used and there are
no problems.
Razor uses lightdm and it does not work with the d-u.   ???

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: network-manager
« Reply #9 on: 2014/01/12, 23:38:53 »
My LXDE installation is an older one (Riders or Desperado) and slim is used on that one.  We know that LXDE and Razor QT will be merged in the future, and Razor QT has been using lightdm.  The siduction devs have indicated that lightdm is the display manager of choice for the future, as KDM is being slowly abandoned (and bloated), so the movement is towards lightdm on all non-gnome flavors, I believe.


I do not know whether the random disconnection of networking under "systemctl isolate multi-user.target" is because my siduction installations were originally with sysvinit, or not.  But I have checked the remaining processes after issuing "systemctl stop xxxdm" and there are no user or X server processes remaining -- it seems a safe way to do the d-u and I have been using it for quite a few months now with no issues. 
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline sunrat

  • User
  • Posts: 406
Re: network-manager
« Reply #10 on: 2014/01/14, 10:25:17 »
Try

Code: [Select]
systemctl stop lightdm

This seems to work well. Thanks.

MaxStone

  • Guest
Re: network-manager
« Reply #11 on: 2014/10/28, 10:28:31 »
Hi guys,

I noted a strange behavior, when I switch to "init 3" , only the eth0 go down, while wlan0 remain up.

this happens in more than 1 laptop with Razor-qt (now lxqt ).

Why?

Regards

Massimo

Offline hendrikL

  • Administrator
  • User
  • *****
  • Gravatar
  • Posts: 927
Re: network-manager
« Reply #12 on: 2014/10/28, 10:53:57 »
hi.
@MaxStone

Quote
I noted a strange behavior, when I switch to "init 3" , only the eth0 go down, while wlan0 remain up


which connection was/is up while you change to the multi-user-target (init 3)?
Is wlan0 up and eth0 down?
Is there a switch configured to automaticly switch between eth0/wlan0, aka if networkcable connected; then eth0 up; if not; eth0 down and wlan0 up?.


And why should a aktiv connection go down if someone switch to init 3?
The network should be up also in int 3!
For example, you make a dist-upgrade in init 3, and have apt-listbugs/changes enabled, if the network is down you will get an error message,
and for shure there are more scenarios where you need an online connection in int 3.


greetz hendrikL

MaxStone

  • Guest
Re: network-manager
« Reply #13 on: 2014/10/28, 12:16:21 »
Hi hendrikL,

I have perfomed more tests and I see that the behavior is this:

-if the laptop is using eth0 (no wlan0 in use), the command init 3, put down the interface eth0. 
-if the laptop is using wlan0 (no eth0), the command init 3, leave the wlan0 up and running without any problem.

I have 2 laptop and both work in this way

regards
Massimo


Offline hendrikL

  • Administrator
  • User
  • *****
  • Gravatar
  • Posts: 927
Re: network-manager
« Reply #14 on: 2014/10/29, 11:09:39 »
mh,
at the moment i have no time to test this.

Do you use systemd as init system?
If you dont know, or wait, provide us the output of
Code: [Select]
inxi -xI
If you use systemd, you can search for ifup@eth0.service and ifup@wlan0.service.
First in grafical.target (init5) then after switching to multi-user.target (init 3), then after ifup eth0 (in init 3).

good luck

edit: do you use NM for to connect to the world?
Or, how did you set up your network?

edit part 2:
First: an ifup@eth0.service does not exist on my system, so i gues also not on yours!
An ifup@wlan0.service exist, this could be a left over.
When i had the same trouble with wlan0 i wrote myself an ifup@wlan0.service, because i was tiered about
to type every time ifup wlan0 when switching to rl 3.

Well, ok,  i have tested it, wlan0 down, eth0 up, switched to multi-user.target (init 3), eth0 still working.

So we need more informations from you.
We lost our world wide funtional crystal ball, so i/we can't debug your problem.


btw. i do not use NM.
« Last Edit: 2014/10/29, 13:26:43 by hendrikL »