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


Tuesday, May 19, 2020

Debian Buster: Installing Google Chrome from Google Repository

Add and edit Google Chrome Repository

# cd /etc/apt/sources.list.d/
# touch google.list
# vi google.list

    # Google Chrome
    deb http://dl.google.com/linux/chrome/deb/ stable main

Add Google Linux Package Signing Keys

# wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add

Update repository and install google chrome

# apt-get install google-chrome-stable

To install Google Earth, add at the end of google.list file or create a new file in folder /etc/apt/source.list.d/

    # Google Earth
    deb http://dl.google.com/linux/earth/deb/ stable main

Reference: