Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Steamlink NAT Forwarding

NotificationsYou must be signed in to change notification settings

X-Stuff/steamlinknat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scheme

img

Overlay modifications

Ethernet

/etc/init.d/startup/S50EthConfig.sh

  • Static IP address (192.168.0.110)

/etc/servd.conf

  • Removed delay for DCHP configuration (we don't need to be client on eth0)

/etc/connman/main.conf

  • Ethernet disabled as autoconnect technology

/var/lib/connman/ethernet.config

  • Ethernet disabled DHCP client

WiFi

/etc/wifi.ap

  • Put name of access point to connect

/etc/wifi.passwd

  • Put password for this AP

/etc/wifi.mac

  • Put mac address of phone (Some time DHCP server on phone may fail, we have to setup ip address and routes manually)

/etc/init.d/startup/S19ConnmanConfig.sh

  • Creating wifi service configuration file with AP and pass from above (autoconnect without UI)

/etc/init.d/startup/S52ConnectWifi.sh

  • Script for connecting to AP at startup and (IMPORTANT) launching DHCP client after connect to set up correct gateway and DNS. Also launches watchdog version to redo DHCP client.

NAT

/usr/local/sbin/xtables-multi-armv7-static

  • iptablesv1.4.21 built with cross compilation docker image for armv7l withmusl compiler (here)

    • Some modification to source code applied:
    • Add-D__GLIBC__=2 toCFLAGS in order to compile sources
    • Add#define u_intXX_t uintXX_t in order to compile sources

/etc/init.d/startup/S51EnableNat.sh

  • Several kernel modules has to be loaded (luckily this version of steamlink kernel has it)
  • Standard iptables nat forwarding added

MISC

/usr/local/sbin/bash

  • bash armv7, because busybox sucks

/etc/profile

/etc/passwd

  • bash as default terminal for root user (password the same:steamlink123)

/etc/init.d/startup/S90MakeLinks.sh

  • script that makes worknpm andnpx work ( nodejs v12 supported, has to be unpacked into/overlay/var/opt/node )

Steamlink config

  • Firmware number: 807
  • SSH enabled
  • No sleep timeout

Usage

mkdir steamlinkcd steamlinkgit clone https://github.com/X-Stuff/steamlinknat.git

About

Steamlink NAT Forwarding

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp