View previous topic :: View next topic |
Author |
Message |
heikkikk Apprentice
Joined: 05 Feb 2008 Posts: 210
|
Posted: Wed Oct 02, 2019 5:53 pm Post subject: [solved] network semi-ok, no dns |
|
|
Hi.
I'm installing Gentoo and I'm trying to get wpa_supplicant working.
It will not start automatically even if i put it there:
Code: | # rc-update add wpa_supplicant default
* rc-update: wpa_supplicant already installed in runlevel `default'; skipping
|
after reboot the wpa_supplicant isn't running
and if i do:
Code: | screen wpa_supplicant -Dnl80211 -iwlo1 -C/var/run/wpa_supplicant/ -c/etc/wpa_supplicant/wpa_supplicant.conf -dd
| it will still not work.
but after
my computer has an ip address, but no proper dns settings.
i can ping 8.8.8.8 for example, but not google.com or any other by name.
Any ideas on how to proceed, where to dig information??
I have:
Code: | USE="alsa mount ap X gtk gnome -gpm dvd systemd user-session"
|
Code: | [22] default/linux/amd64/17.1/desktop/gnome/systemd (stable) *
|
/etc/wpa_supplicant/wpa_supplicant.conf:
Code: | ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
ctrl_interface=/var/run/wpa_supplicant/
update_config=1
network={
ssid="networkname :)"
psk="password hidden"
} |
Thanks.
Last edited by heikkikk on Sat Oct 05, 2019 7:18 am; edited 1 time in total |
|
Back to top |
|
|
compinthegroove n00b
Joined: 25 Sep 2019 Posts: 27
|
Posted: Wed Oct 02, 2019 7:15 pm Post subject: |
|
|
Hi there.
You have a contradiction in the information you provided. Your first code block shows you running an rc-update command (suggesting that you're using OpenRC), but your system profile shows that you're running SystemD. Which init system are you using?
By default, Gnome uses NetworkManager to manage network settings. You can tell NetworkManager to display your settings by running the following:
Your DNS server settings will be displayed. Start your troubleshooting here.
I'm running Gnome with OpenRC, using a wireless connection, and everything is working. If I check the status of the wpa_supplicant service on my machine, it shows as being stopped. This makes sense in that NetworkManager will start this service when trying to connect to WiFi, then stop it after a connection has been made.
One more thing... whenever I encounter networking problems on a machine, one of the first things I do is jump onto another machine on the same network and see if it's also having problems. If so, the problem lies outside the client, i.e, your router, your switch, or a DNS/DHCP server running elsewhere on your network.
Hope this helps. |
|
Back to top |
|
|
heikkikk Apprentice
Joined: 05 Feb 2008 Posts: 210
|
Posted: Sat Oct 05, 2019 7:18 am Post subject: |
|
|
yes, i had to install networkmanager, now everything works fine, thanks |
|
Back to top |
|
|
compinthegroove n00b
Joined: 25 Sep 2019 Posts: 27
|
Posted: Mon Oct 07, 2019 10:47 pm Post subject: |
|
|
Glad it worked for you! |
|
Back to top |
|
|
|
|
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
|
|