Posts

Installing openclaw on WSL (Non-Root User)

This guide focuses on installing and configuring `openclaw` for a non-root user within a WSL environment. **Example Configuration: Please replace these with your own system details** * `<WIN_BAT_PATH>`: The path to the `.bat` file that needs to run at boot; e.g., `E:\WSL\ubuntu\scripts\update_wsl_ports_by_admin.bat` * `<WIN_IP>`: Your Windows machine's IP address. --- ## Installing openclaw * **Steps (Execute in the WSL terminal):** ```bash cd ~/ # Install openclaw (this will also install Node.js) curl -fsSL https://openclaw.ai/install-cli.sh | bash # Add openclaw to your PATH echo 'export PATH="$HOME/.openclaw/bin:$PATH"' >> ~/.bashrc source ~/.bashrc # Confirm the openclaw version openclaw --version # Setup and install the daemon openclaw onboard --install-daemon # (Note: For specific openclaw configurations, please refer to the official documentation or AI assistants) ``` * **Default Web Interface:** `http://localhost:18789` ## Enabling opencl...

WSL Auto-Start and Persistent Background Execution (via SSH)

This guide provides a solution for WSL2 on Windows 10 (also applicable to Windows 11) to enable automatic startup upon boot and maintain continuous background operation. **Key Configuration Steps:** * Install SSH and enable Systemd. * Local Network Connectivity and Firewall Port Forwarding (required for any local network services). * WSL2 Auto-Start / Persistent Background Execution (Win10).   - `sleep infinity`: The core command to keep the instance running. --- **Example Configuration: Please replace these with your own system details** * `<WIN_BAT_PATH>`: The Windows path where your `.bat` files are stored; e.g., `E:\WSL\ubuntu\scripts` * `<WIN_IP>`: Your Windows machine's IP address. ## SSH and Systemd Configuration within WSL Ubuntu ### 1. Install SSH and Enable Systemd * After entering Ubuntu, execute the following commands: ```bash # Update and install sudo apt update && sudo apt install openssh-server -y # Edit wsl.conf to enable systemd (Required for WS...

Essential 5. travel gear for international travel: SIM/eSIM card (to avoid "No Connection")

Image
# Stop the "No Connection" Nightmare: The Ultimate Global Travel Data Guide 🌍 Imagine this: You've just landed in a vibrant, unfamiliar city. The air is full of excitement, but as you pull out your phone to find your hotel or message your family to let them know you've arrived safely, you're met with a cold, blinking notification: **"No Internet Connection."** Suddenly, the thrill of the journey is replaced by a wave of anxiety. Being a "digital island" in a foreign land can turn a dream vacation into a high-stress endurance test in an instant. ### ⚠️ The "Connectivity Trap" Most Travelers Fall Into Most travelers approach travel data in one of two extremes: they either endure the exorbitant, unstable costs of traditional carrier roaming, or they waste their first precious hours in a foreign country queuing at airport kiosks, struggling through language barriers to sign confusing local contracts for a SIM card. Then there are those w...

Essential 4. travel gear for international travel: Compression Bags (to avoid "not enough space")

Image
#Suitcase About to Burst? Say Goodbye to the Embarrassment of Wearing 3 Sweaters at the Airport ✈️ We’ve all been there: The night before a trip, fighting a losing battle with your suitcase. You’ve folded everything to the absolute limit, but the moment you add one more souvenir, the zipper starts to scream, looking like it's about to snap. The worst part? To make it fit or avoid overweight fees, you end up wearing three layers of sweaters in the middle of summer, or worse—leaving behind something you truly wanted to buy. That feeling of "not enough space" is the ultimate travel frustration. **⚠️ The Common Trap: "Better Folding" or "Cheap Compression Bags"** Many travelers fall into this trap. Simple folding only changes the shape; it doesn't remove the air trapped between fabric fibers. As for cheap compression bags that rely solely on a slide-seal, they are a nightmare. They are hard to compress and prone to "air rebound"—by the time y...

Essential 3. travel gear for international travel: Luggage Scale (to avoid "Airport Unpacking")

Image
#Avoid the "Airport Unpacking" Nightmare ✈️ | Luggage Scale Guide: Battery vs. Battery-Free—Which One is Right for You?** Imagine this scenario:  You’ve spent half an hour in the check-in queue, finally reaching the counter. Your suitcase slides onto the scale, and the screen flashes: **"24.2kg"**—just a fraction over the 23kg limit. What follows are the most awkward ten minutes of your trip. Under the watchful eyes of a dozen other passengers, you're forced to sprawl your suitcase across the airport floor, performing "open-heart surgery" on your luggage—frantically pulling out clothes and stuffing them into your carry-on just to avoid a steep overweight fee. **The Trap of "Close Enough"** Many travelers rely on a home bathroom scale, but that's often where things go wrong. Between the weight of the suitcase itself, shifts in the center of gravity, and those last-minute souvenirs you squeezed in, "guessing" is a gamble. Pro trav...

Essential 2. travel gear for international travel: Power Strip (to avoid "power outlet hogging")

Image
# Stop the "Socket War": How to End Battery Anxiety on Your Next Trip The most frustrating moment of any trip happens the second you walk into your hotel room. You’ve just spent hours traveling, you're exhausted, and you realize there is only one available power outlet—and it’s tucked awkwardly behind a heavy nightstand or far across the room. If you're a tech traveler, this is where the "Socket War" begins. You have a phone, a tablet, a power bank, wireless earbuds, and a camera battery. Suddenly, you're forced to play a game of musical chairs with your chargers: *Charge the phone first, then swap it for the tablet, then the headphones...* The result? You wake up the next morning only to find that your most important device is still at 30% because it never made it to the front of the line. That nagging feeling of "Battery Anxiety" can ruin the flow of an otherwise perfect morning. Many people try to solve this by buying a handful of plug adapt...

Essential 1. travel gear for international travel: Adapter(to 120V) + transformer (To avoid burning your hair dryer/electric curler)

Image
# The One-Second Disaster: Why a Simple Adapter Could Fry Your Electronics Abroad When packing for a trip to Europe, Asia, or the UK, most Americans do the same thing: they grab a handful of universal plug adapters. They assume that as long as the prongs fit the wall, their devices will work. But this is the most dangerous assumption a traveler can make—and it's a mistake that can cost you hundreds of dollars in a heartbeat. Imagine this: You’ve just arrived at a beautiful hotel in Paris or Seoul. You plug in your favorite high-end hair straightener or your professional-grade blow dryer. You hit the switch, and instead of heat, you hear a loud "pop," followed by a smell of burning plastic. In less than one second, your expensive tool has been fried and turned into a useless piece of scrap metal. **Why did this happen? Because a "Plug Adapter" is not a "Voltage Converter."** This is the trap that catches thousands of travelers every year. A plug adapter...