I am struggling to set up a static IP on Wicked Service, which is required in the steps to complete this guide (as it provides ifup).
When I change to Wicked from NetworkManager and set a dynamic IP address, the wifi connects and I am able to access the internet. This is not the case when I set a static IP. I chose the same IP as the output from:
nmcli dev show wlo1
and used that subnet mask (all from IPv4). Output from
sudo ifup wlo1
returns a status of up for both dynamic and static IP addresses.
Where could I be going wrong? Also, the network and sharing icon is no longer visible on the KDE taskbar after the switch to Wicked.
Please when do allways (of course whenever possible) what you computer shows. So when youi say you do
sudi ifup wlo1
then we do not want to see your conclusion, but we want to see the unabridged and unaltered output. Including the prompt/command line, the output and the next prompt line.
Then when you are using wicked, you are not using NetworkManager, thus you can not expect that NM shows the user useful (if any ) icons on his/her desktop.
Next is a standard way of attacking network problems (all to be done as root of couse).
You check from bottom to top:
Is the NIC up with an IP address?
ip addr
Can you connect to another system on your LAN?
ping -c1 <IP-address of your router>
(I hope you know that address)
Do you have a default route to the Internet?
ip route
and/or
ip -6 route
Can you connect to a system on the internet?
ping -c1 195.135.221.161
and/or
ping -c1 2001:67c:2178:8::161
Can you resolve host/domain names?
ping -c1 forums.opensuse.org
Take care. As soon a one step fails, that must be resolved first. It is useless to go to the next step before it is resolved.
So start with 1. and do not hesitate to post the output here to get help on the interpretation.
I may add that when you say you used the same IP address as was used when using NetworkManager, that might not be a good idea. When you used (with NM) HDCP, you got the IP address from the pool of the DHCP server (probably your router). You can not use that address as a fixed address, because that may clash when your router gives that address to another system in your LAN. You must choose a fixed P address inside the subnet, but outside the pool of the DHCP server.
Take care. As soon a one step fails, that must be resolved first. It is useless to go to the next step before it is resolved.
So at least half of what you post is only confusing!
Then, I asked to include the prompt/command line and the new prompt line together with the output. No again we have bits and pieces without context.
So not:
THis is the output youi asked at number 6
some output
==============
but
boven:~ # ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether ec:8e:b5:da:0d:0d brd ff:ff:ff:ff:ff:ff
inet 10.0.0.154/24 brd 10.0.0.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 2001:980:91a0:1:ee8e:b5ff:feda:d0d/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 4091sec preferred_lft 3121sec
inet6 fe80::ee8e:b5ff:feda:d0d/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 94:e9:79:76:e6:cd brd ff:ff:ff:ff:ff:ff
boven:~ #
And when you do not even know the address of your router, you probably have not filled it then in in YaST > Network Settings when defining your default gateway. Thus you have no route to go outside your LAN.
And did you fill in de DNS server part of the Network Settings Configuration?
Then you seem to worry about someone seeing the IP address you use. This will make the discussion pretty difficult. When we talk about the IP address you used and you ten say [ADDRESS] and when you the talk about the adddress of the router and call that again ADDRESS}, we are stuck.
Is that really so vulnerable?
I have the idea that you did not fill in half of what is needed (and that maybe wrong). As long as you only say that you tried to configure your system with a fixed IP address using wicked in YaST, but without any deatail, we, that can not look over your shoulder, are pretty helpless in trying to help.
Then, setup with DHCP to query the IP addresses of the Router – if it’s a fairly modern Router, normally there will an IPv6 and an IPv4 address assigned to the Router …
But, beware – it may well be that, the Router’s IP addresses will change over time – which is why modern systems setup with DHCP …
We haven’t asked siya if she or he has enabled WiFi (WLAN) encryption and, even more important, which encryption …
For any given WLAN (WiFi), only the SSID is visible – the IP address is only obtainable when a connection is attempted and, a DHCP query is executed.
And, if “Use only known MAC addresses
” is enabled at the Router, attempts to gain access to the WLAN by unknown parties will fail …*=2]MAC – “Media Access Control” …