This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ifconfig | |
ath0 Link encap:Ethernet HWaddr 90:03:B7:C8:68:9C | |
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:7404 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:46308 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:2084809 (1.9 MiB) TX bytes:4060579 (3.8 MiB) | |
eth0 Link encap:Ethernet HWaddr D0:57:85:7B:7F:DE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# route | |
Kernel IP routing table | |
Destination Gateway Genmask Flags Metric Ref Use Iface | |
192.168.32.0 * 255.255.255.0 U 0 0 0 eth0 | |
192.168.1.0 * 255.255.255.0 U 0 0 0 ath0 | |
127.0.0.0 * 255.0.0.0 U 0 0 0 lo | |
224.0.0.0 * 240.0.0.0 U 0 0 0 ath0 | |
----------- With default route --------------- | |
# route add default eth0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<picaso version="1.0.0"> | |
<p-question> | |
<uri>http://192.168.32.2:80/gps</uri> | |
<id>unknown</id> | |
</p-question> | |
<p-answer> | |
<time>2014-01-03T14:59:48.862Z</time> | |
<id>UML295_1bd60462-1961-4677-a064-f51a45a515a8</id> | |
<component>wireless</component> | |
<subcomponent>cdma</subcomponent> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sun Jan 5 03:50:02 2014 OpenVPN 2.3.2 arm-none-linux-gnueabi [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Jan 2 2014 | |
Sun Jan 5 03:50:02 2014 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. | |
Sun Jan 5 03:50:02 2014 WARNING: file '/data/video/openvpn/openvpn/keys/ardrone.key' is group or others accessible | |
Sun Jan 5 03:50:02 2014 Socket Buffers: R=[110592->131072] S=[110592->131072] | |
Sun Jan 5 03:50:02 2014 UDPv4 link local: [undef] | |
Sun Jan 5 03:50:02 2014 UDPv4 link remote: [AF_INET]162.243.25.139:1194 | |
Sun Jan 5 03:50:02 2014 TLS: Initial packet from [AF_INET]162.243.25.139:1194, sid=0286fa62 d1c3f994 | |
Sun Jan 5 03:50:02 2014 VERIFY OK: depth=1, C=US, ST=AL, L=Pelham, O=Conecuh, OU=conecuh, CN=turn, name=David Wilkins, [email protected] | |
Sun Jan 5 03:50:02 2014 VERIFY OK: depth=0, C=US, ST=AL, L=Pelham, O=Conecuh, OU=conecuh, CN=turn, name=wilkins, [email protected] | |
Sun Jan |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@turn openvpn]# uname -a | |
Linux turn 3.9.8-300.fc19.i686.PAE #1 SMP Thu Jun 27 19:29:30 UTC 2013 i686 i686 i386 GNU/Linux | |
#^^^^^^^^^^^^^^^^^^^ cloud server ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
[root@turn openvpn]# telnet 192.168.2.1 | |
Trying 192.168.2.1... | |
Connected to 192.168.2.1. | |
Escape character is '^]'. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# route | |
Kernel IP routing table | |
Destination Gateway Genmask Flags Metric Ref Use Iface | |
192.168.1.101 * 255.255.255.255 UH 0 0 0 tun0 | |
192.168.1.200 192.168.1.101 255.255.255.255 UGH 0 0 0 tun0 | |
192.168.3.0 * 255.255.255.0 U 0 0 0 ath0 | |
192.168.32.0 * 255.255.255.0 U 0 0 0 eth0 | |
127.0.0.0 * 255.0.0.0 U 0 0 0 lo | |
224.0.0.0 * 240.0.0.0 U 0 0 0 ath0 | |
default 192.168.32.2 0.0.0.0 UG 0 0 0 eth0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bus 002 Device 016: ID 10a9:6064 SK Teletech Co., Ltd | |
Device Descriptor: | |
bLength 18 | |
bDescriptorType 1 | |
bcdUSB 2.00 | |
bDeviceClass 2 Communications | |
bDeviceSubClass 0 | |
bDeviceProtocol 0 | |
bMaxPacketSize0 64 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: ser_posix.c | |
=================================================================== | |
--- ser_posix.c (revision 1255) | |
+++ ser_posix.c (working copy) | |
@@ -315,6 +315,7 @@ | |
static int ser_send(union filedescriptor *fd, unsigned char * buf, size_t buflen) | |
{ | |
int rc; | |
+ int retries = 10; | |
unsigned char * p = buf; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rfcomm0 { | |
bind yes; | |
# Replace the device address with the address of your bluetooth serial device | |
device 20:13:10:25:40:43; | |
# channel 1 is VERY IMPORTANT | |
channel 1; | |
comment "Bluetooth Serial"; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% ['production', 'development', 'test','import'].each do |env| %> | |
<%= env %>: | |
database: <%= "#{Rails.root.basename.to_s.underscore}_development" %> | |
adapter: postgresql | |
encoding: unicode | |
pool: 5 | |
username: | |
password: | |
min_messages: warning | |
host: localhost |