Is it possible to connect to one wifi network and tether it as a hotspot using another adpter.
What you are asking for sounds like a Wireless Repeater mode.
We don’t support that. Yet…
Any idea when this will be coming? I’d love to set this up so that I can just connect to my own Wifi network when at home, so that I can get to the internet as well as remote control from my iPhone. But would also like to have an access-point so that when I’m away in a hotel room I can just power-up the OSMC and connect to my AP from my iPad to play movies over uPNP.
…unless there is another way of doing this? I’ve got a Raspberry Pi 3, and have even plugged-in a secondary Wifi dongle, but can’t figure out Connman commands to set this up!!!
I want this too. I am setting up a Raspi 3 in our caravan to run media on the TV but I have also kitted it out with a long range wifi adaptor with the aim of using that to connect to any campsite wifi and then use the build in Raspi wifi adaptor to give a hot-spot for all our devices.
Both will be connected via USB (contention) and if both operate on 2.4G, you will find this even more problematic.
The typical USB WiFI adapter will struggle even for ad-hoc configuration. It will not handle all of your devices as a repeater. Very few devices handle AP mode properly under Linux. Unfortunately this isn’t under our control.
This isn’t really a suitable solution. It sounds like you are simply out of range from the actual AP.
You could try this: Take a normal wifi router with you, turn off its DHCP and give it an IP address in the subnet offered by tethering the Pi’s wifi to wired ethernet. Wire it to the Pi and see what happens.
The ‘long range’ receiver will hopefully be so directional it won’t pick up the wifi router. You will have to disable the internal wifi on the Pi.
Thanks. In the end I have done this and hooked up a stand alone WiFi access point via the wired connection. Other than having to enable DNS proxy in the ConnMan prefs this worked straight away.
I have a USB wifi adapter with long range antenna connected to my Raspi which is showing up as wlan1, alongside the built in wlan0 and eth0. I don’t understand that if it is possible to offer a local wifi hot spot from eth0 to wlan0 why it isn’t possible to exactly the same from wlan1 to wlan0.
Currently I have wlan1 connected to a distant wifi hotspot and I have OSMC setup offering tethering from wlan1 to eth0 and then have a TLink access point plugged into eth0 offering a local wifi hotspot. With this I am able to connect devices to the TLink hotspot and access the Internet connection of the distant hotspot. All the wifi connections are running at 2.4G absolutely fine with no interference.
I just wish I could do away with the TLink AP and just use wlan0 to offer the local hotspot in exactly the same way it would for eth0 to wlan0 tethering.
I’d like to bump this feature, I’m having a similar application where I’d like to bridge 2 WiFi networks together. One would access a network and the other would create an access point and they would be bridges.
Perhaps a “WiFi to WiFi tethering” option in the list where one can choose which wlanx are bridged. If this is too much work could somebody point me to resources where the OSMC networking is explained so I can try manually myself.
OSMC uses connman. Documentation for connman is hard to find. There are a load of text files in their git but not very user-friendly.
The basic issue is that connman only recognises one device per ‘technology’ so you can’t use two eth devices or two wlan devices. You can bypass connman with ip route and iptables. Implementing that through the OSMC user interface would not be very easy.
I was able to connect to a WiFi access point with the RPi 3 WiFi, then attach a USB WiFi dongle and enable WiFi to Ethernet tethering, this created an access point on the RPi 3 without dropping the first access point connection.
I guess it was not meant to work like that, but conmann can somehow manage two wlan connections. However, this setup did not persist over a reboot and I could not bridge the wlans as I wanted.