Recent content by The Man They Call Jayne

  1. T

    Running Asus DSL-N14U as AP, network storage and print server

    Setting CC and CXX on environment to match our CMake definitions gets me the right compilers. Makes me wonder what is the point of having those definitions in CMake if they just get ignored. (Are they using the Linux model of development where things aren't fully coordinated so that nothing...
  2. T

    Running Asus DSL-N14U as AP, network storage and print server

    Using set(LLVM_FORCE_USE_OLD_TOOLCHAIN true) gets you past the version problem, though now we require libatomic. (Undefined references to functions like __atomic_is_lock_free should be resolved by linking to libatomic, which is usually installed alongside libstdc++. ) Setting...
  3. T

    Running Asus DSL-N14U as AP, network storage and print server

    Diving a bit deeper, I think the following means that both the system and the added (Optware?) binaries on DSL-N14U are compiled with -mcpu=mips32r2 and that they are O32 binaries (or it would say N32), which might be the default for mips and mips32r2: $ file busybox --brief ELF 32-bit MSB...
  4. T

    Running Asus DSL-N14U as AP, network storage and print server

    Obviously I screwed up something both with the program and while compiling it. I forgot to put the symlink directory in path so it used the GCC system linker, etc., which is to say that the static builds do still seem to work fine. That might not be enough for building CUPS, though. Building...
  5. T

    Running Asus DSL-N14U as AP, network storage and print server

    Ok. I tried writing, compiling and running a more complex program (attached), because you need to get rid of the controlling console for a daemon. It's not a problem when launched by system init, but if you run the script on the command-line, well, eventually you will log out and then the...
  6. T

    Running Asus DSL-N14U as AP, network storage and print server

    So, I thought I'd give cross-compiling a go. Ended up with running Ubuntu 24.04 LTS on WSL. The integration with the Windows host just makes things easier. Going by tutorials and using old versions and "full" virtual machines becomes a headache very soon, especially when you realize the versions...
  7. T

    Running Asus DSL-N14U as AP, network storage and print server

    Okay, here are the scripts. They should work. I'm assuming the filenames are shown here..? If so, remove the trailing .txt. If not, each file lists their own name. Edit: The init.d script vanished. Let's see if I can get it uploaded too.. Edit 2: Putting it in CODE tags didn't work, splitting...
  8. T

    Running Asus DSL-N14U as AP, network storage and print server

    I tried extracting some packages from Entware mipssf-k3.4 repo on an arbitrary directory on the device, along with a bunch of libraries listed as dependencies. I figured they wouldn't necessarily require much of an install and, if they ran, I could probably figure out launching a more complex...
  9. T

    Running Asus DSL-N14U as AP, network storage and print server

    Why am I using the stock firmware? Well, quite frankly it still seems like less of a hassle, in a way. I'm looking to get a working setup. I'm not looking for a hobby. The stock firmware works for me, except for the printer driver requirement and that might be fixable. Or not. We'll see. I'll...
  10. T

    Running Asus DSL-N14U as AP, network storage and print server

    Why am I talking about custom scripts anyway? Well, I have a GDI printer, HP LaserJet 1018. It requires the firmware to be downloaded before printing (just once after being turned on). That's simple: cat sihp1018.dl >> /dev/lp0. So, I need to daemonize a script to monitor the attachment and...
  11. T

    Running Asus DSL-N14U as AP, network storage and print server

    As for custom scripting, I first couldn't get custom scripts to run (tried what was described in jarpatus/asuswrt_scripts on GitHub) - even on the original 1.1.0.4 firmware. Updating the firmware to stock 1.1.2.3_805 and installing Download Master also installed the apps_init_run.sh script and...
  12. T

    Running Asus DSL-N14U as AP, network storage and print server

    So, I have one of these and my purpose is to run it as an AP, network storage and print server. I'll document what little I've learned and what I need, in case someone is interested. I'm having a problem posting this, so I'll try posting it in parts. So, what is this thing, then? Asus DSL-N14U...
Back
Top