I need to set up an access point so that the wifi connects to another wifi AP as client, and the hardwire ethernet port is a client of the network downstream.
I did this several times long ago, but now I am remote and I don’t have a linux laptop with me, so I only have access to the AP via the wifi. This makes testing iffy at best; every mistake means I reset and start over.
Does anyone have network, wifi, and dnsmasq config files for this sort of setup?
At the minimum, you'd have to specify the device you are targeting, since the network and wifi config files are very much tied to the hardware.... don't try to directly import anyone elses files because some things (like MAC addresses) will be different and could cause you problems.
This is the type of thing that is best done with physical access to the hardware...
Do you have someone local-to-the-router who can connect to the device and help you out? Ideally with the ability to connect via ethernet?
This is pretty fraught -- unless you have changed the defaults with your own custom image, a reset also means that wifi will be disabled and ethernet will be required.
I get all that…. I am on an extended trip and I intentionally travelled light - all I have is an iPad. Well it turns out where I am I have no cell coverage, and no wifi except a kind neighbor’s Starlink, and he comes in at 1 bar. So I’m trying to get a repeater set up going so I am not without any communication for 3 months.
I have physical access to the AP; I just don’t have any platform with an ethernt port except another AP……
In that case, I'd highly recommend that you get an ethernet adapter. If you have a USB-C iPad, you should be able to use a typical USB-C to Ethernet adapter. If it's lightning based, you'll need a Lighting to USB and then a USB to ethernet adapter.
If your device does have two radios, you can setup a management network and assign that to one of the radios and you should be good as long as you never use that radio for the uplink... but if you only have one radio, things become much harder with respect to guaranteeing that htings stay working..
That said, you should certainly install travelmate -- this is a package developed specifically for this type of scenario.
Yeah. Unfortunately the only AP I could find here is a ramips-mt76x8 - which has a very incomplete build in the repository. Argh. No travelmate, and no supporting packages available. I’ll wait a few days and see if they regenerate. Otherwise I’ll have to keep trying to roll my own.
Packages like travelmate should work on basically all targets since they don't really interact with hardware specific functions (travelmate works at a much higher level).
Can you provide this info:
and also, while we're at it: cat /etc/openwrt_release