Hey guys,
couple questions about the network services with SUSE 13.2. My understanding is that there’s wicked, network service, and NetworkManager and the three of these don’t play nicely with each other … after looking around on various threads I think I may have done more damage than good on trying to get my computer to connect to the internet. The background is that i’m trying to get this thing online so that I can run team viewer so a hardware vendor can login to the computer and update a software.
I feel like every time I try to connect a linux computer to the internet it’s a huge hassle and takes half a day … today is no different … last time I got this box online I ran the following after messing around with YAST and making sure that the system was setup for DHCP.
Note that for today’s battle the best I was able to do was successfully ping my router, but whenever i tried to ping 8.8.8.8 or other outside ip it would either timeout with nothing or say “host unreachable”
sudo su
netconfig -f update
rm /etc/resolv.conf
rcnetwork restart
This sequence of updating the network removing the resolv.conf file, and restarting the network got me online. But today when I moved my PC to a different building and tried to plug it in things kind of fell apart. I was reading that wicket was interfering with things and to disable it by checking the status of network.service, and wicked.service, then disabling them and starting NetworkManager:
systemctl is-active network.service && systemctl stop network.service
systemctl is-active wickedd.service && systemctl stop wickedd.service
systemctl disable wicked.service
systemctl --force enable NetworkManager.service
systemctl start network.service
Having done this, Network Manager has not helped making connection and I can’t seem to go back to getting network.service started:
systemctl start network service
>Failed to start network.service: Unit network.service failed to load: No Such file or directory
rcnetwork restart
>Failed to restart network.target: Operation refused, unit network.target may be request by dependency only
doesn’t seem good to me.
Going into Yast → network devices → Network Settings I get the following message and am unable to edit any of the network devices:
WARNING: Network is currently handled by NetworkManager or completely disabled. YaST is unable to configure some options
also not looking very good …
here’s some quick info for current ip setup:
ip a
1: lo: <loopback, up, lower_up> mtu ... unknown group default
link/looopback 00:00:00:00:00 brd 00:00:00:00:00:00
valid_lft forever preferred_lft forever ...
2: eth0: <BROADCAST, MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 100
link/ether 00:14:d4:.. brd ff:ff:ff:ff:ff:ff
ip r
<no output>
any thoughts on getting back to square one? from there maybe I can start up with trying to reach the outside network.
Also - in case you’re wondering “why am I running a 3 year old SUSE distro?!” the answer is because this computer lives to run a piece of machinery and the tool company installed a custom and expensive software package on this computer. It typically does just fine not being online and running the tool but we just moved the tool and for whatever reason moving the computer to a new building inadvertently messed up everything (possibly a bad HD) but that’s besides the point. Yes we are looking into getting a new computer from the tool manufacturer but for some reason they’re telling us they need to get access (through team viewer) to the original software they made otherwise it will cost 3x as much to get a “from scratch” software made. c’est la vie.
Thanks!