Start "NetworkManager" at boot
Using openSuse 12.1 with Gnome and NetworkManager. I have to run root '/usr/sbin/NetworkManager' to start it. Is there a way to get it to automatically connect at boot?
|
If I am not mistaken, you can use chkconfig with suse 12.1.
Code:
chkconfig NetworkManager on Cheers, Josh |
Note: Forwarding request to 'systemctl is-enabled kexec.service'.
static kexec on lirc off mdadmd off microcode.ctl on multipathd off netstat off network on network-remotefs on nfs off nmb off nscd on ntp off openvpn off pm-profiler off Note: Forwarding request to 'systemctl is-enabled postfix.service'. disabled postfix off powerd off purge-kernels on Looks like it's on. Don't tell me I've been running the command line for a month when I didn't need to??? Thanks for the reply |
Nah, I rebooted and it was off when it came up. I still had to run the command line to start 'NetworkManager'.
|
You should be able to run the following to get it to turn on at boot:
Code:
systemctl enable NetworkManager.service |
Thanks for the help but it didn't work.
|
If chkconfig doesn't work
(chkconfig NetworkManager --level 35 on) and systemctl also doesn't work systemctl enable NetworkManager.service try to setup configuration files manualy 1. using systemd make the link: ln -s /lib/systemd/system/NetworkManager.service /etc/systemd/system/multi-user.target.wants/NetworkManager.service 2.using sysv, make links ln -s /etc/rc.d/NetworkManager /etc/rc.d/rc3.d/S23NetworkManager ln -s /etc/rc.d/NetworkManager /etc/rc.d/rc5.d/S23NetworkManager (there are missing stop service links, even it doesn't mind) |
Thanks again, but neither worked. No errors, but didn't work.
|
Well, see /var/log/messages
Are there any messages of NetworkManager? What about boot.log? Please, post /var/log/boot.log Are your interfaces really managed by NM? Probably check your configuration files of NM. http://live.gnome.org/NetworkManager/SystemSettings |
This never happened before. I can't copy the results from the terminal. But they say>'/var/log/boot.log-no> such file or directory', '/var/log/messages'> permission denied. I've seen no messages from NM.
|
You need to be root in order to access those files.
|
I was.
|
Do you use SELinux? Type 'id -Z', if you see something like 'unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023', the SELinux is enabled.
Try to disable SELinux '/etc/selinux/config' line: SELINUX=disabled # intead of enforcing You have to reboot to switch SELinux enable/disable If that matter is because of SELinux wrong policy, you have access to /var/log/messages and /var/log/boot.log now and probably it could fix NM problem. Well, finally I cannot say if it will be working. Your problem is very unusual. |
openSuse 12.1
|
Gnome NetworkManager is a graphical program and therefore can't be started before X is running, IIRC. Add it to the autostart list of your GUI environment.
|
All times are GMT -5. The time now is 05:02 AM. |