Modifying WiFiX | GoldenOrb for IPV4 APN

How To Tutorials related to Routers and Firmware
Post Reply
User avatar
JimHelms
Site Admin
Posts: 701
Joined: Tue Dec 19, 2017 8:59 pm
Location: DFW Texas
Contact:

Modifying WiFiX | GoldenOrb for IPV4 APN

Post by JimHelms » Fri Jun 28, 2019 7:03 pm

WiFiX and GoldenOrb firmware by default assings and sends the APN as IPV4V6. There are occasions when an APN will requires an IPV4 address.

This tutorial will modify the script to send the APN to an IPV4 address.

There are two options provided for this modification:

1. Edit the create_connect.sh script, or

2. Swap the OEM create_connect.sh with the modified script provided below.


In order to access the root directory with the files in GoldenOrb, you will need to download and install the free WinSCP utility.

Next, download the Create_Connect _IPV4_Mod.rar file onto your desktop and extract/unzip the rar file.


Create_Connect _IPV4_Mod.rar
(8.68 KiB) Downloaded 37 times


Open WinSCP and log into GoldenOrb using the SCP File Protocol, and the IP Address: 192.168.1.1 (assuming you have not changed it to another)

Enter your user name (root, unless it has been changed) and the password used to log into your router.


Using WinSCP.png


Use the Drop Down selector on the top right side of WinSCP to find the root directory.

Locate the create_connect.sh script which located at /usr/lib/rooter/connect/create_connect.sh


Locating the create_connect File.png


You will notice in the unzipped Create_Connect _IPV4_Mod folder, there is an OEM folder and an create_connect.sh file.

The OEM folder will be used to back up your original create_connect.sh in the event anything goes wrong, or you simply want to resort back to the OEM file. We can also edit the script as addressed at the end of this tutorial.

Use the Drop Down selection menu on WinSCP to locate the unzipped Create_Connect _IPV4_Mod folder on your Desktop. Click on the OEM file to open it.


Drag and drop (copy) the OEM create_script.sh over to the OEM folder.


Create Backup of OEM Script.png


Use the blue back button on the tab bar and locate the modified create_script.sh file. Drag and drop the modified create_script.sh file into the connect folder (unless you plan to modify the OEM script).


Replace OEM with modified script.png


Exit WinSCP, and reboot the router.


EDITING THE SCRIPT AS OPPOSED TO REPLACING IT:


Some may prefer simply editing the OEM create-connect.sh script instead of replacing it.

You will need a good editor like Notepad++ which if free and can be downloaded from HERE.

After installation of Notepad++, right click the create_connect.sh file and select Edit with Notepad++.

Once the file opens, scroll down to line 68 (numbered on the left hand side).


Line 68 with IPV4V6 Info.png


Next, change:

Code: Select all

IPVAR="IPV4V6"
to

Code: Select all

IPVAR="IP"

Line 68 with IP info.png


Exit WinSCP, and reboot the router.

xdavidx
Posts: 247
Joined: Tue May 28, 2019 4:04 pm

Re: Modifying WiFiX | GoldenOrb for IPV4 APN

Post by xdavidx » Fri Jun 28, 2019 9:57 pm

Which takes precedence -- this script or if you set the APN manually through AT commands through the modem->misc screen?

User avatar
JimHelms
Site Admin
Posts: 701
Joined: Tue Dec 19, 2017 8:59 pm
Location: DFW Texas
Has thanked: 45 times
Been thanked: 46 times
Contact:

Re: Modifying WiFiX | GoldenOrb for IPV4 APN

Post by JimHelms » Sun Jul 14, 2019 2:18 pm

xdavidx wrote:
Fri Jun 28, 2019 9:57 pm
Which takes precedence -- this script or if you set the APN manually through AT commands through the modem->misc screen?
The script will program (or reprogram) the APN on connection.
These users thanked the author JimHelms for the post:
xdavidx (Mon Jul 15, 2019 1:14 pm)

Post Reply
  • Similar Topics
    Replies
    Views
    Last post