Odd internet connection problems.

Hello everyone. I have recently switched from Windows to Linux, and decided to go with openSUSE. Everything went smoothly for about a week, until yesterday. A few minutes after I boot into SUSE the internet access dies. I have found a temporary solution that involves going into the YaST network options, selecting and deselecting an option, then clicking “okay”. This gives me approximately ten minutes of internet access until it once again goes down.

It does not seem to be a problem with my internet, as it is fine on both my Windows partition and laptop.

What am I doing wrong? Coming from Windows I feel a bit… Stupid. Can anyone help me fix whatever I messed up?

openSUSE version?
Wired or wireless?
Network manager or ‘Traditional ifup’ control?

Ah yes, apologies.

openSUSE 13.1 KDE

Wired connection.

Set to “Traditional ifup” control in YaST.

One initial diagnostic approach might be to watch the kernel message associated with the disconnections when they occur. Open a terminal window and run the following

sudo tail -f /var/log/messages

CTRL-C to terminate. Cut and paste when you think you have something of interest.

Quite a few error and failure messages here.

2014-02-14T06:03:12.654641+00:00 linux-r9fr network[4428]: ..failedSetting up service network  .  .  .  .  .  .  .  .  .  .  .  .  ...failed
2014-02-14T06:03:12.655774+00:00 linux-r9fr systemd[1]: network.service: main process exited, code=exited, status=7/NOTRUNNING
2014-02-14T06:03:12.656311+00:00 linux-r9fr systemd[1]: Failed to start LSB: Configure network interfaces and set up routing.
2014-02-14T06:03:12.656512+00:00 linux-r9fr systemd[1]: Unit network.service entered failed state.
2014-02-14T06:03:17.557685+00:00 linux-r9fr dhcpcd[5665]: enp3s0: exiting
2014-02-14T06:03:20.951736+00:00 linux-r9fr systemd[1]: Stopped LSB: SUSE Meta PPP Daemon.
2014-02-14T06:03:43.802849+00:00 linux-r9fr sudo: pam_unix(sudo:auth): authentication failure; logname=Blue uid=1000 euid=0 tty=/dev/pts/3 ruser=Blue rhost=  user=root
2014-02-14T06:03:50.994006+00:00 linux-r9fr sudo:     Blue : TTY=pts/3 ; PWD=/home/Blue ; USER=root ; COMMAND=/usr/bin/tail -f /var/log/messages
2014-02-14T06:03:50.994744+00:00 linux-r9fr sudo: pam_unix(sudo:session): session opened for user root by Blue(uid=0)
2014-02-14T06:03:50.997253+00:00 linux-r9fr sudo: pam_systemd(sudo:session): pam_putenv: delete non-existent entry; XDG_RUNTIME_DIR

It does appear that setting up the network has failed altogether, but I don’t know why it spontaneously stopped working after about a week of no hiccups.

I think I might have found the source of the problem. When I disable the firewall everything is smooth as butter. I also noticed that my download manager is still downloading even after I can’t access any websites. Could this be a problem with the firewall and Firefox/Midori?

EDIT: Nevermind. Firewall makes no difference. Other programs still work when my browsers throw up errors though.

On 2014-02-14 07:16, TheBlueGhost wrote:

> Quite a few error and failure messages here.
>
>
> Code:
> --------------------
> 2014-02-14T06:03:12.654641+00:00 linux-r9fr network[4428]: …failedSetting up service network . . . . . . . . . . . . …failed

> --------------------

Maybe there were more clues above that line to see why it failed.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

I think… It works now? It seems to have suddenly began working again. Networks are and always will be a mystery to me.