Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-24-2006, 03:47 PM
Junior Member
 
Posts: 5
Default resolv.conf is reset

I have installed zimbra on fedora core 4 and I followed the instructions here and everything was fine while setting up, BUT when I reboot the box the /etc/resolv.conf file is reset.

The file looks like this:
;generated by /sbin/dhclient-script
search mydomain.com
nameserver x.x.x.x
nameserver y.y.y.y

The first line is dubious to say the least.

I have thought of 3 solutions and would like input on which is best or possibly someone could propose another.
  1. Uninstall dhcclient
  2. chmod the file unwriteable
  3. some unknown(to me) configuration panel that is overriding my manual edits
  4. ignore it

As far as #3 goes I went to System Settings > Network and changed the entries there, saved the settings and restarted named and the network but the file is still rewriten on boot. Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 08-24-2006, 03:52 PM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

hi, change your network setup to a static ip address. currently you have an interface that gets its details through dhcp which is overwriting resolv.conf.

1. just make the interface static
2. chmoding the file won't help as the dhcp client i presume runs as root!
3. unlikely, network interface setup it pretty fundamental setting
4. don't ignore it!
Reply With Quote
  #3 (permalink)  
Old 08-24-2006, 04:11 PM
Junior Member
 
Posts: 5
Default

Quote:
Originally Posted by dijichi2
hi, change your network setup to a static ip address
I was hoping you would not say that
When I change the interface to static I lose access to internet. i used ifconfig to get the IP I used in setup and also for the subnet mask. And guessed for the default gateway

Is there any way to figure out what default gateway dhcp assigns?

Would there be any reason to be blocked for not querying the DHCP client before conecting? or am I more likely putting in the address wrong?
Reply With Quote
  #4 (permalink)  
Old 08-24-2006, 05:19 PM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

is this a home box getting dhcp response from router? or in a corporate lan?

if former, the router should have a reserved range for dynamic addresses - pick one outside of this range, or if yours is the only computer then just use the same ip or pick one at random from the same subnet. if it's in a corporate lan, DO NOT DO THIS!! get a real ip from the network manager.

you can get the gateway address by doing:

netstat -nr

the gateway will be the second field of the line that starts 0.0.0.0. if you're doing this by hand (sounds like you are if you're using ifconfig), you can set this by doing:

route add default gateway

you won't be blocked for not querying dhcp.

i've haven't used fedora for years but you should be able to set the networking more permanently by editing scripts in /etc/sysconfig/network-scripts (and /etc/sysconfig/network) - /etc/sysconfig/network-scripts/ifcfg-eth0 if memory serves.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.