READ ONLY FORUM: m23 :: makes software distribution easy Forum Index READ ONLY FORUM: m23 :: makes software distribution easy
The m23 discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

M23 server with static ip says it has a dynamic ip

 
Post new topic   Reply to topic    READ ONLY FORUM: m23 :: makes software distribution easy Forum Index -> Problems with the server / Serverprobleme
View previous topic :: View next topic  
Author Message
dleigh



Joined: 09 Aug 2013
Posts: 5

PostPosted: Fri Aug 09, 2013 5:49    Post subject: M23 server with static ip says it has a dynamic ip Reply with quote

Just read the FAQ for my first post:

Your current m23 version:
m23 version and patch level: 13.2 rock (100669)

How did you install the m23 server? (Complete installation from CD or by the installation script on the CD)
I guess I don't understand the difference between these two. I downloaded the iso, burned the cd and put it in the machine and went through the installation steps.

Did you change anything on the system by hand? If yes: what?
I didn't want LDAP or DHCP to run (subject of another post I want to write). I don't remember how I answered any questions but I'm pretty sure they are not running. I've also installed mc and webmin.

Ok, my question:

The server web interface says:


Quote:
Critical server state

Caution!

The m23 server got a dynamical IP address. This will lead to non-installable clients. You must setup the server with a statical IP address.


But /etc/network/interfaces has:

Code:
#/etc/network/interfaces -- generated by m23-Setup
#The loopback interface
auto lo
iface lo inet loopback


auto eth0
iface eth0 inet static
    address 172.20.0.1
    netmask 255.255.0.0
    network 172.20.0.0
    broadcast 172.20.255.255
    gateway 172.20.0.77


It has 172.20.0.1 as its IP address and that is correct. So should I ignore the message or is there something else I should do?

Thanks!
Back to top
View user's profile Send private message AIM Address
Hauke



Joined: 02 Mar 2003
Posts: 1072

PostPosted: Fri Aug 09, 2013 16:07    Post subject: Reply with quote

Hi,

this is strange. The interfaces looks correctly.

What happens, when you execute
Code:
sudo grep address /etc/network/interfaces | cut -d's' -f3 | cut -d' ' -f2 | head -1

on the m23 server?
_________________
Hauke Goos-Habermann
- project leader m23 (http://m23.sf.net) -
Jabber: dodgerm23@jabber.org

Schulung, Entwicklung und Support zu m23 und anderen OpenSource-Produkten: www.goos-habermann.de

Auch DU kannst etwas gegen Softwarepatente tun! www.patentfrei.de
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dleigh



Joined: 09 Aug 2013
Posts: 5

PostPosted: Wed Aug 28, 2013 6:31    Post subject: Reply with quote

Quote:
What happens, when you execute
Code:
sudo grep address /etc/network/interfaces | cut -d's' -f3 | cut -d' ' -f2 | head -1

on the m23 server?


It gets the correct address: 172.20.0.1
Back to top
View user's profile Send private message AIM Address
MarenH
Site Admin


Joined: 15 Sep 2004
Posts: 22
Location: Kiel, Germany

PostPosted: Sat Aug 31, 2013 11:22    Post subject: Reply with quote

Just talked to Hauke about this. It seems you can safely ignore the error message - although we have no idea what causes this bug.

Maren
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    READ ONLY FORUM: m23 :: makes software distribution easy Forum Index -> Problems with the server / Serverprobleme All times are GMT - 2 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group