Changes between Version 7 and Version 8 of expansion/gw16160


Ignore:
Timestamp:
08/12/2025 11:37:51 PM (3 days ago)
Author:
Ryan Erbstoesser
Comment:

add note about usb0

Legend:

Unmodified
Added
Removed
Modified
  • expansion/gw16160

    v7 v8  
    152152
    153153Example:
    154  * GW8201 where eth0 is your LAN connection, eth1 is the PCI GbE, eth2 would be the Mosaic-X5 RNDIS interface you can put eth0 and eth2 in a bridge
    155   - with the following /etc/network/interface:
     154 * GW8201 where eth0 is your LAN connection, eth1 is the PCI GbE, eth2 (or usb0) would be the Mosaic-X5 RNDIS interface you can put eth0 and eth2 (or usb0) in a bridge
     155  - With the following /etc/network/interface (recommended):
    156156{{{#!bash
    157157allow-hotplug eth0
    158158auto br0
    159159iface br0 inet dhcp
    160     bridge_ports eth0 eth2
     160    bridge_ports eth0 eth2 #eth2 could be defined as usb0
    161161    bridge_stp off
    162162    bridge_fd 0
    163163    bridge_maxwait 0
    164164}}}
    165   - manually:
     165  - Manually (not recommended):
    166166{{{#!bash
    167167brctl addbr br0
    168168brctl addif br0 eth0
    169 brctl addif br0 eth1
     169brctl addif br0 eth2 #eth2 could be defined as usb0
    170170udhcpc br0
    171171}}}
    172172
    173 After bringing up the bridge and the bridge getting a network address give your host computer an IP on the 192.168.3/24 network and you can open a URL to 192.168.3.1 to access the web admin.
    174 
    175 
     173After bringing up the bridge and the bridge getting a network address give your host computer a static IP on the 192.168.3/24 network and you can open a URL to 192.168.3.1 to access the web admin.
     174
     175Use the ifconfig command to be sure usb0 or eth2 is listed and bring the interface up with the command:
     176{{{
     177 ifconfig usb0 up
     178}}}
    176179
    177180=== USB Mass Storage interface