Hi,
Not sure i asked at the right place. I have gargoyle running and it able to connect to my Wifi box. I have the connection running and able to go to internet with no issue.
The device is configured as:
Device Configuration - Configuration Device as: Gateway(Default).
Internet/Wan - Connect via: DHCP (Wireless)
Wan Ethernet Port: Bridged To Lan
Wireless - Wireless mode: Client
SSID to Join: <Select my wifi SSID>
Encrpythion: <Entered my credential>
Everything works nicely. but now I would like to have ap mode at the same time as i have some wireless devices need to connect via this gargoyle device. I vaguely i saw some there was a 'client+ap' option when i select the dropdown box of "Wireless Mode". But this option is not longer there, did i have gone mad? I pretty sure I saw this option before.
any help or advice please so that i run this mix mode (is it possible??)?
I'm on DISTRIB_RELEASE="Barrier Breaker" btw in case different version make a difference.
many thanks.
wireless mode client+ap mode
Moderator: Moderators
Re: wireless mode client+ap mode
The option is supposed to be there as you describe it.
However I don’t have any devices running an old enough firmware to check what would be wrong.
It definitely works on my 1.11.x device
However I don’t have any devices running an old enough firmware to check what would be wrong.
It definitely works on my 1.11.x device
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: wireless mode client+ap mode
Thanks Lantis for the prompt reply.
I thought giving up on working on configuring on the web interface. I thought i tried on the tweaking on the /etc/config/network and /etc/config/wireless instead. It kind of work but it's got into the weird state when i try configure the AP with encryption both mode on the wireless config file. it stop working but if i make AP mode work without encryption, both of the them work fine and i can get the internet access. Sorry asking this noob question due my limitation knowledge on networking on linux, does both configuration file looks OK?
/etc/config/wireless
/etc/config/network
when i comment out the encryption for the AP mode, i checked on the logread, it seems it's complaining something like this
thanks.
I thought giving up on working on configuring on the web interface. I thought i tried on the tweaking on the /etc/config/network and /etc/config/wireless instead. It kind of work but it's got into the weird state when i try configure the AP with encryption both mode on the wireless config file. it stop working but if i make AP mode work without encryption, both of the them work fine and i can get the internet access. Sorry asking this noob question due my limitation knowledge on networking on linux, does both configuration file looks OK?
/etc/config/wireless
Code: Select all
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11g'
option path 'pci0000:00/0000:00:0c.0'
option country 'US'
option channel '6'
config wifi-iface 'stacfg'
option device 'radio0'
option mode 'sta'
option network 'wan'
option key 'myWifiPassword'
option ssid 'myWifiSSID'
option encryption 'psk2'
config wifi-iface 'ap_gn_g'
option 'device' 'radio0'
option 'mode' 'ap'
option 'network' 'lan'
option 'ssid' 'Gargoyle'
option 'key' 'myGargoylePassword'
# option 'encryption' 'psk'
Code: Select all
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option dns '8.8.8.8'
option ipaddr '192.168.0.14'
option ifname 'eth0 eth1'
config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'
config globals 'globals'
option ula_prefix 'fd94:87b5:34be::/48'
config interface 'ppp0'
option proto '3g'
option ifname 'ppp0'
option device '/dev/ttyUSB03'
option username 'xxxx'
option password 'xxx'
option apn 'xxxxxxxx.co.uk'
config interface 'wan'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option dns '8.8.8.8'
option ipaddr '192.168.0.67'
option gateway '192.168.0.1'
option peerdns '0'
Code: Select all
Wed Oct 17 21:40:20 2018 daemon.notice netifd: Interface 'wan' is now up
Wed Oct 17 21:40:21 2018 user.notice firewall: Reloading firewall due to ifup of wan (br-wan)
Wed Oct 17 21:40:21 2018 daemon.notice netifd: radio0 (8472): Interface 1 setup failed: INVALID_WPA_PSK
Wed Oct 17 21:40:21 2018 daemon.notice netifd: radio0 (8472): WARNING: Variable 'interfaces' does not exist or is not an array/object
thanks.
Re: wireless mode client+ap mode
Actually i fixed the " Interface 1 setup failed: INVALID_WPA_PSK" issue. It was my bad, because the password was configured too short!!!
thanks!
thanks!