Static IP not working ("connmand" problem)?
Hi,
in short:
How to configure static IP? network/interfaces as in [1] seem not to
work because of a "connmand".
in detail:
I had a failure of my DHCP server and was unable to connect to my
statically configured Debian 8 server. Or at least I intended to
configure static IP. The setup is very simple, just one Ethernet NIC,
static IP and static routing. However I failed to configure it
unfortunately.
According to [1] I configured a "iface eth0 inet static" stanza with
"address 192.168.9.24" etc in /etc/network/interfaces[2] and I though
I would be done, but this seems not work for me.
After fixing DHCP server I checked /var/log/syslog and found during
the fail time:
Aug 20 18:42:03 lia connmand[1444]: eth0 {del} address
169.254.141.65/16 label eth0
Aug 20 18:42:03 lia connmand[1444]: eth0 {del} route 169.254.0.0 gw
0.0.0.0 scope 253 <LINK>
and after fixing DHCP entries change to:
Aug 20 19:21:24 lia connmand[1444]: eth0 {add} address
192.168.9.24/24 label eth0 family 2
Aug 20 19:21:24 lia connmand[1444]: eth0 {add} route 192.168.9.0 gw
0.0.0.0 scope 253 <LINK>
but as said, I have to use static IPs for servers of course (namely to
be safe for DHCP failures).
Except a non helping man page, I found no documentation about
"connmand" (using google). I'm pretty sure that I did a standard
server installation and did not install network manager things
manually, so I have no clue why I have this package installed at all.
Also I found none of the documented configuration files on disk, but
there is e.g. /etc/init/connman.conf.
I hope someone can answer my questions:
How do I configure a static IP to my server?
Where do I find the log messages about DHCP? I'm used to see DHCP
server IP, max lease time etc.
What is "connmand", where can I learn more about it, and why is it
installed at all? Can I / should I simply "apt-get purge" it?
Is the documentation [1] the wrong place to look? If not, should I
update it according to the replies to my questions?
"dpkg -i connman" tells "Intel Connection Manager daemon" and points
to "https://connman.net", but there I get ERR_CONNECTION_REFUSED. Is
this an official debian package at all? Google search seem to suggest
Ubuntu packages only. I hope I didn't somehow to manage to install
Ubuntu packages and messed up something...
Any background info (documentation links) that helps me to understand
what happens would be highly appreciated!
Steffen
[1] https://wiki.debian.org/NetworkConfiguration#Configuring_the_interface_manually
[2] /etc/network/interfaces:
allow-hotplug eth0
iface eth0 inet static
address 192.168.9.24
netmask 255.255.255.0
gateway 192.168.9.30
Reply to: