Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • LoneWolf
    Participant
    Post count: 6

    Hi All

    I recently setup a RetroPie running on img 2.3. I spend about a week alone trying to setup the wifi, it was not easy! I purchased the RALink Wifi Dongle of eBay however this is not one that runs on RetroPie out of the box and did require a lot of tweaking to get it to work. I searched many sites and resources but after a LOT of trial and error I managed to get it working. I figured I would share how I got it to work so no one else needs to go through what I went through.

    First run the following commands:

    sudo apt-get install wpasupplicant

    sudo apt-get install firmware-ralink

    The run:

    lsusb

    You should see the device listed like below:

    Bus 001 Device 007: ID 148f:7601 Ralink Technology, Corp.

    Then run the following set of commands, allowing each one to complete before moving onto the next one:

    wget https://dl.dropboxusercontent.com/u/67643651/mt7601_3.12.35_730.tar.gz

    sudo tar xf mt7601_3.12.35_730.tar.gz -C /

    sudo depmod 3.12.35+

    cat /lib/modules/3.12.35+/modules.dep | grep mt7601Usta

    sudo reboot

    Check if everything is OK:

    sudo lsmod | grep mt7601Usta

    You should see something like below:

    mt7601Usta 601487 1

    Then run:

    iwconfig

    [img]http://blog.wenzlaff.de/wp-content/uploads/2014/12/Bildschirmfoto-2014-12-26-um-15.38.55.png[/img]

    Then use the Wi-Fi rename of ra0 on wlan0 and that the file:

    sudo nano /etc/udev/rules.d/70-persistent-net.rules

    Create and add to:

    ACTION=="add", SUBSYSTEM=="net", ATTR{type}=="1", KERNEL=="ra*", NAME = "wlan0"

    After a sudo reboot it is successfully renamed wlan0:

    [img]http://blog.wenzlaff.de/wp-content/uploads/2014/12/Bildschirmfoto-2014-12-26-um-15.48.31.png[/img]

    Then the file /etc/network/interfaces upgraded with the following information to access with a fixed IP address can:

    sudo nano /etc/network/interfaces

    auto lo
    iface lo inet loopback
    iface eth0 inet dhcp
    
    auto wlan0
    allow-hotplug wlan0
    iface wlan0 inet static
    address 7.7.7.50 
    netmask 255.255.255.0
    gateway 7.7.7.1
    wpa-ap-scan 1
    wpa-scan-ssid 1
    wpa-ssid "YOUR-WIFI-NAME"
    wpa-psk "YOUR-WIFI-PASSWORD"
    

    After a sudo reboot you can connect to the Raspberry Pi without wires.

    I hope that helps :)

    kuzzmi
    Participant
    Post count: 1

    Hi!

    Dunno why, doesn’t work on clean install and rpi-update to 3.12.36+.
    Can you, please, rebuild it for a newer kernel?

    polluxpt
    Participant
    Post count: 28

    Hello.
    Does this method still applies to the new version of Retropie for RPi2?
    Thanks

    I was unable to get it to work with the tutorial above. It gave me errors.
    My device bought from DX only works in Windows (but I needed to install drivers…).
    I give up on this.
    This device it’s not worthy of such work to get wifi.
    I have a TP-Link one that runs smoothly.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.