Translate

Arm Ukraine, zap Putin

Stolen Votes

berklix.com logo

berklix.org logo

No Cookies

Flag UK DE

BSD-PIE

BSD

GNU

Linux

No Tracking

Disclaimer

IBU

Consol

tethering_android_to_bsd IN EDIT ----- Some common stuff, eg about urndis, is only in tethering_bsd_to_android.html
Android via USB cable to FreeBSD bridge PC, then ethernet to Internet router.
  • FreeBSD: /etc/rc.conf: gateway_enable="YES"
  • FreeBSD: sysctl net.inet.ip.forwarding=1
  • Android: I still don't know how on Linux to do the BSD equivalent of
    route add default 192.168.42.139
    Nearest guess from zecke. blogspot. de/ 2010/ 06/ adding- route- with- androids- route. html
    route add default gw 192.168.42.139 dev eth0
    OR from www. android- x86. org/ documents/ nfs- how- to route add default gw your-default-gw route add default gw 192.168.42.139 # Invalid argument
  • www. xinotes. net/ notes/ note/ 1496/ shows:
    cat /proc/net/route
    ip route show
    
    So I tried:
    
    route add default gw 192.168.42.139 dev rndis0
    Which error-ed: Operation not permitted. So I assume syntax OK, I "just" need to root the device.
    • Meantime on PC / usr / local / etc / apache22 / httpd.conf
    <IfModule mod_proxy.c>
    ProxyRequests On
    <Directory proxy:*>
    Order deny,allow
    Deny from all
    Allow from 192.168.42.129
    <Directory>
    ProxyVia On
    NoCache *
    <IfModule>
    
    This works, allow android to access other internal servers
    but not sure how to get cascade of apaches, so the apache on PC of the smart phones should use the LAN gate apache as a proxy.
    • Next to try: ipfw packet diversion direct from phone USB to LAN host=gate proxy.
    • After that to try: WLAN
  • NOTES TO TRY LATER Settings -> General -> Developer Options -> { USB Debugging : Allow = ON ; Allow Mock locations : ON }
  Scroll Above Box

Stolen VotesBerklix.Net Computer AssociatesDomainsApache: Web ServerFreeBSD: Operating System