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

10th October 2007, 01:01 AM
|
|
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?]
|

10th October 2007, 02:36 AM
|
 |
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
|

10th October 2007, 03:33 AM
|
|
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.
|

10th October 2007, 03:53 AM
|
 |
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
|

10th October 2007, 04:08 AM
|
 |
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....
|

10th October 2007, 04:13 AM
|
|
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.
|

18th October 2007, 04:17 AM
|
|
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!
|

18th October 2007, 04:58 AM
|
 |
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
|

18th October 2007, 06:50 AM
|
|
Registered User
|
|
Join Date: Sep 2007
Posts: 114

|
|
|
What about changing the Default Gateway and DNS servers?
|

18th October 2007, 07:03 AM
|
 |
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
|

18th October 2007, 07:05 AM
|
|
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 05:11 (Monday, 20-05-2013)
|
|
 |
 |
 |
 |
|
|