Sunday, August 9, 2020

Windows 10 sharing printer on private network only

 

  1. Enabling Windows sharing "Manage advanced sharing setings"
    1. Private
      1. Turn on network discovery & Turn on automativ setup of network connected device
      2. Turn on file and printer sharing
    2. Guest or Public
      1. Turn off network discovery
      2. Turn off file and printer sharing
    3. All networks
      1. Turn off Public folder sharing (people logged on to this computer can still access these folders)
      2. Use 128-bit encryption to help protect file sharing connectin (recommended)
      3. Turn off password protected sharing
  2. Enabling guest user, open cmd with "Run as administrator" permission
        >net user guest /active:yes
  3. Share printer, "Printers & Scanners", choose printer to share, "Manage" -> "Printer properties"
    1.     Sharing
      1.         Share this printer (optional: you can change share name)
      2.         Render print-jobs on client computer
    2.     Security
      1.         Everyone: Print, Manage this printer, Manage documents
      2.         Guest: Print, Manage this printer, Manage documents (add group or user name)

 

Warning: only use on private network!!!

Caution: use with your own security risk on non private network!!!

Note:

  • Some Windows 10 update, version 1903 or later, may have some problem with your printer driver and printer sharing. You need to find solution on microsoft site if reinstall and reconnect your printer does not solved your problem.
  • You can not share printer if the printer is offline

Monday, August 3, 2020

Debian Buster: Installing zoom client meeting

Download zoom client meeting from https://zoom.us/download?os=linux

Install dependency
# apt-get install dconf-cli gir1.2-ibus-1.0 ibus ibus-clutter ibus-gtk ibus-gtk3 im-config libclutter-1.0-0 libclutter-1.0-common libclutter-imcontext-0.1-0 libclutter-imcontext-0.1-bin libcogl-common libcogl-pango20 libcogl-path20 libcogl20 libdouble-conversion1 libibus-1.0-5 libpcre2-16-0 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5svg5 libqt5widgets5 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xkb1 libxcb-xtest0 libxkbcommon-x11-0 qt5-gtk-platformtheme qttranslations5-l10n

Install zoom client meeting
# dpkg -i zoom_amd64.deb
(Reading database ... 93758 files and directories currently installed.)
Preparing to unpack zoom_amd64.deb ...
Unpacking zoom (5.1.422789.0705) over (5.1.422789.0705) ...
run post uninstall script, action is upgrade ...
Setting up zoom (5.1.422789.0705) ...
run post install script, action is configure...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for shared-mime-info (1.10-1) ...

Screenshoot zoom client:

Screenshoot zoom setting:


Tested XFCE Desktop on Debian 10.5 linux-image 4.19.0-10-amd64

Saturday, July 18, 2020

GPON AN5506-04-F: Enabling routing in Lan port 1


Network schema
   192.168.1.1 (Router Wifi GPON AN5506-04-F)
        |________________________________
        |            |           |           |          |
      wifi 1  port 1  port 2  port 3  port 4
                     |
                     |
                     | DHCP client/port Uplink (TP-Link TL-WR720N)
                     |_____________________
                     |                 |           |
                  wifi 2        port 1  port 2



Login to router GPON

GPON port 3 connected to Indihome STB (It depends on your installation)


We are going to connect TL-TP720N Uplink to GPON Port 1 and enabling GPON Port 1.
Note: blue pencils are existing configuration, red pencil is a modification.

Save your new configuration, and your TP-TP720N is ready to act as router.

Thursday, July 2, 2020

Debian Buster: configure local dns cache for Indihome user

To make your debian faster to lookup name server, it is better to use local dns cache.


Install dnsmasq
# apt-get install dnsmasq

Install NetworkManager
# apt-get install network-manager

Edit /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
dns=dnsmasq

Edit /etc/NetworkManager/system-connections/[your connection profile]
[ipv4]
dns=8.8.8.8;1.1.1.1;
dns-search=8.8.8.8;1.1.1.1;
method=auto

Restart your network manager
# systemctl restart network-manager

Try your local dns cache
# dig garasiku.my.id @localhost
# dig google.com @localhost

Tested on Debian 10.4

Friday, June 26, 2020

Debian Buster: Manual add DNS Server for Indihome user

Before manual editing connections:

# apt-get update
Hit:1 http://ftp.debian.org/debian buster-backports InRelease                 
Err:3 http://kartolo.sby.datautama.net.id/debian buster InRelease             
  Temporary failure resolving 'kartolo.sby.datautama.net.id'
Err:2 http://httpredir.debian.org/debian buster InRelease                     
  Connection failed [IP: 36.86.63.180 80]
Err:4 http://security.debian.org/debian-security buster/updates InRelease
  Connection failed [IP: 36.86.63.180 80]
Reading package lists... Done
W: Failed to fetch http://security.debian.org/debian-security/dists/buster/updates/InRelease  Connection failed [IP: 36.86.63.180 80]
W: Failed to fetch http://kartolo.sby.datautama.net.id/debian/dists/buster/InRelease  Temporary failure resolving 'kartolo.sby.datautama.net.id'
W: Failed to fetch http://httpredir.debian.org/debian/dists/buster/InRelease  Connection failed [IP: 36.86.63.180 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

Add DNS Server manually by editing connections. Add 8.8.8.8, 1.1.1.1 in
  1. IPv4 Settings -> Additional DNS Servers
  2. IPv4 Settings -> Additional search domains

 

After manual editing connections:
# apt-get update
Hit:1 http://httpredir.debian.org/debian buster InRelease                     
Hit:2 http://ftp.debian.org/debian buster-backports InRelease                 
Hit:3 http://kartolo.sby.datautama.net.id/debian buster InRelease             
Hit:4 http://security.debian.org/debian-security buster/updates InRelease
Reading package lists... Done