HT -M02 - Fix IP doesnt work! - Urgent delay in a project

Hello guys,

I have tryed everything to make my IP static on my HTM02, it just dont work. Can you help me ?

Here is my /etc/network/interfaces file!

auto lo
iface lo inet loopback

#My IP description
# IPv4 address
iface eth0 inet static
        address 192.168.1.10
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.1

My HTM02 linux version:

PRETTY_NAME=“Debian GNU/Linux 9 (stretch)”
NAME=“Debian GNU/Linux”
VERSION_ID=“9”
VERSION=“9 (stretch)”
ID=debian
HOME_URL=“https://www.debian.org/
SUPPORT_URL=“https://www.debian.org/support
BUG_REPORT_URL=“https://bugs.debian.org/

have you tried to set a static ip in
/etc/dhcp/dhclient.conf

I think you should use auto lo eth0 else, eth0 will not be started during start up (at least, it’s like this in server systems without netmanager.

What’s the symtom? No network or dhcp network?

yes, whitout success. I can post here the configuration tomorrow.

Thanks! I ll try tomorrow morning!

It works, however it got two ips, the dhcp and the other that a fixed. =)

I’ll check. But first, I got to sleep…

1 Like

Is already working. @eiten many thanks!

Glad to hear that. You’re welcome.

1 Like