Problem with password login after flash/Archer C7/48081

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
crankycanuck
DD-WRT Novice


Joined: 02 Dec 2021
Posts: 2

PostPosted: Sun Jan 16, 2022 3:09    Post subject: Problem with password login after flash/Archer C7/48081 Reply with quote
Archer C7 v5
v3.0-r47656 std (11/18/21) to v3.0-r48081 (01/11/22)
Cannot log in

I am not sure but this may be the same issue as https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=331257.

I have an Archer C7 (tp-link AC1750) v5. It was running v3.0-r47656 std (11/18/21). Today I flashed to v3.0-r48081 (01/11/22). Now I seem unable to login.

It's not bricked in any normal sense: it comes up, I can get dhcp from it, and it asks to reset the password. The previous password (which was working) had a "*" character in it, and the gui balked at this, so I removed the "*" and it seemed to accept it. The status page comes up fine.

However, any attempt to access any login pages either gives 404 (if you don't offer credentials) or else just never responds (if you do). For instance, I accepted the random password the router presented after reset, and here's a wget session:


Code:

wget --user=root --password=d6nw5v1x2pc7st9m http://192.168.1.1/index.asp
--2022-01-15 21:55:32--  http://192.168.1.1/index.asp
Connecting to 192.168.1.1:80... connected.
HTTP request sent, awaiting response... 401 UNAUTHORIZED
Authentication selected: Basic realm="DD-WRT"
Connecting to 192.168.1.1:80... connected.
HTTP request sent, awaiting response... ^C


Doesn't matter how long I wait at the latter part, it never comes back. Is it time for tftp? Any suggestions for other debugging?

edited to add
After some fiddling, I was able to get in via the telnet interface, but I can't work out what's going on. I did notice, however, that whereas the / directory of the webserver works fine, the status pages themselves don't seem to work:

Code:

wget http://192.168.1.1/Status_Router.asp
--2022-01-16 00:15:45--  http://192.168.1.1/Status_Router.asp
Connecting to 192.168.1.1:80... connected.
HTTP request sent, awaiting response... 401 UNAUTHORIZED

Username/Password Authentication Failed.


So my guess is that something corrupted during the update here and I have to start over again. Boo hiss.

For completeness, here's dmesg output:

Code:


root@DD-WRT:~# dmesg
<4>[    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
<6>[    0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
<7>[    0.000000] On node 0 totalpages: 32768
<7>[    0.000000] free_area_init_node: node 0, pgdat 802e3760, node_mem_map 81000000
<7>[    0.000000]   Normal zone: 256 pages used for memmap
<7>[    0.000000]   Normal zone: 0 pages reserved
<7>[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
<4>[    0.000000] Primary instruction cache 64kB, 4-way, VIPT, linesize 32 bytes.
<4>[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
<7>[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
<7>[    0.000000] pcpu-alloc: [0] 0
<4>[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
<5>[    0.000000] Kernel command line: console=ttyS0,115200 root=1f02 rootfstype=squashfs noinitrd init=/sbin/init
<6>[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
<6>[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
<6>[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>[    0.000000] Writing ErrCtl register=00000000
<6>[    0.000000] Readback ErrCtl register=00000000
<4>[    0.000000] Memory: 126556K/131072K available (2267K kernel code, 142K rwdata, 240K rodata, 156K init, 144K bss, 4516K reserved, 0K cma-reserved)
<6>[    0.000000] NR_IRQS:83
<6>[    0.050000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
<6>[    0.060000] pid_max: default: 32768 minimum: 301
<6>[    0.060000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.070000] NET: Registered protocol family 16
<4>[    0.280000] registering PCI controller with io_map_base unset
<6>[    0.300000] PCI host bridge to bus 0000:00
<6>[    0.300000] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
<6>[    0.310000] pci_bus 0000:00: root bus resource [io  0x0001]
<6>[    0.310000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
<7>[    0.320000] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
<7>[    0.320000] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
<7>[    0.320000] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
<7>[    0.320000] pci 0000:00:00.0: supports D1 D2
<7>[    0.320000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
<6>[    0.320000] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
<6>[    0.320000] pci 0000:00:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
<6>[    0.330000] pci 0000:00:00.0: using irq 72 for pin 1
<6>[    0.330000] Switched to clocksource MIPS
<6>[    0.340000] NET: Registered protocol family 2
<6>[    0.340000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.340000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.350000] TCP: Hash tables configured (established 1024 bind 1024)
<6>[    0.350000] TCP: reno registered
<6>[    0.360000] UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.360000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.370000] NET: Registered protocol family 1
<7>[    0.370000] PCI: CLS 0 bytes, default 32
<5>[    0.370000] gpio_proc: module loaded and /proc/gpio/ created (cool)
<5>[    0.380000] wl0gpio_proc: module loaded and /proc/wl0gpio/ created
<6>[    0.390000] futex hash table entries: 256 (order: -1, 3072 bytes)
<6>[    0.400000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
<6>[    0.400000] msgmni has been set to 247
<6>[    0.410000] io scheduler noop registered
<6>[    0.410000] io scheduler deadline registered (default)
<6>[    0.410000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
<6>[    0.420000] console [ttyS0] disabled
<6>[    0.440000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
<6>[    0.450000] console [ttyS0] enabled
<6>[    0.460000] bootconsole [early0] disabled
<6>[    0.470000] jedec ID EF4018
<6>[    0.470000] flash size 16777216B, sector count = 256
<0>[    0.480000] scanning for root partition
<0>[    0.480000] uboot detected
<0>[    0.480000] guessed bootloader size = C0000
<0>[    0.510000]
<0>[    0.510000] found squashfs at 1E0000
<6>[    0.520000] adjusted length E30000, original length E21A7C
<5>[    0.520000] Creating 9 MTD partitions on "ar7240-nor0":
<5>[    0.530000] 0x000000000000-0x0000000c0000 : "RedBoot"
<5>[    0.530000] 0x0000000c0000-0x000000ef0000 : "linux"
<5>[    0.540000] 0x0000001e0000-0x000000e30000 : "rootfs"
<5>[    0.540000] mtd: partition "rootfs" set to be root filesystem
<5>[    0.550000] 0x000000e30000-0x000000ef0000 : "ddwrt"
<5>[    0.560000] 0x000000ef0000-0x000000f00000 : "nvram"
<5>[    0.560000] 0x000000ff0000-0x000001000000 : "board_config"
<5>[    0.570000] 0x000000000000-0x000001000000 : "fullflash"
<5>[    0.570000] 0x000000000000-0x0000000c0000 : "fullboot"
<5>[    0.580000] 0x0000000b0000-0x0000000c0000 : "uboot-env"
<6>[    0.590000] libphy: Fixed MDIO Bus: probed
<6>[    0.600000] u32 classifier
<6>[    0.600000]     Performance counters on
<6>[    0.600000]     input device check on
<6>[    0.610000]     Actions configured
<6>[    0.610000] Netfilter messages via NETLINK v0.30.
<6>[    0.610000] nf_conntrack version 0.5.0 (1977 buckets, 7908 max)
<4>[    0.620000] nf_conntrack_rtsp v0.7 loading
<4>[    0.630000] nf_nat_rtsp v0.7 loading
<6>[    0.630000] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[    0.630000] TCP: bic registered
<6>[    0.640000] TCP: cubic registered
<6>[    0.640000] TCP: westwood registered
<6>[    0.650000] TCP: hybla registered
<6>[    0.650000] TCP: vegas registered
<6>[    0.650000] NET: Registered protocol family 17
<6>[    0.660000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
<5>[    0.670000] Bridge firewalling registered
<6>[    0.670000] 8021q: 802.1Q VLAN Support v1.8
<6>[    0.680000] searching for nvram
<6>[    0.680000] nvram size = 65536
<6>[    0.720000] Atheros AR71xx hardware watchdog driver version 0.1.0
<6>[    0.730000] ar71xx-wdt: timeout=15 secs (max=16) ref freq=258333333
<6>[    0.750000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
<6>[    0.760000] Freeing unused kernel memory: 156K
<6>[    4.990000] switch0: Atheros AR8337 rev. 2 switch registered on ag71xx-mdio.0
<6>[    5.830000] libphy: ag71xx_mdio: probed
<6>[    6.430000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
<6>[    6.440000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:SGMII
<6>[    7.600000] Loading modules backported from Linux version v5.10-rc6-0-gb65054597872
<6>[    7.610000] Backport generated by backports.git v5.10-rc6-1-0-g3a9d70a3
<6>[    8.510000] eth0: link up (1000Mbps/Full duplex)
<7>[    8.560000] ath: EEPROM regdomain sanitized
<7>[    8.560000] ath: EEPROM regdomain: 0x64
<7>[    8.560000] ath: EEPROM indicates we should expect a direct regpair map
<7>[    8.560000] ath: Country alpha2 being used: 00
<7>[    8.560000] ath: Regpair used: 0x64
<6>[    8.570000] initialize fq_codel with 262144 bytes memory limit
<6>[    8.580000] ieee80211_txq_setup_flows: set limit to 4194304 bytes
<7>[    8.590000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
<6>[    8.590000] ieee80211 phy0: Atheros AR9561 Rev:0 mem=0xb8100000, irq=79
<0>[    9.450000] 2 vs 0
<4>[    9.450000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
<6>[    9.460000] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
<4>[    9.660000] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
<4>[    9.670000] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/cal-pci-0000:00:00.0.bin failed with error -2
<4>[    9.680000] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
<6>[    9.890000] ath10k_pci 0000:00:00.0: found firmware features ie (4 B)
<6>[    9.900000] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
<6>[    9.910000] ath10k_pci 0000:00:00.0: kconfig debug 1 debugfs 1 tracing 0 dfs 0 testmode 0
<6>[    9.920000] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-97.2-ddwrt-6301M api 5 features wmi-10.x,no-p2p,wmi-10.2,raw-mode,mfp,allows-mesh-bcast,peer-fixed-rate crc32 69ddfd64
<6>[    9.950000] ath10k_pci 0000:00:00.0: boot get otp board id result 0x00000001 board_id 0 chip_id 0 ext_bid_support 0
<6>[    9.960000] ath10k_pci 0000:00:00.0: board id does not exist in otp, ignore it (0)
<6>[    9.970000] ath10k_pci 0000:00:00.0: boot using board name 'bus=pci,vendor=168c,device=003c,subsystem-vendor=0000,subsystem-device=0000'
<6>[    9.990000] ath10k_pci 0000:00:00.0: boot using board name 'bus=pci,vendor=168c,device=003c,subsystem-vendor=0000,subsystem-device=0000'
<4>[   10.000000] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
<6>[   10.010000] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 ad60f687
<6>[   10.020000] ath10k_pci 0000:00:00.0: boot upload otp to 0x1234 len 6209
<4>[   10.050000] ath10k_pci 0000:00:00.0: otp stream is empty, using board.bin contents
<6>[   10.520000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 2 is up
<6>[   10.920000] ath10k_pci 0000:00:00.0: Init Max Stations to 128
<6>[   10.940000] ath10k_pci 0000:00:00.0: P 135 V 16 T 433
<6>[   10.950000] ath10k_pci 0000:00:00.0: alloc rem: 9492 iram: 42308
<6>[   10.960000] ath10k_pci 0000:00:00.0: wmi event ready sw_version 0x41000061 abi_version 1 mac_addr 90:9a:4a:17:09:08 status 0
<6>[   10.970000] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
<7>[   11.080000] ath: EEPROM regdomain sanitized
<7>[   11.080000] ath: EEPROM regdomain: 0x64
<7>[   11.080000] ath: EEPROM indicates we should expect a direct regpair map
<7>[   11.080000] ath: Country alpha2 being used: 00
<7>[   11.080000] ath: Regpair used: 0x64
<6>[   11.080000] initialize fq_codel with 262144 bytes memory limit
<6>[   11.080000] ieee80211_txq_setup_flows: set limit to 16777216 bytes
<7>[   11.220000] ar71xx-wdt: enabling watchdog timer
<6>[   13.050000] device br0 entered promiscuous mode
<6>[   13.130000] device vlan1 entered promiscuous mode
<6>[   13.140000] device eth0 entered promiscuous mode
<6>[   13.160000] br0: port 1(vlan1) entered forwarding state
<6>[   13.160000] br0: port 1(vlan1) entered forwarding state
<6>[   13.170000] device br0 left promiscuous mode
<6>[   13.180000] device br0 entered promiscuous mode
<6>[   13.200000] device br0 left promiscuous mode
<7>[   13.310000] ath: EEPROM regdomain: 0x8348
<7>[   13.310000] ath: EEPROM indicates we should expect a country code
<7>[   13.310000] ath: doing EEPROM country->regdmn map search
<7>[   13.310000] ath: country maps to regdmn code: 0x3a
<7>[   13.310000] ath: Country alpha2 being used: US
<7>[   13.310000] ath: Regpair used: 0x3a
<7>[   13.310000] ath: regdomain 0x8348 dynamically updated by user
<7>[   13.310000] ath: EEPROM regdomain: 0x8348
<7>[   13.310000] ath: EEPROM indicates we should expect a country code
<7>[   13.310000] ath: doing EEPROM country->regdmn map search
<7>[   13.310000] ath: country maps to regdmn code: 0x3a
<7>[   13.310000] ath: Country alpha2 being used: US
<7>[   13.310000] ath: Regpair used: 0x3a
<7>[   13.310000] ath: regdomain 0x8348 dynamically updated by user
<6>[   16.680000] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
<6>[   26.270000] device wlan0 entered promiscuous mode
<6>[   26.270000] br0: port 2(wlan0) entered forwarding state
<6>[   26.280000] br0: port 2(wlan0) entered forwarding state
<6>[   26.560000] ath10k_pci 0000:00:00.0: boot upload otp to 0x1234 len 6209
<4>[   26.600000] ath10k_pci 0000:00:00.0: otp stream is empty, using board.bin contents
<6>[   27.470000] ath10k_pci 0000:00:00.0: Init Max Stations to 128
<6>[   27.490000] ath10k_pci 0000:00:00.0: P 135 V 16 T 433
<6>[   27.500000] ath10k_pci 0000:00:00.0: alloc rem: 9492 iram: 42308
<6>[   27.500000] ath10k_pci 0000:00:00.0: wmi event ready sw_version 0x41000061 abi_version 1 mac_addr 90:9a:4a:17:09:08 status 0
<4>[   27.520000] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
<4>[   27.540000] ath10k_pci 0000:00:00.0: failed to set vdev 0 tx encap mode: -122
<6>[   27.550000] ath10k_pci 0000:00:00.0: Mac CLK 88
<6>[   28.200000] br0: port 1(vlan1) entered forwarding state
<6>[   34.040000] ath10k_pci 0000:00:00.0: boot upload otp to 0x1234 len 6209
<4>[   34.070000] ath10k_pci 0000:00:00.0: otp stream is empty, using board.bin contents
<6>[   34.950000] ath10k_pci 0000:00:00.0: Init Max Stations to 128
<6>[   34.970000] ath10k_pci 0000:00:00.0: P 135 V 16 T 433
<6>[   34.980000] ath10k_pci 0000:00:00.0: alloc rem: 9492 iram: 42308
<6>[   34.990000] ath10k_pci 0000:00:00.0: wmi event ready sw_version 0x41000061 abi_version 1 mac_addr 90:9a:4a:17:09:08 status 0
<4>[   35.000000] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
<4>[   35.020000] ath10k_pci 0000:00:00.0: failed to set vdev 0 tx encap mode: -122
<6>[   35.080000] device wlan1 entered promiscuous mode
<6>[   35.080000] br0: port 3(wlan1) entered forwarding state
<6>[   35.090000] br0: port 3(wlan1) entered forwarding state
<6>[   35.910000] device vlan2 entered promiscuous mode
<4>[   38.400000] ipt_TRIGGER: module license 'unspecified' taints kernel.
<4>[   38.410000] Disabling lock debugging due to kernel taint
<5>[   38.690000] random: nonblocking pool is initialized
<1>[   39.020000] fast-classifier (PBR safe v2.1.6b): starting up
<1>[   39.030000] fast-classifier: registered
<6>[   39.270000] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[   39.930000] device vlan2 left promiscuous mode
<6>[   41.320000] br0: port 2(wlan0) entered forwarding state
<6>[   50.120000] br0: port 3(wlan1) entered forwarding state

Sponsor
crankycanuck
DD-WRT Novice


Joined: 02 Dec 2021
Posts: 2

PostPosted: Sun Jan 16, 2022 7:07    Post subject: [Solved?] Problem with password login Reply with quote
crankycanuck wrote:
Archer C7 v5
Today I flashed to v3.0-r48081 (01/11/22). Now I seem unable to login.


After I managed to telnet in, I tried using a different browser for the web gui, and for some reason it worked. So while I have no idea what was up, this works for me now. Sorry for the noise and thanks for the code.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 12858
Location: Texas, USA

PostPosted: Sun Jan 16, 2022 12:20    Post subject: Reply with quote
You probably either have login credentials auto-saved to the other browser or it is configured for https-only mode.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Pogo - A minimal level of ability is expected and needed...
At some point, people just get plain tired of this place.

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
EricRFMA
DD-WRT Novice


Joined: 22 Dec 2010
Posts: 3

PostPosted: Wed Jan 26, 2022 23:54    Post subject: Reply with quote
Happy to find a (recent) post with almost the same question...

I didn't reflash my router. Running DD-WRT v3.0-r46885 std (06/05/21) on a TP-Link Archer C7 V2.

I suddenly can't login to the web gui. I can ssh and telnet in OK. The only change I made (which Kernel-Panic69 reminded me of) was to enable HTTPS login. I didn't disable HTTP login.

Whenever I try to enter my credentials, it just prompts for them again. I've tried explicitly using http: and https:, and turned off automatic promotion to https:, and get the same result.

I also tried using the username "root" to log in, as well as the name I created initially. Same issue.

Can someone help?

Thanks!
slowmotionscene
DD-WRT User


Joined: 03 Oct 2014
Posts: 244

PostPosted: Sat Jan 29, 2022 8:15    Post subject: Reply with quote
Delete cookies
EricRFMA
DD-WRT Novice


Joined: 22 Dec 2010
Posts: 3

PostPosted: Sat Jan 29, 2022 16:19    Post subject: Reply with quote
I did that too.

I had to diddle around in an ssh/telnet connection, and in nvram unset https_enabled, http_passwd, and http_username. I reconnected, got prompted for new username and password, and things seem to be working. For now.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum