Ip forwarding

90 views
Skip to first unread message

Josiah Akinloye

unread,
Dec 15, 2019, 1:42:24 AM12/15/19
to BeagleBoard
please how can i forward ip address of a sim 7600e to a beaglebone wifi. so as to use it has hotspot?

Gwen Stouthuysen

unread,
Dec 16, 2019, 5:59:08 AM12/16/19
to beagl...@googlegroups.com
Let me try to explain what you will have to do:
It is a bit more complex than forwarding the IP address, but it is a well documented setup.

But you are lucky: the standard Debian OS prepares the WiFi as an access point, you just have to arrange the SIM7600e integration and the bridge & Firewall


Regards,

Gwen

Op zo 15 dec. 2019 om 07:42 schreef Josiah Akinloye <josiaha...@gmail.com>:
please how can i forward ip address of a sim 7600e to a beaglebone wifi. so as to use it has hotspot?

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/98926bc9-0d9b-493c-8b49-d06f76b73d62%40googlegroups.com.

Josiah Akinloye

unread,
Dec 16, 2019, 7:49:45 AM12/16/19
to beagl...@googlegroups.com
Thanks for your reply, I have been able to get internet connectivity from the modem using MBIM and also I have created a WiFi gateway + DHCP server using COMMANCTL but where I have problem is the bridging the gateway with the network port offered by the 4g modem.  Thanks again 

--
Josiah Akinloye
ceo at Hubtecs Technological Institute
Robotic and Automation
Egalitarian Transhumanist
Futurist
"Mindset powered by hard work equals unbeatable Achievement"--OLUWEST

Gwen Stouthuysen

unread,
Dec 16, 2019, 7:55:43 AM12/16/19
to beagl...@googlegroups.com
Here is some explication/tutorial on bridging the two networks in your BBW


Regards,

Gwen 

Op ma 16 dec. 2019 om 13:49 schreef Josiah Akinloye <josiaha...@gmail.com>:

Josiah Akinloye

unread,
Dec 16, 2019, 8:17:09 AM12/16/19
to beagl...@googlegroups.com
Thanks Gwen, Do you have any idea how I can manage the WiFi network on beagle bone wireless without using CONNMANCTL

Kind regards,
Josiah 

Gwen Stouthuysen

unread,
Dec 16, 2019, 8:57:05 AM12/16/19
to beagl...@googlegroups.com
No, I haven't tried to remove connmanctl

I have no problem with the application, as it does exactly what I want it to do.

There is quite some configuration behind the curtains, dive deeper into the configuration files and you might find the settings you want to alter. 

Gwen

Op ma 16 dec. 2019 om 14:17 schreef Josiah Akinloye <josiaha...@gmail.com>:

Josiah Akinloye

unread,
Dec 16, 2019, 9:00:20 AM12/16/19
to beagl...@googlegroups.com
Thanks Gwen.
I really appreciate your effort.
I will get back to you 
Again... a big thanks 

Tarmo Kuuse

unread,
Dec 17, 2019, 9:22:50 AM12/17/19
to BeagleBoard
Hi Josiah!


On Monday, 16 December 2019 16:00:20 UTC+2, Josiah Akinloye wrote:
Thanks Gwen.
I really appreciate your effort.
I will get back to you 
Again... a big thanks 
On Mon, 16 Dec 2019 at 14:56 Gwen Stouthuysen <gwen.st...@gmail.com> wrote:
No, I haven't tried to remove connmanctl

I have no problem with the application, as it does exactly what I want it to do.

There is quite some configuration behind the curtains, dive deeper into the configuration files and you might find the settings you want to alter. 

Gwen

Op ma 16 dec. 2019 om 14:17 schreef Josiah Akinloye <josiaha...@gmail.com>:
Thanks Gwen, Do you have any idea how I can manage the WiFi network on beagle bone wireless without using CONNMANCTL

Kind regards,
Josiah 

On Mon, 16 Dec 2019 at 13:55 Gwen Stouthuysen <gwen.st...@gmail.com> wrote:
Here is some explication/tutorial on bridging the two networks in your BBW


Regards,

Gwen 

Op ma 16 dec. 2019 om 13:49 schreef Josiah Akinloye <josiaha...@gmail.com>:
Thanks for your reply, I have been able to get internet connectivity from the modem using MBIM and also I have created a WiFi gateway + DHCP server using COMMANCTL but where I have problem is the bridging the gateway with the network port offered by the 4g modem.  Thanks again 

On Mon, 16 Dec 2019 at 11:58 Gwen Stouthuysen <gwen.st...@gmail.com> wrote:
Let me try to explain what you will have to do:
It is a bit more complex than forwarding the IP address, but it is a well documented setup.

But you are lucky: the standard Debian OS prepares the WiFi as an access point, you just have to arrange the SIM7600e integration and the bridge & Firewall

When both your dialup connection and Wifi are managed by connman, you can use its built-in tethering functionality to share Internet from first to the other.

If I'm interpreting connmanctl v1.36 documentation correctly (connmanctl --help), the command would look something like this:

$ sudo connmanctl tether wifi on MY_SSID MY_PASS

There might be some requirements, i.e. connman might assume it has established the dialup connection (as opposed to MBIM). I haven't experimented this much.

--
Kind regards,
Tarmo

Josiah Akinloye

unread,
Dec 17, 2019, 9:24:18 AM12/17/19
to beagl...@googlegroups.com
Hello Tarmo 

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

Josiah Akinloye

unread,
Dec 19, 2019, 5:20:31 AM12/19/19
to beagl...@googlegroups.com
Hi Tarmo, 
I have tried to use ConnMan to tether the modem dialup connection but it requires ofono which is not well documented, I have also tried to tweak connman settings and I am not getting results.  I guess connman tether is restricted to wlan and eth0 network not cellular connection.
--

Josiah Akinloye
President at Main-Logix Limited
Ceo of Savycon Technology
Robotic and Automation
Egalitarian Transhumanist
Futurist
"Mindset powered by hard work equals unbeatable Achievement"--Josiah Akinloye

Josiah Akinloye

unread,
Dec 19, 2019, 5:27:45 AM12/19/19
to beagl...@googlegroups.com
Hi Gwen
I was able to use WhatsApp after I did IP forwarding but  I can’t get my browser or other application to connect to the internet, do you have any idea why?

Regards,
Josiah 

Stuart Longland

unread,
Dec 19, 2019, 6:47:41 PM12/19/19
to beagl...@googlegroups.com
On 19/12/19 8:27 pm, Josiah Akinloye wrote:
> I was able to use WhatsApp after I did IP forwarding but I can’t get my
> browser or other application to connect to the internet, do you have any
> idea why?

What error message do you get? Maybe try running `wget --spider
http://www.beagleboard.org` on your client machine and paste what
happens. If all is working, you should see this:

> $ wget --spider http://www.beagleboard.org
> Spider mode enabled. Check if remote file exists.
> --2019-12-20 09:46:21-- http://www.beagleboard.org/
> Resolving www.beagleboard.org... 44.226.162.25
> Connecting to www.beagleboard.org|44.226.162.25|:80... connected.
> HTTP request sent, awaiting response... 303 See Other
> Location: https://beagleboard.org/ [following]
> Spider mode enabled. Check if remote file exists.
> --2019-12-20 09:46:22-- https://beagleboard.org/
> Resolving beagleboard.org... 44.226.162.25
> Connecting to beagleboard.org|44.226.162.25|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 27837 (27K) [text/html]
> Remote file exists and could contain further links,
> but recursion is disabled -- not retrieving.

Have you set your client's default gateway correctly? (If you're using
DHCP, check the DHCP settings on your DHCP server… possibly running on
the BeagleBoard.)

Have you set your client's DNS servers correctly? (If you're using
DHCP, check the DHCP settings on your DHCP server… possibly running on
the BeagleBoard.)

Can the DNS servers and default gateway be reached by the client? Most
will respond to ICMP echo request, so try a `ping` (or `ping6` if they
are IPv6).
--
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
...it's backed up on a tape somewhere.

Josiah Akinloye

unread,
Jan 19, 2020, 4:32:00 PM1/19/20
to beagl...@googlegroups.com
Hi everyone... please i have tried the method for the IP forwarding from my sim module to the BB to be able to be us as Hotspot(WiFi) but going through the fore given process, i realize that only WhatsApp Instant Messaging App is going... Other browser(Google chrome, Mozilla) are not going. i am thinking maybe its because of the protocol used by WhatsApp thats why its going through. Please i need assistance on this. How can i make it work swiftly and allow it to be compatible with any device and any APP.
Any one who have done this before should be of help 
Thanks

Josiah Akinloye
President at Main-Logix Limited
Ceo of Savycon Technology
Robotic and Automation
Egalitarian Transhumanist
Futurist
"Mindset powered by hard work equals unbeatable Achievement"--Josiah Akinloye


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.

Stuart Longland

unread,
Jan 22, 2020, 7:11:40 PM1/22/20
to beagl...@googlegroups.com
On 20/1/20 7:31 am, Josiah Akinloye wrote:
> Hi everyone... please i have tried the method for the IP forwarding from my
> sim module to the BB to be able to be us as Hotspot(WiFi) but going through
> the fore given process,

What steps did you follow? You've quoted my email in it's entirety then
top-posted yet more begging "please make it work". Computers don't
respond to religion.

You're dealing with the Technology Genie here: he'll grant you unlimited
wishes, *BUT* expects you get to understand him in return. If you don't
want to do that, pay someone who already does understand him.

> i realize that only WhatsApp Instant Messaging App
> is going... Other browser(Google chrome, Mozilla) are not going.

What about the `wget` command I suggested? What was its output? Or are
you just going to ignore our questions and hope we can magically solve
it for you?

I lost my crystal ball in the 2011 Brisbane floods.

> i am
> thinking maybe its because of the protocol used by WhatsApp thats why its
> going through.

… which is why I suggested doing some lower-level checks.

Think of the OSI model, check…
- physical layer (e.g. cable connections, radio settings)
- data link layer (e.g. VLANs, LACP, SSIDs, crypto settings)
- network layer (e.g. IP addresses, routes)
- application layer (e.g. DNS)
… IN THAT ORDER.

You're starting from the presentation layer (web browser, WhatsApp) and
working down. You can't debug a network that way!

> Please i need assistance on this. How can i make it work
> swiftly and allow it to be compatible with any device and any APP.

Then answer our questions. We cannot read minds.

> Any one who have done this before should be of help
Not done it with the exact hardware combination you're talking of, but
I've done it many times before on various systems including:
- dial-up modems on a standard x86 machines running Linux
- ADSL(v2) modems with PPPoE and standard x86 machines running Linux
- 3G/LTE with various systems (including MIPS and ARM) on Linux

Once you get the "router" (the thing the modem/module plugs into) onto
the Internet, making it accessible to a network behind it is not rocket
science, and actually hasn't changed much since Linux kernel 2.4 (5.x
still uses `iptables`).

Josiah Akinloye

unread,
Jan 24, 2020, 9:21:09 AM1/24/20
to beagl...@googlegroups.com
Thanks stuartl.

I have fix and it has worked fine
I know computer don’t respond to religion and I have make it work.
Once agin thanks

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
--
Reply all
Reply to author
Forward
0 new messages