You are not logged in.
Been trying to get knetworkmanager working on KDE 4.4 and haven't got it to work yet. Well initially it did work. Here's the steps I did.
1) Had network running '/etc/rc.d/network start
2) Installed 'kdeplasma-applets-networkmanagement'
3) Commented out interfaces in '/etc/rc.conf' and defined dhcp:
eth1="dhcp"
INTERFACES=(!eth0 !eth1 !wlan0)
4) Set hostname in '/etc/NetworkManager/nm-system-settings.conf':
[main]
plugins = keyfile
[keyfile]
hostname = pavilion
5) Added 'networkmanager' to daemon array in '/etc/rc.conf'
DAEMONS=(syslog-ng crond alsa hal kdm dnsmasq networkmanager cups netfs)
6) Added 'network' group to user:
gpasswd -a gen2ly network
7) Stopped network '/etc/rc.d/network stop'
8) Brought down interfaces 'ifconfig eth0 down && ifconfig eth1 down && ifconfig wlan0 down'
9) Started networkmanager
/etc/rc.d/networkmanager start
10) Started networkmanager applet (seems to me it was already started but I guess not??)
11) Got connected to network.
After reboot however, the networkmanager applet is telling me 'Unmanaged' when I rollover it, and when I click it it says 'Network Management disabled'. I've tried a couple things (like un-commenting the network devices on the interfaces line and restarting) to no effect. Doesn't seem I'm able to get it up again. Anyone else had luck with this? Did I miss something?
Last edited by Gen2ly (2010-02-23 22:51:57)
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline
to fix the 'network management disabled' issue, try the following.
# /etc/rc.d/networkmanager stop
# rm /var/lib/NetworkManager/NetworkManager.state
# /etc/rc.d/networkmanager start
knetworkmanager should then work.
Offline
Ah, anti-destin that is exactly what was needed to be done. ... Thank you! Threw be off a bit, it did .
Off-topic somewhere here now, Ok, a good deal off-topic.. looking at the wiki page for configuring I think the wiki under section, 'Disable interfaces' is erroneous. Does NetworkManager really parse rc.conf? I can't think of any reason it would need to. I'm thinking that NetworkManager would naturally scan and then do dhcp on wired, followed by wireless. And for those that do a static ip, they can configure the applet. To test, I put this in my rc.conf:
#eth0="dhcp"
#eth1="dhcp"
#wlan0="dhcp"
INTERFACES=(!eth0 !eth1 !wlan0)
And it worked fine. I'm thinking I could erase them and not have a problem.
[wiki]Networkmanager#Disable_interfaces[/wiki]
Last edited by Gen2ly (2010-02-23 06:03:45)
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline
Try wicd, works fine for me
"A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila."
(Mitch Ratcliffe)
Offline
I don't think you have to run /etc/rc.d/network
And which version of networkmanager do you have? 0.7 didn't work for me, but 0.8 does. If it still doesn't work try enabling interfaces in rc.conf.
Stop the world, I get off...
Offline
The information in rc.conf is designed to work with the network script, and in the networkmanager config files there is not mention of referring to rc.conf so this likely is erroneous. I guess it is possible a developer programmed the networkmanager program for rc.conf, but is pretty unlikely. Note at top of section, added. Just to be sure that Nm doesn't leave it pid behind, I've added to my rc.local:
nmpid=/var/lib/NetworkManager/NetworkManager.state
[ -f $nmpid ] && rm $nmpid
Thanks again for the help guys.
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline