Problem connecting to my wifi after updating

Dear all,
I have updated to the latest opensuse version. I am having minor problems connecting to my wifi router (I could do before, any windows user can connect to and any cell phone).

Everytime I log in to my system
-I get three times a prompt for password ( I wish it could save it once and do not ask me again)
-Once connected I have no internet. The problem is because
-my wifi card gets not an ip address automatically (remember that on windows systems and cell phones thinks work out of the box)
-my /etc/resolv.conf does not get a new line about by dns server

I can fix it by doing the following
ifconfing wlan0 a correct ip addres
edit /etc/resolv.conf and adding the ip address of my router

After that part I have internet
It looks like that the kde tool fails to edit “files” as needed.
Any help would be appreciated
Alex

This won’t be KDE (desktop) related - it is down to your current network configuration. From your description, it’s not clear if you’re using ifup/wicked, or network manager. Which openSUSE version are you using? The only thing that is clear is that you need to be using DHCP rather than assigning a static IP address (then it will be ‘automatic’ as Windows).

Hi,
I am using the latest opensuse. As I said everything was working out of the box but after the upgrade thinks look “different”
How I should approach the issue so:
-I can connect automatically at my home’s wifi
-DHCP and DNS server are set each time based on the information passed by the wifi.

I would like to thank you for the reply
Regards
Alex

Well, actually this (at least some aspects) can be desktop specific when NetworkManager is in use. AFAIK this is about KDE right?
Make sure that you have kwallet enabled, KDE’s networkmanagement uses kwallet to save the passphrase.
If you don’t want to enter a password for kwallet when logging in, set an empty one with kwalletmanager/systemsettings.
Or configure your connection as “system connection” (enable “Allow other users to connect” in the connection settings, and enter the passphrase on the “Wireless security” tab). The passphrase is stored system-wide then, not in kwallet.

Make sure that “Connect Automatically” is enabled in the connection settings, and “Method” should be “Automatic” on the IPv4 tab (and/or on the IPv6 tab as well).

If you do not use NetworkManager, you have to configure this in YaST. But as you are getting 3 password prompts during login, I suppose you are using NM.

Regarding the resolv.conf problem, if this is modified (by you or any program) it is not touched by the system any more.
Run “sudo netconfig -f update” to regenerate it according to the settings, then it should get updated automatically too according to the information passed by your router.

thanks for the replies!
can you please give me some command lines _(gui currently is not working) to connect my wlan0 card to my home routers?
I could not find a way to do that through yast.
Regards
Alex

Well, are you using NetworkManager now or Wicked?
YaST should tell you in “Global Options”, where you can also switch between the two. And it should warn you that it cannot modify the settings if you are using NetworkManager.

If it’s Wicked you can/have to configure it in YaST as mentioned, select your wireless card and choose “Edit”. But this might not work with wireless, especially if your system is not fully up to date.

For NetworkManager you need a frontend. “nmtui” is a text-based one which should be installed by default.

PS: You don’t get a GUI because your broken nvidia installation that is handled in a different thread, right?
And you probably cannot fix it without an Internet connection.
Doesn’t booting to “Recovery Mode” (2nd entry in “Advanced Options” in the boot menu) let you login to KDE?

wait a sec! (btw thanks for the answer :slight_smile: )
I launch from console (ctrl+alt+f2) the yast2 in blue mode :stuck_out_tongue:
In the network settings I can see my two interfances ethernet and wifi but I can not find any “manage” mode. I can configure static things like the 90s but that is pretty much.

Where are the options about managing things
Regards
Alex

You mean DHCP, i.e. getting an IP address and other settings from the router?
That should actually be the default, maybe you disabled it at some point? (would explain why you have problems connecting of course… :wink: )
the option is there when selecting “Edit” right at the top (on the Address “tab”). Enable “Dynamic Address”:
http://wstaw.org/m/2015/05/07/yast_lan.png
Choose “Next” at the bottom to get to the wireless settings, where “Managed” should be the default too if that’s what you mean.
http://wstaw.org/m/2015/05/07/yast_wlan.png

Or switch to NetworkManager (in Global Options->Network Setup Method), and use nmtui to configure your wireless connection.