View Single Post
Old September 22nd, 2009, 03:17 PM   #4 (permalink)
operat0r
New Member
 
Join Date: Sep 2009
Posts: 9
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Q:how do I share my G1 (T-mobile) connection tether wifi
A: aNetShare or Wireless Tether for Root

Q: my GPS not working after JF jesus freak 1.5 no GPS
A: be sure you have latest ratio update and that GPS is enabled.
menu >> Settings >>security and location >> enable GPS Satellites.

Q: Can I run a server on my T-mobile G1 connection OR I want to enable DMZ or port forward to make torrent client faster etc

Code:
t-mobile in my case is nat'ed so NO direct connection to the internet 
its nat'ed figures


NAT 25.64.158.109 ( There are no routes to 25.0.0.0/8 .... It isn't publicly routable address space over the internet.  (See how far you get when you try to traceroute to any 25.* IP Address).  So, even though this isn't OFICIALLY private address space, it effectively functions like it, since nobody is announcing those addresses. )

public: 208.54.83.76

# g1 route
iptables -t nat -A POSTROUTING -j MASQUERADE -o tiwlan0  
iptables -A PREROUTING -t nat -i rmnet0 -p tcp --dport 22 -j DNAT --to 192.168.2.10:22
iptables -A FORWARD -p tcp -i rmnet0 -o tiwlan0   -d 192.168.2.10 --dport 22 -j ACCEPT



rmnet0 G3
tiwlan0  wifi interface

# netcfg
lo       UP    127.0.0.1       255.0.0.0       0x00000049
dummy0   DOWN  0.0.0.0         0.0.0.0         0x00000082
rmnet0   UP    25.64.158.109   255.255.255.252 0x00001043
rmnet1   DOWN  0.0.0.0         0.0.0.0         0x00001002
rmnet2   DOWN  0.0.0.0         0.0.0.0         0x00001002
tiwlan0  UP    192.168.2.1     255.255.255.0   0x00001043



# aNetShare connection from a M$ box

Ethernet adapter Wireless Network Connection:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Intel(R) PRO/Wireless 2200BG Network
 Connection
        Physical Address. . . . . . . . . : 00-15-00-3A-29-E0
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.2.10
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.2.1
        DHCP Server . . . . . . . . . . . : 192.168.2.1


        DNS Servers . . . . . . . . . . . : 192.168.2.1
Q: Where can I find android code examples etc ?
A: http://media.pragprog.com/titles/eband/code/eband-code.zip
portable eclipse / android sdk and JRE !
Code:
http://rapidshare.com/files/280881975/eclipse.zip.001
http://rapidshare.com/files/280887930/eclipse.zip.002

see rmccurdy.com for updates
operat0r is offline  
Reply With Quote