Wireless problem

Help with issues regarding installation of Debian

Wireless problem

Postby FredZ » 2018-02-08 21:03

Hello All

Been an avid user for years, but still a pleb.

I recently decided to put Stretch on a dissused laptop to test as a server.

The install completed via the wireless connection. but after reboot no wireless.

So I did an install with gnome and wireless is working.

As I don't require a GUI I went back to a headless install, and blow me down, no wireless after reboot.

I've tried for 2 days to get it working and have given up on it completely. I simply don't have the knowledge. And frankly I can't be bothered. It shouldn't be that hard.

But I thought I would express my situation. And ask this question.

Why does wireless work when GUI installed but not on a headless install?

Regards

Fred
FredZ
 
Posts: 5
Joined: 2018-02-08 20:53

Re: Wireless problem

Postby Head_on_a_Stick » 2018-02-08 21:16

FredZ wrote:no wireless after reboot

What exactly does "no wireless" mean?

Please post the output of
Code: Select all
lspci -knn | grep -iA2 net
ip link
ip route

A comparison with the GNOME desktop may prove illuminating.

FredZ wrote:frankly I can't be bothered

That being the case, why should we?
"Il semble que la perfection soit atteinte non quand il n'y a plus rien à ajouter, mais quand il n'y a plus rien à retrancher."
— Antoine de Saint Exupéry, Terre des Hommes (1939).
User avatar
Head_on_a_Stick
 
Posts: 7562
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Wireless problem

Postby stevepusser » 2018-02-09 02:06

If you were counting on network-manager-gnome for your connection with GNOME, I believe it won't work from the terminal-only environment. Some other possibilities are the nm-cli interface, wicd-cli or wicd-curses, or ceni from third-party repos. Ceni is really lightweight, too, and works great in my experience:

https://repology.org/metapackage/ceni/versions

Huh--repology doesn't include the Siduction repos? And where's antiX's stretch version..oh yeah: http://antix.daveserver.info/stretch/pool/main/c/ceni/
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.2, Pale Moon 27.9.3, wine-staging 3.10, QuiteRSS 0.18.11, Linux kernel 4.17, Krita 4.0.4
User avatar
stevepusser
 
Posts: 9637
Joined: 2009-10-06 05:53

Re: Wireless problem

Postby FredZ » 2018-02-10 17:29

Hello

My comparison was headless versus Gnome for the wireless. Wireless functions within Gnome after install. Wireless does not function from headless after install. This I cannot understand. One would expect that if you hace setup the install via wireless then it would functionfrom after install in both configurations.

I can see the wireless adaptor "lspci"

I am using this information to configure the wireless after a headless install. https://wiki.debian.org/WiFi/HowToUse, WPA-PSK and WPA2-PSK

As I don't know any other way to test the wireless after configuration I am simply running su, then apt-get update.

If you want to know specific information you will need to be very clear about what I should be doing (commands to run) and what information you are requiring me to post.

The only reason I am wanting to use the wireless as opossed to the Ethernet connection is that the laptop screen is bright and if I shut it it suspends the machine and nothing runs. And I don't have an Ethernet connection in my garage. All this just so that I can have my media server on a better machine (its currently running on a PI3 and it isn't powerfull enough to transcode on the fly).

Regards

Fred
FredZ
 
Posts: 5
Joined: 2018-02-08 20:53

Re: Wireless problem

Postby Wheelerof4te » 2018-02-10 17:47

This is because when you install GNOME GUI, it installs networ-manager-gnome. Network manager does not use interfaces listed in
Code: Select all
/etc/network/interfaces

by default. You have to enable those. See
https://wiki.debian.org/NetworkManager# ... _Unmanaged

In CLI, Debian uses ifupdown for it's network management, which is defined in /etc/network/interfaces file. I had my fair share of headaches with this, too :D
User avatar
Wheelerof4te
 
Posts: 999
Joined: 2015-08-30 20:14

Re: Wireless problem

Postby FredZ » 2018-02-10 18:43

Hello

I may have stumbled across something by accident.

I thought I would download everything (netinst.img) and start over. But when I attempted this the install reported that I needed non-freee firmware. So I downloaded firmware-9.3.0-amd64-netinst and I am performing my install from that.

Given that I have ti use this image for my install, is there something specific that I should be doing after the headless install to ensure I can get wireless to function?

Regards

Fred
FredZ
 
Posts: 5
Joined: 2018-02-08 20:53

Re: Wireless problem

Postby stevepusser » 2018-02-10 18:45

As stated above, use a command-line connection manager.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.2, Pale Moon 27.9.3, wine-staging 3.10, QuiteRSS 0.18.11, Linux kernel 4.17, Krita 4.0.4
User avatar
stevepusser
 
Posts: 9637
Joined: 2009-10-06 05:53

Re: Wireless problem

Postby FredZ » 2018-02-10 19:11

stevepusser wrote:As stated above, use a command-line connection manager.


I've cairly missed something here. I've read the post and I don't see what you are refering to.

Regards

Fred
FredZ
 
Posts: 5
Joined: 2018-02-08 20:53

Re: Wireless problem

Postby Wheelerof4te » 2018-02-10 19:43

:roll:
Configure your network interfaces as detailed in that wiki page I linked you and restart the system. Command line connects to the Internet by using ifupdown, it has no dedicated network manager. That's why you get internet in GNOME, but not in headless.
EDIT: Before stevepusser chews me out for saying CLi has no dedicated network managers, it has. But it's not installed by default. Anyway, you have everything you need on that wiki page to get your network working in both GUI and headless.
User avatar
Wheelerof4te
 
Posts: 999
Joined: 2015-08-30 20:14

Re: Wireless problem

Postby FredZ » 2018-02-10 20:34

I have managed to resolve the issue by simply installing with a GUI. Something that I shouldn't have had to do, but nothing I did worked.

I feel that something should be done with the installer. If I can configure the wireless to function during install then why can't this information be written to the appropiate files during the install so that it functions after reboot. Something fior the developers to concider.

Regards

Fred
FredZ
 
Posts: 5
Joined: 2018-02-08 20:53

Re: Wireless problem

Postby bw123 » 2018-02-10 21:22

FredZ wrote:I have managed to resolve the issue by simply installing with a GUI. Something that I shouldn't have had to do, but nothing I did worked.

I feel that something should be done with the installer. If I can configure the wireless to function during install then why can't this information be written to the appropiate files during the install so that it functions after reboot. Something fior the developers to concider.

Regards

Fred


I disagree. The installer did what you told it to do. It installed without a default network gui, while providing at least one method for you to set it up yourself after first boot.

I understand the need to have things done for you, but this shouldn't be forced on everyone. It's about choices, we don;t need default setups for everything. Especially wifi, which has several methods, and also has security considerations.
User avatar
bw123
 
Posts: 3079
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Wireless problem

Postby stevepusser » 2018-02-11 00:21

Please read my first post for several connection manager suggestions that don't need a GUI.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.2, Pale Moon 27.9.3, wine-staging 3.10, QuiteRSS 0.18.11, Linux kernel 4.17, Krita 4.0.4
User avatar
stevepusser
 
Posts: 9637
Joined: 2009-10-06 05:53


Return to Installation

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable