What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

totally simple even for us common folks....

Thanks!
Common folks mostly use Windows operating systems. The people in Redmond do not include an SSH client in their OS.
There is one in Windows 10, but not activated and installed by default.
Hence the phrase.
 
Common folks mostly use Windows operating systems. The people in Redmond do not include an SSH client in their OS.
There is one in Windows 10, but not activated and installed by default.
Hence the phrase.
Suppose thats another reason God invented MacOS..."Jesus saves and Gretzky scores on the rebound..."
 
Common folks mostly use Windows operating systems. The people in Redmond do not include an SSH client in their OS.
There is one in Windows 10, but not activated and installed by default.
Hence the phrase.
SSH is implemented and working for me since Win10-1803 OOTB, with previous 1709 I had to install and use beta version but now its part of the game.

open win-powershell and type: ssh yourusername@routerIP
 
Suppose thats another reason God invented MacOS..."Jesus saves and Gretzky scores on the rebound..."
I'd like to see that source code, might be interesting reading.
include ()Heaven, Earth, Hell and everything else;
... do more stuff
Show()Desktop-Earth Edition;
...
 
SSH is implemented and working for me since Win10-1803 OOTB, with previous 1709 I had to install and use beta version but now its part of the game.

open win-powershell and type: ssh yourusername@routerIP
All there on mine too. Still prefere my long time favourites.
 
I just upgraded to 4.0.3..everything was going smoothly, until I noticed the following in my syslog:
Code:
Oct 12 02:41:05 Entware (armv7sf-k2.6): Failed to start pixelserv-tls (Diversion) from /opt/bin/diversion
Oct 12 02:41:05 kernel: EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 8174

I went to check my pixelserv stats page and it was indeed down. It shows as "not running" on the Diversion UI and everytime I tried restarting it through Diversion it gives an error with the following output:
Code:
/opt/bin/diversion: line 233: pixelserv-tls: Input/output error

Rebooted my 68U to no avail. Has anyone else experienced this error? Is my USB stick failing me? Entware, Skynet, and dnscrypt are all still working fine..
 
I just upgraded to 4.0.3..everything was going smoothly, until I noticed the following in my syslog:
Code:
Oct 12 02:41:05 Entware (armv7sf-k2.6): Failed to start pixelserv-tls (Diversion) from /opt/bin/diversion
Oct 12 02:41:05 kernel: EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 8174

I went to check my pixelserv stats page and it was indeed down. It shows as "not running" on the Diversion UI and everytime I tried restarting it through Diversion it gives an error with the following output:
Code:
/opt/bin/diversion: line 233: pixelserv-tls: Input/output error

Rebooted my 68U to no avail. Has anyone else experienced this error? Is my USB stick failing me? Entware, Skynet, and dnscrypt are all still working fine..
Install amtm and enable the disk check dc. Reboot router and see if that fixed the inode error (should do so).
If not, do this:
Code:
opkg remove pixelserv-tls
Then start the Diversion UI and select d, 2 Re-Install to reinstall pixelserv-tls automatically.
 
Install amtm and enable the disk check dc. Reboot router and see if that fixed the inode error (should do so).
If not, do this:
Code:
opkg remove pixelserv-tls
Then start the Diversion UI and select d, 2 Re-Install to reinstall pixelserv-tls automatically.

Thanks for the quick reply. When I run the disk check on amtm I get the following output:
Code:
 Fri Oct 12 02:17:23 DST 2018 Starting 'fatfsck -a install'
 fatfsck 3014.9.11
 Checking boot region...
 Error: Not a FAT volume - Invalid end of sector signature: 0x0
 Floating point exception

The weird thing is that I've gotten that exact output multiple times in the past, even when pixelserv/Diversion were running smoothly.

So I removed pixelserv and reinstalled Diversion through the UI..this was the output:
Code:
 i  Checking diversion file
  ✔  diversion

  i  Running function re-install
  i  Checking router
  ✔  Asuswrt-Merlin
  ✔  dos2unix
  ✔  Netstat
  ✔  Compatible device(s)
  ✔  Internet
  i  Router check complete

  ✔  All clear to re-install Diversion 4.0.3

  i  Probing for Entware
  ✔  Entware is already installed

  i  Checking Diversion Standard files
  ✔  functions.div
  ✔  install.div
  ✔  post-conf.div
  ✔  post-mount.div
  ✔  rc.func.div
  ✔  rotate-logs.div
  ✔  S80pixelserv-tls
  ✔  stats.div
  ✔  theme.div
  ✔  update.div
  ✔  update-bf.div
  ✔  write-config.div

  i  Checking white and blacklists
  ✔  Whitelist
  ✔  Blacklist
  ✔  Wildcard blacklist

  i  Probing for pixelserv-tls
  i  Installing pixelserv-tls

Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Installing pixelserv-tls (2.1.2-1) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/pixelserv-tls_2.1.2-1_armv7-2.6.ipk
Place ca.crt and ca.key to /opt/var/cache/pixelserv before starting HTTPS mode.
Start options can be adjusted via /opt/etc/init.d/S80pixelserv-tls.

See 'pixelserv-tls -h' for details
Collected errors:
 * wfopen: /opt/bin/pixelserv-tls: Input/output error.
Configuring pixelserv-tls.

  ✔  pixelserv-tls installed
  ✔  pixelserv-tls certificates found

  i  Checking /jffs/scripts entries
  ✔  dnsmasq.postconf
  ✔  post-mount
  ✔  services-stop

  i  Initializing Diversion

  ✔  Blocking file
  i  (Re)starting pixelserv-tls

 Starting pixelserv-tls (Diversion)... failed


  ✖  pixelserv-tls not running, restarting...

 Starting pixelserv-tls (Diversion)... failed


  ✖  pixelserv-tls not running, check syslog for errors

  !  Press [Enter] to acknowledge ^C

  ✖  Abort signal detected
     Aborting re-install, cleaning up temp files...

Does this provide any new insight into the problem?
 
Thanks for the quick reply. When I run the disk check on amtm I get the following output:
Code:
 Fri Oct 12 02:17:23 DST 2018 Starting 'fatfsck -a install'
 fatfsck 3014.9.11
 Checking boot region...
 Error: Not a FAT volume - Invalid end of sector signature: 0x0
 Floating point exception

The weird thing is that I've gotten that exact output multiple times in the past, even when pixelserv/Diversion were running smoothly.

So I removed pixelserv and reinstalled Diversion through the UI..this was the output:
Code:
 i  Checking diversion file
  ✔  diversion

  i  Running function re-install
  i  Checking router
  ✔  Asuswrt-Merlin
  ✔  dos2unix
  ✔  Netstat
  ✔  Compatible device(s)
  ✔  Internet
  i  Router check complete

  ✔  All clear to re-install Diversion 4.0.3

  i  Probing for Entware
  ✔  Entware is already installed

  i  Checking Diversion Standard files
  ✔  functions.div
  ✔  install.div
  ✔  post-conf.div
  ✔  post-mount.div
  ✔  rc.func.div
  ✔  rotate-logs.div
  ✔  S80pixelserv-tls
  ✔  stats.div
  ✔  theme.div
  ✔  update.div
  ✔  update-bf.div
  ✔  write-config.div

  i  Checking white and blacklists
  ✔  Whitelist
  ✔  Blacklist
  ✔  Wildcard blacklist

  i  Probing for pixelserv-tls
  i  Installing pixelserv-tls

Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Installing pixelserv-tls (2.1.2-1) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/pixelserv-tls_2.1.2-1_armv7-2.6.ipk
Place ca.crt and ca.key to /opt/var/cache/pixelserv before starting HTTPS mode.
Start options can be adjusted via /opt/etc/init.d/S80pixelserv-tls.

See 'pixelserv-tls -h' for details
Collected errors:
 * wfopen: /opt/bin/pixelserv-tls: Input/output error.
Configuring pixelserv-tls.

  ✔  pixelserv-tls installed
  ✔  pixelserv-tls certificates found

  i  Checking /jffs/scripts entries
  ✔  dnsmasq.postconf
  ✔  post-mount
  ✔  services-stop

  i  Initializing Diversion

  ✔  Blocking file
  i  (Re)starting pixelserv-tls

 Starting pixelserv-tls (Diversion)... failed


  ✖  pixelserv-tls not running, restarting...

 Starting pixelserv-tls (Diversion)... failed


  ✖  pixelserv-tls not running, check syslog for errors

  !  Press [Enter] to acknowledge ^C

  ✖  Abort signal detected
     Aborting re-install, cleaning up temp files...

Does this provide any new insight into the problem?
No it did not. Except you killed the Diversion re-install with CTRL-C. Why? It was about to finish.

Run
Code:
fdisk -l
Find the USB device, usually /dev/sda1
Then remove it in the WebUI (this unmounts the device).
Then run <device> being the device identifier.
Code:
e2fsck -p /dev/<device>
 
SSH is implemented and working for me since Win10-1803 OOTB, with previous 1709 I had to install and use beta version but now its part of the game.

open win-powershell and type: ssh yourusername@routerIP

Tried that, but my powershell console doesn't accept any password input.
 
Tried that, but my powershell console doesn't accept any password input.
After firmware update I have to delete C:\users\your_user\.ssh\known_hosts file (or related content in it with editor)
first time you have to answer with 'yes'.

Change IP and router login-user to your needs!
open powershell with admin-rights
PS C:\WINDOWS\system32> ssh yourrouterusername@10.0.0.xx
only first time asking: yes
xxxxx@10.0.0.xx's password: input_your_password
 
Last edited:
After firmware update I have to delete C:\users\your_user\.ssh\known_hosts file (or related content in it with editor)
first time you have to answer with 'yes'.

Change IP and router login-user to your needs!
open powershell with admin-rights
PS C:\WINDOWS\system32> ssh yourrouterusername@10.0.0.xx
only first time asking: yes
xxxxx@10.0.0.xx's password: input_your_password
I did that, but the password is not accepted. When I'm typing it in, the cursor just blinks _ with no characters being entered.
 
When the wife or someone else wants to visit THAT website and do stuff. And things don't work quite like they should on that site and you'd have to whitelist a lot or use a smaller blocking file. That's where fs comes to your help in Diversion, it fast switches between two blocking files. I made a deal with @Adamm andhe named his function wm - wife mode.
My part of the deal was auto-adding www and non-www domains when whitelisting.

I had a sense that was what it did. I got one of those (wife) and can absolutely relate. Simply brilliant!!!
 
Just notice this when I reinstalled Diversion. Diversion installs pixel serv 2.1.2 by default... is there any problems with the 2.2.0 pixel server and diversion?
Just wondering... if no, then perhaps diversion should install 2.2.0 by default.
 
Ok, as some in this thread know, I still consider myself somewhat of a noob to Command Line, and certainly to using things like Diversion. I understand there is an update. What is the procedure to updating Diversion? I ask so I don't stuff anything up. (I also have Skynet installed, as well as Entware).

Any and all help is always appreciated.


Sent from my iPhone using Tapatalk Pro
 
Good tip! Seems to work nicely. However, I have always had PuTTY installed on my Windows computers so maybe I will continue using it.

That is the question is it better than Putty?

Don't see myself switching just because its now part of the OS.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top