[solved]wifi goes down in init 3

Started by mithat, 2016/03/28, 20:45:15

Previous topic - Next topic

mithat

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.

towo

You don't need changing runlevel for a dist-upügrade.
You can easy stop your $Dm and then do what ever you want.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

musca

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
,,Es irrt der Mensch, solang er strebt."  (Goethe, Faust)

mithat

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?

piper

#4
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
I have a Lucky Rabbit:    "Svoot" ..... (It's Swedish)

I am MAGA

absolut

depends on  what has been upgraded... e.g. if there was a new kernel installed, a reboot might also make sense.

piper

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.
I have a Lucky Rabbit:    "Svoot" ..... (It's Swedish)

I am MAGA

devil

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

mithat

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.

absolut

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'

mithat

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.