Skip to content

grisp/grisp_netman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grisp_netman

Network interface configurator for GRiSP systems.

Features

  • Wired Ethernet, IPv4 DHCP
  • Wired Ethernet, IPv4 static IP
  • CAN bus
  • M-DNS

Configuration

grisp_netman appplication configuration needs to be specified in the config file of your release.

Examples

Simple interface with dhcp client

This is the minimal configuration to bring up the ethernet interface called eth0. This uses the dhcp client deamon to set the interface addresses.

{grisp_netman, [
    {interfaces, [
        {"eth0", [
            {type, grisp_netman_ethernet},
            {ipv4, [
                {method, dhcp}
            ]}
        ]}
    ]}
]}

Complete interface with static ipv4

You need to specify at least IP and network mask length. Gateway and nameservers are optional.

{grisp_netman, [
    {interfaces, [
        {"eth0", [
            {type, grisp_netman_ethernet},
            {ipv4, [
                {method, static},
                {address, "192.168.2.100"},     % required
                {netmask, 24},                  % required
                {gateway, "192.168.2.1"},       % optional
                {nameservers, ["1.1.1.1"]}      % optional
            ]}
        ]}
    ]}
]}

CAN Bus

You can optionally specify the bitrate, 500000 is the default.

{grisp_netman, [
    {interfaces, [
        {"can0", [
            {type, grisp_netman_can},
            {bitrate, 500000}
        ]}
    ]}
]}

About

Network manager for GRiSP embedded systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages