
| This forum is proudly powered by Scientific Linux 6 | SL website Download SL Help Search Members |
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| joeblow |
Posted: Jun 7 2011, 09:01 PM
|
|
|
SLF Junior ![]() ![]() Group: Members Posts: 37 Member No.: 236 Joined: 1-June 11 |
For a minimalist server installation, why do I need Network Manager? Is there a serious technical benefit that the Network Manager provides?
If not, is there a way I can get rid of it and just use the network-scripts like I've always done? thx |
|
| joutlan |
Posted: Jun 7 2011, 09:37 PM
|
|||
![]() SLF Founder ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admins Posts: 1146 Member No.: 1 Joined: 8-April 11 |
You should be able to uninstall it and just connect from the terminal, or with a start up script. I always liked the famous Sidux program that was pretty much invisible if you wanted it to be. Can't remember the name right now. We do this in Slackware too....so it "just connects" with scripting(IF Up, Down, etc). But, yes, I would just uninstall "NetworkManager" which I think, will only remove the GUI layer. Redman? -------------------- DΞLL Precision M6700: 17 inch NB//i7-quad w/USB 3.0, 16.0GB, Quadro K5000M 2.0GB DDR3, RGBLED //W8P64/Scientific Linux 6.4 x64
DΞLL Vostro 3350 Nirvana: 13 inch NB w/ IntelSSD// W8Px64 (Work;Games) Nexus 4 //Android |
|||
| spoovy |
Posted: Jun 7 2011, 10:12 PM
|
|
![]() SLF Moderator ![]() ![]() ![]() ![]() Group: Moderators Posts: 281 Member No.: 5 Joined: 8-April 11 |
Strip that thing out. First thing I do every time on a desktop system.
I use wicd on laptops now it really is excellent if you havn't tried it. Network Manager is a proper pain in the backside imho. If you need vpn or dial-up or something then i suppose you might want it, but it causes so many problems I don't think it's worth it. Google around on linux forums for network problems and NM crops up again and again. john - was it wpa_cli on sidux? This post has been edited by spoovy: Aug 6 2011, 04:02 AM -------------------- |
|
| joutlan |
Posted: Jun 11 2011, 06:04 PM
|
|||
![]() SLF Founder ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admins Posts: 1146 Member No.: 1 Joined: 8-April 11 |
Ceni ? something like that...I used to use it, then just use a standard panel applet for wifi if I wanted some visuals -------------------- DΞLL Precision M6700: 17 inch NB//i7-quad w/USB 3.0, 16.0GB, Quadro K5000M 2.0GB DDR3, RGBLED //W8P64/Scientific Linux 6.4 x64
DΞLL Vostro 3350 Nirvana: 13 inch NB w/ IntelSSD// W8Px64 (Work;Games) Nexus 4 //Android |
|||
| shelley |
Posted: Jul 31 2011, 12:04 PM
|
|
|
SLF Rookie ![]() Group: Members Posts: 18 Member No.: 562 Joined: 31-July 11 |
During installation you can configure Network for Lan (eth1) and Internet (eth0) depending on your configuration. In Sceintific Linux 6.1 this will start the NetworkManager (not for Basic Server). to bring up the interfaces you need to provide the following command:
ifup eth1 ifup eth0 Similarly for bringing down the interfaces: ifdown eth1 ifdown eth0 |
|
| spoovy |
Posted: Aug 6 2011, 04:20 AM
|
|||
![]() SLF Moderator ![]() ![]() ![]() ![]() Group: Moderators Posts: 281 Member No.: 5 Joined: 8-April 11 |
@john - yeah it was ceni. Very good. Shame to see sidux circling the drain these days, I really liked that project. Back on topic, it seems that NetworkManager is the future of networking for TUV so we'd all better start getting used to it. (taken from the TUV6 Deployment Guide -
This post has been edited by spoovy: Aug 6 2011, 05:04 AM -------------------- |
|||
| zxq9 |
|
|||||
![]() SLF Advocate ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 369 Member No.: 611 Joined: 5-August 11 |
And right you are. I didn't particularly care for NM myself (I still don't really like it that much), but this was really a case of my not wishing to learn something else new to get consistent results across the network. A lot of other things changed in Fedora, and later EL sort of at once, and this was just one more thing to deal with. You can turn off NM and use the old-fashioned networking utilities, but I recommend against it, as it is considered a stale technology at this point. For the SL 6x I don't think systemd will rear its head at all (and hopefully will be a nice piece of work by the time 7.0 comes around), so for the duration of 6x you should be able to use NM without having to change anything once you learn it (under systemd "ethX" becomes "emZ", and that can break ifup~ scripts, which is unneccessarily annoying in my opinion, but whatever). Some tips on learnig to live with NM in a server setting (it generally "just works" on laptops and desktops -- unless you have a Dell for some reason): /etc/sysconfig/networking-scripts/
To avoid problems of this sort:
Learning the ifcfg file tags, how to use the command-line utilities to get necessary information, and knowing where to check to make sure your hostname variable is consistent will make about 90% of network setups pretty easy without resorting to disabling NM. Its a bit like SELinux in this regard. A lot of folks disregard it and just turn it off because they don't understand where to start to get their head wrapped around it and so just shut it off (sometimes recent Windows converts do the same thing with file permissions when trying to set up web or file servers, heading straight for chmod -R 3777 /var/* once they find out they can do that, which is equivalent to shutting off SELinux from a certain perspective). Sorry for posting a book's worth of text. I really should have just written a blog post and linked it instead of being a wall-texter, I suppose. |
|||||
| shelley |
Posted: Aug 7 2011, 06:36 AM
|
|
|
SLF Rookie ![]() Group: Members Posts: 18 Member No.: 562 Joined: 31-July 11 |
To disable NetworkManager:
# service NetworkManager stop To disable NetworkManager during startup #chkconfig NetworkManager off Ensure that the interfaces are not NM_Controlled.. # vi /etc/sysconfig/network-scripts/ifcfg-eth0 ...eth1 etc.... NM_controlled = no and ONBOOT=yes to start the interfaces during boot... -------------------- |
|
![]() |
![]() ![]() ![]() |