В Fri, 15 Feb 2013 10:50:34 -0600
Rich Coe
On Fri, 15 Feb 2013 16:20:26 +0100 johann Luce
wrote: hi
i've just install the new 12.3 RC1. There is some little bug in translation and kde but there is something very wrong,i can't configure network with yast and ifup.ifconfig show the network card is up but there is no ip adresse.
Only Network Manger work ( habitually problematic !!!!!!)
I use opensuse for server work so I just want network configuration works with yast and ifup. I don't want to use NetworkManager.
how can i configure network connection in text mode without ifup ????
regards
Turn off NetworkMangler ....
as root, chmod a-x /usr/sbin/NetworkManager
??? The problem is, which network.service is started is managed by symlink in /etc and this symlink is *not* changed by yast when switching between NM/ifup: linux-9drg:~ # ll -d /etc/systemd/system/network.* lrwxrwxrwx 1 root root 46 фев 6 13:12 /etc/systemd/system/network.service -> /usr/lib/systemd/system/NetworkManager.service drwxr-xr-x 2 root root 4096 фев 6 13:12 /etc/systemd/system/network.target.wants linux-9drg:~ # grep NETW /etc/sysconfig/network/config NETWORKMANAGER="no" So if you disable NM you will get no network at all. I'd say it is a bug in NM linux-9drg:~ # cat /etc/systemd/system/network.service [Unit] Description=Network Manager After=syslog.target Wants=remote-fs.target network.target Before=network.target [Service] Type=dbus BusName=org.freedesktop.NetworkManager ExecStart=/usr/sbin/NetworkManager --no-daemon # Suppress stderr to eliminate duplicated messages in syslog. NM calls openlog() # with LOG_PERROR when run in foreground. But systemd redirects stderr to # syslog by default, which results in logging each message twice. StandardError=null [Install] WantedBy=multi-user.target Also=NetworkManager-wait-online.service Alias=network.service ^^^^^^^^^^^^^^^^^^^^^ So it will always unconditionally install itself as network.service, hiding /etc/init.d/network.
Otherwise, according to https://bugzilla.novell.com/show_bug.cgi?id=803008 it's a *feature*.
I'm not sure. If to get network with ifup I have to remove NM, YaST2 should not offer switch in the first place. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org