Thứ Bảy, 29 tháng 11, 2025

Download ứng dụng android khởi động máy tính từ xa qua internet

Hướng dẫn khởi động máy tính từ xa (WOL) bằng TP-Link 1043 + DD-WRT

🖥️ Hướng dẫn: Khởi động máy tính từ xa (Wake-On-LAN) qua TP-Link TL-WR1043 chạy DD-WRT

Trong hướng dẫn này, bạn sẽ học cách biến router TP-Link TL-WR1043 chạy firmware DD-WRT thành cầu nối để đánh thức máy tính của mình từ bất cứ nơi đâu qua Internet.

1

Thiết lập Wake-On-LAN trên Máy tính

Máy tính mục tiêu phải được cấu hình để phản hồi lại gói Magic Packet khi ở trạng thái tắt.

📌 Các bước thực hiện:

  1. BIOS/UEFI: Truy cập vào BIOS/UEFI của máy tính và bật các tùy chọn như Wake-on-LAN hoặc Power On By PCI-E/PCI.
  2. Hệ điều hành (Windows): Mở Device ManagerNetwork adaptersCard mạngProperties. Trong tab Power Management, bật Allow this device to wake the computerOnly allow a Magic Packet to wake the computer.
  3. Địa chỉ MAC: Ghi lại Địa chỉ MAC (Physical Address) của card mạng (ví dụ: AA:BB:CC:11:22:33). Thông tin này cực kỳ quan trọng.
Cấu hình Power Management trên Driver Card mạng

Ảnh minh họa: Cấu hình Power Management trên Driver Card mạng

2

Flash Firmware DD-WRT cho Router

Nếu router của bạn chưa chạy DD-WRT, hãy thực hiện các bước sau:

  1. Tải Firmware: Truy cập trang web DD-WRT, tìm và tải bản firmware Factory-to-DD-WRT phù hợp với phiên bản phần cứng của TL-WR1043.
  2. Flash: Kết nối máy tính trực tiếp với router, truy cập giao diện gốc của TP-Link và thực hiện nâng cấp firmware.
  3. Cấu hình cơ bản: Đăng nhập vào giao diện DD-WRT sau khi flash thành công, đặt lại mật khẩu Admin mạnh và cấu hình mạng.
⚠️ CẢNH BÁO: Đảm bảo không mất điện trong quá trình flash firmware! Router có thể bị brick nếu bị gián đoạn.
Cấu hình Power Management trên Driver Card mạng

Ảnh minh họa: Router Tplink 841

Hãy đặt IP tĩnh (hoặc DHCP Reservation) cho WAN của router 1043 trên Modem Chính (ví dụ: 192.168.1.100) để đảm bảo địa chỉ không thay đổi khi NAT Port.

3

Bật Telnet & Cấu hình WOL trong DD-WRT

Chúng ta sẽ bật dịch vụ Telnet và sử dụng tính năng WOL có sẵn trong giao diện DD-WRT.

🔧 3.1. Bật Telnet Daemon

  1. Trong giao diện DD-WRT, vào ServicesServices.
  2. Trong mục Secure Shell (hoặc Telnet/SSH), chuyển Telnet Daemon thành Enable.
  3. Nhấn Apply Settings.

🔧 3.2. Cấu hình WOL trong DD-WRT

  1. Vào menu AdministrationWOL (Wake-On-LAN).
  2. Trong trang WOL, bạn có thể thêm các thiết bị cần đánh thức:
    • MAC Address: Nhập địa chỉ MAC của máy tính (ví dụ: AA:BB:CC:11:22:33)
    • Network: Chọn mạng LAN phù hợp (thường là 192.168.2.255)
    • Host Name: Đặt tên cho thiết bị (ví dụ: "My PC")
  3. Nhấn Add để thêm thiết bị vào danh sách.
  4. Sau khi thêm, bạn có thể test bằng cách nhấn nút Wake Up bên cạnh tên thiết bị.
Giao diện WOL của DD-WRT cho phép bạn quản lý và đánh thức các thiết bị một cách trực quan. Tuy nhiên, để kích hoạt từ xa qua Internet, bạn vẫn cần cấu hình Port Forwarding ở bước 4 và sử dụng ứng dụng Android ở bước 5.
Cấu hình Power Management trên Driver Card mạng

Ảnh minh họa: Giao diện WOL trong DD-WRT Administration

4

NAT / Port Forwarding trên Modem Chính

Đây là bước then chốt. Chúng ta cần chuyển tiếp kết nối từ Internet đến cổng Telnet của router DD-WRT.

  1. Truy cập giao diện quản lý của Modem/Router Nhà Mạng.
  2. Tìm mục Port Forwarding hoặc Virtual Server.
  3. Thiết lập một quy tắc mới:
    • External Port: 2323 (Nên chọn cổng khác 23)
    • Internal IP: 192.168.1.100 (IP tĩnh của Router 1043)
    • Internal Port: 23 (Cổng Telnet)
    • Protocol: TCP
  4. Lưu và áp dụng cấu hình.
⚠️ Cảnh báo Bảo mật: Việc mở cổng Telnet ra Internet rất rủi ro. Hãy cân nhắc đổi sang SSH và forward cổng 22 (hoặc 2222) thay vì 23/Telnet.
Cấu hình Power Management trên Driver Card mạng

🖼️ Ảnh minh họa: Port Forwarding (External 2323 → Internal 192.168.1.100:23)

5

Ứng dụng Android

Sau khi router và Modem đã cấu hình xong, bạn có thể sử dụng ứng dụng Android để kích hoạt WoL.

📱 5.1. Tải ứng dụng

📥 Tải ứng dụng Android (APK)

⚙️ 5.2. Cách thức hoạt động

Ứng dụng thực hiện kết nối Telnet (hoặc SSH) tới IP Công cộng của bạn qua cổng đã NAT. Sau khi đăng nhập thành công, nó sẽ gửi lệnh WOL để đánh thức máy tính.

🎮 5.3. Sử dụng

Mở ứng dụng và nhập các thông số:

  • Host/IP: Địa chỉ IP Công cộng (hoặc tên miền DDNS)
  • Port: Cổng ngoài bạn đã NAT (ví dụ: 2323)
  • Username/Password: Thông tin đăng nhập router DD-WRT
  • Lệnh telnet: Nhập /usr/sbin/wol −i và sửa ip broadcast (Vd:192.168.1.255) và địa chỉ MAC của PC (Vd:AA:BB:CC:DD)

Nhấn nút Wake Up để khởi động máy tính từ xa! 🎉

Cấu hình Power Management trên Driver Card mạng

🖼️ Ảnh minh họa: Giao diện ứng dụng Android

💡 Mẹo & Khắc phục sự cố

  • Nếu không thể Telnet từ xa: Kiểm tra Modem có bị CG-NAT hay không (nếu có thì cần dùng VPN hoặc Relay).
  • Nếu Telnet thành công nhưng máy không bật: Kiểm tra lại Địa chỉ MAC và đảm bảo máy tính đã tắt hoàn toàn (không ở chế độ Sleep/Hibernate).
  • Test kết nối Telnet bằng lệnh: telnet your-ip 2323 từ máy khác để đảm bảo cổng đã mở.
  • Luôn sử dụng mật khẩu mạnh cho router DD-WRT khi mở cổng ra Internet.

Video Demo Wake-on-LAN

Video minh họa cấu hình Wake-on-LAN

✨ Cảm ơn bạn đã theo dõi hướng dẫn này!

Hãy luôn ưu tiên các giải pháp bảo mật như SSH hoặc VPN khi mở truy cập từ Internet.

Thứ Bảy, 1 tháng 3, 2025

ERROR: Command not supported in this platform

Stacking and Link Aggregation on Alcatel Switches

Stacking and Link Aggregation on Alcatel Switches

Stacking Image

1. Stacking on Alcatel Switches

Stacking is a technique that allows multiple physical switches to be combined into a single logical switch, simplifying management and improving scalability.

Stacking Ports: Ports 1/1/27 and 1/1/28 are dedicated stacking ports.

Stacking Cables: Special high-speed cables (SFP+ or QSFP+) are required.

Configuration: Stacking is usually auto-detected but requires the same switch model and firmware.

2. Link Aggregation (LAG)

Link Aggregation (LAG) combines multiple physical ports into a single logical connection to enhance bandwidth and reliability.

Ports Used: Use standard ports (1/1/1 to 1/1/24). Stacking ports cannot be used.

Configuration Example


# On Switch 1
linkagg lacp agg 22 size 2 admin-state enable
linkagg lacp port 1/1/1 actor admin-key 22
linkagg lacp port 1/1/2 actor admin-key 22

# On Switch 2
linkagg lacp agg 22 size 2 admin-state enable
linkagg lacp port 1/1/1 actor admin-key 22
linkagg lacp port 1/1/2 actor admin-key 22
        

3. Why Can’t Stacking Ports Be Used for LAG?

  • Design Purpose: Stacking ports are for internal switch communication.
  • Optimization: These ports are high-speed but not for standard network traffic.
  • Hardware Limitation: Stacking ports do not support LAG.
LAG Image

4. Summary

Stacking: Use ports 1/1/27 and 1/1/28 with the appropriate stacking cables.

LAG: Use standard ports (1/1/1 to 1/1/24). Do not use stacking ports for LAG.

Tranh biếm họa

Cartoon Art Slideshow

Cartoon Art Collection

Cartoon Artwork 1
1 / 8
Cartoon Artwork 2
2 / 8
Cartoon Artwork 3
3 / 8
Cartoon Artwork 4
4 / 8
Cartoon Artwork 5
5 / 8
Cartoon Artwork 6
6 / 8
Cartoon Artwork 7
7 / 8
Cartoon Artwork 8
8 / 8

Ảnh chế Doraemon - Hot trend 2010

Image Slider
Image 1
Image 2
Image 3
Image 4
Image 5
Image 6
Image 7
Image 8

Xem nhiều hơn ở đây 

Thứ Ba, 18 tháng 2, 2025

The Dunning-Kruger Effect is Worsening in the AI Era

The Dunning-Kruger Effect is Worsening in the AI Era

The Dunning-Kruger Effect is Worsening in the AI Era

Dunning-Kruger Effect in the AI Era

Illusions of Competence When Using AI

In the era of rapidly advancing AI, more people are falling into the **Dunning-Kruger Effect** – a cognitive bias where those with limited knowledge tend to overestimate their abilities. As AI increasingly solves problems for users, some may mistake the **AI's capabilities** for their own, leading to an illusion that they are just as competent as the technology assisting them.

Why Is This Effect Becoming More Common?

1. Easy Access to Knowledge

AI can quickly provide precise answers, making users feel as if they could have come up with the solution themselves. When things are made easy, it’s easy to overestimate one’s understanding.

2. Lack of Hands-On Verification

Without practical experience or independent verification, users may believe they deeply understand a subject, when in reality, they’ve only scratched the surface. For instance, someone may think they know programming simply because they can ask AI to generate code, but without AI, they struggle to start from scratch.

3. Overreliance on AI

Constantly depending on AI can make users forget their own limitations and believe they can solve complex problems independently. This false confidence can lead to overestimating their actual skill level.

How to Overcome This Illusion?

  • Always verify information: Don't blindly trust AI; cross-check sources.
  • Practice hands-on: Instead of relying solely on AI, try doing tasks independently.
  • Recognize personal limits: Ask yourself, "Can I do this without AI?" If not, there's more to learn.
  • Learn the fundamentals: Instead of just copying AI-generated solutions, study the core concepts.

AI is a powerful tool that enhances human capabilities, but if misused, it can create a dangerous illusion of expertise. The key is to maintain a **genuine learning mindset** and not let AI mask our knowledge gaps.

Chủ Nhật, 16 tháng 2, 2025

The Resurgence of CLI in the AI Era

The Resurgence of CLI in the AI Era

The Resurgence of CLI in the AI Era

Comparison of CLI and GUI interfaces

The resurgence of CLI (Command Line Interface) in the AI era is a fascinating and noteworthy phenomenon, especially when considering the rapid advancement of technology and the growing demand for automation in system management. Below is a deeper analysis of why CLI is regaining its prominence and how it is being integrated into the AI-driven ecosystem.

1. Why Is CLI Making a Comeback?

AI Understands Commands

Advanced AI models like GPT-3, GPT-4, and similar systems have the ability to understand and process natural language, enabling them to analyze and suggest CLI commands accurately. For example, if you enter a command with incorrect syntax, AI can quickly detect it and propose the correct command, minimizing the time spent searching for and fixing errors.

Faster Automation and Deployment

CLI allows the creation of scripts to automate repetitive tasks, which is particularly useful in managing large systems. With AI support, these scripts can be optimized and executed more efficiently. For instance, an Ansible script can be optimized by AI to run faster and with fewer errors.

Higher Performance

CLI is often faster and more efficient than GUI, especially when working with large and complex systems. AI can help optimize CLI commands to achieve maximum performance, reducing processing time and increasing execution speed.

Better Debugging Support

AI can analyze system logs and data to provide accurate debugging suggestions. This helps system administrators quickly identify and resolve issues without the need for manual information searching.

2. CLI in the AI-Driven Ecosystem

Cisco with AI-Driven Networking

Cisco has integrated AI into its networking devices, allowing them to automatically analyze data from CLI and provide predictions and recommendations for optimal configurations. This reduces configuration time and enhances network performance.

Linux and AI-Powered Debugging

AI tools like Bash AI help analyze system logs and suggest ways to fix errors quickly. This is particularly useful in managing complex Linux systems, where manual debugging can be time-consuming.

Cloud CLI with AI

Cloud platforms like AWS, Azure, and Google Cloud all provide CLI for resource management. With AI support, CLI commands can be optimized and automated, making cloud system deployment and management easier and more efficient.

3. The Future of CLI

With the continuous development of AI, CLI is becoming a more powerful and user-friendly tool than ever before. AI not only helps reduce the barriers to working with CLI but also opens up new opportunities for system automation and optimization.

CLI for Everyone

Previously, CLI was often seen as a tool for IT experts. However, with AI support, CLI is becoming more accessible to everyone, even those without extensive programming or system administration experience.

CLI as the Optimal Tool in the AI Era

In the AI era, CLI is proving to be the most optimal tool for system management and automation. With deep integration capabilities with AI, CLI not only enhances performance but also minimizes the time and effort required to manage complex systems.

Conclusion

With the advancement of AI, CLI is no longer a daunting tool but has become a powerful and user-friendly resource. Those who once avoided Cisco, Linux, or similar systems due to the complexity of CLI can now leverage AI to master command-line operations.

It can be said that AI has ushered in a "new era of CLI," where the use of command lines is no longer limited to experts but has become more accessible to all system engineers. If GUI was once the top criterion for choosing an operating system or device, CLI is now proving to be the most optimal tool in the AI era.