Re: network manager has gone crazy
Marko Vojinovic writes: > On Tue, 13 Nov 2012 20:44:04 +0100 lee wrote: >> Tim writes: >> > There does appear to be some NetworkManager interface through the >> > command line. Dunno whether it's going to be of any use to you, >> > though. >> >> Hm I didn't find out what it is yet. > > man nmcli > man nm-tool > man nm-online > man NetworkManager > man NetworkManager.conf Ah, thank you, I'll look at them :) Seems like it's even worse than I thought, considering this inconsistancy in the naming. It would have to be NMcli, etc. ... > If you prefer a GUI to control NetworkManager, you probably want to > > yum install NetworkManager-gnome > > and start nm-applet utility, which should land in your > system-tray/dock/whatever, and from where you can do everything else. Hm I don't have a tray or dock, never found that useful. I've got iconbox in fvwm because the icons need to go /somewhere/ where I can find them, and it keeps getting in the way. I3 has a better solution to that ... thinking of which, maybe it's possible to configure fvwm to have the same ... >> > As may have been pointed out in this thread, but definitely in the >> > past, NetworkManager is probably not be suitable for servers. It >> > is geared towards having something else configure your network, >> > usually a server is self-configured, or at least the central server >> > is (the one everything else relies on). >> >> It's a very strange idea that something else should configure the >> network. > > Why do you consider such a scenario to be strange? It just feels strange, and I've seen it not working. > The dhcp was > invented for precisely this purpose. It is widely used on laptops and > other mobile devices, in home&office environments for desktops, etc. > > Typically only servers need to have a static IP. And even that can be > remote-configured by the dhcp server. In fact, the dhcp server itself > is the only one requiring a static manually-configured IP. Everything > else can be configured by a remote dhcp server. DHCP has its advantages and disadvantages ... >> Anyway, I still want to know, even with networkmanager disabled. It >> doesn't hurt to learn something new :) >> >> > I have to admit I'm intrigued to find out what would happen if you >> > ran a DHCP server on a machine with NetworkManager handling the >> > network interfaces. But not sufficiently to try it out, at 2:30 in >> > the morning. >> >> It probably won't work because there won't be any network interfaces >> configured the DHCP server could use to receive broadcasts and send >> answers so that networkmanager could configure such interfaces. > > The dhcp server requires a NIC with a static IP (it cannot serve > itself). If NetworkManager is configured so that it assigns a static IP > to that particular interface, dhcp will be happy, and everything will > work well. > > It can even serve the IPs for other NICs on the same machine (if any > are present), and NetworkManager will pick those up and configure > them, if they are set up to use dhcp... ;-) And you neither need networkmanager, nor DHPC when you just configure static IPs :) >> > Regarding trying to find its configuration files, I would have tried >> > something like: locate -i networkmanager |grep etc > > I doubt that in normal circumstances one would ever need to manually > edit files in /etc/NetworkManager/. All configuration files that are > related to the actual network interfaces (used by NM) are > in /etc/sysconfig/network-scripts/, among which the most interesting > are the ifcfg-* files. Those are probably the only files that one could > be motivated to hand-edit. At least in normal circumstances, and in > the absence of a GUI utility. Well I did edit the ifcfg-* files, and networkmananger didn't agree and destroyed /etc/resolv.conf. Now I could say that networkmanager should be able to detect when someone edits the relevant files and act accordingly. A simple flag-entry like "nm-touch: [yes | no]" in resolv.conf might help a lot already; it could even be in form of a comment which only networkmanager understands so it doesn't interfere with anything else that uses the file. It would still be a very ugly solution ... It would be better if the installer gave you a choice whether to use networkmanager or not. I guess they need to fix the dependencies of it first ... What is the procedure to make suggestions like that? Create a bug report for networkmanager? -- Fedora 17 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Marko Vojinovic writes: > By the way, I find it very braindead to search for documentation or > configuration on NetworkManager, and not ever try the obvious > "man networkmanager". And the man is even case-insensitive, for your > convenience. > > In addition, in the SEE ALSO section it points you to read the > "man networkmanager.conf", which in turn tells you the exact path to > the configuration files at the very top of the document. Yeah and why didn't I read the manpage? It seems pretty obvious now. Maybe I become braindead and stupid when the network connection doesn't work ... That's a bad sign. -- Fedora 17 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Oops, sorry, I forgot to answer this part... On Tue, 13 Nov 2012 20:44:04 +0100 lee wrote: > Of course I used tab comletion in the shell for /etc/network at first, > and that doesn't show up anything about networkmanager. Like I said > before, it's just braindead to name it /etc/NetworkManager rather than > /etc/networkmanager. > > I don't use 'locate' a lot because it's hard to say what it can > possibly find --- I made that experience a long time ago. I did use > find, and I'd never have thought that someone would use capital > letters when naming the files. I can't help it, I always > underestimate peoples stupidity. The most famous traditional capital-lettered files are (IMHO): /usr/bin/Xorg /etc/X11/ /var/log/Xorg.0.log Next on the list are /etc/ImageMagick/, /etc/NetworkManager/, /etc/PackageKit/, and so on... By the way, I find it very braindead to search for documentation or configuration on NetworkManager, and not ever try the obvious "man networkmanager". And the man is even case-insensitive, for your convenience. In addition, in the SEE ALSO section it points you to read the "man networkmanager.conf", which in turn tells you the exact path to the configuration files at the very top of the document. HTH, :-) Marko -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
On Tue, 13 Nov 2012 20:44:04 +0100 lee wrote: > Tim writes: > > There does appear to be some NetworkManager interface through the > > command line. Dunno whether it's going to be of any use to you, > > though. > > Hm I didn't find out what it is yet. man nmcli man nm-tool man nm-online man NetworkManager man NetworkManager.conf If you prefer a GUI to control NetworkManager, you probably want to yum install NetworkManager-gnome and start nm-applet utility, which should land in your system-tray/dock/whatever, and from where you can do everything else. > > As may have been pointed out in this thread, but definitely in the > > past, NetworkManager is probably not be suitable for servers. It > > is geared towards having something else configure your network, > > usually a server is self-configured, or at least the central server > > is (the one everything else relies on). > > It's a very strange idea that something else should configure the > network. Why do you consider such a scenario to be strange? The dhcp was invented for precisely this purpose. It is widely used on laptops and other mobile devices, in home&office environments for desktops, etc. Typically only servers need to have a static IP. And even that can be remote-configured by the dhcp server. In fact, the dhcp server itself is the only one requiring a static manually-configured IP. Everything else can be configured by a remote dhcp server. > Anyway, I still want to know, even with networkmanager disabled. It > doesn't hurt to learn something new :) > > > I have to admit I'm intrigued to find out what would happen if you > > ran a DHCP server on a machine with NetworkManager handling the > > network interfaces. But not sufficiently to try it out, at 2:30 in > > the morning. > > It probably won't work because there won't be any network interfaces > configured the DHCP server could use to receive broadcasts and send > answers so that networkmanager could configure such interfaces. The dhcp server requires a NIC with a static IP (it cannot serve itself). If NetworkManager is configured so that it assigns a static IP to that particular interface, dhcp will be happy, and everything will work well. It can even serve the IPs for other NICs on the same machine (if any are present), and NetworkManager will pick those up and configure them, if they are set up to use dhcp... ;-) > > Regarding trying to find its configuration files, I would have tried > > something like: locate -i networkmanager |grep etc I doubt that in normal circumstances one would ever need to manually edit files in /etc/NetworkManager/. All configuration files that are related to the actual network interfaces (used by NM) are in /etc/sysconfig/network-scripts/, among which the most interesting are the ifcfg-* files. Those are probably the only files that one could be motivated to hand-edit. At least in normal circumstances, and in the absence of a GUI utility. HTH, :-) Marko -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Tim writes: > Tim: >> > If using Gnome, there's a desktop taskbar icon for NetworkManager, it >> > lets you pick a network out of a list of available networks (if there >> > are several to choose from), and there's an edit connections menu item >> > to customise particular choices. They could be fully automatic (the >> > client is remotely set by a DHCP server), or you can choose to allow >> > some things to be set by a DHCP server, other things to be manually set, >> > or everything manually set. > > lee: >> I'm not using gnome. These so-called desktop-environments aren't doing >> anything for me but getting in the way. > > Well, what are you using? Command line, a light weight GUI, something > else? Letting us know will help you get better replies. I'm running an X-session started with 'startx' and either fvwm or i3 as window manager. > There does appear to be some NetworkManager interface through the > command line. Dunno whether it's going to be of any use to you, though. Hm I didn't find out what it is yet. > As may have been pointed out in this thread, but definitely in the past, > NetworkManager is probably not be suitable for servers. It is geared > towards having something else configure your network, usually a server > is self-configured, or at least the central server is (the one > everything else relies on). It's a very strange idea that something else should configure the network. Anyway, I still want to know, even with networkmanager disabled. It doesn't hurt to learn something new :) > I have to admit I'm intrigued to find out what would happen if you ran a > DHCP server on a machine with NetworkManager handling the network > interfaces. But not sufficiently to try it out, at 2:30 in the morning. It probably won't work because there won't be any network interfaces configured the DHCP server could use to receive broadcasts and send answers so that networkmanager could configure such interfaces. > Regarding trying to find its configuration files, I would have tried > something like: locate -i networkmanager |grep etc Of course I used tab comletion in the shell for /etc/network at first, and that doesn't show up anything about networkmanager. Like I said before, it's just braindead to name it /etc/NetworkManager rather than /etc/networkmanager. I don't use 'locate' a lot because it's hard to say what it can possibly find --- I made that experience a long time ago. I did use find, and I'd never have thought that someone would use capital letters when naming the files. I can't help it, I always underestimate peoples stupidity. -- Fedora 17 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Tim: > > If using Gnome, there's a desktop taskbar icon for NetworkManager, it > > lets you pick a network out of a list of available networks (if there > > are several to choose from), and there's an edit connections menu item > > to customise particular choices. They could be fully automatic (the > > client is remotely set by a DHCP server), or you can choose to allow > > some things to be set by a DHCP server, other things to be manually set, > > or everything manually set. lee: > I'm not using gnome. These so-called desktop-environments aren't doing > anything for me but getting in the way. Well, what are you using? Command line, a light weight GUI, something else? Letting us know will help you get better replies. There does appear to be some NetworkManager interface through the command line. Dunno whether it's going to be of any use to you, though. As may have been pointed out in this thread, but definitely in the past, NetworkManager is probably not be suitable for servers. It is geared towards having something else configure your network, usually a server is self-configured, or at least the central server is (the one everything else relies on). I have to admit I'm intrigued to find out what would happen if you ran a DHCP server on a machine with NetworkManager handling the network interfaces. But not sufficiently to try it out, at 2:30 in the morning. Regarding trying to find its configuration files, I would have tried something like: locate -i networkmanager |grep etc -- [tim@localhost ~]$ uname -rsvp Linux 3.6.6-1.fc17.x86_64 #1 SMP Mon Nov 5 21:59:35 UTC 2012 x86_64 All mail to my mailbox is automatically deleted, there is no point trying to privately email me, I will only read messages posted to the public lists. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Timothy Murphy writes: > lee wrote: > >>> As I understand it, you have asked NM to manage your ethernet connection >>> (in /etc/sysconfig/network-scripts/ifcfg-em1). >>> I believe that NM over-writes /etc/resolv.conf if it cannot establish >>> the specified connection. >>> In my opinion this is silly; but that is what NM does. >> >> What it probably does is managing em2 which doesn't exist anymore >> because I turned off the network adapter in the BIOS. Since em1 wasn't >> used before, it perhaps tries to keep it disabled by overwriting >> resolv.conf. >> >> Isn't there any way to configure networkmanager? >> >>> If you don't want NM to manage your connection you should say so >>> in the above ifcfg file. >>> >>> Or at least that is my understanding of the setup. >> >> It's better to disable networkmanager when you don't want it to do >> anything. Why keep a service running that isn't supposed to do >> anything? > > Well, I would do both - > if you don't want NM to manage any interface why say you do > (in /etc/sysconfig/network-scripts/ifcfg-em1)? Why change it when networkmanager is disabled anyway? > And I don't see any point in running the NM service > if you don't want to use it. > > I'm not convinced you have shown there is any kind of bug in NM. I don't think I have. It's more Fedora being silly having two different and conflicting things installed by default at the same time without giving users a choice which one to use, without sufficient documentation about any of them and with dependencies on networkmanager that need to be fixed. -- Fedora 17 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
jarmo writes: > Mon, 12 Nov 2012 17:27:22 +0100 > lee kirjoitti: > >> Tim writes: >> >> > Tim: >> >> > _EXACTLY_ how are you giving it the data? >> > >> > Lee: >> >> I was using system-config-network and editing some files when it >> >> didn't work. >> > >> > Well, unless things have changed, then you're fighting two things >> > against each other. >> > >> > System-config-network directly controls the network settings. >> > NetworkManager does whatever it does, dynamically. >> > >> > NetworkManager will clobber settings set elsewhere, unless you >> > specifically configure NetworkManager to leave them alone. You'd >> > need to that through NetworkManager's own interface, or through the >> > configuration files that it pays attention to. >> >> Yes and where is this interface and where are the files? > > How about /etc/NetworkManager ?? Thanks, that looks good :) I'd never have thought: Why would I look for files the names of which start with capital letters? It should be /etc/networkmanager instead. -- Fedora 17 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
On Tuesday 13 November 2012 05:59:03 Zind wrote: > On Mon, Nov 12, 2012 at 11:43:54AM +, Tony Molloy wrote: > > On Saturday 10 November 2012 16:05:49 lee wrote: > > > > A kludge to fix this is to make resolv.conf immutable. Then > > NetworkManager or nothing else can interfere with it. > > > > Set up /etc/resolv.conf as you want it. > > > > Then as root: > > chattr -i /etc/resolv.conf > > > > Now nothing can change /etc/resolv.conf > > > > If you need to edit it later then as root: > > chattr +i /etc/resolv.conf > > > > A kludge but it works ;-) > > Well, are you sure? > $man chattr > A file with the `i' attribute cannot be modified: it cannot be > deleted or renamed, no link can be created to this file and no > data can be written to the file. Only the superuser or a process > possessing the CAP_LINUX_IMMUTABLE capability can set or clear > this attribute. > > So, > chattr +i /etc/resolv.conf, set /etc/resolv.conf immutable > chattr -i /etc/resolv.conf, set /etc/resolv.conf mutable > You're right, typing before thinking ;-) chattr +i makes file immutable chattr -i removes this property. Tony -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
On Mon, Nov 12, 2012 at 11:43:54AM +, Tony Molloy wrote: > On Saturday 10 November 2012 16:05:49 lee wrote: > > A kludge to fix this is to make resolv.conf immutable. Then > NetworkManager or nothing else can interfere with it. > > Set up /etc/resolv.conf as you want it. > > Then as root: > chattr -i /etc/resolv.conf > > Now nothing can change /etc/resolv.conf > > If you need to edit it later then as root: > chattr +i /etc/resolv.conf > > A kludge but it works ;-) > Well, are you sure? $man chattr A file with the `i' attribute cannot be modified: it cannot be deleted or renamed, no link can be created to this file and no data can be written to the file. Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability can set or clear this attribute. So, chattr +i /etc/resolv.conf, set /etc/resolv.conf immutable chattr -i /etc/resolv.conf, set /etc/resolv.conf mutable -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
lee wrote: >> As I understand it, you have asked NM to manage your ethernet connection >> (in /etc/sysconfig/network-scripts/ifcfg-em1). >> I believe that NM over-writes /etc/resolv.conf if it cannot establish >> the specified connection. >> In my opinion this is silly; but that is what NM does. > > What it probably does is managing em2 which doesn't exist anymore > because I turned off the network adapter in the BIOS. Since em1 wasn't > used before, it perhaps tries to keep it disabled by overwriting > resolv.conf. > > Isn't there any way to configure networkmanager? > >> If you don't want NM to manage your connection you should say so >> in the above ifcfg file. >> >> Or at least that is my understanding of the setup. > > It's better to disable networkmanager when you don't want it to do > anything. Why keep a service running that isn't supposed to do > anything? Well, I would do both - if you don't want NM to manage any interface why say you do (in /etc/sysconfig/network-scripts/ifcfg-em1)? And I don't see any point in running the NM service if you don't want to use it. I'm not convinced you have shown there is any kind of bug in NM. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Mon, 12 Nov 2012 17:27:22 +0100 lee kirjoitti: > Tim writes: > > > Tim: > >> > _EXACTLY_ how are you giving it the data? > > > > Lee: > >> I was using system-config-network and editing some files when it > >> didn't work. > > > > Well, unless things have changed, then you're fighting two things > > against each other. > > > > System-config-network directly controls the network settings. > > NetworkManager does whatever it does, dynamically. > > > > NetworkManager will clobber settings set elsewhere, unless you > > specifically configure NetworkManager to leave them alone. You'd > > need to that through NetworkManager's own interface, or through the > > configuration files that it pays attention to. > > Yes and where is this interface and where are the files? How about /etc/NetworkManager ?? -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Tim writes: > Tim: >> > _EXACTLY_ how are you giving it the data? > > Lee: >> I was using system-config-network and editing some files when it didn't >> work. > > Well, unless things have changed, then you're fighting two things > against each other. > > System-config-network directly controls the network settings. > NetworkManager does whatever it does, dynamically. > > NetworkManager will clobber settings set elsewhere, unless you > specifically configure NetworkManager to leave them alone. You'd need > to that through NetworkManager's own interface, or through the > configuration files that it pays attention to. Yes and where is this interface and where are the files? >> > * Are you configuring network manager, through its own interface? > >> I thought system-config-network is the interface for it. Now my theory >> is that it is perhaps not and that networkmanager conflicts with it. > > It isn't. It's the only half-way obvious thing I could find. >> Where does networkmanager store it's configuration? > > I can never remember. And the lack of useful documentation doesn't > help. > >> How do you configure it? > > If using Gnome, there's a desktop taskbar icon for NetworkManager, it > lets you pick a network out of a list of available networks (if there > are several to choose from), and there's an edit connections menu item > to customise particular choices. They could be fully automatic (the > client is remotely set by a DHCP server), or you can choose to allow > some things to be set by a DHCP server, other things to be manually set, > or everything manually set. I'm not using gnome. These so-called desktop-environments aren't doing anything for me but getting in the way. > That said, prior experience has shown that NetworkManager is geared > towards automatically configuring DHCP clients by the DHCP server. If > you don't have a DHCP server, it can be easier to disable > NetworkManager, and use the old system-config-network, rather than try > to set up manual configurations through NetworkManager. I do not know > if this situation has changed. I have had the same impression. It might be nice to have on a mobile computer with arbitrary internet connections *if* it works. Unfortunately, the installer doesn't leave you a choice. Obviously, networkmanager is unable to handle a change in the configuration, so the only situation in which it /might/ work is when you don't touch it and use DHCP. Of course, if I was using DHCP, the DHCP server would run on the same computer as networkmanager, and that probably won't work, either --- especially not during the installation. Fedora needs to fix the dependencies on networkmanager when you look at what would be removed when you remove networkmanager. > If you do not use DHCP, then I'm not sure how, nor why, NetworkManager > would be fiddling with things. Other than, perhaps, automatically > assigning a random link-local address to the ethernet interface, because > no DHCP server assigned one. The installer forced me to use it, and networkmanager seems to be still trying to enforce an outdated configuration when it is enabled. That's why I keep asking how to change it and where it stores its configuration. -- Fedora 17 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Bruno Wolff III writes: > On Mon, Nov 12, 2012 at 11:13:43 +0100, > lee wrote: >> >>How do you change that with system-config-network? I didn't see any >>checkbox for it in the interface I was presented with. > > I'm not surprised. I just edit the ifcfg files directly. Yes, that's much easier. The problem is that networkmanager can't deal with it --- I think that's a bug. >>Networkmanager either uses something else or is very buggy. If it >>didn't or wasn't, it would not keep overwriting /etc/resolv.conf with >>incorrect data. The ifcfg-* files have the "NM_CONTROLLED=yes" option. > > Change that to no instead of yes. Still I want to know where it stores its configuration. I might create a bug report about this. -- Fedora 17 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Timothy Murphy writes: > lee wrote: > >>> it is for the classical "network.service" and you should >>> NOT mix tools for different worlds in your usage >> >> It's not surprising that it doesn't work then. So how do you configure >> networkmanager? >> >> Whose extremely stupid idea was it to have two different and conflicting >> systems for configuring network interfaces installed at the same time by >> default with no way for users to tell them apart? And where is the >> documentatition about this? > > As I understand it, you have asked NM to manage your ethernet connection > (in /etc/sysconfig/network-scripts/ifcfg-em1). > I believe that NM over-writes /etc/resolv.conf if it cannot establish > the specified connection. > In my opinion this is silly; but that is what NM does. What it probably does is managing em2 which doesn't exist anymore because I turned off the network adapter in the BIOS. Since em1 wasn't used before, it perhaps tries to keep it disabled by overwriting resolv.conf. Isn't there any way to configure networkmanager? > If you don't want NM to manage your connection you should say so > in the above ifcfg file. > > Or at least that is my understanding of the setup. It's better to disable networkmanager when you don't want it to do anything. Why keep a service running that isn't supposed to do anything? -- Fedora 17 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Tony Molloy writes: > On Saturday 10 November 2012 16:05:49 lee wrote: >> Hi, >> >> apparently network manager continues to overwrite /etc/resolv.conf >> with incorrect data. Adjusting it with system-config-network >> doesn't help. >> >> I have: >> >> >> , >> >> | UUID="4881d1f8-79a5-46f3-a490-2464eebd89aa" >> | NM_CONTROLLED=yes >> | ONBOOT=yes >> | TYPE=Ethernet >> | IPV6INIT=no >> | NAME="System em1" >> | HWADDR=00:24:21:f3:94:ed >> | BOOTPROTO=none >> | DEFROUTE=yes >> | IPV4_FAILURE_FATAL=no >> | USERS=root >> | USERCTL=no >> | IPADDR=192.168.178.20 >> | NETMASK=255.255.255.0 >> | GATEWAY=192.168.178.1 >> | DNS1=127.0.0.1 >> | PREFIX=24 >> >> ` >> >> >> ... and the copies of that file under the different names are all >> the same. After some time, /etc/resolv.conf will be empty, and it >> sometimes is missing the "search" entry. >> >> Why is the network manager going crazy and doesn't stick with the >> information I'm giving it, and how do I fix this? Name resolution >> going down because /etc/resolv.conf keeps getting overwritten >> causes very annoying interruptions. >> >> I know I could disable network manager, but that isn't really a >> solution. I need it solved before I go to sleep, though. >> > > A kludge to fix this is to make resolv.conf immutable. Then > NetworkManager or nothing else can interfere with it. > > Set up /etc/resolv.conf as you want it. > > Then as root: > chattr -i /etc/resolv.conf > > Now nothing can change /etc/resolv.conf > > If you need to edit it later then as root: > chattr +i /etc/resolv.conf > > A kludge but it works ;-) Cool, thank you :) I didn't know about the chattr command and what it can do. That may be very useful :) -- Fedora 17 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
On Mon, Nov 12, 2012 at 11:13:43 +0100, lee wrote: How do you change that with system-config-network? I didn't see any checkbox for it in the interface I was presented with. I'm not surprised. I just edit the ifcfg files directly. Networkmanager either uses something else or is very buggy. If it didn't or wasn't, it would not keep overwriting /etc/resolv.conf with incorrect data. The ifcfg-* files have the "NM_CONTROLLED=yes" option. Change that to no instead of yes. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
lee wrote: >> it is for the classical "network.service" and you should >> NOT mix tools for different worlds in your usage > > It's not surprising that it doesn't work then. So how do you configure > networkmanager? > > Whose extremely stupid idea was it to have two different and conflicting > systems for configuring network interfaces installed at the same time by > default with no way for users to tell them apart? And where is the > documentatition about this? As I understand it, you have asked NM to manage your ethernet connection (in /etc/sysconfig/network-scripts/ifcfg-em1). I believe that NM over-writes /etc/resolv.conf if it cannot establish the specified connection. In my opinion this is silly; but that is what NM does. If you don't want NM to manage your connection you should say so in the above ifcfg file. Or at least that is my understanding of the setup. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
On Saturday 10 November 2012 16:05:49 lee wrote: > Hi, > > apparently network manager continues to overwrite /etc/resolv.conf > with incorrect data. Adjusting it with system-config-network > doesn't help. > > I have: > > > , > > | UUID="4881d1f8-79a5-46f3-a490-2464eebd89aa" > | NM_CONTROLLED=yes > | ONBOOT=yes > | TYPE=Ethernet > | IPV6INIT=no > | NAME="System em1" > | HWADDR=00:24:21:f3:94:ed > | BOOTPROTO=none > | DEFROUTE=yes > | IPV4_FAILURE_FATAL=no > | USERS=root > | USERCTL=no > | IPADDR=192.168.178.20 > | NETMASK=255.255.255.0 > | GATEWAY=192.168.178.1 > | DNS1=127.0.0.1 > | PREFIX=24 > > ` > > > ... and the copies of that file under the different names are all > the same. After some time, /etc/resolv.conf will be empty, and it > sometimes is missing the "search" entry. > > Why is the network manager going crazy and doesn't stick with the > information I'm giving it, and how do I fix this? Name resolution > going down because /etc/resolv.conf keeps getting overwritten > causes very annoying interruptions. > > I know I could disable network manager, but that isn't really a > solution. I need it solved before I go to sleep, though. > A kludge to fix this is to make resolv.conf immutable. Then NetworkManager or nothing else can interfere with it. Set up /etc/resolv.conf as you want it. Then as root: chattr -i /etc/resolv.conf Now nothing can change /etc/resolv.conf If you need to edit it later then as root: chattr +i /etc/resolv.conf A kludge but it works ;-) Tony -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Tim: > > _EXACTLY_ how are you giving it the data? Lee: > I was using system-config-network and editing some files when it didn't > work. Well, unless things have changed, then you're fighting two things against each other. System-config-network directly controls the network settings. NetworkManager does whatever it does, dynamically. NetworkManager will clobber settings set elsewhere, unless you specifically configure NetworkManager to leave them alone. You'd need to that through NetworkManager's own interface, or through the configuration files that it pays attention to. > > * Are you configuring network manager, through its own interface? > I thought system-config-network is the interface for it. Now my theory > is that it is perhaps not and that networkmanager conflicts with it. It isn't. > Where does networkmanager store it's configuration? I can never remember. And the lack of useful documentation doesn't help. > How do you configure it? If using Gnome, there's a desktop taskbar icon for NetworkManager, it lets you pick a network out of a list of available networks (if there are several to choose from), and there's an edit connections menu item to customise particular choices. They could be fully automatic (the client is remotely set by a DHCP server), or you can choose to allow some things to be set by a DHCP server, other things to be manually set, or everything manually set. That said, prior experience has shown that NetworkManager is geared towards automatically configuring DHCP clients by the DHCP server. If you don't have a DHCP server, it can be easier to disable NetworkManager, and use the old system-config-network, rather than try to set up manual configurations through NetworkManager. I do not know if this situation has changed. If you do not use DHCP, then I'm not sure how, nor why, NetworkManager would be fiddling with things. Other than, perhaps, automatically assigning a random link-local address to the ethernet interface, because no DHCP server assigned one. -- [tim@localhost ~]$ uname -rsvp Linux 3.6.6-1.fc17.x86_64 #1 SMP Mon Nov 5 21:59:35 UTC 2012 x86_64 All mail to my mailbox is automatically deleted, there is no point trying to privately email me, I will only read messages posted to the public lists. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Bruno Wolff III writes: > On Sun, Nov 11, 2012 at 01:04:07 +0100, > lee wrote: >> >>No, I'm not using DHCP, and the cables are fine. I have a theory about >>what it might be, though. Is "system-config-network" related to >>networkmanager, or is it something else? > > Network manager does use the ifcfg files (unless they are flagged to > not be used by network manager) that can be modified using > system-config-network. How do you change that with system-config-network? I didn't see any checkbox for it in the interface I was presented with. Networkmanager either uses something else or is very buggy. If it didn't or wasn't, it would not keep overwriting /etc/resolv.conf with incorrect data. The ifcfg-* files have the "NM_CONTROLLED=yes" option. -- Fedora 17 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Reindl Harald writes: > Am 11.11.2012 01:04, schrieb lee: >> No, I'm not using DHCP, and the cables are fine. I have a theory about >> what it might be, though. Is "system-config-network" related to >> networkmanager, or is it something else? > > it is for the classical "network.service" and you should > NOT mix tools for different worlds in your usage It's not surprising that it doesn't work then. So how do you configure networkmanager? Whose extremely stupid idea was it to have two different and conflicting systems for configuring network interfaces installed at the same time by default with no way for users to tell them apart? And where is the documentatition about this? -- Fedora 17 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
On Sun, Nov 11, 2012 at 01:04:07 +0100, lee wrote: No, I'm not using DHCP, and the cables are fine. I have a theory about what it might be, though. Is "system-config-network" related to networkmanager, or is it something else? Network manager does use the ifcfg files (unless they are flagged to not be used by network manager) that can be modified using system-config-network. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Am 11.11.2012 01:04, schrieb lee: > No, I'm not using DHCP, and the cables are fine. I have a theory about > what it might be, though. Is "system-config-network" related to > networkmanager, or is it something else? it is for the classical "network.service" and you should NOT mix tools for different worlds in your usage signature.asc Description: OpenPGP digital signature -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Timothy Murphy writes: > lee wrote: > Why is the network manager going crazy and doesn't stick with the information I'm giving it, and how do I fix this? Name resolution going down because /etc/resolv.conf keeps getting overwritten causes very annoying interruptions. >>> >>> Do you have a wireless interface? Setting up a wireless connection can >>> modify /etc/resolv.conf. >> >> No, just two on-board wired ethernet interfaces one of which I turned >> off. That couldn't be handled with networkmanager ... > > I wonder if you have a file /etc/sysconfig/network-scripts/ifcfg-wlan0 > (or similar) that ways your wifi is controlled by NM? > If so maybe NM would overwrite /etc/resolv.conf > when it finds there is no WiFi connection? , | [root@yun ~]# find /etc/sysconfig/ -name "ifcfg-*" | /etc/sysconfig/network-scripts/ifcfg-lo | /etc/sysconfig/network-scripts/ifcfg-em1 | /etc/sysconfig/networking/devices/ifcfg-em1 | /etc/sysconfig/networking/profiles/default/ifcfg-em1 | [root@yun ~]# ` There's no wireless card installed and has never been with Fedora. Where does networkmanager keeep it's configuration? It must be at more places than only /etc/sysconfig. -- Fedora 17 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Bruno Wolff III writes: > On Sat, Nov 10, 2012 at 20:07:23 +0100, > lee wrote: >>Bruno Wolff III writes: >> >>> On Sat, Nov 10, 2012 at 17:05:49 +0100, >>> lee wrote: Why is the network manager going crazy and doesn't stick with the information I'm giving it, and how do I fix this? Name resolution going down because /etc/resolv.conf keeps getting overwritten causes very annoying interruptions. >>> >>> Do you have a wireless interface? Setting up a wireless connection can >>> modify /etc/resolv.conf. >> >>No, just two on-board wired ethernet interfaces one of which I turned >>off. That couldn't be handled with networkmanager ... > > That's odd, as /etc/resolv.conf should only change when your network > changes. Typically that would be when a new connection is made or one > is shut down. Do you have anything odd with DHCP on your network? Are > there any issues with your cables? No, I'm not using DHCP, and the cables are fine. I have a theory about what it might be, though. Is "system-config-network" related to networkmanager, or is it something else? >>All the Fedora documentation says I shouldn't disable it, and I don't >>know well enough yet how things are done in Fedora to decide whether >>it's a good idea to disable it or not. Having a service running that >>constantly monitors and changes the files is certainly a bad idea. > > Well, if you disble network manager, you will need to enable network > or you network interfaces won't be set up. So you can't just blindly > disable it. For now the network service will do what you want. I have disabled it and hopefully switched sucessfully. I didn't have a choice because even with /etc/resolv.conf set to read-only, it was still being overwritten. -- Fedora 17 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Tim writes: > On Sat, 2012-11-10 at 17:05 +0100, lee wrote: >> apparently network manager continues to overwrite /etc/resolv.conf >> with incorrect data. Adjusting it with system-config-network doesn't >> help. >> >> ... and the copies of that file under the different names are all the >> same. After some time, /etc/resolv.conf will be empty, and it >> sometimes is missing the "search" entry. >> >> Why is the network manager going crazy and doesn't stick with the >> information I'm giving it, and how do I fix this? Name resolution >> going down because /etc/resolv.conf keeps getting overwritten causes >> very annoying interruptions. > > _EXACTLY_ how are you giving it the data? I was using system-config-network and editing some files when it didn't work. > * Are you configuring network manager, through its own interface? I thought system-config-network is the interface for it. Now my theory is that it is perhaps not and that networkmanager conflicts with it. > * Are you expecting network manager to handle data that you've manually > shoved into /etc/resolv.conf? (That isn't going to work.) no > * Are you configuring it through your network's DHCP server? No, I'm not using dhcp. > Another point that springs to mind: A common problem with people > getting random DHCP client configuration is having two DHCP servers > running on their LAN. This is a bad idea, unless one of them is > configured to work as a slave to the other. It's not unusual for people > to connect two devices that can work as a DHCP server, perhaps > accidentally; or they thought one the servers was disabled, but it's > actually running. > > I've been using NetworkManager on several different releases, for many > years, and I haven't had any of the problems that I see people commonly > write about. But I have seen plenty of people trying to bash it about, > force it to do something in a daft way, and expect it to work. Another problem is the lack of documentation ... Where does networkmanager store it's configuration? How do you configure it? -- Fedora 17 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Joe Zeff writes: > On 11/10/2012 11:10 AM, lee wrote: >> Joe Zeff writes: >> >>> On 11/10/2012 08:05 AM, lee wrote: I know I could disable network manager, but that isn't really a solution. I need it solved before I go to sleep, though. >>> >>> It's worked for me for over two years. >> >> And it doesn't work here. The networkmanager keeps removing all entries >> from /etc/resolv.conf and ignores what I'm telling it. >> >> > > You misunderstand me: I disabled NM over two years ago and my machine > runs fine. The only reason I use it on my laptop is for wireless. If > it weren't for that, I'd not use that FPOS at all. Oh, sorry. I disabled networkmanager and so far, it seems to work (haven't rebooted yet, though). If my theory about what happened is correct, that would mean that networkmanager actually did kinda work fine and was only doing what it was supposed to. Wireless can be quite a pita to set up --- if networkmanager makes that easy, that would be a good thing. -- Fedora 17 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
On Sat, 2012-11-10 at 17:05 +0100, lee wrote: > apparently network manager continues to overwrite /etc/resolv.conf > with incorrect data. Adjusting it with system-config-network doesn't > help. > > ... and the copies of that file under the different names are all the > same. After some time, /etc/resolv.conf will be empty, and it > sometimes is missing the "search" entry. > > Why is the network manager going crazy and doesn't stick with the > information I'm giving it, and how do I fix this? Name resolution > going down because /etc/resolv.conf keeps getting overwritten causes > very annoying interruptions. _EXACTLY_ how are you giving it the data? * Are you configuring network manager, through its own interface? * Are you expecting network manager to handle data that you've manually shoved into /etc/resolv.conf? (That isn't going to work.) * Are you configuring it through your network's DHCP server? Another point that springs to mind: A common problem with people getting random DHCP client configuration is having two DHCP servers running on their LAN. This is a bad idea, unless one of them is configured to work as a slave to the other. It's not unusual for people to connect two devices that can work as a DHCP server, perhaps accidentally; or they thought one the servers was disabled, but it's actually running. I've been using NetworkManager on several different releases, for many years, and I haven't had any of the problems that I see people commonly write about. But I have seen plenty of people trying to bash it about, force it to do something in a daft way, and expect it to work. -- [tim@localhost ~]$ uname -r 2.6.27.25-78.2.56.fc9.i686 Don't send private replies to my address, the mailbox is ignored. I read messages from the public lists. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
lee wrote: >>>Why is the network manager going crazy and doesn't stick with the >>>information I'm giving it, and how do I fix this? Name resolution going >>>down because /etc/resolv.conf keeps getting overwritten causes very >>>annoying interruptions. >> >> Do you have a wireless interface? Setting up a wireless connection can >> modify /etc/resolv.conf. > > No, just two on-board wired ethernet interfaces one of which I turned > off. That couldn't be handled with networkmanager ... I wonder if you have a file /etc/sysconfig/network-scripts/ifcfg-wlan0 (or similar) that ways your wifi is controlled by NM? If so maybe NM would overwrite /etc/resolv.conf when it finds there is no WiFi connection? -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
On Sat, Nov 10, 2012 at 20:07:23 +0100, lee wrote: Bruno Wolff III writes: On Sat, Nov 10, 2012 at 17:05:49 +0100, lee wrote: Why is the network manager going crazy and doesn't stick with the information I'm giving it, and how do I fix this? Name resolution going down because /etc/resolv.conf keeps getting overwritten causes very annoying interruptions. Do you have a wireless interface? Setting up a wireless connection can modify /etc/resolv.conf. No, just two on-board wired ethernet interfaces one of which I turned off. That couldn't be handled with networkmanager ... That's odd, as /etc/resolv.conf should only change when your network changes. Typically that would be when a new connection is made or one is shut down. Do you have anything odd with DHCP on your network? Are there any issues with your cables? All the Fedora documentation says I shouldn't disable it, and I don't know well enough yet how things are done in Fedora to decide whether it's a good idea to disable it or not. Having a service running that constantly monitors and changes the files is certainly a bad idea. Well, if you disble network manager, you will need to enable network or you network interfaces won't be set up. So you can't just blindly disable it. For now the network service will do what you want. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
On 11/10/2012 11:10 AM, lee wrote: Joe Zeff writes: On 11/10/2012 08:05 AM, lee wrote: I know I could disable network manager, but that isn't really a solution. I need it solved before I go to sleep, though. It's worked for me for over two years. And it doesn't work here. The networkmanager keeps removing all entries from /etc/resolv.conf and ignores what I'm telling it. You misunderstand me: I disabled NM over two years ago and my machine runs fine. The only reason I use it on my laptop is for wireless. If it weren't for that, I'd not use that FPOS at all. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Joe Zeff writes: > On 11/10/2012 08:05 AM, lee wrote: >> I know I could disable network manager, but that isn't really a >> solution. I need it solved before I go to sleep, though. > > It's worked for me for over two years. And it doesn't work here. The networkmanager keeps removing all entries from /etc/resolv.conf and ignores what I'm telling it. -- Fedora 17 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
Bruno Wolff III writes: > On Sat, Nov 10, 2012 at 17:05:49 +0100, > lee wrote: >> >>Why is the network manager going crazy and doesn't stick with the >>information I'm giving it, and how do I fix this? Name resolution going >>down because /etc/resolv.conf keeps getting overwritten causes very >>annoying interruptions. > > Do you have a wireless interface? Setting up a wireless connection can > modify /etc/resolv.conf. No, just two on-board wired ethernet interfaces one of which I turned off. That couldn't be handled with networkmanager ... >>I know I could disable network manager, but that isn't really a >>solution. I need it solved before I go to sleep, though. > > Why not? If you aren't using wireless networks, the network service > should be easy to use as a replacement. All the Fedora documentation says I shouldn't disable it, and I don't know well enough yet how things are done in Fedora to decide whether it's a good idea to disable it or not. Having a service running that constantly monitors and changes the files is certainly a bad idea. -- Fedora 17 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
On 11/10/2012 08:05 AM, lee wrote: I know I could disable network manager, but that isn't really a solution. I need it solved before I go to sleep, though. It's worked for me for over two years. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: network manager has gone crazy
On Sat, Nov 10, 2012 at 17:05:49 +0100, lee wrote: Why is the network manager going crazy and doesn't stick with the information I'm giving it, and how do I fix this? Name resolution going down because /etc/resolv.conf keeps getting overwritten causes very annoying interruptions. Do you have a wireless interface? Setting up a wireless connection can modify /etc/resolv.conf. I know I could disable network manager, but that isn't really a solution. I need it solved before I go to sleep, though. Why not? If you aren't using wireless networks, the network service should be easy to use as a replacement. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
network manager has gone crazy
Hi, apparently network manager continues to overwrite /etc/resolv.conf with incorrect data. Adjusting it with system-config-network doesn't help. I have: , | UUID="4881d1f8-79a5-46f3-a490-2464eebd89aa" | NM_CONTROLLED=yes | ONBOOT=yes | TYPE=Ethernet | IPV6INIT=no | NAME="System em1" | HWADDR=00:24:21:f3:94:ed | BOOTPROTO=none | DEFROUTE=yes | IPV4_FAILURE_FATAL=no | USERS=root | USERCTL=no | IPADDR=192.168.178.20 | NETMASK=255.255.255.0 | GATEWAY=192.168.178.1 | DNS1=127.0.0.1 | PREFIX=24 ` ... and the copies of that file under the different names are all the same. After some time, /etc/resolv.conf will be empty, and it sometimes is missing the "search" entry. Why is the network manager going crazy and doesn't stick with the information I'm giving it, and how do I fix this? Name resolution going down because /etc/resolv.conf keeps getting overwritten causes very annoying interruptions. I know I could disable network manager, but that isn't really a solution. I need it solved before I go to sleep, though. -- Fedora 17 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org