Jump to content

forgot password


kim.sj
 Share

Recommended Posts

Hi, did you try this approach?

 

How to use the reset button

The reset button on the snom ONE serves two purposes: First of all, it is a way to reboot the system without disconnecting the power. In order to do, push the button (and release it quickly after the pushing). The LED on the box will start blinking fast and then after 4 seconds start rebooting. Secondly, you can use the button to factory reset the system. After pushing the button, wait until the LED starts blinking fast. During the fast blinking period (about 4 seconds), you have to push the button three more times. Then after the blinking is over, the system will detect that a factory reset is desired and execute it.

 

other solution would be to ssh into the unit..

Link to comment
Share on other sites

The reset button on the snom ONE serves two purposes: First of all, it is a way to reboot the system without disconnecting the power. In order to do, push the button (and release it quickly after the pushing). The LED on the box will start blinking fast and then after 4 seconds start rebooting. Secondly, you can use the button to factory reset the system. After pushing the button, wait until the LED starts blinking fast. During the fast blinking period (about 4 seconds), you have to push the button three more times. Then after the blinking is over, the system will detect that a factory reset is desired and execute it.

 

this I have tried and it does not Work...

 

other solution would be to ssh into the unit..

 

how can it without the password?

Link to comment
Share on other sites

:wacko: well with all the talk about the NSA happening right now it must be seen as a product feature not to have any backdoor. You must have physical access to the device, I think that is the right approach.

 

The explanation how to perform the factory reset is difficult to understand, and it is also difficult to write. The reset button is checked in a shell script, which you can find in the working directory of the PBX. It was made publicly readable, for example to give resellers the possibility to change it (for example, to make sure that in areas with public access, people are not factory-resetting the devices).

 

The following code shows what is going on:

#! /bin/sh

led=/sys/class/leds/guruplug:green:wmode/trigger
ints=/proc/interrupts
wdir=/usr/local/snomONE
ownname=$0

function factory() {
  for i in *; do
    if [[ "$i" == *.sh ]]; then continue; fi
    if [[ "$i" == pbxctrl* ]]; then continue; fi
    if [[ "$i" == audio_* ]]; then continue; fi
    if [ $i == "restore" ]; then continue; fi
    rm -Rf $i
  done

  cp restore/interfaces /etc/network/interfaces
  cp restore/shadow /etc/shadow
  sync
  sleep 1
  sync
}

cd $wdir
read v1 <<< $(awk '{if($4=="gpio_btn")print $2}' $ints)

while [ 1 ]; do
  # Read the key
  read v2 <<< $(awk '{if($4=="gpio_btn")print $2}' $ints)
  if [ "$v1" != "$v2" ]; then
    # Okay, user has pressed the key. Now see if the user wants to
    # reboot or reset. Blink a couple of times, if the button gets pressed three times it is a factory reset otherwise a reboot
    l=0
    c=0
    while [ $l -lt 20 ]; do
      echo -n default-on >$led
      sleep 0.1
      echo -n none >$led
      sleep 0.1
      l=$[$l+1]
      read v3 <<< $(awk '{if($4=="gpio_btn")print $2}' $ints)
      if [ "$v2" != "$v3" ]; then
        c=$[$c+1]
      fi
      v2=$v3
    done

    if [ "$c" = "2" ]; then
      factory
    fi
    /sbin/reboot

    # Don't leave the loop any more:
    exit
  else
    # Wait a while
    sleep 1
  fi
  v1=$v2
done
Link to comment
Share on other sites

  • 10 months later...

Hello,

 

unfortunatly, I've deleted the reset-botton.sh script on my snomONE mini (backup system) and now I'm ultimately locked out. :(.

Is there any way to bring the system back to life (send hardware to snom/vodia)?

Can I save the license to another system (centOS VM) at least?

 

regards

gifti

Link to comment
Share on other sites

What we would do is to to try the JTAG debug cable on it. If you want to avoid the shipping, you could try it yourself. GuruPlug JTAG is what you need to search for,

Good hint, thank you! Fortunatly, the network was reachable again. IPV6 was disabled on my nic.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...