You are currently viewing the content available in Vietnam. If you are looking for information for another region, please select the correct country from the top-left dropdown in the page and 'Navigate to Browse FAQs' in the Support menu.
Question
How to configure the HMIBSC Edge Box as a 4G router
Description
Keywords
Schneider Electric, HMIBSC, BSC, Edge Box, Configuration, 4G, router
Case author:
Lilian Cabos
Product Familly
IIOT Edge Box
How to configure the HMIBSC Edge Box as a 4G router
Description
1- Create the IP_Forwarding script
~# vi /etc/init.d/IP_Forwarding.sh
#!/bin/sh
loadkeys fr # To set the keyboard - optional if you prefer use a qwerty keyboard
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o usb0 -j MASQUERADE
Save file with :wq
2- Create a link in the correct run level
~# ln -s /etc/init.d/IP_Forwarding.sh /etc/rc3.d/S98IP_Forwarding #The RC number depend of your run level
3- Add the executable right for the script
~# chmod 755 /etc/init.d/IP_Forwarding.sh
~# ls -l /etc/init.d/IP_Forwarding.sh # rwxr-xr-x rights
4- ~# reboot
Keywords
Schneider Electric, HMIBSC, BSC, Edge Box, Configuration, 4G, router
Case author:
Lilian Cabos
Product Familly
IIOT Edge Box