Help SamKnows SK-WB8

Alguém poderia me ajudar a flashear o SK-wb8, não sei editar o ip /etc/config/network, pedem para colocar ip estático. Muito Obrigado.

Could someone help me flash SK-wb8, I don't know how to edit the ip /etc/config/network, they ask me to put a static ip. Thank you so much.

Access it via browser at 192.168.1.1 instead?

No, just by serial putty.

Why not use the browser? It is easier for most users.

If you need/want to use PuTTY, ssh into 192.168.1.1 (username root, no password by default).

Then change the address as required. Here is documentation about the network configuration:

Adicionei o comando no Putty. Agora não estou conseguindo entrar no SCP, a senha não confere.

I added the command in Putty. Now I am not able to enter the SCP, the password does not match.

uci set network.wan.proto="static"
uci set network.wan.ipaddr="192.168.0.50"
uci set network.wan.netmask="255.255.255.0"
uci set network.wan.gateway="192.168.0.100"
uci set network.wan.dns="192.168.0.100"
uci commit network
/etc/init.d/network restart

you are never supposed to be able to logon via wan, it's firewalled.

1 Like

Now the SCP does not want to accept the password. Says it's wrong.

Did you change the password? If you didn't, there is no password... login with the password field blank.

Also, how are you trying to login? From the LAN side or WAN?

1 Like

How do I fix an ip to use in WinSPC?

Are you talking about fixing an IP on Windows? Or on your router?

I won a White Box Sk-WB8. How to put an ip in openwrt to use WinSCP? Whitebox doesn't give me an ip. I only have access via usb-ttl serial. Thank you so much.

fixing an IP in router.

Does the sk-WB8 device not provide an IP address to your connected computer?

You have a serial connection... please use that to provide the following:

Please copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall

that's not openwrt, that's (still) the stock fw.
you're (pretty much) on your own, until you install openwrt.

installation is described at https://openwrt.org/toh/samknows/sk-wb8

1 Like

I don't know how to edit and I don't know what to do.
Edit /etc/config/network to set an IP address of your choice on LAN

Yes, but it asks to edit Edit /etc/config/network to set an IP address of your choice on LAN and I don't know how to do it and what to put.

sorry,
misunderstading.

since you got serial access, did you try reseting the unit ?

you could also try something like, then hook up the device via a LAN port.

config interface 'lan'
        option ifname 'eth1'
        option proto 'dhcp'

but the eth1 is a guess, what does ifconfig say ?

This is a highly customized vendor firmware- it is not a standard/official openwrt version. You need to ask the vendor for support because it is so different from the way openwrt normally works due to their customized code.

Yes, but I need to edit /etc/config/network, but I don't know what to put.

It is openwrt compatible, but I need to edit /etc/config/network, but I don't know what to put. To use SCP.