Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot get Wifi to work after Installs or switch ttys
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
commie1337
n00b
n00b


Joined: 04 Aug 2019
Posts: 7

PostPosted: Sun Aug 04, 2019 12:30 am    Post subject: Cannot get Wifi to work after Installs or switch ttys Reply with quote

Hi, I have just recently installed Gentoo after about 3 months of using Arch. I followed the installation guide as closely as I could, and have had two "successful" installations. I say successful in quotations because I have some glaring issues that I would like assistance with.

1. Wifi does not function as anticipated. during my first installation that actually booted I installed the suggested wireless networking tools in the handbook as well as wpa_supplicant. On Arch this gave me the ability to run
Code:
wifi-menu
in a terminal and get a graphical interface to connect to wireless networks. Not only can I not find any documentation to show that this exists on Gentoo, I could not get it to work. After this I quickly realized that I would not be able to install KDE (the DE I wanted to test out with this installation) or install neofetch to show off that I had even installed Gentoo. After this I decided to reinstall Gentoo since I was unable to install my DE of choice or any other packages. After this installation I installed KDE, NetworkManager, and just about every other networking tool I could think to use. I found no success with any of them. On Arch I had originally just used the
Code:
wifi-menu
command whenever I booted, but then started to use the NetworkManager with Budgie to automatically connect on startup. From what I had found and read KDE is supposed to work comparably, but I had no success there. So now I come to you to inquire as how best to do this. wpa_gui doesn't function when I scan for networks, and I attempted to connect by editing the config file, but that also proved fruitless. I am mainly looking for a solution that preferably integrates nicely with a DE like GNOME/Budgie and NetworkManager on Arch, but I am also fine with something like the net-setup command in the live environment. Any support here would be greatly appreciated as it is vital to my usage of Gentoo.

2. I cannot switch ttys after startup unless done immediately on boot. This is an issue I had with my first Arch Linux installation, whenever I boot into a DM (SDDM in this case, though LightDM gave me the exact same problem), I am unable to switch ttys using Crtl+Alt+F(x). On Arch this problem was alleviated when I reinstalled Arch (I had tried to resize my / partition and had to just do a fresh install), I accredited it to issues with video drivers, but after attempting to install both Intel and Nvidia drivers, I still have this issue. This could also be a result of the fact I am using a DM as on Arch I currently use a very minimal DM called Ly, however, I do not believe this to be the case. The reason I believe something else is to blame is that when I was experiencing the same issue on Arch, I also could not use the
Code:
neofetch
command as it would never complete and even stopping it with Ctrl+C would leave the tty or termial utterly useless, I am also experience this with Gentoo, though it strangely works within the live environment whilst chrooted (?). I hope to find a solution to this as it is pretty pivotal to daily usage of a distribution.

Relevant information: I am using a UEFI laptop, and my kernel was compiled using genkernel as when I attempted to compile my own it failed miserably.

Specs: CPU: i7-8750H GPU: GeForce GTX 1060 Mobile/Intel UHD Graphics 630 (I would prefer not to use my 1060 for Gentoo and stick to integrated graphics), 16GB DDR4 RAM, and a 512GB NVMe SSD.

All help is appreciated, and thank you for reading this mess.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1066

PostPosted: Sun Aug 04, 2019 6:38 am    Post subject: Reply with quote

Hi there commie1337. I think you point out some very interesting points. Some things to consider when making the switch over from Arch to Gentoo is that not all utility style commands are going to work the same in both distributions, so while wifi-menu may be a package that Arch distributes there may or may not be a similar package within Gentoo, but that doesn't mean you can't get things to work. Are you familiar with the difference between managed vs. unmanaged wireless connection modes? From your description if you stopped after installing wpa_supplicant then you are pretty much at an unmanaged mode, and that would explain why there is no interface (graphical or text based) to configure the wireless network...in order to make that happen with easy you will need to choose a managed network application to provide this service. I think the same ones that are available on Arch should be available to you on Gentoo. But in case you need a recommendation for something that pretty much just works regardless of the DE that it has to go with, I can only speak from experience by saying try out Network Manager...the program you will run that is similar to what you suggested is then nmtui to get you started, but first you will need to find a way to install hopefully you have another way of connecting to internet on the machine.

Problem two sounds like it could be something wrong with your X11 configuration. But that is a very messy road to go down if you aren't prepared to do the testing of configurations. It also may be that switching tty is somehow a problem with or without your desktop environment. I would say first thing to test is that (no graphical interfaces, simply text based terminals only), which means changing your system startup to no graphics. This can be done several ways, either through the init system or else using a kernel argument from the bootloader when booting. Either way if you can disable all graphics on the system so you are back to the point of initial installation with no login manager or desktop environment, and then provide some further detail about whether or not the problem of switching between them is still occurring even in that case. If so, then at least we won't be further troubleshooting something that isn't actually causing any problems like graphics card or anything. By the way how many outputs for graphics does your computer have, and have you tried different ones and noticed any change there?

Best of luck, one thing is for sure you asked the right people and the right place.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43551
Location: 56N 3W

PostPosted: Sun Aug 04, 2019 10:47 am    Post subject: Reply with quote

commie1337,

Welcome to Gentoo.

It looks like you have already learned a few things about Gentoo. In summary,
1) Reinstalling will not fix anything, you just get the opportunity to make a different error.
2) Your install comprises the things that you have installed plus the 'must haves' to support that.

Its not obvious from the above but you can get from where you are to wherever you want to be without starting again.
In a few cases, starting again might be faster but its not required.
The corollary to 2) is that if you didn't install it, you don't have it

Disabling tty switching is an optional feature of Xorg.

Bringing up a wifi interface is a two stage process.
First wpa_supplicant sorts out the authentication and association, once that's done, the normal wired interface tools are run to get the network settnigs.
Naturally, it can all be automated.

To help us to help you, please put the following onto a pastebin site.
The output of dmesg
The content of /var/log/Xorg.0.log
The content of /etc/X11/xorg.conf if you have one
The output of cat /etc/X11/xorg.conf.d/*

wgetpaste is your friend.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
commie1337
n00b
n00b


Joined: 04 Aug 2019
Posts: 7

PostPosted: Mon Aug 05, 2019 6:48 am    Post subject: Reply with quote

LIsLinuxIsSogood wrote:
Hi there commie1337. I think you point out some very interesting points. Some things to consider when making the switch over from Arch to Gentoo is that not all utility style commands are going to work the same in both distributions, so while wifi-menu may be a package that Arch distributes there may or may not be a similar package within Gentoo, but that doesn't mean you can't get things to work. Are you familiar with the difference between managed vs. unmanaged wireless connection modes? From your description if you stopped after installing wpa_supplicant then you are pretty much at an unmanaged mode, and that would explain why there is no interface (graphical or text based) to configure the wireless network...in order to make that happen with easy you will need to choose a managed network application to provide this service. I think the same ones that are available on Arch should be available to you on Gentoo. But in case you need a recommendation for something that pretty much just works regardless of the DE that it has to go with, I can only speak from experience by saying try out Network Manager...the program you will run that is similar to what you suggested is then nmtui to get you started, but first you will need to find a way to install hopefully you have another way of connecting to internet on the machine.

Problem two sounds like it could be something wrong with your X11 configuration. But that is a very messy road to go down if you aren't prepared to do the testing of configurations. It also may be that switching tty is somehow a problem with or without your desktop environment. I would say first thing to test is that (no graphical interfaces, simply text based terminals only), which means changing your system startup to no graphics. This can be done several ways, either through the init system or else using a kernel argument from the bootloader when booting. Either way if you can disable all graphics on the system so you are back to the point of initial installation with no login manager or desktop environment, and then provide some further detail about whether or not the problem of switching between them is still occurring even in that case. If so, then at least we won't be further troubleshooting something that isn't actually causing any problems like graphics card or anything. By the way how many outputs for graphics does your computer have, and have you tried different ones and noticed any change there?

Best of luck, one thing is for sure you asked the right people and the right place.


Sorry for the very late replay, I've been staying at a friend's house, so excuse the awful formatting as well. Thank your for your timely response, and nmtui as worked beautifully and I can finally use wifi. Thank you so much for the help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum