Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to put a service on the mesh? #9

Closed
paidforby opened this issue Dec 12, 2017 · 7 comments
Closed

how to put a service on the mesh? #9

paidforby opened this issue Dec 12, 2017 · 7 comments

Comments

@paidforby
Copy link

a la @jhpoelen proposal for an operator's manual in sudowrt issue 118, I would also like to document the process for getting "my first service" on the mesh. All the way from conception (i.e. "I have this idea..." or "we should have this...") to implementation (get a computer, pi, router... install this package or that...) to maintenance ("am I getting updates?" and "who's maintaining this?").

I understand an attempt was made at this with mesh-playbooks, so maybe that can be updated or revised. Any advice?

@Juul
Copy link
Member

Juul commented Dec 13, 2017 via email

@paidforby
Copy link
Author

Ports 1, 2 and 4 do not appear to be providing ip addresses. Issue opened in sudowrt-firmware (sudomesh/sudowrt-firmware#121)

@paidforby
Copy link
Author

paidforby commented Dec 20, 2017

Started services guide in babeld-lab because why not. Should be eventually moved to buildyourowninter.net (ed. updated link) once that is built.

@jhpoelen
Copy link
Contributor

Can confirm that public port (or port 4) does hand out IPs some of the time. However, I can't seem to reproduce on other router, probably due to my lack of understanding of dhcp caching (the second service I tried to configure got a 172.30.* address first, and keeps associating with it).

Also, the extender node ips for a home node can be found here:

# cat /etc/config/notdhcpserver 
config server
  option enabled '1'
  list addresses 'eth0.1=100.65.20.66/26'
  list addresses 'eth0.2=100.65.20.67/26'
  option hook_script '/opt/notdhcpserver/hook.sh'
  option ssl_cert '/etc/uhttpd.crt'
  option ssl_key '/etc/uhttpd.key'
  option timeout_length '180'

@jhpoelen
Copy link
Contributor

the ip pattern seems to be: home node ip +1 and +2 . In this case, home node mesh ip was 100.65.20.65 .

jhpoelen pushed a commit to sudomesh/babeld-lab that referenced this issue Jan 26, 2018
@jhpoelen
Copy link
Contributor

@paidforby please close this issue if the changes in sudomesh/babeld-lab@fd82ab9 fix this.

@paidforby
Copy link
Author

@jhpoelen thanks for the services guide, works for me and others, assuming the exit node it up...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants