All pastes #1267751 Raw Edit

FIRST Bluetooth Tethering on G1

public text v1 · immutable
#1267751 ·published 2008-11-26 17:56 UTC
rendered paste body
(Its a mac, so en2 == bnep0)
$ ifconfig en2
en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
	inet6 fe80::21b:63ff:fe4b:13cf%en2 prefixlen 64 scopeid 0xc 
	inet 10.0.1.5 netmask 0xffffff00 broadcast 10.0.1.255
	ether 00:1b:63:4b:13:cf 
	media: autoselect status: active
	supported media: none autoselect 10baseT/UTP <half-duplex>
(I don't want to break my existing connections, so first a simple test..) 
$ sudo route add 198.6.1.5 10.0.1.1
add host 198.6.1.5: gateway 10.0.1.1
$ ping -c5 198.6.1.5 
PING 198.6.1.5 (198.6.1.5): 56 data bytes
64 bytes from 198.6.1.5: icmp_seq=0 ttl=241 time=288.778 ms
64 bytes from 198.6.1.5: icmp_seq=1 ttl=241 time=135.617 ms
64 bytes from 198.6.1.5: icmp_seq=2 ttl=241 time=158.320 ms
64 bytes from 198.6.1.5: icmp_seq=3 ttl=241 time=188.141 ms
64 bytes from 198.6.1.5: icmp_seq=4 ttl=241 time=201.014 ms
--- 198.6.1.5 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/stddev = 135.617/194.374/288.778/52.435 ms
(It works!)