Unwanted DHCP configuration in Debian squeeze
I am using debian squeeze, and I want to have a static ip configuration on the computer in question. Here is my /etc/network/interfaces :
Code:
# This file describes the network interfaces available on your system |
Add the following directive to your interfaces:
Set managed=false in /etc/NetworkManager/NetworkManager.conf. Restart NetworkManager: /etc/init.d/network-manager restart More than likely network manager is trying to think for you. That "auto eth0" tells NM to automatically configure the interface, even tho its the proper syntax for a static Ip to open wit the auto followed by the static iface line. |
I have never installed NetworkManager on this computer (at least explicitly), and I don't have files /etc/NetworkManager/NetworkManager.conf and /etc/init.d/network-manager .
|
Well that would be too easy...
There would have to be some other piece of software interfering or some other system config that is playing a part here. From the info you given us your IP should only be assigned to that static IP. Have you noticed if the tx/rx packets reset when the IP changes for the interface? |
No, RX and TX are not dropped both when I figure out that my ip address was changed by dhcp and when I return it back using
Code:
/etc/init.d/networking stop |
All times are GMT -5. The time now is 11:57 PM. |