Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
FMods.net
Search
Search
Log in
Personal tools
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
USB subsystem
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== USB-LAN ethernet == <!--T:1--> List of supported NICs in <code>/fs/mp/etc/usblauncher/rules_otg.lua</code> <pre> nic_devices = { device(0x0b95, 0x7720); -- CISCO linksys USB300M ethernet dongle device(0x0b95, 0x772b); -- Insignia NS-PU98505 ethernet dongle device(0x2001, 0x3c05); -- D-Link DUB-E100 (revB1) ethernet dongle device(0x2001, 0x1a02); -- D-Link DUB-E100 (revC1) ethernet dongle } foreach (nic_devices) { start"/fs/mp/etc/usblauncher/netstart.sh busnum=$(busno),devnum=$(devno),path=$(USB_PATH),ign_remove /fs/mp/lib/dll/devnp-asix.so"; removal"/fs/mp/etc/usblauncher/netstop.sh"; } </pre> Content of <code>/fs/mp/etc/usblauncher/netstart.sh</code> <pre> #!/bin/sh IFACE=ax0 IPADDR=192.168.1.26 mount -T io-pkt -o $1 $2 ifconfig $IFACE $IPADDR netmask 255.255.255.0 echo "debug $IFACE done." </pre> {{#fas:circle-info}} To get a working usb network on "production" OS, copy <code>devnp-asix.so</code> from [[reformat package]] to <code>/fs/mp/lib/dll/devnp-asix.so</code> <pre> 1. pidin ar | grep usblauncher_otg 2. usblauncher_otg -S1 -c /fs/mp/etc/usblauncher/rules_otg.lua -M /fs/mp/etc/mcd.mnt -s /fs/mp/lib/dll/pubs/ -n/dev/otg/io-usb-otg -vvvv -b -eErtl /fs/mp/etc/usblauncher/netstart.sh busnum=0x01,devnum=0x2,path=/dev/otg/io-usb-otg,ign_remove /fs/mp/lib/dll/devnp-asix.so </pre>
Summary:
Please note that all contributions to FMods.net may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
FMods.net:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width