Results 1 to 7 of 7

Thread: xx-client with openwrt

  1. #1
    Join Date
    Sep 2019
    Posts
    10
    Satfix Buxs
    29
    Thanks
    0
    Thanked 0x in 0 Posts

    Default xx-client with openwrt

    Hello,

    I have a question about how to run xx-client directly from a router running OpenWRT

    Right now I'm running xx-client from a Windows PC using a "USB to Serial Adapter" and everything is working fine so far on my Viewsat and my account with Sat9182. Although I'd rather just connect the Viewsat directly on the router instead without the need of having a PC running since the router is already running 24/7 anyway.

    But I've been doing some reading on this forum and around the internet, I've seen that it's possible to run xx-client on a router by using several different custom firmwares.

    I have a router with a USB Port and I've successfully installed OpenWRT 19.07.7

    I've tried looking all over this forum and the internet but I've only found bits and pieces on how to setup xx-client to run directly into OpenWRT.

    I got the Prolific Driver software installed in OpenWRT. I also got my hands on all xx-client for the router saved in my PC and I know how to transfer files on OpenWRT by using WinSCP.

    But I don't know where (what path in the router) that the xx-client files needs to be and I don't know how to configure OpenWRT to launch and run the xx-client configuration.

    Would anyone on here be able to help me out with this?

    (Note: I also got NordVPN setup in the router by using OpenVPN)

  2. #2
    Join Date
    Oct 2012
    Posts
    1,243
    Satfix Buxs
    1,810,039
    Thanks
    401
    Thanked 2,251x in 560 Posts

    Default

    Used xx-slient a long time ago. I simply followed the tutorial on a cheap D-Link wtrt54g router. As far as I know, DD-WRT is the one you need to run xx-client. I could be wrong, haven't dealt with that in a while.

  3. #3
    Join Date
    Jul 2016
    Posts
    516
    Satfix Buxs
    11,632
    Thanks
    114
    Thanked 550x in 195 Posts
    Items the travel gnome
Gift received at 01-20-2020, 05:08 AM from BluegrassMonitor
Gift received at 01-20-2020, 05:08 AM from BluegrassCheetos
Gift received at 01-20-2020, 05:08 AM from Bluegrasshelicopter
Gift received at 01-20-2020, 05:08 AM from BluegrassVintage truck
Gift received at 01-20-2020, 05:08 AM from BluegrassCamaro
Gift received at 01-20-2020, 05:08 AM from BluegrassTree
Gift received at 01-20-2020, 05:08 AM from BluegrassA Beer
Gift received at 01-20-2020, 05:08 AM from Bluegrass
Message: Just because...Dee

    Default

    if you can find one of these you could save yourself a lot of hassle.

    hxxps://www.aliexpress.com/item/512718373.html

  4. The Following User Says Thank You to pennywise For This Useful Post:


  5. #4
    Join Date
    Sep 2019
    Posts
    10
    Satfix Buxs
    29
    Thanks
    0
    Thanked 0x in 0 Posts

    Default

    I found a tutorial for RQ-SSSP and I'm trying to translate it to make it work for XX-Client

    what I've been able to decipher so far is that I need to install the following software in OpenWRT
    - libstdcpp6 (to enable c++)
    - usb prolific serial drivers

    to modify the xx-client config file to:
    - use "ttyUSB0" for the serial port (or w.e USB # port it is)
    - setup the rest of the settings for my Viewsat (Baud Rate, Protocol, Etc)

    and to somehow modify the boot thing to auto start the xx-client config during router boot, which relates at somehow modifying "/etc/rc.common"

    but I'm still in the process of trying to understand so that I can make sure I do everything right before I attempt of doing anything...

    ...
    ...

    Is anyone able to tell me if I'm going towards the right direction with this??
    Last edited by blackcat; 05-09-2021 at 05:16 PM.

  6. #5
    Join Date
    Dec 2012
    Posts
    470
    Satfix Buxs
    135,530
    Thanks
    614
    Thanked 240x in 140 Posts
    Items DishWhiskeyA BeerPresentpoisonTreasureCashRibbon 3

    Default

    What router are you running openwrt on Broadcom or Atheros router? I've done it it's not that hard but Atheros is easier one to do under openwrt.

    Also there is a bug in the final xx-client router release and you have to us a far size of memory so it need to be a least 8MB Flash and at least 64MB ram. Actually openwrt needs that anyway.
    Last edited by jets; 05-13-2022 at 02:59 AM. Reason: GB lol MB

  7. #6
    Join Date
    Sep 2019
    Posts
    10
    Satfix Buxs
    29
    Thanks
    0
    Thanked 0x in 0 Posts

    Default

    Sorry for long time gap for reply.

    I got 2x routers with usb ports that supports most latest openwrt

    TP-Link Archer C7 V2
    Openwrt firmware for that router is located under "Ath79"
    It's the one that's currently in use right now for home network with OpenWrt

    TpLink specs are...
    CPU 720MHz
    RAM 128MB
    Flash 16MB
    Atheros AR8327N
    USB2.0 (x2 usb ports)

    I also got a Linksys EA4200 (not sure if v1 or v2)
    OpenWrt firmware for that router is located under "Kirkwood"
    It has OpenWrt in it, currently parked.
    +EDIT: I think I got V2, router i have supports openwrt - but not dd-wrt
    (V1 supports both openwrt and dd-wrt)

    V1 specs are
    Broadcom BCM4718A1
    CPU 480MHz
    Flash 16MB
    RAM 64MB
    USB 2.0 (1x USB port)

    V2 specs are
    Marvell 88F6282
    CPU = 1.2GHz
    Flash 128MB
    Ram 128MB
    USB 2.0 (1x USB port)

    I have 3x USB Serial Adapter, all 3x are from Prolific, 1x or 2x are different prolific models.

    I would be very interested to know how to use xx-client with openwrt, any routers

    Would also be interested to know how to dedicate openvpn to specific ports as bonus.
    (specific LAN, WiFi AP and also including xx-client for VPN
    while other wifi AP and other LAN ports goes direct online/separated from VPN)

    My TP-Link router is not powerful enough for full internet speed with vpn
    but limited vpn speed should still be sufficient for xx-client

    ....

    Right now I'm using a Desktop PC with Windows 10

    Running OpenVPN as a service to run NordVPN upon Windows Boot as "system"
    (so it auto connects on VPN upon booting windows without having to login as any user)

    Running NSSM (Non-Sucking Service Manager) and created a cmd batch file for it

    Batch file is also launched upon windows boot as system - no need to login as user
    Upon launching batch file, it starts a 60sec timer (allowing time for VPN to connect)
    after timer is done then it launches XX-Client

    (again, everything is launched as a service by system upon boot, and since it's a
    service, there's no GUI, but it all works, vpn and xx-client, just by power on PC
    load windows, while having no need to login into any user accounts at all).
    Last edited by blackcat; 10-08-2021 at 02:58 AM.

  8. #7
    Join Date
    Sep 2019
    Posts
    10
    Satfix Buxs
    29
    Thanks
    0
    Thanked 0x in 0 Posts

    Default

    **Bump**

    I'm still interested to find a way to run xx-client on OpenWrt

    Also interested to run OpenVPN too via a "xx-client only" dedicated manner (only xx-client would go through OpenVPN)
    All other connected network devices to connected directly on internet, bypassing OpenVPN.

    Notes:
    Now using latest OpenWrt firmware available on this 2021/12/22 date.

    ...As for the ending of the previous recent reply...
    No longer using NSSM "Non-Sucking Service Manager" (as mentionned on previous latest reply).
    Instead using Windows's "Task Scheduler" in the following manner:

    1a) Task Scheduler runs OpenVPN upon Operating System Boot (triggered at boot).

    1b) OpenVPN connects on one of NordVPN servers (having a NordVPN subscription).

    2) Task Scheduler then runs xx-client after OpenVPN successfully connects on a NordVPN server.

    Task Scheduler's XX-Client trigger is dependent on connection status from specified network interface only.
    (in this case being the installed virtual-network adapter from OpenVPN).


    ...Additionally, as for OpenVPN...
    I had successfully installed and configured OpenVPN in OpenWrt via a manner that had covered all connected devices, although this approach greatly reduced my internet speed due to the router's limited hardware specs, thus would prefer to setup OpenVPN to only cover xx-client (assuming for limited speed/latency to still be more than sufficient for xx-client's needs).

    Would greatly appreciate for anyone to help point me towards the right direction with this...
    Last edited by blackcat; 12-23-2021 at 03:31 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •