Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10th October 2007, 01:01 AM
casket88 Offline
Registered User
 
Join Date: Sep 2007
Posts: 114
NetworkManager using DHCP for static interface

Hi all,

I have usedNetwork Configuration to configure my wired nic (eth0) to have static addressing. The problem is however is when i turn networkmanager on (it is set to start on boot) it "overrides" the static configuration and uses dhcp causing a whole heap of problems.

Anyone know how to fix this?

Thanks

[Bonus Question: I have created 2 threads about Network Profiles on this forum so my users can change between them at will but no one has answered me. This is easy on Windows and even easier on mac, is there no way to configure these type of profiles in Linux without having to be root to switch between them?]
Reply With Quote
  #2  
Old 10th October 2007, 02:36 AM
ppesci's Avatar
ppesci Offline
Registered User
 
Join Date: May 2006
Location: Caracas, Venezuela
Posts: 1,828
You don't need Network Manager. I configure my networking cards in Administration > Network Configuration.

There are commentaries about Network Manager and Nework Configuration are incompatibles.

HTH
__________________
Pietro Pesci Feltri

PowerBook 15" G4 and
MacBook Pro 17" Intel Core 2 Duo
Intel I5 Desktop
Reply With Quote
  #3  
Old 10th October 2007, 03:33 AM
casket88 Offline
Registered User
 
Join Date: Sep 2007
Posts: 114
The only reason I use Network Manager is because it makes it easy for the wireless users to see what access points are in range and connect to them.
Reply With Quote
  #4  
Old 10th October 2007, 03:53 AM
ppesci's Avatar
ppesci Offline
Registered User
 
Join Date: May 2006
Location: Caracas, Venezuela
Posts: 1,828
I use KDE and saw an utility doing this. At this moment I don't have it installed and do not remember, but you can find the paclage if needed.
__________________
Pietro Pesci Feltri

PowerBook 15" G4 and
MacBook Pro 17" Intel Core 2 Duo
Intel I5 Desktop
Reply With Quote
  #5  
Old 10th October 2007, 04:08 AM
Iron_Mike's Avatar
Iron_Mike Offline
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,762
Quote:
Originally Posted by casket88
Hi all,

I have usedNetwork Configuration to configure my wired nic (eth0) to have static addressing. The problem is however is when i turn networkmanager on (it is set to start on boot) it "overrides" the static configuration and uses dhcp causing a whole heap of problems.

Anyone know how to fix this?

Thanks

[Bonus Question: I have created 2 threads about Network Profiles on this forum so my users can change between them at will but no one has answered me. This is easy on Windows and even easier on mac, is there no way to configure these type of profiles in Linux without having to be root to switch between them?]

When using the the Network Configuration gui, when you set it for STATIC ip addressing, did you also put a check mark in the "allow users to enable/disable device..By setting the "allow user" bit you do not need profiles, as the individual users will be allowed to configure the interface as they see fit....
Reply With Quote
  #6  
Old 10th October 2007, 04:13 AM
casket88 Offline
Registered User
 
Join Date: Sep 2007
Posts: 114
The problem is the users are very computer illiterate and they are going to winge and moan if they have to remember static IP information and change it every time they enter the office. Doing this will probably also raise support calls (they like to call me on the weekend) saying "HELP HELP HELP IM MY FRIENDS HOUSE AND I CANT CONNECT AND ITS REALLY IMPORTANT AND AND AND AND AND...."

I would like to avoid that at all costs.
Reply With Quote
  #7  
Old 18th October 2007, 04:17 AM
casket88 Offline
Registered User
 
Join Date: Sep 2007
Posts: 114
Bump. Anyone know how I can achieve this? There HAS to be a way my users can switch between a Wired connection using DHCP and a wired connection with static addressing.

Please!
Reply With Quote
  #8  
Old 18th October 2007, 04:58 AM
ppesci's Avatar
ppesci Offline
Registered User
 
Join Date: May 2006
Location: Caracas, Venezuela
Posts: 1,828
I donot use network manager, but I think you can create a script in de desktop for user to double click.

one example is aas follows:

/sbin/ifconfig eth0 down
/sbin/ifconfig eth0 192.168.0.2
/sbin/dhclient eth0

First eth0 gets a static ip, then try to aquire a dynamic IP, if fails, static ip remain, if ot, dynamic is used. Use this script with many grains of salt, because I am not a bash programer by a mile

HTH
__________________
Pietro Pesci Feltri

PowerBook 15" G4 and
MacBook Pro 17" Intel Core 2 Duo
Intel I5 Desktop
Reply With Quote
  #9  
Old 18th October 2007, 06:50 AM
casket88 Offline
Registered User
 
Join Date: Sep 2007
Posts: 114
What about changing the Default Gateway and DNS servers?
Reply With Quote
  #10  
Old 18th October 2007, 07:03 AM
ppesci's Avatar
ppesci Offline
Registered User
 
Join Date: May 2006
Location: Caracas, Venezuela
Posts: 1,828
Right, you must to do 2 scripts, one for static and one for dynamic
__________________
Pietro Pesci Feltri

PowerBook 15" G4 and
MacBook Pro 17" Intel Core 2 Duo
Intel I5 Desktop
Reply With Quote
  #11  
Old 18th October 2007, 07:05 AM
casket88 Offline
Registered User
 
Join Date: Sep 2007
Posts: 114
I can do that. Can you give me the command for changing the DNS entries and I will read up on how to do it.
Reply With Quote
Reply

Tags
dhcp, interface, networkmanager, static

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NetworkManager static ip and routing ormsky Servers & Networking 6 22nd April 2010 05:10 AM
static ip in F9 -> interface down vorcigernix Servers & Networking 30 23rd May 2008 08:22 AM
Static ip in FC7 - not dhcp bananasfk Servers & Networking 3 18th June 2007 08:27 PM
Specifying a static IP with DHCP sfboarders Servers & Networking 5 24th May 2005 08:26 PM
FC2 Overriding static if in favor of dhcp system set for static pkraus109 Servers & Networking 2 21st September 2004 05:13 PM


Current GMT-time: 05:11 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat