Git Product home page Git Product logo

rtl8188eu-ur's Introduction

rtl8188eu-ur

Enable RTL8188EU compatible USB WIFI dongle for Universal Robot.

DISCLAIMER

USE AT YOUR OWN RISK. Be sure to make a backup of your robot first. THIS IS FOR RESEARCH PURPOSES ONLY.

Tested with PolyScope 5.11

Instructions

This document assumes you have

  • root access on your UR robot
  • working internet connection (on your robot)
  • Compatible Wifi USB Dongle (e.g. TP-Link TL-WN725N )

Add debian repos

First, enable apt-get by adding the official repos for Depian Jessie

nano /etc/apt/sources.list

Add the appropriate mirrors for your location from https://linuxconfig.org/debian-apt-get-jessie-sources-list, eg

# /etc/apt/sources.list :
deb http://ftp.at.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.at.debian.org/debian/ jessie main contrib non-free

Required packages

Next, install required packages

apt update
apt install git ifupdown iproute2 wpasupplicant iw wireless-tools

Compile driver

Clone Branch 'v4.1.8_9499' from lwfinger/rtl8188eu

git clone -b v4.1.8_9499 https://github.com/lwfinger/rtl8188eu.git

Compile the driver

cd rtl8188eu/
make all

Install the driver

make install

If you get an error like

/lib/modules/[ur_kernel_version]/kernel/drivers/net/wireless: No such file or directory

just create the directory by manually before trying again

mkdir /lib/modules/[ur_kernel_version]/kernel/drivers/net/wireless

Configure WiFi

from Debian Wiki

Find your wireless interface and bring it up:

ip a
iw dev
ip link set wlan0 up

Now edit /etc/network/interfaces. The required configuration is much dependent on your particular setup. The following example will work for most commonly found WPA/WPA2 networks:

# my wifi device
allow-hotplug wlan0
iface wlan0 inet dhcp
        wpa-ssid ESSID
        wpa-psk PASSWORD

Bring up your interface and verify the connection:

ifup wlan0
iw wlan0 link
ip a

Reboot

reboot now

Show IP address after sucessfull WiFi connection

If you want to diplay the current IP adress on the teach pendant, create a new script in /etc/network/if-up.d/ e.g. show_wifi_ip:

#! /bin/sh
# Get the current ip address of interface 'wlan0' and show it on the teach pendant

if [ "$IFACE" = "wlan0" ]; then
    ip4=$(/sbin/ip -o -4 addr list wlan0 | awk '{print $4}' | cut -d/ -f1)
    echo "WiFi IP: $ip4" | DISPLAY=:0 aosd_cat -R green -x 130 -y -210 -n "Arial Black 40"
fi

rtl8188eu-ur's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.