Skip to content

Instantly share code, notes, and snippets.

@zeroby0
Last active February 6, 2019 14:16
Show Gist options
  • Select an option

  • Save zeroby0/edd78b284050f24d6f8dd5e3d81bd9fe to your computer and use it in GitHub Desktop.

Select an option

Save zeroby0/edd78b284050f24d6f8dd5e3d81bd9fe to your computer and use it in GitHub Desktop.

Revisions

  1. zeroby0 revised this gist Feb 6, 2019. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion rpi-Milan.md
    Original file line number Diff line number Diff line change
    @@ -26,4 +26,7 @@ iface wlan0 inet dhcp
    ----

    - Edit files as root with sudo. `ctrl-shift-v` to paste to terminal.
    - I found ethernet to be orders of magnitude faster with 3B. Use ethernet for large downloads.
    - I found ethernet to be orders of magnitude faster with 3B. Use ethernet for large downloads.

    License: Public domain
    https://gist.github.com/zeroby0/5de2005674d234b48f41ff75181f07a3
  2. zeroby0 revised this gist Jan 9, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion rpi-Milan.md
    Original file line number Diff line number Diff line change
    @@ -26,4 +26,4 @@ iface wlan0 inet dhcp
    ----

    - Edit files as root with sudo. `ctrl-shift-v` to paste to terminal.
    - I found ethernet to be orders of magnitude faster with 3B. It will probably be a little better with 3B+ because of wifi ac (5GHz). Use ethernet for large downloads.
    - I found ethernet to be orders of magnitude faster with 3B. Use ethernet for large downloads.
  3. zeroby0 revised this gist Jan 9, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion rpi-Milan.md
    Original file line number Diff line number Diff line change
    @@ -25,4 +25,5 @@ iface wlan0 inet dhcp

    ----

    Edit files as root with sudo. `ctrl-shift-v` to paste to terminal.
    - Edit files as root with sudo. `ctrl-shift-v` to paste to terminal.
    - I found ethernet to be orders of magnitude faster with 3B. It will probably be a little better with 3B+ because of wifi ac (5GHz). Use ethernet for large downloads.
  4. zeroby0 revised this gist Jan 9, 2019. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions rpi-Milan.md
    Original file line number Diff line number Diff line change
    @@ -21,8 +21,8 @@ iface wlan0 inet dhcp
    pre-up wpa_supplicant -B -Dwext -i wlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
    post-down killall -q wpa_supplicant
    ```
    - Restart network interface
    ```
    sudo ifdown wlan0
    sudo ifup wlan0
    ```
    - Restart you pi

    ----

    Edit files as root with sudo. `ctrl-shift-v` to paste to terminal.
  5. zeroby0 revised this gist Jan 9, 2019. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion rpi-Milan.md
    Original file line number Diff line number Diff line change
    @@ -21,4 +21,8 @@ iface wlan0 inet dhcp
    pre-up wpa_supplicant -B -Dwext -i wlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
    post-down killall -q wpa_supplicant
    ```
    - Restart pi if it hasn't connected automatically in 5 seconds.
    - Restart network interface
    ```
    sudo ifdown wlan0
    sudo ifup wlan0
    ```
  6. zeroby0 revised this gist Jan 9, 2019. 1 changed file with 1 addition and 5 deletions.
    6 changes: 1 addition & 5 deletions rpi-Milan.md
    Original file line number Diff line number Diff line change
    @@ -21,8 +21,4 @@ iface wlan0 inet dhcp
    pre-up wpa_supplicant -B -Dwext -i wlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
    post-down killall -q wpa_supplicant
    ```
    - Restart network interface
    ```
    sudo ifdown wlan0
    sudo ifup wlan0
    ```
    - Restart pi if it hasn't connected automatically in 5 seconds.
  7. zeroby0 created this gist Aug 29, 2018.
    28 changes: 28 additions & 0 deletions rpi-Milan.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,28 @@
    - Add these lines to your `/etc/wpa_supplicant/wpa_supplicant.conf`
    ```
    network={
    ssid="IIITB-Milan"
    proto=RSN
    key_mgmt=WPA-EAP
    pairwise=CCMP TKIP
    group=CCMP TKIP
    identity="iiitb\user.name"
    password="Your password"
    phase1="peaplabel=0"
    phase2="auth=MSCHAPV2"
    }
    ```

    - Add these to your `/etc/network/interface`
    ```
    auto wlan0
    allow-hotplug wlan0
    iface wlan0 inet dhcp
    pre-up wpa_supplicant -B -Dwext -i wlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
    post-down killall -q wpa_supplicant
    ```
    - Restart network interface
    ```
    sudo ifdown wlan0
    sudo ifup wlan0
    ```