Page 1 of 1

Configuring Miyoo CFW make config to enable TCP/IP networking

Posted: Sun Sep 06, 2026 6:25 pm
by admin
Configuring Miyoo CFW make config to enable TCP/IP networking

--------------------------------------------------

Configuring menuconfig...

Target Packages -> Libraries -> Networking ->

(X) OpenSSL

Target Packages -> Networking Applications ->

[*] links -> [*] use graphics
[*] lynx

--------------------------------------------------

Configuring linux-menuconfig...

Networking Support -> Networking Options ->

<*> Packet socket
<*> Unix Socket Domains
<*> Transport Layer Security support
<*> PF_KEY sockets
[*] TCP/IP networking

FOR RNDIS HOTSPOT TETHERING (TESTED + WORKING):

File Systems -> [*] Pseudo filesystems ->

<*> Userspace-driven configuration filesystem

Device Drivers -> [*] USB Support -> <*> USB Gadget Support ->

<*> USB Gadget functions configurable though configfs
[*] Abstract Control Model (CDC ACM)
[*] Network Control Model (CDC NCM)
[*] Ethernet Control Model (CDC ECM)
[*] RNDIS

FOR WIFI (UNTESTED):

Networking Support -> [*] Wireless ->

<*> cfg80211 - wireless configuration API
[*] cfg80211 wireless extensions compatiility
<*> Generic IEEE 802.11 Networking Stack (mac80211)

--------------------------------------------------

Once compiled, create a file under mnt/apps/connect.sh with the following:

mount -o remount,rw /
udhcpc -i usb0 -p /tmp/udhcpc.pid

Make a link with Gmenu2x and set "Terminal" to on

--------------------------------------------------

Enable USB Host
Using a y cable and power source, connect your RNDIS enabled hotspot
Run connect.sh

If it fails, you will see udhcpc: SIOCGIFINDEX: No such device

Otherwise you will see the connection establish

If everything is correct, you can now run telnet, wget, links, annd lynx.
Note that the WIFI is currently untested, but RNDIS is snappy and reliable.