Skip to content
Discussion options

You must be logged in to vote

Hi
Yes, it works for me and you don't need a crossover cable - just a regular Ethernet cable:


Direct Ethernet link RPi ↔ Gledopto + port forward 8888 → 80

1. Create static IP on eth0

sudo nmcli con delete gledopto-link 2>/dev/null || true

sudo nmcli con add type ethernet ifname eth0 con-name gledopto-link \
  ipv4.method manual \
  ipv4.addresses 192.168.50.1/24 \
  ipv4.never-default yes \
  connection.autoconnect yes

sudo nmcli con up gledopto-link

2. Install and configure dnsmasq (force single IP)

sudo apt update
sudo apt install -y dnsmasq

sudo tee /etc/dnsmasq.conf > /dev/null << 'EOF'
interface=eth0
bind-interfaces
domain-needed
bogus-priv
# Always give 192.168.50.50 for its Eth…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@lublak
Comment options

@lublak
Comment options

@awawa-dev
Comment options

@lublak
Comment options

@lublak
Comment options

Answer selected by awawa-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants