otl

@otl@lemmy.srcbeat.com

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Using an iPad as a second monitor (wired)

I’m trying to connect a university ipad (air, usb 3 type c, not tb or lightning) to my laptop (Framework laptop, intel 12th gen) running Fedora workstation 39. On Windows, I used a nifty app called Duet Display. I just used a usb-c cable to plug the ipad into the laptop, launched the app on both devices, and windows would see...

otl,

Time to turn your laptop into a router! Let’s say you’ve got 2 network interfaces on your laptop, eth0 and wifi0. wifi0 is joined to your university WiFi as normal. Connect your iPad to your laptop via ethernet (with a USB-C adapter).


<span style="color:#323232;">iPad -> usb-c-ethernet -> eth0
</span><span style="color:#323232;">wifi0 -> internet
</span>

Rather than setting up a DHCP server or IPv6 stuff, I’d just configure the wired interfaces manually. Let’s use the network 192.168.69.0/24. Laptop will be 192.168.69.1, iPad will be at 192.168.69.2. On the laptop:


<span style="color:#323232;">ip addr add 192.168.69.1/24 dev eth0
</span>

On your iPad, go to Settings -> Ethernet:

  • address: 192.168.69.2
  • subnet mask: 255.255.255.0
  • router: 192.168.69.1

Curious to see if that works. We haven’t set up DNS or DHCP or done any sysctl for IP forwarding or any nftables.

How can we test if it works? We can set up a TCP listener using nc(1) on the laptop that the iPad’s web browser could hit. On the laptop:


<span style="color:#323232;">nc -l 8080
</span>

On your iPad, open Safari and browse to 192.168.69.1:8080

Curious to see if that all works!


See also:

Wanting to improve my Linux skills after 17 months of daily driving Linux

I’ve been daily driving Linux for 17 months now (currently on Linux Mint). I have got very comfortable with basic commands and many just works distros (such as Linux Mint, or Pop!_OS) with apt as the package manager. I’ve tried Debian as a distro to try to challenge myself, but have always ran into issues. On my PC, I could...

otl,

Alpine Linux might be good, too. It’s different. But that makes it a great exercise. See drewdevault.com/…/Praise-for-Alpine-Linux.html

Query about your linux daily drivers?

So i have my main system, i have been running NixOS on for over a year. It has been a pleasure to daily drive. And ive recently been playing with gentoo and funtoo. And althought alot of information, which is somewhat overwhelming but is slowly growing on me and making me appreatate linux as a whole. So i was wondring what other...

otl,

I got a T480s for approx. 350USD. Battery life is fine and parts are cheap. Can’t really fault it… I guess the screen could be brighter? Great little machine.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #