วันพุธที่ 6 มิถุนายน พ.ศ. 2561

วันจันทร์ที่ 7 พฤษภาคม พ.ศ. 2561

Bananapi R1 Lan switch config Router Mode

Single Board Computer BANANA PI R1
this post I well show config 4 Lan to be switch port  and single port wan receive dhcp from wan (internet)

Exsample
root@lamobo:~# sudo apt-get install vlan
root@lamobo:~# sudo nano /etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0.101
iface eth0.101 inet manual
    pre-up swconfig dev eth0 set reset 1
    pre-up swconfig dev eth0 set enable_vlan 1
    pre-up swconfig dev eth0 vlan 101 set ports '3 8t'
    pre-up swconfig dev eth0 set apply 1

auto eth0.102
iface eth0.102 inet manual
    pre-up swconfig dev eth0 vlan 102 set ports '0 1 2 4 8t'
    pre-up swconfig dev eth0 set apply 1

allow-hotplug wlan0
iface wlan0 inet manual

# WAN
auto eth0.101
iface eth0.101 inet dhcp

# LAN
auto br0
iface br0 inet static
bridge_ports eth0.102 wlan0
    address 192.168.2.254
    netmask 255.255.255.0

# WIFI
auto enx10a4be6c4ed7
iface enx10a4be6c4ed7 inet static
hostapd /etc/hostapd/hostapd.conf
        address 192.168.2.253
        netmask 255.255.255.0

Huawei HG8245H router problem discontinuity of Internet service

Somebody had the same problem when Single quality of fiber optic No LOS and Connection of internet alway connected (pppoe) no Disconnect but the problem your device has alert (NO internet access) some time work and sometime not work.
the problem of DNS Server On HG8245H

How can I Fix it.
You can Change the DNS Server on HG8245H

1.Access to HG8245H and looking for DNS from wan connection status and this dns your ISP
















2. Insert your dns from ISP


3.click apply and reboot your router