Skip to content

Commit

Permalink
cable-guy: use server+client setup as default
Browse files Browse the repository at this point in the history
  • Loading branch information
Williangalvani authored and patrickelectric committed Jan 13, 2025
1 parent 159e31f commit f4f7cf9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion core/services/cable_guy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,13 @@

if args.default_config == "bluerov2":
default_configs = [
NetworkInterface(name="eth0", addresses=[InterfaceAddress(ip="192.168.2.2", mode=AddressMode.Server)]),
NetworkInterface(
name="eth0",
addresses=[
InterfaceAddress(ip="192.168.2.2", mode=AddressMode.Server),
InterfaceAddress(ip="0.0.0.0", mode=AddressMode.Client),
],
),
NetworkInterface(name="usb0", addresses=[InterfaceAddress(ip="192.168.3.1", mode=AddressMode.Server)]),
]

Expand Down

0 comments on commit f4f7cf9

Please sign in to comment.