Skip to content

2022/09/30 06:48:22 no server address provided #12

@suyuan168

Description

@suyuan168

efine Package/netmaker/install
$(INSTALL_DIR) $(1)/etc/netclient/
$(INSTALL_DIR) $(1)/etc/netclient/config
$(INSTALL_DIR) $(1)/etc/systemd/
$(INSTALL_DIR) $(1)/etc/systemd/system
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(GO_PKG_BUILD_BIN_DIR)/netmaker $(1)/usr/bin/
$(INSTALL_BIN) $(GO_PKG_BUILD_BIN_DIR)/netclient $(1)/usr/bin/
$(CP) ./root/* $(1)/
$(LN) netclient $(1)/etc/netclient/netclient
endef

I can't run it on openwrt right now.
Please tell me is there any way to make openwrt run automatically as a service.
For example, a configuration file like frpc can be defined in /etc/config/frpc.
It starts automatically every time you turn it on.

root@antrouter:# netclient join -t eyJhcGljb25uc3RyaW5nIjoiYXBpLnNkd2FuLjU1ODYwLmNvbTo0NDMiLCJuZXR3b3JrIjoibXluZXQiLCJrZXkiOiI4MDhkYmMyMGUzZjE1NjMx
IiwibG9jYWxyYW5nZSI6IiJ9
2022/09/30 06:48:22 no server address provided
root@antrouter:
#
My router has installed netclient/ correctly
The path is /etc/init.d/netclient
I have created netmaker correctly
create network, KEY
At the same time my windows and linux are running and joining the network.
What I want to achieve is that two PCs under openwrt can communicate with each other.
For example openwrt A 192.168.100.x
For example Openwrt B 192.168.101.x
PCs connected below them are able to access each other via netmaker.
???

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions