meshtastic / web

Meshtastic Web Client
https://client.meshtastic.org
GNU General Public License v3.0
208 stars 86 forks source link

Can't configure static IP config #111

Open micheljung opened 1 year ago

micheljung commented 1 year ago

If you try this: image

It silently fails like this: image 'invalid uint 32: string' (for search purposes)

Because of this:

/**
 * @generated from message meshtastic.Config.NetworkConfig.IpV4Config
 */
export declare class Config_NetworkConfig_IpV4Config extends Message<Config_NetworkConfig_IpV4Config> {
  /**
   *
   * Static IP address
   *
   * @generated from field: fixed32 ip = 1;
   */
  ip: number;

  /**
   *
   * Static gateway address
   *
   * @generated from field: fixed32 gateway = 2;
   */
  gateway: number;

  /**
   *
   * Static subnet mask
   *
   * @generated from field: fixed32 subnet = 3;
   */
  subnet: number;

  /**
   *
   * Static DNS server address
   *
   * @generated from field: fixed32 dns = 4;
   */
  dns: number;
aptonline commented 4 months ago

Seeing the same issue, unable to configure static ip settings under network. Hitting save does nothing.

aptonline commented 4 months ago

I've seen other posts saying you have to enter static details in reverse for this to work (1.1.168.192 for example) . Not tested but will be trying it.

aptonline commented 4 months ago

That doesn't work for me, still not able to say settings for network (static IP etc) from WebUI. updated to latest beta firmware and same issue.

aptonline commented 4 months ago

Managed to set static IP via Android app but noticed that the IP details are encoded, is this correct? See below.

Screenshot from 2024-02-18 19-16-14