Siduction Forum

Siduction Forum => Software - Support => Topic started by: mithat on 2016/03/28, 20:45:15

Title: [solved]wifi goes down in init 3
Post by: mithat on 2016/03/28, 20:45:15
When I # init 3 for dist-upgrades, my wifi goes down. I've tried various things with nmcli and nmtui to bring it back up, but no luck. Is this a common problem and if so is there an easy fix?

This is on a fresh install using paintitblack Xfce, which comes with NetworkManager.
Title: Re: wifi goes down in init 3
Post by: towo on 2016/03/28, 21:31:10
You don't need changing runlevel for a dist-upügrade.
You can easy stop your $Dm and then do what ever you want.
Title: Re: wifi goes down in init 3
Post by: musca on 2016/03/28, 21:44:05
Hello mithat,

instead of "init 3" you can do:
systemctl stop display-manager.service

Another possibility is dist-upgrading in X11, most team members do it this way since a long time.
You should avoid restarting the systemd-logind or dbus-service.

greetings
musca
Title: Re: wifi goes down in init 3
Post by: mithat on 2016/03/29, 05:15:51
Thanks. Two follow up questions:

1. Assuming I have performed systemctl stop display-manager.service should I then systemctl start display-manager.service && exit or init 5 && exit?

2. Should the Siduction Manual be updated to reflect this change?
Title: Re: wifi goes down in init 3
Post by: piper on 2016/03/29, 10:01:50
We will use sddm as an example
================================

ctrl+alt+del

login as root

systemctl stop sddm

apt update && apt dist-upgrade

systemctl start sddm


If a kernel or graphics blob has been installed or updated you can do

systemctl reboot
Title: Re: wifi goes down in init 3
Post by: absolut on 2016/03/29, 10:39:06
depends on  what has been upgraded... e.g. if there was a new kernel installed, a reboot might also make sense.
Title: Re: wifi goes down in init 3
Post by: piper on 2016/03/29, 10:41:18
Quote from: absolutdepends on  what has been upgraded... e.g. if there was a new kernel installed, a reboot might also make sense.
That is true, I just look at that as a "no-brainer", but, something that should have been posted, thank you.
Title: Re: wifi goes down in init 3
Post by: devil on 2016/03/29, 11:00:00
mithat,
to answer your 2nd question:
the siduction manual will be updated at some not too far point in time. Right now under the hood it is more less a construction site.


Dear Users, that being said: either please bear with us at this point or step up and volunteer to get the manual back in shape.


greetz
devil
Title: Re: wifi goes down in init 3
Post by: mithat on 2016/03/31, 23:06:46
ctrl+alt+F1
# login as root #
systemctl stop display-manager.service
apt-get update
apt-get dist-upgrade
systemctl start display-manager.service

totally worked for me.

Is there a thread regarding work on the manual? I'm willing to help with it if I stick with this distro.
Title: Re: wifi goes down in init 3
Post by: absolut on 2016/03/31, 23:55:04
just a side note... if you are not eager typing the commands for stopping and starting the displays server every time, feel free to define short nice aliases (e.g. in /root/.bashrc file)

e.g., you could try those (self-explanatory) aliases.
obviously, make sure that you do not define aliases that have the same name as existing commands in /usr/bin or /usr/sbin


alias updd='apt update && apt full-upgrade -d'
alias stop_dm='systemctl stop display-manager.service'
alias start_dm='systemctl start display-manager.service'
Title: Re: wifi goes down in init 3
Post by: mithat on 2016/04/01, 07:13:59
Quote from: absolut on 2016/03/31, 23:55:04
just a side note... if you are not eager typing the commands for stopping and starting the displays server every time, feel free to define short nice aliases (e.g. in /root/.bashrc file)

For my debian testing and aptosid systems, I wrote a script to encapsulate the whole process and dropped it into /usr/local/sbin.