Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Raspberrypi Wireless?

Options
  • 01-10-2014 8:40pm
    #1
    Registered Users Posts: 784 ✭✭✭


    Hi Folks,

    Just wondering if anyone has successfully managed to get a Raspberrypi going using 'wireless' dongle ?
    Everything else on mine is working and I've tried about 3 different solutions from all the stuff on the net but none seem to work for me unfortunately. I guess the first thing to get right is the correct dongle,
    Any clues....? Cheers


Comments

  • Closed Accounts Posts: 9,622 ✭✭✭Ruu


    I have XMBC on the Pi and don't recall having to do any set up at all with the dongle. I used the Edimax EW-7811Un that came with it.


  • Closed Accounts Posts: 8,015 ✭✭✭CreepingDeath


    Same here, I used a known Edimax wifi dongle, but I bought and configured it myself after a bit of hassle.

    Mac filtering, WEP/WPA and whether or not you broadcast your SSID on your router can stop you connecting.
    There was a special parameter I had to set on the rpi network config because I didn't broadcast my SSID on the router.


  • Closed Accounts Posts: 8,015 ✭✭✭CreepingDeath


    Here's my /etc/network/interfaces file
    auto lo
    
    iface lo inet loopback
    iface eth0 inet dhcp
    
    auto wlan0
    allow-hotplug wlan0
    iface wlan0 inet dhcp
      wpa-scan-ssid 1
      wpa-ap-scan 1
      wpa-ssid "MY_SSID"
      wpa-psk "MY_PASSWORD"
    
    iface default inet dhcp
    


  • Registered Users Posts: 1,931 ✭✭✭PrzemoF


    Have you tried external usb hub to make sure it's not power supply problem?


  • Registered Users Posts: 784 ✭✭✭raspberrypi67


    thanks for the tips


  • Advertisement
  • Registered Users Posts: 2,426 ✭✭✭ressem


    Have you the Raspbian operating system?

    By default it'll look like...
    /etc/network/interfaces
    auto lo
    
    iface lo inet loopback
    iface eth0 inet dhcp
    
    allow-hotplug wlan0
    iface wlan0 inet manual
    wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
    iface default inet dhcp
    

    /etc/wpa_supplicant/wpa_supplicant.conf
    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    
    network={
            ssid="mynetworkname"
            psk="mypassword"
            proto=RSN
            key_mgmt=WPA-PSK
            pairwise=CCMP
            auth_alg=OPEN
    }
    
    

    When the correct values are placed in the wpa_supplicant.conf file, it is usually possible to start the wireless lan using the command...
    sudo  wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
    

    using the generic wext wireless driver.

    If this works for you then you should be able to use
    ifconfig wlan0
    
    and it should have picked up an ip address from your DHCP server.

    It should now be possible to stop and start the wireless card using the wpa_gui "wifi config" program on the raspbian default desktop.


Advertisement