Skip to content

Any solution to visit the board which configured with dhcp address? #1096

Answered by Emantor
atline asked this question in Q&A
Discussion options

You must be logged in to vote

This can be done, but requires your board to have a strategy at the moment. If you have a strategy, you can boot up the board within a state, login, get the current IP address and register the NetworkService yourself within the strategy. Thereafter SSHDriver connections should work. Since labgrid client will use an existing registered driver from the environment, this will work with the labgrid-client environment and state command line options i.e. labgrid-client -c env.yaml -s ssh ssh where ssh is a state within your env.yaml which boots up the board, gets the ip address and registers a NetworkService.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@atline
Comment options

@atline
Comment options

@Emantor
Comment options

Answer selected by atline
Comment options

You must be logged in to vote
1 reply
@atline
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1095 on February 23, 2023 06:39.