ATTENTION NEW USERS: Due to bot traffic, we are forced to manually approve registrations. We get thousands of bots trying to register, causing us to delete registrations in bulk with little ability to filter what is real or not. If you're having trouble getting approved, then send an email to ptrworkmails@gmail.com explaining that you are a real user. Use the same email you're trying to register with. Thank you.

Configuring Miyoo CFW make config to enable TCP/IP networking

Windows CE, Android, Miyoo CFW, and other ARM systems discussions.
Post Reply
admin
Site Admin
Posts: 147
Joined: Wed Feb 22, 2023 6:51 am

Configuring Miyoo CFW make config to enable TCP/IP networking

Post 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.
Post Reply