<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Guide : How to use USB 4G Dongles/Modems on GAIA R80.40 in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Guide-How-to-use-USB-4G-Dongles-Modems-on-GAIA-R80-40/m-p/98487#M7659</link>
    <description>&lt;P&gt;Nice work figuring this out!&lt;BR /&gt;But, let’s be clear: there is no formal support for this.&lt;BR /&gt;For customers/partners: involve the local office if this is required.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Oct 2020 02:59:23 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2020-10-08T02:59:23Z</dc:date>
    <item>
      <title>Guide : How to use USB 4G Dongles/Modems on GAIA R80.40</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Guide-How-to-use-USB-4G-Dongles-Modems-on-GAIA-R80-40/m-p/98405#M7647</link>
      <description>&lt;P&gt;&lt;FONT face="arial black,avant garde" size="6" color="#FF0000"&gt;This is an Unofficial Community Guide.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial black,avant garde" size="6" color="#FF0000"&gt;It has not been Verified or Supported by Check Point.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial black,avant garde" size="6" color="#FF0000"&gt; Use this at your OWN RISK.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial black,avant garde" size="5" color="#FF0000"&gt;** You have been warned **&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi all.&lt;/P&gt;
&lt;P&gt;With the launch of the 3600/3800 appliances I noticed that they did not support USB dongles.&lt;/P&gt;
&lt;P&gt;Below is a summary what is required to make these dongles work in GAIA.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;STRONG&gt;Background:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Most current usb dongles emulate some sort of USB storage device when you plug them into the appliance. This is by design so the user can install the drivers for these devices which is located on the emulates storage device. Fortunately the 3.10 kernel used in GAIA R80 already has these drivers built in. These devices actually emulate a USB ethernet device.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to get these devices to work we must do a USB_MODESWITCH on these device. The USB_MUDESWITCH kicks these devices out of USB_Storage mode and into USB Ethernet mode. The device I have tested this on in Australia is the Huawei E8372 (Telstra Branded). This device uses the CDC_Ether driver built into the kernel.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;FONT face="arial black,avant garde"&gt;Procedure:&lt;/FONT&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Plug in your device into the USB port on the FW. Issue the below command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;lsusb&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;output will show. You can clearly see its shows the device in "Mass Storage Mode"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="gm8vqhS" style="width: 804px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/8297iFC02F10601E85861/image-size/large?v=v2&amp;amp;px=999" role="button" title="gm8vqhS" alt="gm8vqhS" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Write down the Vendor ID = mine is 12d1 and Product ID = mine is 1f01.&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Next we need to copy the usb_modeswitch binary file the GW. (&lt;U&gt;I have attached the file to this post)&lt;/U&gt;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;curl_cli -Lk https://github.com/haris2887/CPUSBMODESWITCH/blob/main/usb_modeswitch/usr/sbin/usb_modeswitch?raw=true --output /usr/sbin/usb_modeswitch&lt;/LI-CODE&gt;
&lt;P&gt;You must also fix the permissions as per below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;chmod 755 /usr/sbin/usb_modeswitch&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to test usb_modeswitch works for you.&lt;/P&gt;
&lt;P&gt;you can now do : &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;(remember to replace VendorID and ProductID with what you obtained in step 1)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;usb_modeswitch -v 12d1 -p 1f01 -J&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to check if it worked if it was successful type:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dmesg&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="CJsrZ4l" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/8298iEA61DCDF02A0B1D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="CJsrZ4l" alt="CJsrZ4l" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finally to make everything permanent and automatically switch USB mode when device is plugged in.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Remember to use you own VendorID (12d1) and ProductID (1f01) also change "&lt;U&gt;eth4&lt;/U&gt;" to your interface.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;tee -a /etc/udev/rules.d/52-e8372.rules &amp;gt; /dev/null &amp;lt;&amp;lt;END
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1f01", RUN+="/usr/sbin/usb_modeswitch -v 12d1 -p 1f01 -J"
ACTION=="add", KERNEL=="eth4", SUBSYSTEM=="net", RUN+="/bin/sh -c '/usr/sbin/ifconfig eth4 up ; /usr/sbin/dhclient -r eth4' "
END
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;FONT face="arial black,avant garde"&gt;Final Connectivity Testing&lt;/FONT&gt;:&amp;nbsp;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;from &lt;STRONG&gt;clish&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;add dhcp client interface eth4&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;set interface eth4 comments "4G USB Dongle"&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;set interface eth4 state on&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can see from the GAIA web UI&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="ORQPbWZ" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/8299iA7B5205B2D31447C/image-size/large?v=v2&amp;amp;px=999" role="button" title="ORQPbWZ" alt="ORQPbWZ" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;Known Issues:&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;Below was resolved.&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRIKE&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Hot plugging does not work yet. If you unplug the USB device from the CP appliance and plug it in again. you must&amp;nbsp;do:&lt;/FONT&gt;&lt;/STRIKE&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;STRIKE&gt;The above &lt;STRONG&gt;limitation does not apply to appliance reboots&lt;/STRONG&gt;. When the appliance reboots the interface comes back by itself. It strictly related to hotp-luging USB device.&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;I am trying to figure out the best way to fix this, If anyone has ideas please reach out to me.&lt;/STRIKE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 10:59:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Guide-How-to-use-USB-4G-Dongles-Modems-on-GAIA-R80-40/m-p/98405#M7647</guid>
      <dc:creator>Haris_Chaudhry</dc:creator>
      <dc:date>2020-10-30T10:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Guide : How to use USB 4G Dongles/Modems on GAIA R80.40</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Guide-How-to-use-USB-4G-Dongles-Modems-on-GAIA-R80-40/m-p/98407#M7648</link>
      <description>&lt;P&gt;I should also add the usb_modeswitch switch supports many different types of dongles.&lt;/P&gt;
&lt;P&gt;Sierra, Cisco, Blackberry even android phones in tethering mode :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Q6XRsHi" style="width: 651px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/8300i9C629FD7443D7A31/image-size/large?v=v2&amp;amp;px=999" role="button" title="Q6XRsHi" alt="Q6XRsHi" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 11:49:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Guide-How-to-use-USB-4G-Dongles-Modems-on-GAIA-R80-40/m-p/98407#M7648</guid>
      <dc:creator>Haris_Chaudhry</dc:creator>
      <dc:date>2020-10-07T11:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Guide : How to use USB 4G Dongles/Modems on GAIA R80.40</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Guide-How-to-use-USB-4G-Dongles-Modems-on-GAIA-R80-40/m-p/98487#M7659</link>
      <description>&lt;P&gt;Nice work figuring this out!&lt;BR /&gt;But, let’s be clear: there is no formal support for this.&lt;BR /&gt;For customers/partners: involve the local office if this is required.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 02:59:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Guide-How-to-use-USB-4G-Dongles-Modems-on-GAIA-R80-40/m-p/98487#M7659</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-10-08T02:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Guide : How to use USB 4G Dongles/Modems on GAIA R80.40</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Guide-How-to-use-USB-4G-Dongles-Modems-on-GAIA-R80-40/m-p/98501#M7664</link>
      <description>&lt;P&gt;Agreed, hence the big red bold warning at the top.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 04:57:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Guide-How-to-use-USB-4G-Dongles-Modems-on-GAIA-R80-40/m-p/98501#M7664</guid>
      <dc:creator>Haris_Chaudhry</dc:creator>
      <dc:date>2020-10-08T04:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Guide : How to use USB 4G Dongles/Modems on GAIA R80.40</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Guide-How-to-use-USB-4G-Dongles-Modems-on-GAIA-R80-40/m-p/151251#M24659</link>
      <description>&lt;P&gt;Nice job.&amp;nbsp;&amp;nbsp;Where do I set the custom APN?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 09:38:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Guide-How-to-use-USB-4G-Dongles-Modems-on-GAIA-R80-40/m-p/151251#M24659</guid>
      <dc:creator>Emil_Devecka</dc:creator>
      <dc:date>2022-06-20T09:38:17Z</dc:date>
    </item>
  </channel>
</rss>

