Hamclock Posted June 22, 2014 Share Posted June 22, 2014 I'd like to have my Mark V connect to 2 different wireless access points. In the web interface, it seems like you're forced into using wlan0 in AP mode, and only wlan1 can be used in Client Mode. I tried the following in /etc/config/wireless, but it didn't work: config wifi-device 'radio0' option type 'mac80211' option hwmode '11g' option macaddr '00:13:37:a5:24:d1' option channel '1' config wifi-iface option device 'radio0' option mode 'sta' option encryption 'psk2+ccmp' option network 'wan' option ssid 'Network1' option key 'Password1' config wifi-device 'radio1' option type 'mac80211' option hwmode '11g' option macaddr '00:13:37:93:5a:59' option channel '1' config wifi-iface option device 'radio1' option mode 'sta' option network 'wan' option ssid 'Network2' option key 'Password2' option encryption 'psk2+ccmp' I'd prefer to set this up through the web UI if possible, but if not, what do I need to change to get the config file to work properly? Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted June 22, 2014 Share Posted June 22, 2014 It will cause such a routing headache you realize this? Why would you like this setup? Quote Link to comment Share on other sites More sharing options...
barry99705 Posted June 22, 2014 Share Posted June 22, 2014 It will cause such a routing headache you realize this? Why would you like this setup? Yea, most likely both wifi networks are on the 192.168.1.0/24 network, it's how 99% of home networks are set up. If they're not, then you're going to have to kill the dhcp server, then edit the routing tables so you can talk to both networks. Like Mr.P said, why would you want to cause this headache? Quote Link to comment Share on other sites More sharing options...
Hamclock Posted June 22, 2014 Author Share Posted June 22, 2014 (edited) It will cause such a routing headache you realize this? Why would you like this setup? In my case, one network is in the 192.168.255.255 subnet, and the other is in 10.255.255.255. There will be no collisions. I'm well aware of how routing tables work, and I'd have no problems working with them if such an issue did come up. Anecdotally, my home network mask is 192.168.0.255, so even if I were connecting to that and a more common 192.168.1.255, there wouldn't be issues. Edited June 22, 2014 by Hamclock Quote Link to comment Share on other sites More sharing options...
hfam Posted June 22, 2014 Share Posted June 22, 2014 In my case, one network is in the 192.168.255.255 subnet, and the other is in 10.255.255.255. There will be no collisions. I'm well aware of how routing tables work, and I'd have no problems working with them if such an issue did come up. Anecdotally, my home network mask is 192.168.0.255, so even if I were connecting to that and a more common 192.168.1.255, there wouldn't be issues. Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted June 22, 2014 Share Posted June 22, 2014 I am pretty sure wlan0 is locked to karma only. If you want to connect client mode to multiple access points, the easiest solution would be to add a USB adapter and configure that with the wlan1 built in. Keep in mind there are known (hardware) issues with the throughput of the internal wlan1. Quote Link to comment Share on other sites More sharing options...
Hamclock Posted June 22, 2014 Author Share Posted June 22, 2014 I've got a wireless-only network that'll be in the 192.168.255.255 range, and another wireless-only network (the 10.255.255.255) that's totally isolated. I also have a non-wireless-capable (Ethernet only) device that needs access to both networks. I'd like the Pineapple to serve as a bridge between the three; this struck me as something that should be fairly simple. Quote Link to comment Share on other sites More sharing options...
Hamclock Posted June 22, 2014 Author Share Posted June 22, 2014 I am pretty sure wlan0 is locked to karma only. If you want to connect client mode to multiple access points, the easiest solution would be to add a USB adapter and configure that with the wlan1 built in. Keep in mind there are known (hardware) issues with the throughput of the internal wlan1. I'm aware of the hardware issues. When you say wlan0 is locked to Karma, do you just mean through the web UI? Surely a device like the Pineapple couldn't be -- dare I say -- locked down? A wireless interface is a wireless interface. I've got no problem editing config files by hand, but my initial attempts at using wlan1's settings on wlan0 in /etc/config/wireless weren't met with much success. Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted June 22, 2014 Share Posted June 22, 2014 It may be a hostapd thing, would have to ask Sebkinne. It's supposed to be dedicated to wlan0 karma stock. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.