Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xiaomi Miwifi BE3600 #19

Open
jdmpower opened this issue Apr 5, 2024 · 20 comments
Open

Xiaomi Miwifi BE3600 #19

jdmpower opened this issue Apr 5, 2024 · 20 comments

Comments

@jdmpower
Copy link

jdmpower commented Apr 5, 2024

Hello
Will there be an update for Xiaomi Miwifi BE3600 SSH access?
BR

@jdmpower jdmpower changed the title BE3600 Xiaomi Miwifi BE3600 Apr 5, 2024
@pitiriguisvi
Copy link

+1 also interested

@gelado
Copy link

gelado commented Jun 24, 2024

Interested too :)

@popos123
Copy link

popos123 commented Jul 8, 2024

im too BE3600 and BE5000

@lem0ke
Copy link

lem0ke commented Jul 20, 2024

im also

@VVi3ard
Copy link

VVi3ard commented Jul 24, 2024

+1 also interested
I bought this router for use with Quest3 and 160 band. Unfortunately, in the standard range of 36-64, in the range of 36-48, I have several neighbors with a powerful signal who actively use WiFi; as a result, it is not possible to use the 160 band when they use their WiFi; delays constantly arise.

I would like to use SSH access to change the region and use the range 100-128. When purchasing a router, I expected that the principle of obtaining SSH would not be different from other devices. As a result, now the router is lying idle :(

@aqiyuyue
Copy link

+1

@GJCav
Copy link

GJCav commented Sep 11, 2024

This post may be helpful:

https://www.right.com.cn/forum/thread-8395205-1-1.html

@atolismesh
Copy link

atolismesh commented Sep 11, 2024

@GJCav
right.com.cn is inaccessible without Mainland China QQ account.
Can you post the script from right.com.cn here?

@aqiyuyue
Copy link

curl -X POST http://192.168.31.1/cgi-bin/luci/;stok=xxx/api/xqsystem/start_binding -d "uid=1234&key=1234'%0Anvram%20set%20ssh_en%3D1'"curl -X POST http://192.168.31.1/cgi-bin/luci/;stok=xxx/api/xqsystem/start_binding -d "uid=1234&key=1234'%0Anvram%20commit'"curl -X POST http://192.168.31.1/cgi-bin/luci/;stok=xxx/api/xqsystem/start_binding -d "uid=1234&key=1234'%0Ased%20-i%20's%2Fchannel%3D.*%2Fchannel%3D%22debug%22%2Fg'%20%2Fetc%2Finit.d%2Fdropbear'"curl -X POST http://192.168.31.1/cgi-bin/luci/;stok=xxx/api/xqsystem/start_binding -d "uid=1234&key=1234'%0A%2Fetc%2Finit.d%2Fdropbear%20start'"

@GJCav
Copy link

GJCav commented Sep 14, 2024

@GJCav right.com.cn is inaccessible without Mainland China QQ account. Can you post the script from right.com.cn here?

Sorry for the delay. aqiyuyue gave the core commands. A more readable version in powershell is shown here:

$stok='<magic token shown in the URL after loggin in to the web admin panel>'
$ip='<ip of your router>'

curl -X POST "http://$ip/cgi-bin/luci/;stok=$stok/api/xqsystem/start_binding" -d "uid=1234&key=1234'%0Anvram%20set%20ssh_en%3D1'"
curl -X POST "http://$ip/cgi-bin/luci/;stok=$stok/api/xqsystem/start_binding" -d "uid=1234&key=1234'%0Anvram%20commit'"
curl -X POST "http://$ip/cgi-bin/luci/;stok=$stok/api/xqsystem/start_binding" -d "uid=1234&key=1234'%0Ased%20-i%20's%2Fchannel%3D.*%2Fchannel%3D%22debug%22%2Fg'%20%2Fetc%2Finit.d%2Fdropbear'"
curl -X POST "http://$ip/cgi-bin/luci/;stok=$stok/api/xqsystem/start_binding" -d "uid=1234&key=1234'%0A%2Fetc%2Finit.d%2Fdropbear%20start'"

you may need to modify the script for linux environment.

After starting the ssh server (dropbear in the case of XiaoQiang), the password of root can be calculate by https://miwifi.dev/ssh

@jdmpower
Copy link
Author

@GJCav right.com.cn is inaccessible without Mainland China QQ account. Can you post the script from right.com.cn here?

Sorry for the delay. aqiyuyue gave the core commands. A more readable version in powershell is shown here:

$stok='<magic token shown in the URL after loggin in to the web admin panel>'
$ip='<ip of your router>'

curl -X POST "http://$ip/cgi-bin/luci/;stok=$stok/api/xqsystem/start_binding" -d "uid=1234&key=1234'%0Anvram%20set%20ssh_en%3D1'"
curl -X POST "http://$ip/cgi-bin/luci/;stok=$stok/api/xqsystem/start_binding" -d "uid=1234&key=1234'%0Anvram%20commit'"
curl -X POST "http://$ip/cgi-bin/luci/;stok=$stok/api/xqsystem/start_binding" -d "uid=1234&key=1234'%0Ased%20-i%20's%2Fchannel%3D.*%2Fchannel%3D%22debug%22%2Fg'%20%2Fetc%2Finit.d%2Fdropbear'"
curl -X POST "http://$ip/cgi-bin/luci/;stok=$stok/api/xqsystem/start_binding" -d "uid=1234&key=1234'%0A%2Fetc%2Finit.d%2Fdropbear%20start'"

you may need to modify the script for linux environment.

After starting the ssh server (dropbear in the case of XiaoQiang), the password of root can be calculate by https://miwifi.dev/ssh

I was very happy to open SSH access but.

although I edited the network and port_map file, the 8021q vlanid definition (such as be7000,be6500pro) does not work on the pppoe side, I hope someone can help, I wonder if the switch is not located in the SOC.

@GJCav
Copy link

GJCav commented Sep 16, 2024

@jdmpower I have limited knowledge about the Ethernet and its physical layer specifications. My goal in enabling ssh was to set custom IPv6 firewall rules and port forwarding, which operate at the network and transport layer. So I cannot help you. But I think these resources may be helpful:

This post provides a detailed teardown of Xiaomi BE3600. Though it is written in Chinese, you can use a web translation tool to read it. Here is a brief summary:

image

As you can see, the switch is not intergrated into the SoC.

The switch chip, YT8215S, is manufactured by a Chinese company called 裕太微电子, and you can find the chip is listed here. Although the official website does not provide the datasheet, I found this from 嘉立创, a well-known Chinese PCB manufacturer.

According to the datasheet of YT8215S, it supports lite-L2-management (the translation might not be perfect), so I believe the 8021q vlanid definition is supported by the switch, but may be not supported by the official XiaoQiang system.

If you have time and enthusiasm to dig deeper into the system and the underlying chip-2-chip PIN connections, you may achieve your goal. So, good luck!

@pitiriguisvi
Copy link

does anyone managed to get VLAN working in BE3600? I´ve edited network file:

config interface 'internet_wan'
option ifname 'eth1.6'

config interface 'wan'
option proto 'pppoe'
list dns '192.168.2.7'
list dns '1.1.1.1'
option peerdns '0'
option username 'adsl'
option mru '1480'
option special '0'
option password 'adsl'
option ifname 'eth1.6'

But nothing works (vlan=6)

@leitao1019
Copy link

leitao1019 commented Sep 20, 2024

Miwifi BE3600 2.5G
system version: 1.0.68
run above http POST command can hack the system.

@Ericnunes77
Copy link

My device just stay with orange light. Don´t appear Ip number...Please guys, help me....how i fix that? umbrick?

@CristianZatt
Copy link

@GJCav right.com.cn is inaccessible without Mainland China QQ account. Can you post the script from right.com.cn here?

Sorry for the delay. aqiyuyue gave the core commands. A more readable version in powershell is shown here:

$stok='<magic token shown in the URL after loggin in to the web admin panel>'
$ip='<ip of your router>'

curl -X POST "http://$ip/cgi-bin/luci/;stok=$stok/api/xqsystem/start_binding" -d "uid=1234&key=1234'%0Anvram%20set%20ssh_en%3D1'"
curl -X POST "http://$ip/cgi-bin/luci/;stok=$stok/api/xqsystem/start_binding" -d "uid=1234&key=1234'%0Anvram%20commit'"
curl -X POST "http://$ip/cgi-bin/luci/;stok=$stok/api/xqsystem/start_binding" -d "uid=1234&key=1234'%0Ased%20-i%20's%2Fchannel%3D.*%2Fchannel%3D%22debug%22%2Fg'%20%2Fetc%2Finit.d%2Fdropbear'"
curl -X POST "http://$ip/cgi-bin/luci/;stok=$stok/api/xqsystem/start_binding" -d "uid=1234&key=1234'%0A%2Fetc%2Finit.d%2Fdropbear%20start'"

you may need to modify the script for linux environment.

After starting the ssh server (dropbear in the case of XiaoQiang), the password of root can be calculate by https://miwifi.dev/ssh

SSH worked, but the files that lock the channels are either uneditable or get restored to default every restart. Also tryed to change region to unlock but it seems the only region available is CN. Has anyone been able to unlock 100 - 144 channels?

@alessandrotrevi
Copy link

Ssh worked for me too, but I cannot change vlan tag or region. I edited network file but it doesn’t seem to work.

any ETA for Openwrt for this router? I’m sure a custom firmware would fix all these problems

@Ericnunes77
Copy link

Guys, someone can help me? my device just stay in orange light. I reset it but nothing fix that. How i do a super hard reset? reinstal a firmware can fix that?

@MaCK1e
Copy link

MaCK1e commented Nov 5, 2024

does anyone managed to get VLAN working in BE3600? I´ve edited network file:

config interface 'internet_wan' option ifname 'eth1.6'

config interface 'wan' option proto 'pppoe' list dns '192.168.2.7' list dns '1.1.1.1' option peerdns '0' option username 'adsl' option mru '1480' option special '0' option password 'adsl' option ifname 'eth1.6'

But nothing works (vlan=6)

Hello! you can need edit only the port_map File

this config works for me with the VLAN 881:

config port '4'
option speed '2.5G'
option link_mode '0'
option base_iface 'eth1'
option type 'eth'
option label '4(2.5G)'
option ifname 'eth1.881'
option service 'wan'

@pitiriguisvi
Copy link

@MaCK1e how would port_map file be if i want to use LAN1 as wan port?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests