GithubHelp home page GithubHelp logo

kopijahe / wifiid-openwrt Goto Github PK

View Code? Open in Web Editor NEW
49.0 49.0 29.0 7.84 MB

Tutorial untuk menangkap dan memancarkan kembali sinyal @wifi.id menggunakan router berbasis OpenWrt

Shell 100.00%
tutorial wifi-id

wifiid-openwrt's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wifiid-openwrt's Issues

Error cUrl 3

Saya menggunakan wms, autologin kopijahe error curl 3

Percobaan login. Interface: wwan. Hasil: login tidak berhasil, kode status CURL: 3

CURL: 28 & 7

Pada salah satu jaringan WMS yg saya miliki, sering mendapatkan error seperti berikut:

Percobaan login. Interface: wwan1. Hasil: login tidak berhasil, kode status CURL: 28 & 7

Detail kondisi di lokasi:

  • Setup multiwan
  • tipe produk wms lite

error curl 28 & 7 ini biasanya disebabkan oleh apa ya?

error

curl: (6) Couldn't resolve host 'welcome2.wifi.id'

curL return code 3 & 6

Halo gan, saya mengalami script tidak berfungsi. konfigurasi yang saya gunakan hanya wireless client dengan interface wwan yang menembak wifi.id-lanjutkan, ketika saya coba lihat syslognya muncul pesan user.notice dengan error curL 3 & 6, permasalahan ini sebenarnya saya paham bahwa script tidak bisa menemukan hostname welcome2.wifi.id padahal saya sudah set di bagian Hostname menu di openwrt.

Anehnya ketika saya coba buka captive portalnya melalui handphone maupun laptop, welcome2.wifi.id terdeteksi. Saat ini saya berasumsi bahwa script yang diinstall di openwrt saya tidak bisa terhubung dengan hostname dari wifi.id karena mengggunakan parameter -d dan saya masukkan url manual tetap tidak bisa, Mohon bantuannya...

Script tidak jalan secara otomatis setelah router mati/reboot

Permasalahan

Ketika awal menggunakan script untuk autologin, script bisa berjalan secara normal, akan tetapi begitu router sempat mati (misal karena reboot atau listrik padam), script tidak lagi berjalan sebagaimana mestinya.

Hal ini kemungkinan disebabkan karena sistem dan koneksi belum sepenuhnya kembali normal, sehingga menyebabkan gagalnya script.

Solusi

Tambahkan sleep 10 && sebelum baris /bin/sh /etc/autologin.sh & di berkas /etc/rc.local seperti gambar berikut:

sleep-10

Hal ini untuk memberikan waktu tambahan bagi sistem sebelum menjalankan script autologin.

Langkah-langkah detilnya bisa disimak di bawah:

  1. Buka PuTTY, mulai koneksi SSH ke router (biasanya 192.168.1.1)

  2. Ketikkan: vi /etc/rc.local

vi-etc-rc-local

  1. Tekan tombol i untuk memulai edit berkas, perhatikan status di bagian pojok bawah:

vi-etc-rc-local-2

vi-etc-rc-local-3

  1. Tambahkan sleep 10 && sehingga baris /bin/sh /etc/autologin.sh & berganti menjadi sleep 10 && /bin/sh /etc/autologin.sh &

vi-etc-rc-local-4

  1. Tekan tombol ESC lalu ketikkan :wq untuk menyimpan berkas

vi-etc-rc-local-5

  1. Silahkan lakukan reboot router dengan mengetik perintah: reboot atau dengan cabut-pasang kabel power pada router

Gagal autologin

Sejak tanggal 28 Agustus 2020 dini hari, script autologin.sh mengalami masalah yang menyebabkan gagalnya script.

Contoh:
image

Hal ini disebabkan oleh perubahan sepihak DNS untuk domain periksakoneksi.kopijahe.my.id oleh penyedia jasa domain dan hosting yang saya pakai.

Untuk sementara, bisa menggunakan varian script autologin-google.sh, akan tetapi wajib memasang paket tambahan wget dengan perintah opkg update && opkg install wget agar bisa berjalan dengan baik.

Permasalahan ini sudah saya laporkan sejak tadi pagi ke pihak penyedia jasa domain dan hosting, dan menurut mereka sedang dalam proses pemulihan kembali secepatnya.

Gagal mengunduh script autologin

Permasalahan

Ketika mengunduh script autologin, terkadang dihadapkan dengan masalah Failed to redirect to /kopijahe/wifiid-openwrt/raw/master/scripts/autologin.sh on github.com seperti gambar berikut:

image

Solusi:

  1. Buka script yang ingin digunakan dengan browser:

(Penjelasan masing-masing script ada di dokumen ini)

  1. Tekan tombol Copy

image

  1. Buka PuTTY, mulai koneksi SSH ke router (biasanya 192.168.1.1)

  2. Ketikkan: vi /etc/autologin.sh

image

  1. Sebelum paste hasil dari no. 2, tekan huruf i terlebih dahulu, perhatikan status di bagian pojok kiri bawah:

image

image

  1. Paste hasil dari no. 2 dengan menekan tombol kanan mouse

image

  1. Tekan tombol ESC lalu ketikkan :wq untuk menyimpan berkas

image

Setelah ini anda bisa melanjutkan langkah-langkah berikutnya.

2.2.2 possible runaway on openwrt r18xxx

hello

just reporting a possible runaway issue on openwrt master
(likely due to 2.2.2 (could be 2.2.1 also I suppose) but I could be wrong... could be a master thing from the last few months)

https://forum.openwrt.org/t/rpi4-community-build/69998/1973?u=wulfy23

basically, it seems like a condition occurs where your script enters a (fast) loop
not sure of it's 'bouncing' with mwan or something...

dnsmasq goes crazy and just reloads continuously...

feel free to close this if i'm wrong, as i'm not a user of your script it could be
user error... but I still think your script (or mwan?) can use a 'backoff'+log/better-detect
looping (if my findings are correct)

Tue Jan 18 14:41:08 2022 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Tue Jan 18 14:41:09 2022 daemon.info dnsmasq[1]: read /etc/hosts - 4 addresses
Tue Jan 18 14:41:09 2022 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 6 addresses
Tue Jan 18 14:41:09 2022 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 2 addresses
Tue Jan 18 14:41:09 2022 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Tue Jan 18 14:41:09 2022 daemon.info dnsmasq[1]: read /etc/hosts - 4 addresses
Tue Jan 18 14:41:09 2022 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 6 addresses
Tue Jan 18 14:41:09 2022 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 2 addresses
Tue Jan 18 14:41:09 2022 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Tue Jan 18 14:41:10 2022 daemon.info dnsmasq[1]: read /etc/hosts - 4 addresses
Tue Jan 18 14:41:10 2022 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 6 addresses
Tue Jan 18 14:41:10 2022 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 2 addresses
Tue Jan 18 14:41:10 2022 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Tue Jan 18 14:41:10 2022 daemon.info dnsmasq[1]: read /etc/hosts - 4 addresses
Tue Jan 18 14:41:10 2022 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 6 addresses
Tue Jan 18 14:41:10 2022 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 2 addresses
Tue Jan 18 14:41:10 2022 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses

i'm not sure if 'noresolv' or dns problems are also causing / playing a part in this

Tanya brick c60

C60 v3 habis upgrade openwrt brick lampu lan nha tapi g bisa di ping ip nya

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.