Wireless fails after Restore Configuration

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
joeaor
Posts: 7
Joined: Sun Aug 26, 2012 9:21 pm

Wireless fails after Restore Configuration

Post by joeaor »

WiFi fails after Restore Configuration

TL-WR1043ND v1.8 hardware
Gargoyle 1.5.6
Windows 7
IE 8

[I am new to Gargoyle (about a month) and have searched hard for some hint of this in all forums without success, so believe this is a new issue.]

If I restore a configuration which was backed up while wireless was enabled - "Access Point (AP)" in my case - the wireless service disappears completely after the restore. If the backup was done while wireless was disabled, I can restore OK and enable wireless and all is good.

In the failed state, no amount of disabling, saving, cold starting and re-enabling of the wireless has worked. I've had to re-apply gargoyle firmware and start fresh to fix this in each case.

Have proved this with two different TL-WR1043ND v1.8 hardware routers.

Steps to reproduce:
- router and PC/laptop connected directly by Ethernet, no wireless or other networks connected
- get router working with its own firmware OK and see wireless OK (scan from a wireless device and see the SSID and connect
- install Gargoyle 1.5.6
- enable wireless. For the record, I used default AP settings:
N+G+B, 20 MHz
Max power
Mac filter disabled
11-char normal alpha-only SSID
channel 11
WPA PSK
SSID broadcast on
client isolation disabled
(Have also proved this issue happens when not using encryption at all)
- from client device, scan for networks, see and connect to AP
- backup Configuration to file
- power off gargoyle router and power on again, and see AP still good
- restore configuration just backed up
- AP disappears; can't see it from client devices etc.
- check config, and it all looks normal
- disable AP and save settings
- power off and power on gargoyle router
- re-enable AP
- still no go (WAN light on router never blinks, ever)
- restore gargoyle firmware without saving settings
- enable AP and test connection (all fine)
- disable AP and save settings
- backup configuration while Ap disabled
- put Gargoyle 1.5.6 on fresh, wiping all settings
- check AP is disabled (that's the default)
- restore Gargoyle configuration from the backup done while Wireless was disabled
- manually enable AP and all OK

I would be very interested to hear from others with this experience or similar.

Would also be great to hear theories from developers as to what casues this :)

I am looking to "package" a Gargoyle solution to customers, providing hardware and setup. It is advantageous to me to be able to save most of the DHCP setup (I create a block of 10 mac addresses and IPs for each of 6 "Users" to cover the avergae household, and also some generic access restrictions. This takes 2 hours manually, so being able to restore this basic config is critical!

Thanks all.

buddee
Posts: 50
Joined: Sat Oct 01, 2011 8:13 am

Re: Wireless fails after Restore Configuration

Post by buddee »

I don't have any similar experience or any input on that matter as all of the backups i have ever made using gargoyle worked fine for me, but i would advise if you can endure another 2 hour manual config pain period, to look into imacros for firefox, it can totally record all of your setup and you can simply play this back for setup as need be, takes about 5-6 mins for me to setup from scratch with the imacros playback and i have around 20 different mac addys that i add to a static setup for my 'clients'. Works like a charm.

joeaor
Posts: 7
Joined: Sun Aug 26, 2012 9:21 pm

Re: Wireless fails after Restore Configuration

Post by joeaor »

Thanks @buddee. Very good thought - will check it out.

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: Wireless fails after Restore Configuration

Post by Eric »

I haven't been able to reproduce this.

Could you login to the router via ssh and post the output of these two commands?

Code: Select all

uci show network
uci show wireless
That might give me some clue as to what is going on.

belbo
Posts: 21
Joined: Sat Feb 26, 2011 6:50 pm

Re: Wireless fails after Restore Configuration

Post by belbo »

I seem to have the same issue. Same router. Using stable firmware 1.4.7. Haven't tested as comprehensively but restored backup config and no wi fi.

Edit. Updated for results of suggested commands using ssh -

Code: Select all

root@Gargoyle:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0.1
network.lan.type=bridge
network.lan.proto=static
network.lan.ipaddr=192.168.1.1
network.lan.netmask=255.255.255.0
network.lan.dns=192.168.1.1
network.wan=interface
network.wan.ifname=eth0.2
network.wan.proto=pppoe
network.wan.username=XXXX
network.wan.password=XXXX
network.wan.keepalive=3 5
network.@switch[0]=switch
network.@switch[0].name=rtl8366rb
network.@switch[0].reset=1
network.@switch[0].enable_vlan=1
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device=rtl8366rb
network.@switch_vlan[0].vlan=1
network.@switch_vlan[0].ports=1 2 3 4 5t
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device=rtl8366rb
network.@switch_vlan[1].vlan=2
network.@switch_vlan[1].ports=0 5t
root@Gargoyle:~#
and

Code: Select all

root@Gargoyle:~# uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type=mac80211
wireless.radio0.macaddr=f4:ec:38:b3:fb:0e
wireless.radio0.hwmode=11ng
wireless.radio0.htmode=HT20
wireless.radio0.ht_capab=SHORT-GI-40 DSSS_CCK-40
wireless.radio0.channel=1
wireless.apcfg=wifi-iface
wireless.apcfg.device=radio0
wireless.apcfg.mode=ap
wireless.apcfg.network=lan
wireless.apcfg.ssid=Gargoyle
wireless.apcfg.encryption=psk2
wireless.apcfg.key=XXXX
root@Gargoyle:~#

dsego
Posts: 2
Joined: Sun Nov 18, 2012 11:14 am

Re: Wireless fails after Restore Configuration

Post by dsego »

I am using 1.5.8 and have the same issue with my Netgear WNDR3700v2. I have to restore the default configuration for the wifi to start working. I have backed up the router three times within 30 minutes and each time the file size was different at 10k, 15k and 18k. Neither one worked with my backup router with the same firmare.

dante
Posts: 3
Joined: Mon Jan 07, 2013 6:01 pm

Re: Wireless fails after Restore Configuration

Post by dante »

Hi

I had the same problem restoring a backup from a TP-Link WL-TR1043ND into another router.

I finally repaired the problem editing the file /etc/config/wireless and changing the setup of the wireless interface.

After this, you can put /etc/init.d/network restart

Dante

Post Reply