Post reply

The message has the following error or errors that must be corrected before continuing:
Warning: this topic has not been posted in for at least 356 days.
Unless you're sure you want to reply, please consider starting a new topic.
Note: this post will not display until it has been approved by a moderator.
Other options
Verification:
Please leave this box empty:

What is the name of this forum?:
What is the most visible color in our forum?:
Shortcuts: ALT+S post or ALT+P preview

Topic summary

Posted by =Juku=
 - Sun 19.02.2017 15:48:59 (UTC+0200)
Quote from: Lexa on Sun 19.02.2017 14:33:11 (UTC+0200)
Lisäsin suoraan videoon vähän kommentteja. :jepso:
Noin on parempi  :good:
Posted by Lexa
 - Sun 19.02.2017 14:33:11 (UTC+0200)
Lisäsin suoraan videoon vähän kommentteja. :jepso:
Posted by Lexa
 - Sun 19.02.2017 13:47:42 (UTC+0200)
Juu, monella modeemimallilla toi oiskin käytännössä SER-jäte -tuomio laitteelle.
Posted by =Juku=
 - Sun 19.02.2017 13:41:38 (UTC+0200)
Siinä saattaisi olla sormi normaalikäyttäjällä niin syvällä suussa, että kynnen alla olisi ruskeaa, jos tuollainen sattuisi "vahingossa".
Posted by Lexa
 - Sun 19.02.2017 13:18:46 (UTC+0200)
Toi on vaan nopea läpikäynti, mutta:

1) Kirjaudun sisään OpenWRT:n ohjauspaneeliin
2) Poistan kokonaan kaikki Ethernet-yhteydet OpenWRT:stä, eli katkaisen yhteyteni purkkiin.
3) Puran purkin, ja saan esiin emolevyn suorat liitännät.
4) Lyön emolevyyn kiinni USB-TTL kaapelin, ja avaan terminaaliyhteyden ( Teraterm )
5) Käynnistän modeemin, odotan että sen käynnistysrutiini on ohi.
6) Terminaalin kautta annan komennot "firstboot" (palauttaa OpenWRT SquashFS:n asetukset alkuperäisiksi) ja sen jälkeen "reboot" (käynnistää modeemin uusiksi)
7) Odotan että modeemin käynnistysrutiinit on ohi, lyön kaapelin kiinni ja kirjaudun uudestaan ohjauspaneeliin todetakseni että homma OK.

::hihsmoke
Posted by =Juku=
 - Sun 19.02.2017 13:14:52 (UTC+0200)
Tehokkaammin voisi toistaa tuon tekemäsi virheen jos muutamin sanoin kuvailisit mitä kulloinkin teet  ::hihsmoke
Posted by Lexa
 - Sun 19.02.2017 11:48:03 (UTC+0200)
Virheistä oppii :psp:

Ajattelin jakaa oppimani.

https://youtu.be/r9PlyP4AdrM

OpenWRT is a very flexible piece of firmware, but it also makes it very easy to screw up and lock yourself out of your own router.
Here's a quick demonstration on how to revert changes you've made, on a Zyxel P-2812HNU-F1 router, using ( USB-TTL ) serial access directly to console.

For the purpose of this video, I disabled the LAN connection that is normally used to access the GUI in OpenWRT, but the exact same routine works for any unintended changes in configuration, such as forgotten root passwords.

The commands used in the terminal are firstboot ( reverting all changes made since install - Only on SquashFS installs though! )
and reboot ( rebooting the device ). If you are not using SquashFS, you can still use the serial connection to save your box, but you need to reflash the firmware - That's a topic for another video. ;)

Please turn on annotations - I have tried to explain the routine step by step using them.

NOTE:
Do NOT connect power -pin.
The pins on my USB-TTL cable are Black: GRND, Green: TXD, White: RXD, Red: 5V DC, and they are connected in that order, starting from the one pin on the motherboard that is slightly separated from the 3 others. You do not need the 5V DC though, and there is a chance that connecting it will fry your board, so do not connect that one.