Skip to content

Instantly share code, notes, and snippets.

View pwarren's full-sized avatar

Paul Warren pwarren

View GitHub Profile
@pwarren
pwarren / netwrok-0820
Created August 20, 2019 12:05
network config
root@LEDE:~# cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fde3:f439:8db1::/48'
@pwarren
pwarren / ifstatus
Created August 17, 2019 11:12
ifstatus wan and lan
root@OpenWrt:~# ifstatus wan
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": false,
"uptime": 7544,
"l3_device": "pppoe-wan",
"proto": "pppoe",
@pwarren
pwarren / log.out
Created August 17, 2019 11:07
logread
Thu Jun 27 12:22:34 2019 daemon.err pppd[1781]: Unable to complete PPPoE Discovery
Thu Jun 27 12:22:34 2019 daemon.info pppd[1781]: Exit.
Thu Jun 27 12:22:34 2019 daemon.notice netifd: Interface 'wan' is now down
Thu Jun 27 12:22:34 2019 daemon.notice netifd: Interface 'wan' has link connectivity loss
Thu Jun 27 12:22:34 2019 daemon.notice netifd: VLAN 'eth0.100' link is up
Thu Jun 27 12:22:34 2019 daemon.notice netifd: Interface 'wan' has link connectivity
Thu Jun 27 12:22:34 2019 daemon.notice netifd: Interface 'wan' is setting up now
Thu Jun 27 12:22:35 2019 daemon.err insmod: module is already loaded - slhc
Thu Jun 27 12:22:35 2019 daemon.err insmod: module is already loaded - ppp_generic
Thu Jun 27 12:22:35 2019 daemon.err insmod: module is already loaded - pppox
@pwarren
pwarren / network
Last active August 17, 2019 10:54
openwrt network config
root@OpenWrt:/# cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fdcb:6fce:13c9::/48'

Keybase proof

I hereby claim:

  • I am pwarren on github.
  • I am pwarren (https://keybase.io/pwarren) on keybase.
  • I have a public key ASDpXXJwsUnisgisqshJV8zVyScthbD2ytLNYEROE3HVEgo

To claim this, I am signing this object:

@pwarren
pwarren / BladeRF-bitstream
Created January 23, 2014 09:11
bit stream from bladerf
0111000101011111
0000110110000000
1001110111111111
0110010011111111
1111001000100000
0100110000100000
1011100000000000
1010001100000000
1010111011111111
0000001100111111
@pwarren
pwarren / flipping longitude for dump1090
Created March 8, 2013 00:58
--raw dump from dump1090 with flipping longitude on a few planes
*597c81ce73ed7c;
*00e198383c2079;
*8d7c6b0f58b994fbcfcd505c28a1;
*8d7c6d3758c3806df3da2bc0592c;
*8d7c6d3799155c9f080458309d9f;
*597c81ce73ed7c;
*8d7c6b0f99408237000455335ee8;
*5f7c7508ec7124;
*200018386d0295;
*5d7c6b0ff0c2a6;