Skip to content

Instantly share code, notes, and snippets.

@Nodraak
Nodraak / NvidiaTx2Upgrade.md
Created January 22, 2021 12:00
Nvidia TX2 Ubuntu upgrade from 16.04 to 18.04

Nvidia TX2 Ubuntu upgrade from 16.04 to 18.04

0. Symptoms

Error x11 display manager lightdm vs gdm3

1. Lightdm fails to start

When running manually sudo /usr/sbin/lightdm -d (debug flag):

#!/usr/bin/env python3
"""
* Planned mission: burn time not exact, but good start
* http://www.spacelaunchreport.com/electron.html: rocket parameters (wikiepdia is outdated/wrong)
* Live webcast: audio info + estimated info from the video
* Lots of fidling with Cd and Pitch over maneuver
"""
import numpy as np

To get the Netgear A6100 working on a clean raspbian / already existing install do the following (for raspberry pi 2, but easy to adapt for rpi1)

sudo apt-get update
sudo apt-get install linux-headers-rpi2-rpfv linux-image-rpi2-rpfv

After install append the following in /boot/config.txt:

#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import unicode_literals, print_function
import codecs
import subprocess
import time
from googleapiclient.discovery import build
@Nodraak
Nodraak / eceApi.py
Last active August 29, 2015 14:20
ece api
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import requests
import bs4
class EceApi:
def __init__(self):
self.url_auth_get = 'https://webauth.ece.fr/cas/login?service='
self.url_auth_post = 'https://webauth.ece.fr/'