Access via SSH to the router.
Access via SSH to the router.
Hello, after updating to version 1.1, I noticed that I can't use the standard Bash shell anymore, but instead there's a Cisco-like interface available. How can I switch back to the normal SSH mode like in version 1.0.3?
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
@mati2762 I figured it out, the first password for ssh to login as root was to hash the mac with the local admin username in accounts (for me, trans_sophie), then to access debug you do the same thing hashing the mac and user but instead use the device account from the bottom of site settings (for me, admin). Really friggen dumb.
- Copy Link
- Report Inappropriate Content
yes, it seems like they can't make up their minds, I had the opportunity to reboot the ER605v2 a while ago from SSH, but that function is gone.
do you know of any hidden reboot commands that can be run via SSH
- Copy Link
- Report Inappropriate Content
Before switching to version 1.1, I had added a script to the crontab, and now after the update, I can't even remove it :(
- Copy Link
- Report Inappropriate Content
@mati2762 That's because they added the new CLI config options. There's a hidden command called debug that allows access to the regular shell. It needs root password again, as you can see in this screenshot:
- Copy Link
- Report Inappropriate Content
Ok, thanks, but were do i find root password? or how can I set root password to the device?
EmuAGR wrote
@mati2762 That's because they added the new CLI config options. There's a hidden command called debug that allows access to the regular shell. It needs root password again, as you can see in this screenshot:
- Copy Link
- Report Inappropriate Content
It's great that something like this exists; we already have half of the success. I used it to generate a password for the root, and I can log in, but the password doesn't work in debug mode anymore.
- Compute the root password
- Append the standalone web GUI username to the MAC address to make a string in this format: xx:xx:xx:xx:xx:xxadmin
(My local username is "admin" in this example) - Find the MD5 hash of the string from step 1
- The first 16 characters of the MD5 hash in step 2 will be the root password
- Append the standalone web GUI username to the MAC address to make a string in this format: xx:xx:xx:xx:xx:xxadmin
- Copy Link
- Report Inappropriate Content
@mati2762 Hello, your local username would be "root", not "admin". Local username means the username in /etc/passwd. Also, check with capital and non-capital letters in the MAC, I can't remember which.
- Copy Link
- Report Inappropriate Content
I used my own user account (not admin) to generate the password. This password works with SSH, but not with debug. I also tried other combinations, but unfortunately, they don't work.
- Copy Link
- Report Inappropriate Content
@mati2762 I figured it out, the first password for ssh to login as root was to hash the mac with the local admin username in accounts (for me, trans_sophie), then to access debug you do the same thing hashing the mac and user but instead use the device account from the bottom of site settings (for me, admin). Really friggen dumb.
- Copy Link
- Report Inappropriate Content
@JessEH thx, it is work :)
- Copy Link
- Report Inappropriate Content
Has anyone tried this successfully on the EAP ap's? So far no go on the eap670. Tried both lower and upper case for the mac.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 1
Views: 8548
Replies: 10