Skip to content

sdrshnptl/Waveshare-ETH-USB-HUB-HAT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

setup ETH/USB HUB HAT with raspberry pi zero w

ETH/USB HUB HAT

Setup

Edit config.txt by sudo nano /boot/config.txt

[HAT]
# Waveshare
dtoverlay=dwc2,dr_mode=host

Edit cmdline.txt by sudo nano /boot/cmdline.txt

module-load=dwc2,g_ether

Run ifconfig

This should return eth0 or enx...

sudo nano /etc/dhcpcd.conf

interface eth0
static ip_address=192.168.1.100/24
static routers=192.168.1.1
# static domain_name_servers=8.8.8.8

or

interface enx00e04c3619ec
static ip_address=192.168.1.100/24
static routers=192.168.1.1
# static domain_name_servers=8.8.8.8

Restart raspberry pi with sudo reboot

Set the Priority for Wi-Fi (wlan0)

sudo nano /etc/dhcpcd.conf

interface enx00e04c3619ec
static ip_address=192.168.1.100/24
static routers=192.168.1.1
static domain_name_servers=8.8.8.8
metric 200


interface wlan0
metric 100

restart to take effect sudo reboot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors