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

Author Topic:  [solved]wifi goes down in init 3  (Read 2462 times)

mithat

  • Guest
[solved]wifi goes down in init 3
« 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.
« Last Edit: 2016/04/07, 23:24:14 by devil »

Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.938
Re: wifi goes down in init 3
« Reply #1 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.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline musca

  • User
  • Posts: 725
  • sid, fly high!
Re: wifi goes down in init 3
« Reply #2 on: 2016/03/28, 21:44:05 »
Hello mithat,

instead of "init 3" you can do:
Code: [Select]
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

  • Guest
Re: wifi goes down in init 3
« Reply #3 on: 2016/03/29, 05:15:51 »
Thanks. Two follow up questions:

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

2. Should the Siduction Manual be updated to reflect this change?

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: wifi goes down in init 3
« Reply #4 on: 2016/03/29, 10:01:50 »
We will use sddm as an example
================================

Code: [Select]
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

Code: [Select]
systemctl reboot
« Last Edit: 2016/03/29, 11:13:32 by piper »
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline absolut

  • User
  • Posts: 455
Re: wifi goes down in init 3
« Reply #5 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.

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: wifi goes down in init 3
« Reply #6 on: 2016/03/29, 10:41:18 »
Quote from: absolut
depends 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.
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.842
Re: wifi goes down in init 3
« Reply #7 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

mithat

  • Guest
Re: wifi goes down in init 3
« Reply #8 on: 2016/03/31, 23:06:46 »
Code: [Select]
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.

Offline absolut

  • User
  • Posts: 455
Re: wifi goes down in init 3
« Reply #9 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

Code: [Select]
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

  • Guest
Re: wifi goes down in init 3
« Reply #10 on: 2016/04/01, 07:13:59 »
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.