Home Page Forums Raspberry Pi Shields Hi Can I use Raspberry Pi 4G/LTE Shield Kit, as router.

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #56405
    gokul_gj
    Participant

    Hi,
    Can anyone help me here.
    I want to use Raspberry Pi 4G/LTE Shield Kit to get internet through wwan0 and share the internet through eth0 of raspberry 4.
    I would connecting eth0 to an external switch which also will have many host, so I want those to get internet access through “Sixfab Raspberry Pi 4G/LTE Shield Kit”.

    I tried to explore but did not work.

    Do anyone have a solution for the above please.

    Best Regards,
    Gokulan

    #58381
    ensar
    Moderator

    Hi.

    Look here: https://sixfab.com/using-3g-or-4g-raspberry-pi-shield-as-a-wifi-access-point/

    There is also a new tutorial about it.

    #58429
    gokul_gj
    Participant

    Hi Ensar,

    Good day!!!!,

    The below link id for wifi, can I get the procedure for ethernet.
    https://sixfab.com/using-3g-or-4g-raspberry-pi-shield-as-a-wifi-access-point/

    #59469
    ensar
    Moderator

    Will be updated soon. Stand by.

    #60829
    Xelusi
    Participant

    I’m pretty much a noob here.
    Try https://github.com/billz/raspap-webgui
    You can access your pi with your browser, and config it to share eth0

    #61807
    gokul_gj
    Participant

    Thank you Xelusi , let try and see if the above process works

    #61923
    ensar
    Moderator
    #64913
    gokul_gj
    Participant

    Hi Ensar,

    From the link that you shared, I could only configure hotspon, but unable to share internet to the host connected through eth0.
    Please let me know if there is any documentation on how share internet to ethernet port from wwan..

    Best Regards,
    Gokulan

    #64940
    ensar
    Moderator

    Hi Gokulan,

    I haven’t tested him yet. Seems a little hard to do. I’ll be back soon.

    #66135
    smvvoip
    Participant

    I was able to set up my RPi to share the wwan0 port to eth0.
    I will have to look back and figure out how I did it.
    More later as I have time…

    #68411
    gokul_gj
    Participant

    Hi smvvoip,

    Good to hear that you had managed to set up my RPi to share the wwan0 port to eth0. Kindly share the document to me aswell please.

    Best Regards,
    Gokulan

    #68637
    smvvoip
    Participant

    Gokulan,
    You will need to edit several configuration files to get everything working. I will try to detail everything below.
    I have my SixFab 3G/4G/LTE HAT setup on a RPi 4 Model B.
    I followed the SixFab tutorial to get set up using the QMI connection method.
    If any of the config files exist, make backup copies of them before you modify/replace them with my suggestions.
    Also note, this may not be the best way to do things, I just know for right now, it is working for me. YMMV. I have NOT setup the WiFi side of things (yet) as I don’t need that running ATM.
    After you make these changes, reboot! Connect a PC/LapTop via an Ethernet cable to your RPi and see if you have an IP address assigned to the computer and can get internet access.
    Please report back here after you make the changes with your results. If it doesn’t work, let me know so we can troubleshoot the issue.
    Scott M. Vinzant

    ——- Edit or create the files listed below in BOLD type. ——-

    /etc/dhcpcd.conf

    /etc/dnsmasq.conf

    /etc/sysctl.conf

    /etc/network/interfaces

    /etc/network/if-pre-up.d/iptables

    /etc/network/iptables

    #71062
    gokul_gj
    Participant

    Hello Scott M. Vinzant,

    Thank you for your inputs and I able now able to get IP range (192.168.1.200-205)to my laptop when connected to raspberry pi Ethernet port , however internet connection is not established.
    I an unsure what logs may be required to troubleshoot. Kindly help here..

    Best Regards,
    Gokulan

    #71324
    smvvoip
    Participant

    Gokulan,
    I see on thing in my code above that may be causing an issue.
    In the /etc/network/if-pre-up.d/iptables file, I see that code came across funny.
    the “& l t ;” should be the “less than” symbol. It’s the symbol above the comma on an American keyboard

    Line 2 of that file should read:
    /sbin/iptables-restore < /etc/network/iptables

    Also, please verify that you are actually connected by trying a ping:
    ping -I wwan0 google.com
    (or some domain close to you that you know is good.)

    Please report back with your testing.
    Scott

    • This reply was modified 4 months ago by smvvoip. Reason: Clarification of text
    • This reply was modified 4 months ago by smvvoip. Reason: More clarification
    #71717
    gokul_gj
    Participant

    Hi Scott,

    I even tried to make changes as mentioned in the above trail, but no luck, I able to see the IP address leasing but no internet access on the laptop connected to raspberrt pi4.
    I suspect some this is missing related to name resolution, due to which Internet is not getting established. I can give access to my raspberry if required.

    Last thak you for your patience to read the post and reverting…

    Best Regards,
    Gokulan

Viewing 15 posts - 1 through 15 (of 16 total)
  • You must be logged in to reply to this topic.