Your ifconfig shows that the IP address/Netmask you want are used.
The ping to what you say is your router does not work. And then everything further (Internet) is not reachable. Are you sure that 192.168.0.1 is the correct IP address and that that router is functioning and that the cable connection is OK?
You do not realy need to mention the device in the default router configuration, but it is harmless as long as it is correct. You can see what YaST made out of your routing config with:
Hi, the gateway and the dns are both the same 192.168.0.1. It is working since I have my other computer connected to this router (lan) too (using the same config).
I post now some screenshots of my Yast-config (network, host, firewall). There must be something I am missing. I hope it´s easier for you to help me.
I already tried to connect it to my other router router (wan) using “Network Manager” and it worked. But I need to connect Opensuse to the other router (lan) since this router is providing my lan connections. I want to understand how this is done in Opensuse and what files do manage the basic network config. I read the manual again but don´t see the actual problem.
Using the same config?
Including the IP-Address?
That cannot work. Each computer must have a different IP-Address.
Why don’t you use DHCP? Most routers should support that out of the box.
Your computers would get all necessary configuration from the router then.
I post now some screenshots of my Yast-config (network, host, firewall). There must be something I am missing. I hope it´s easier for you to help me.
You have entered your computer as DNS server, this cannot work. You need the router there.
And you probably should assign your interface to the internal firewall zone. (no zone assigned means external by default)
But both of that shouldn’t prevent you from pinging the router.
The rest looks ok, although you could try to explicitely specify the Network Submask as “255.255.255.0”.
I already tried to connect it to my other router router (wan) using “Network Manager” and it worked. But I need to connect Opensuse to the other router (lan) since this router is providing my lan connections. I want to understand how this is done in Opensuse and what files do manage the basic network config. I read the manual again but don´t see the actual problem.
You can switch to NetworkManager in openSUSE as well (“Global Options” in the network settings in YaST), if you feel more familiar with that.
But it should work in both cases.
The actual config is stored in /etc/sysconfig/network/ifcfg-interfacename.
Hi, I know that. Each of my computers does have a different static IP.
I just don´t use DCHP. And if I can make it work in windows I want to do it in linux too.
I could not check it today, will do it tomorrow.
I did explicitely define a subnet mask mask as you propose, but after hitting “next” this is what YAST saves.
Of course that is possible. e.g. using YaST > Network Devices > Network Settings.
Check all the tabs ther and configure, That should work.
As I said earlier, you can see in files in /etc/sysconfig/network/ what YaST created out of what you did. The configuration of a NIC is there in ifcfg-<name-of-the-device>. The routes (most often only the default route) are in routes. Apart from that the DNS server configuration is in /etc/resolv.conf.
So please post the contents of those file here… Then maybe we can say anything useful.