Skip to content
Snippets Groups Projects
Commit 6a665c59 authored by Bob Mottram's avatar Bob Mottram
Browse files

mtu for mesh hotspot

parent de008e4f
No related branches found
No related tags found
No related merge requests found
......@@ -273,6 +273,9 @@ function start {
# bridge between mesh and wifi hotspot for mobile
HOTSPOT_NAME=$"${WIFI_SSID}-hotspot"
ifconfig $IFACE_SECONDARY down
ifconfig $IFACE_SECONDARY mtu 1500
ifconfig $IFACE_SECONDARY hw ether $(assign_peer_address)
iwconfig $IFACE_SECONDARY enc open
iwconfig $IFACE_SECONDARY mode managed essid $HOTSPOT_NAME channel ${CHANNEL}
iwconfig $IFACE_SECONDARY ap $CELLID
......@@ -302,7 +305,7 @@ function start {
ifconfig $BRIDGE_HOTSPOT up
avahi-autoipd --force-bind --daemonize --wait $BRIDGE_HOTSPOT
ifconfig $IFACE_SECONDARY up promisc
ifconfig $IFACE_SECONDARY auto-dhcp
ifconfig $IFACE_SECONDARY auto-dhcp start
fi
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment