rodolfo

Members
  • Content Count

    201
  • Joined

  • Last visited


Reputation Activity

  1. Like
    rodolfo got a reaction from Pop Andrei Lucian in OPI ONE wireless success   
    Relax - Wireless is solved for OPI ONE
     
    There seems to be a lot of confusion and missing information on how to access the dirt cheap OPI ONE wirelessly and the steps necessary to successfully use cheap Realtek USB dongles ( 8188cus, 8188eu ) with Armbian_5.10.
     
    This is a short summary of the needed materials and steps to turn your OPI ONE into a wireless client or wireless AP. There are NO custom kernels, custom modules or anything else needed, we are using stock Armbian_5.10 with stock kernel, stock modules and stock software to configure wireless access for select tested and working Realtek wifi dongles.
     
    Follow the steps without variation. Once you get wifi working you may adapt setup/configuration to your specific needs
     
    Prerequisites
     
    - OPI ONE with quality power supply 5V/2A
    - MicroSD ( 4G or higher ) with stock Armbian_5.10 installed per official instructions
    - Supported wifi USB dongle
    - LAN connection to host computer ( preferrably notebook running Linux ) for needed setup/configuration 
    - WLAN-router accessible from host computer to test wireless connections.
     
    General procedure to set up wireless on OPI ONE
     
    - Set up your OPI ONE with basic Armbian_5.10 and configure a static IP LAN-address
    - Access OPI ONE via ssh from your host computer
    - Plug in wireless dongle and load correct driver module
    - check capabilities of wifi dongle (iw list)
    - configure wpa_supplicant for client mode
    - configure hostapd for AP mode
     
    >>> all configurations will be minimal without added automagic complexities ( bridges, DHCP etc...)
     
    OPI ONE wireless client
     
    Module 8192cu works with Realtek 8188CUS dongles and provides a wireless interface wlan0 ready to be configured in managed mode with wpa_supplicant.
     
     
    nano /etc/modules-load.d/modules.conf
    =====================================

    #8189es
    8192cu
     
     
     
    nano /etc/network/interfaces (adapt to your network setup)
    ==========================================================

    auto lo
            iface lo inet loopback

    #----- lan interface ( standard maintenance connection via ssh ) 
            
    allow-hotplug eth0
       iface eth0 inet static
            address 192.168.3.164           
            netmask 255.255.255.0
            network 192.168.3.0
     
    #----- Realtek 8192cu wlan interface client ( access defined in /etc/wpa_supplicant/wpa_supplicant.conf )
                
    allow-hotplug wlan0
       iface wlan0 inet static
            address 192.168.2.164
            netmask 255.255.255.0
            network 192.168.2.0
            broadcast 192.168.2.255
            gateway 192.168.2.77
        dns-nameservers 192.168.1.1
        dns-nameservers 8.8.8.8

            wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
     
     
    nano /etc/wpa_supplicant/wpa_supplicant.conf
    ============================================

    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1

    network={
            ssid="<your_ssid>"
            psk="<your_password>"
            key_mgmt=WPA-PSK
            priority=99
    }
     
     
    After restarting OPI ONE it should be connected to your configured wireless router and accessible under the static IP.
    Wireless connection is working now and the rest is up to your hopefully wild imagination and creativity.
     
    Tested working dongles
     
    RTL8188CUS cheap no-name dongle from Aliexpress ( < $2 )
     
    Bus 002 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

    RTL8188CUS Edimax EW-7811Un high quality dongle ( $10 )
     
    Bus 001 Device 008: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]

    Wifi performance is not stellar, but definitely adequate. Under ideal conditions ( same room as router, little interference ) speeds of 80mbps ( measured with iperf ) can be expected. Crossing two walls at 20m distance from router the signal was still usable yielding 20mbps.
     
     
    OPI ONE access point + wireless client
     
    Surprise : You were asking for AP mode and  now you are getting AP deluxe with an extra client interface for free.
     
    Module 8188eu works with Realtek 8188EU dongle and provides TWO wireless interfaces : wlan0 is ready to be configured in AP mode with hostapd and wlan1 in managed mode with wpa_supplicant.
     
    When the dongle is plugged in and the driver correctly loaded, iw list will enumerate the drivers parameters for the two new interfaces. iwconfig will show wlan0 and wlan1.
     
     
     
    nano /etc/modules-load.d/modules.conf
    =====================================

    #8189es
    8188eu

    nano /etc/default/hostapd
    =========================

    DAEMON_CONF="/etc/hostapd.conf"


    nano /etc/network/interfaces
    ============================

    auto lo
            iface lo inet loopback

    #----- lan interface ( standard maintenance connection via ssh )
            
    allow-hotplug eth0
       iface eth0 inet static
            address 192.168.3.164
            netmask 255.255.255.0
            network 192.168.3.0

    #----- Realtek 8188eu wlan interface AP ( access defined in /etc/hostapd.conf )
                  
    allow-hotplug wlan0
       iface wlan0 inet static
            address 192.168.4.164
            netmask 255.255.255.0
            network 192.168.4.0

    #----- Realtek 8188eu wlan interface client ( access defined in /etc/wpa_supplicant/wpa_supplicant.conf )
                
    allow-hotplug wlan1
       iface wlan1 inet static
            address 192.168.2.164
            netmask 255.255.255.0
            network 192.168.2.0
            broadcast 192.168.2.255
            gateway 192.168.2.77
        dns-nameservers 192.168.1.1
        dns-nameservers 8.8.8.8

            wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf


    nano /etc/hostapd.conf
    ======================

    ssid=<your-OPI-ONE-ssid>            
    interface=wlan0
    hw_mode=g
    channel=5
    driver=nl80211
    logger_syslog=0
    logger_syslog_level=0
    wmm_enabled=1
    ieee80211n=1
    wpa=3
    preamble=1
    #wpa_psk=66eb31d2b48d19ba216f2e50c6831ee11be98e2fa3a8075e30b866f4a5ccda27
    wpa_passphrase='12345678'
    wpa_key_mgmt=WPA-PSK
    wpa_pairwise=TKIP
    rsn_pairwise=CCMP
    auth_algs=1
    macaddr_acl=0
    noscan=1
    #ht_capab=[HT40-][sHORT-GI-40][sHORT-GI-40][DSSS_CCK-40]
    country_code=<your country code>
    #ieee80211d=1


    nano /etc/wpa_supplicant/wpa_supplicant.conf
    ============================================

    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1

    network={
            ssid="<your-router-ssid>"
            psk="<your-router-password>"
            key_mgmt=WPA-PSK
            priority=99
    }
     
     
    After restarting OPI ONE it should be connected to your configured wireless router and accessible under the static IP. On your notebook the newly created OPI ONE access point should be visible when scanning. Specify a static IP for the link and connect using the chosen password ( e.g. '12345678' ) . Feel like a hero, empty a sixpack and order more pizza....
    Wireless connection is working now and the rest is up to your hopefully wild imagination and creativity.
     
     
    Tested working dongle for AP mode :
     
    RTL8188EU cheap no-name dongle from Aliexpress (  $2.20  )
    Bus 001 Device 009: ID 0bda:0179 Realtek Semiconductor Corp. ( noname identified as 8188EU )

    Wifi performance with both interfaces active is surprisingly good. Under ideal conditions ( same room as router, little interference ) speeds of 60 (client) / 30 (AP) mbps can be expected. Crossing two walls at 20m distance from router signals were still usable yielding 20 (client) / 5 (AP) mbps.
     
     
    Troubleshooting
    Most of the problems encountered while setting up WIFI are caused by inadequate or overly complicated testing setups, procedures and rampant wild guesses. Keep it simple and solve one problem at a time. As a stable datum you should realize that the procedures outlined above DO WORK and have been adequately TESTED and RETESTED..
     
    Solution No. 1 :  Follow the steps outlined
    Solution No. 2 :  Find out where you did not follow the steps outlined
    Solution No. 3 :  Find out what you added to the steps outlined
    Solution No. 4 :  Reiterate
     
     
    Good luck with your wireless OPI ONE, enjoy and flood the forum with working solutions.
  2. Like
    rodolfo got a reaction from gnasch in OPI ONE wireless success   
    Relax - Wireless is solved for OPI ONE
     
    There seems to be a lot of confusion and missing information on how to access the dirt cheap OPI ONE wirelessly and the steps necessary to successfully use cheap Realtek USB dongles ( 8188cus, 8188eu ) with Armbian_5.10.
     
    This is a short summary of the needed materials and steps to turn your OPI ONE into a wireless client or wireless AP. There are NO custom kernels, custom modules or anything else needed, we are using stock Armbian_5.10 with stock kernel, stock modules and stock software to configure wireless access for select tested and working Realtek wifi dongles.
     
    Follow the steps without variation. Once you get wifi working you may adapt setup/configuration to your specific needs
     
    Prerequisites
     
    - OPI ONE with quality power supply 5V/2A
    - MicroSD ( 4G or higher ) with stock Armbian_5.10 installed per official instructions
    - Supported wifi USB dongle
    - LAN connection to host computer ( preferrably notebook running Linux ) for needed setup/configuration 
    - WLAN-router accessible from host computer to test wireless connections.
     
    General procedure to set up wireless on OPI ONE
     
    - Set up your OPI ONE with basic Armbian_5.10 and configure a static IP LAN-address
    - Access OPI ONE via ssh from your host computer
    - Plug in wireless dongle and load correct driver module
    - check capabilities of wifi dongle (iw list)
    - configure wpa_supplicant for client mode
    - configure hostapd for AP mode
     
    >>> all configurations will be minimal without added automagic complexities ( bridges, DHCP etc...)
     
    OPI ONE wireless client
     
    Module 8192cu works with Realtek 8188CUS dongles and provides a wireless interface wlan0 ready to be configured in managed mode with wpa_supplicant.
     
     
    nano /etc/modules-load.d/modules.conf
    =====================================

    #8189es
    8192cu
     
     
     
    nano /etc/network/interfaces (adapt to your network setup)
    ==========================================================

    auto lo
            iface lo inet loopback

    #----- lan interface ( standard maintenance connection via ssh ) 
            
    allow-hotplug eth0
       iface eth0 inet static
            address 192.168.3.164           
            netmask 255.255.255.0
            network 192.168.3.0
     
    #----- Realtek 8192cu wlan interface client ( access defined in /etc/wpa_supplicant/wpa_supplicant.conf )
                
    allow-hotplug wlan0
       iface wlan0 inet static
            address 192.168.2.164
            netmask 255.255.255.0
            network 192.168.2.0
            broadcast 192.168.2.255
            gateway 192.168.2.77
        dns-nameservers 192.168.1.1
        dns-nameservers 8.8.8.8

            wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
     
     
    nano /etc/wpa_supplicant/wpa_supplicant.conf
    ============================================

    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1

    network={
            ssid="<your_ssid>"
            psk="<your_password>"
            key_mgmt=WPA-PSK
            priority=99
    }
     
     
    After restarting OPI ONE it should be connected to your configured wireless router and accessible under the static IP.
    Wireless connection is working now and the rest is up to your hopefully wild imagination and creativity.
     
    Tested working dongles
     
    RTL8188CUS cheap no-name dongle from Aliexpress ( < $2 )
     
    Bus 002 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

    RTL8188CUS Edimax EW-7811Un high quality dongle ( $10 )
     
    Bus 001 Device 008: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]

    Wifi performance is not stellar, but definitely adequate. Under ideal conditions ( same room as router, little interference ) speeds of 80mbps ( measured with iperf ) can be expected. Crossing two walls at 20m distance from router the signal was still usable yielding 20mbps.
     
     
    OPI ONE access point + wireless client
     
    Surprise : You were asking for AP mode and  now you are getting AP deluxe with an extra client interface for free.
     
    Module 8188eu works with Realtek 8188EU dongle and provides TWO wireless interfaces : wlan0 is ready to be configured in AP mode with hostapd and wlan1 in managed mode with wpa_supplicant.
     
    When the dongle is plugged in and the driver correctly loaded, iw list will enumerate the drivers parameters for the two new interfaces. iwconfig will show wlan0 and wlan1.
     
     
     
    nano /etc/modules-load.d/modules.conf
    =====================================

    #8189es
    8188eu

    nano /etc/default/hostapd
    =========================

    DAEMON_CONF="/etc/hostapd.conf"


    nano /etc/network/interfaces
    ============================

    auto lo
            iface lo inet loopback

    #----- lan interface ( standard maintenance connection via ssh )
            
    allow-hotplug eth0
       iface eth0 inet static
            address 192.168.3.164
            netmask 255.255.255.0
            network 192.168.3.0

    #----- Realtek 8188eu wlan interface AP ( access defined in /etc/hostapd.conf )
                  
    allow-hotplug wlan0
       iface wlan0 inet static
            address 192.168.4.164
            netmask 255.255.255.0
            network 192.168.4.0

    #----- Realtek 8188eu wlan interface client ( access defined in /etc/wpa_supplicant/wpa_supplicant.conf )
                
    allow-hotplug wlan1
       iface wlan1 inet static
            address 192.168.2.164
            netmask 255.255.255.0
            network 192.168.2.0
            broadcast 192.168.2.255
            gateway 192.168.2.77
        dns-nameservers 192.168.1.1
        dns-nameservers 8.8.8.8

            wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf


    nano /etc/hostapd.conf
    ======================

    ssid=<your-OPI-ONE-ssid>            
    interface=wlan0
    hw_mode=g
    channel=5
    driver=nl80211
    logger_syslog=0
    logger_syslog_level=0
    wmm_enabled=1
    ieee80211n=1
    wpa=3
    preamble=1
    #wpa_psk=66eb31d2b48d19ba216f2e50c6831ee11be98e2fa3a8075e30b866f4a5ccda27
    wpa_passphrase='12345678'
    wpa_key_mgmt=WPA-PSK
    wpa_pairwise=TKIP
    rsn_pairwise=CCMP
    auth_algs=1
    macaddr_acl=0
    noscan=1
    #ht_capab=[HT40-][sHORT-GI-40][sHORT-GI-40][DSSS_CCK-40]
    country_code=<your country code>
    #ieee80211d=1


    nano /etc/wpa_supplicant/wpa_supplicant.conf
    ============================================

    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1

    network={
            ssid="<your-router-ssid>"
            psk="<your-router-password>"
            key_mgmt=WPA-PSK
            priority=99
    }
     
     
    After restarting OPI ONE it should be connected to your configured wireless router and accessible under the static IP. On your notebook the newly created OPI ONE access point should be visible when scanning. Specify a static IP for the link and connect using the chosen password ( e.g. '12345678' ) . Feel like a hero, empty a sixpack and order more pizza....
    Wireless connection is working now and the rest is up to your hopefully wild imagination and creativity.
     
     
    Tested working dongle for AP mode :
     
    RTL8188EU cheap no-name dongle from Aliexpress (  $2.20  )
    Bus 001 Device 009: ID 0bda:0179 Realtek Semiconductor Corp. ( noname identified as 8188EU )

    Wifi performance with both interfaces active is surprisingly good. Under ideal conditions ( same room as router, little interference ) speeds of 60 (client) / 30 (AP) mbps can be expected. Crossing two walls at 20m distance from router signals were still usable yielding 20 (client) / 5 (AP) mbps.
     
     
    Troubleshooting
    Most of the problems encountered while setting up WIFI are caused by inadequate or overly complicated testing setups, procedures and rampant wild guesses. Keep it simple and solve one problem at a time. As a stable datum you should realize that the procedures outlined above DO WORK and have been adequately TESTED and RETESTED..
     
    Solution No. 1 :  Follow the steps outlined
    Solution No. 2 :  Find out where you did not follow the steps outlined
    Solution No. 3 :  Find out what you added to the steps outlined
    Solution No. 4 :  Reiterate
     
     
    Good luck with your wireless OPI ONE, enjoy and flood the forum with working solutions.
  3. Like
    rodolfo got a reaction from lanefu in OPI ONE wireless success   
    Relax - Wireless is solved for OPI ONE
     
    There seems to be a lot of confusion and missing information on how to access the dirt cheap OPI ONE wirelessly and the steps necessary to successfully use cheap Realtek USB dongles ( 8188cus, 8188eu ) with Armbian_5.10.
     
    This is a short summary of the needed materials and steps to turn your OPI ONE into a wireless client or wireless AP. There are NO custom kernels, custom modules or anything else needed, we are using stock Armbian_5.10 with stock kernel, stock modules and stock software to configure wireless access for select tested and working Realtek wifi dongles.
     
    Follow the steps without variation. Once you get wifi working you may adapt setup/configuration to your specific needs
     
    Prerequisites
     
    - OPI ONE with quality power supply 5V/2A
    - MicroSD ( 4G or higher ) with stock Armbian_5.10 installed per official instructions
    - Supported wifi USB dongle
    - LAN connection to host computer ( preferrably notebook running Linux ) for needed setup/configuration 
    - WLAN-router accessible from host computer to test wireless connections.
     
    General procedure to set up wireless on OPI ONE
     
    - Set up your OPI ONE with basic Armbian_5.10 and configure a static IP LAN-address
    - Access OPI ONE via ssh from your host computer
    - Plug in wireless dongle and load correct driver module
    - check capabilities of wifi dongle (iw list)
    - configure wpa_supplicant for client mode
    - configure hostapd for AP mode
     
    >>> all configurations will be minimal without added automagic complexities ( bridges, DHCP etc...)
     
    OPI ONE wireless client
     
    Module 8192cu works with Realtek 8188CUS dongles and provides a wireless interface wlan0 ready to be configured in managed mode with wpa_supplicant.
     
     
    nano /etc/modules-load.d/modules.conf
    =====================================

    #8189es
    8192cu
     
     
     
    nano /etc/network/interfaces (adapt to your network setup)
    ==========================================================

    auto lo
            iface lo inet loopback

    #----- lan interface ( standard maintenance connection via ssh ) 
            
    allow-hotplug eth0
       iface eth0 inet static
            address 192.168.3.164           
            netmask 255.255.255.0
            network 192.168.3.0
     
    #----- Realtek 8192cu wlan interface client ( access defined in /etc/wpa_supplicant/wpa_supplicant.conf )
                
    allow-hotplug wlan0
       iface wlan0 inet static
            address 192.168.2.164
            netmask 255.255.255.0
            network 192.168.2.0
            broadcast 192.168.2.255
            gateway 192.168.2.77
        dns-nameservers 192.168.1.1
        dns-nameservers 8.8.8.8

            wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
     
     
    nano /etc/wpa_supplicant/wpa_supplicant.conf
    ============================================

    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1

    network={
            ssid="<your_ssid>"
            psk="<your_password>"
            key_mgmt=WPA-PSK
            priority=99
    }
     
     
    After restarting OPI ONE it should be connected to your configured wireless router and accessible under the static IP.
    Wireless connection is working now and the rest is up to your hopefully wild imagination and creativity.
     
    Tested working dongles
     
    RTL8188CUS cheap no-name dongle from Aliexpress ( < $2 )
     
    Bus 002 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

    RTL8188CUS Edimax EW-7811Un high quality dongle ( $10 )
     
    Bus 001 Device 008: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]

    Wifi performance is not stellar, but definitely adequate. Under ideal conditions ( same room as router, little interference ) speeds of 80mbps ( measured with iperf ) can be expected. Crossing two walls at 20m distance from router the signal was still usable yielding 20mbps.
     
     
    OPI ONE access point + wireless client
     
    Surprise : You were asking for AP mode and  now you are getting AP deluxe with an extra client interface for free.
     
    Module 8188eu works with Realtek 8188EU dongle and provides TWO wireless interfaces : wlan0 is ready to be configured in AP mode with hostapd and wlan1 in managed mode with wpa_supplicant.
     
    When the dongle is plugged in and the driver correctly loaded, iw list will enumerate the drivers parameters for the two new interfaces. iwconfig will show wlan0 and wlan1.
     
     
     
    nano /etc/modules-load.d/modules.conf
    =====================================

    #8189es
    8188eu

    nano /etc/default/hostapd
    =========================

    DAEMON_CONF="/etc/hostapd.conf"


    nano /etc/network/interfaces
    ============================

    auto lo
            iface lo inet loopback

    #----- lan interface ( standard maintenance connection via ssh )
            
    allow-hotplug eth0
       iface eth0 inet static
            address 192.168.3.164
            netmask 255.255.255.0
            network 192.168.3.0

    #----- Realtek 8188eu wlan interface AP ( access defined in /etc/hostapd.conf )
                  
    allow-hotplug wlan0
       iface wlan0 inet static
            address 192.168.4.164
            netmask 255.255.255.0
            network 192.168.4.0

    #----- Realtek 8188eu wlan interface client ( access defined in /etc/wpa_supplicant/wpa_supplicant.conf )
                
    allow-hotplug wlan1
       iface wlan1 inet static
            address 192.168.2.164
            netmask 255.255.255.0
            network 192.168.2.0
            broadcast 192.168.2.255
            gateway 192.168.2.77
        dns-nameservers 192.168.1.1
        dns-nameservers 8.8.8.8

            wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf


    nano /etc/hostapd.conf
    ======================

    ssid=<your-OPI-ONE-ssid>            
    interface=wlan0
    hw_mode=g
    channel=5
    driver=nl80211
    logger_syslog=0
    logger_syslog_level=0
    wmm_enabled=1
    ieee80211n=1
    wpa=3
    preamble=1
    #wpa_psk=66eb31d2b48d19ba216f2e50c6831ee11be98e2fa3a8075e30b866f4a5ccda27
    wpa_passphrase='12345678'
    wpa_key_mgmt=WPA-PSK
    wpa_pairwise=TKIP
    rsn_pairwise=CCMP
    auth_algs=1
    macaddr_acl=0
    noscan=1
    #ht_capab=[HT40-][sHORT-GI-40][sHORT-GI-40][DSSS_CCK-40]
    country_code=<your country code>
    #ieee80211d=1


    nano /etc/wpa_supplicant/wpa_supplicant.conf
    ============================================

    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1

    network={
            ssid="<your-router-ssid>"
            psk="<your-router-password>"
            key_mgmt=WPA-PSK
            priority=99
    }
     
     
    After restarting OPI ONE it should be connected to your configured wireless router and accessible under the static IP. On your notebook the newly created OPI ONE access point should be visible when scanning. Specify a static IP for the link and connect using the chosen password ( e.g. '12345678' ) . Feel like a hero, empty a sixpack and order more pizza....
    Wireless connection is working now and the rest is up to your hopefully wild imagination and creativity.
     
     
    Tested working dongle for AP mode :
     
    RTL8188EU cheap no-name dongle from Aliexpress (  $2.20  )
    Bus 001 Device 009: ID 0bda:0179 Realtek Semiconductor Corp. ( noname identified as 8188EU )

    Wifi performance with both interfaces active is surprisingly good. Under ideal conditions ( same room as router, little interference ) speeds of 60 (client) / 30 (AP) mbps can be expected. Crossing two walls at 20m distance from router signals were still usable yielding 20 (client) / 5 (AP) mbps.
     
     
    Troubleshooting
    Most of the problems encountered while setting up WIFI are caused by inadequate or overly complicated testing setups, procedures and rampant wild guesses. Keep it simple and solve one problem at a time. As a stable datum you should realize that the procedures outlined above DO WORK and have been adequately TESTED and RETESTED..
     
    Solution No. 1 :  Follow the steps outlined
    Solution No. 2 :  Find out where you did not follow the steps outlined
    Solution No. 3 :  Find out what you added to the steps outlined
    Solution No. 4 :  Reiterate
     
     
    Good luck with your wireless OPI ONE, enjoy and flood the forum with working solutions.
  4. Like
    rodolfo got a reaction from Godz in OPI ONE wireless success   
    Relax - Wireless is solved for OPI ONE
     
    There seems to be a lot of confusion and missing information on how to access the dirt cheap OPI ONE wirelessly and the steps necessary to successfully use cheap Realtek USB dongles ( 8188cus, 8188eu ) with Armbian_5.10.
     
    This is a short summary of the needed materials and steps to turn your OPI ONE into a wireless client or wireless AP. There are NO custom kernels, custom modules or anything else needed, we are using stock Armbian_5.10 with stock kernel, stock modules and stock software to configure wireless access for select tested and working Realtek wifi dongles.
     
    Follow the steps without variation. Once you get wifi working you may adapt setup/configuration to your specific needs
     
    Prerequisites
     
    - OPI ONE with quality power supply 5V/2A
    - MicroSD ( 4G or higher ) with stock Armbian_5.10 installed per official instructions
    - Supported wifi USB dongle
    - LAN connection to host computer ( preferrably notebook running Linux ) for needed setup/configuration 
    - WLAN-router accessible from host computer to test wireless connections.
     
    General procedure to set up wireless on OPI ONE
     
    - Set up your OPI ONE with basic Armbian_5.10 and configure a static IP LAN-address
    - Access OPI ONE via ssh from your host computer
    - Plug in wireless dongle and load correct driver module
    - check capabilities of wifi dongle (iw list)
    - configure wpa_supplicant for client mode
    - configure hostapd for AP mode
     
    >>> all configurations will be minimal without added automagic complexities ( bridges, DHCP etc...)
     
    OPI ONE wireless client
     
    Module 8192cu works with Realtek 8188CUS dongles and provides a wireless interface wlan0 ready to be configured in managed mode with wpa_supplicant.
     
     
    nano /etc/modules-load.d/modules.conf
    =====================================

    #8189es
    8192cu
     
     
     
    nano /etc/network/interfaces (adapt to your network setup)
    ==========================================================

    auto lo
            iface lo inet loopback

    #----- lan interface ( standard maintenance connection via ssh ) 
            
    allow-hotplug eth0
       iface eth0 inet static
            address 192.168.3.164           
            netmask 255.255.255.0
            network 192.168.3.0
     
    #----- Realtek 8192cu wlan interface client ( access defined in /etc/wpa_supplicant/wpa_supplicant.conf )
                
    allow-hotplug wlan0
       iface wlan0 inet static
            address 192.168.2.164
            netmask 255.255.255.0
            network 192.168.2.0
            broadcast 192.168.2.255
            gateway 192.168.2.77
        dns-nameservers 192.168.1.1
        dns-nameservers 8.8.8.8

            wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
     
     
    nano /etc/wpa_supplicant/wpa_supplicant.conf
    ============================================

    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1

    network={
            ssid="<your_ssid>"
            psk="<your_password>"
            key_mgmt=WPA-PSK
            priority=99
    }
     
     
    After restarting OPI ONE it should be connected to your configured wireless router and accessible under the static IP.
    Wireless connection is working now and the rest is up to your hopefully wild imagination and creativity.
     
    Tested working dongles
     
    RTL8188CUS cheap no-name dongle from Aliexpress ( < $2 )
     
    Bus 002 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

    RTL8188CUS Edimax EW-7811Un high quality dongle ( $10 )
     
    Bus 001 Device 008: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]

    Wifi performance is not stellar, but definitely adequate. Under ideal conditions ( same room as router, little interference ) speeds of 80mbps ( measured with iperf ) can be expected. Crossing two walls at 20m distance from router the signal was still usable yielding 20mbps.
     
     
    OPI ONE access point + wireless client
     
    Surprise : You were asking for AP mode and  now you are getting AP deluxe with an extra client interface for free.
     
    Module 8188eu works with Realtek 8188EU dongle and provides TWO wireless interfaces : wlan0 is ready to be configured in AP mode with hostapd and wlan1 in managed mode with wpa_supplicant.
     
    When the dongle is plugged in and the driver correctly loaded, iw list will enumerate the drivers parameters for the two new interfaces. iwconfig will show wlan0 and wlan1.
     
     
     
    nano /etc/modules-load.d/modules.conf
    =====================================

    #8189es
    8188eu

    nano /etc/default/hostapd
    =========================

    DAEMON_CONF="/etc/hostapd.conf"


    nano /etc/network/interfaces
    ============================

    auto lo
            iface lo inet loopback

    #----- lan interface ( standard maintenance connection via ssh )
            
    allow-hotplug eth0
       iface eth0 inet static
            address 192.168.3.164
            netmask 255.255.255.0
            network 192.168.3.0

    #----- Realtek 8188eu wlan interface AP ( access defined in /etc/hostapd.conf )
                  
    allow-hotplug wlan0
       iface wlan0 inet static
            address 192.168.4.164
            netmask 255.255.255.0
            network 192.168.4.0

    #----- Realtek 8188eu wlan interface client ( access defined in /etc/wpa_supplicant/wpa_supplicant.conf )
                
    allow-hotplug wlan1
       iface wlan1 inet static
            address 192.168.2.164
            netmask 255.255.255.0
            network 192.168.2.0
            broadcast 192.168.2.255
            gateway 192.168.2.77
        dns-nameservers 192.168.1.1
        dns-nameservers 8.8.8.8

            wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf


    nano /etc/hostapd.conf
    ======================

    ssid=<your-OPI-ONE-ssid>            
    interface=wlan0
    hw_mode=g
    channel=5
    driver=nl80211
    logger_syslog=0
    logger_syslog_level=0
    wmm_enabled=1
    ieee80211n=1
    wpa=3
    preamble=1
    #wpa_psk=66eb31d2b48d19ba216f2e50c6831ee11be98e2fa3a8075e30b866f4a5ccda27
    wpa_passphrase='12345678'
    wpa_key_mgmt=WPA-PSK
    wpa_pairwise=TKIP
    rsn_pairwise=CCMP
    auth_algs=1
    macaddr_acl=0
    noscan=1
    #ht_capab=[HT40-][sHORT-GI-40][sHORT-GI-40][DSSS_CCK-40]
    country_code=<your country code>
    #ieee80211d=1


    nano /etc/wpa_supplicant/wpa_supplicant.conf
    ============================================

    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1

    network={
            ssid="<your-router-ssid>"
            psk="<your-router-password>"
            key_mgmt=WPA-PSK
            priority=99
    }
     
     
    After restarting OPI ONE it should be connected to your configured wireless router and accessible under the static IP. On your notebook the newly created OPI ONE access point should be visible when scanning. Specify a static IP for the link and connect using the chosen password ( e.g. '12345678' ) . Feel like a hero, empty a sixpack and order more pizza....
    Wireless connection is working now and the rest is up to your hopefully wild imagination and creativity.
     
     
    Tested working dongle for AP mode :
     
    RTL8188EU cheap no-name dongle from Aliexpress (  $2.20  )
    Bus 001 Device 009: ID 0bda:0179 Realtek Semiconductor Corp. ( noname identified as 8188EU )

    Wifi performance with both interfaces active is surprisingly good. Under ideal conditions ( same room as router, little interference ) speeds of 60 (client) / 30 (AP) mbps can be expected. Crossing two walls at 20m distance from router signals were still usable yielding 20 (client) / 5 (AP) mbps.
     
     
    Troubleshooting
    Most of the problems encountered while setting up WIFI are caused by inadequate or overly complicated testing setups, procedures and rampant wild guesses. Keep it simple and solve one problem at a time. As a stable datum you should realize that the procedures outlined above DO WORK and have been adequately TESTED and RETESTED..
     
    Solution No. 1 :  Follow the steps outlined
    Solution No. 2 :  Find out where you did not follow the steps outlined
    Solution No. 3 :  Find out what you added to the steps outlined
    Solution No. 4 :  Reiterate
     
     
    Good luck with your wireless OPI ONE, enjoy and flood the forum with working solutions.
  5. Like
    rodolfo reacted to Chillman in Orange PI PC Wireless Module (8192cu)   
    @rodolfo:
    My biggest thanks to you! I had read this in the thread before but adding the right and commenting out the wrong module in this file was not enough to configure the network via wicd in my case (wicd's error notification: bad password).
    Thanks to your comment #22 I did the configuration myself and it worked immediately!
     
    I've written a short tutorial in the German Orange Pi Forum, I hope that's ok for you (credits to this thread are in there, of course!).
     
    Have a nice weekend!
  6. Like
    rodolfo reacted to gnasch in Orange PI PC Wireless Module (8192cu)   
    @rodolfo:
     
    Thank you very much for your answer. Indeed it works and the joy is big!
    best wishes!
    gnasch
  7. Like
    rodolfo reacted to tkaiser in Security Alert for Allwinner sun8i (H3/A83T/H8)   
    I wonder if you're deep enough into intercultural differences to understand anything? At least I'm not and I consider many things that happen in China as a miracle (and I would suspect that's the same regarding us Westerners when looking at us from China).
     
    You should be aware that you're not an Allwinner customer and that this whole SBC thing is close to irrelevant for them. The vast majority of their customers produces Android devices and Allwinner supports them as much as they can. Compared to this large Android market the count of Allwinner SoCs used with Linux is laughable (even if you consider customers like Olimex that order tens of thousands for boards used in industrial environment).
     
    Considering this I even understand that Open Source proponents inside Allwinner might have a hard time. But it seems there are some since they do release their kernel sources (even if there are some BLOBs inside). Please keep in mind: This whole issue has been discovered since we were able to audit the code (different story is that they could help us with better commit logs and so on but at least looking through nearly all code is possible).
     
    I really hope that this incident doesn't stop Allwinner opening even more code (with useable licenses and not just "All rights reserved") since even if the Linux market seems to be small/irrelevant they get so much back from linux-sunxi community (better code, mainline kernel code and also a better reputation since most older Allwinner SoCs run perfectly fine with mainline kernel due to community's work. And support for the most recent ones is progressing nicely. An Armbian image with mainline kernel for H3 boards is not that far away since linux-sunxi community does such a great coding job!).
     
    So let's stop speculating/badmouthing and hope for the best instead! 
  8. Like
    rodolfo got a reaction from gnasch in Orange Pi Lite - now available   
    @tkaiser
     
    Adapter link :
    -----------------
     
    http://www.ebay.com/itm/141821170951?_trksid=p2060353.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
     
    lsusb :
    ---------
     
    Bus 001 Device 003: ID 0bda:8153 Realtek Semiconductor Corp.
     
     
    The Realtek 8153 USB3 dongle works reliably and draws max. 180mA ( tested on adapter to OTG port on OPI ONE )
  9. Like
    rodolfo reacted to zador.blood.stained in Orange Pi Lite - now available   
    Orange Pi there is running Armbian, small kernel patch was necessary to enable CDC mode in crappy BSP kernel. USB tethering on smartphones may use other modes (like RNDIS).
     
    Once USB OTG controller is supported in mainline, it should work without any patches.
  10. Like
    rodolfo reacted to zador.blood.stained in Orange Pi Lite - now available   
    Not my experience, but in this article Orange Pi One is mounted inside a router (running OpenWRT) to offload OpenVPN encryption. It's connected only via USB/CDC, and raw link speed was ~100-120Mbit/s. Even without translation you should get the idea looking at photos and screenshots.
  11. Like
    rodolfo got a reaction from tkaiser in Orange Pi Lite - now available   
    @tkaiser
     
    Adapter link :
    -----------------
     
    http://www.ebay.com/itm/141821170951?_trksid=p2060353.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
     
    lsusb :
    ---------
     
    Bus 001 Device 003: ID 0bda:8153 Realtek Semiconductor Corp.
     
     
    The Realtek 8153 USB3 dongle works reliably and draws max. 180mA ( tested on adapter to OTG port on OPI ONE )
  12. Like
    rodolfo reacted to jock in Performance/throttling problems with OPi One   
    You may take a look to this thread too:
     
    http://forum.armbian.com/index.php/topic/1010-orange-pi-one-1200-mhz-with-low-voltage/
     
    I tried to run the Opi One at 1.2 Ghz with 1.100 volts. In my experience, it works flawlessy and I tried all the stress tests suggested by tkaiser with success, plus I stressed it with cpuburn-a7 for some hours (with huge heatsink!!) without problems.
  13. Like
    rodolfo got a reaction from wildcat_paris in Which board for me?   
    @Marc
     
    The small arm boards are wonderful for games, entertainment and hand-crafted appliances of all sorts. Pick one supported by excellent Armbian or use a recent Raspi. The boards you own are just fine for that.
     
    There is no such thing as "General PC" but you state requirements as
     
    - truly silent and very, very low power
    - desktop for my research/writing.
    - DTP and graphics
    - fixed to the rear of a monitor
    - accelerated video and reliable sound
    - cost IS a consideration
     
    Your OPI PC is cheap, silent, low power with accelerated video and reliable sound when hooked up to HDMI-monitor with speakers. You can also use it for research/writing (even DTP and graphics) , but don't expect stellar performance.
     
    You do get quite pleasing performance by using OPI PC ( tested on smaller sibling OPI ONE ) as a capable thinclient accessing a physical (cheap old linux-converted notebook or PC ) or virtual ( virtual private server possibly living in the clowd ) linux server running suitable powerful software, keeping vital data centralized and universally accessible. Does this sound like what you want ?
     
    The recipe for your "general PC" is explained at  http://forum.armbian.com/index.php/topic/1044-remote-desktop-fun-with-armbian-505-on-opi-one/
     
    Enjoy !
  14. Like
    rodolfo reacted to tkaiser in Tkaiser made the news   
    I've neither found this nor fixed the code -- I just sat in a beergarden watching others do the work, wrote a summary later and also informed affected vendors where possible (LinkSprite and CubieTech still ignoring the issue and SinoVoip as usual providing a fix in the most complicated way so 99,9% of their users are still affected by exploits targeting this vulnerability, same applies most probably to 100% of Xunlong/loboris OS image users).
     
    So kudos to the people who discovered this and fixed it!
     
    We should take this as a reminder why 'legacy' kernels should be avoided where possible. You never know how many of these issues are present there since vendor provided kernels are made without code/peer review by contractors/employees paid by SoC vendors that do not care about security at all. Expect the worst. Always!
     
    And that's why the ability to use mainline kernel is that important. And why it's important to use a distro like Armbian that is actively developed. I would suspect that most if not all OS images for Orange Pis that are still available on orangepi.org download section will never be upgraded and that the users there not even know what's going on.
  15. Like
    rodolfo reacted to Toast in Tkaiser made the news   
    http://www.theregister.co.uk/2016/05/09/allwinners_allloser_custom_kernel_has_a_nasty_root_backdoor/
     
    so congrats
  16. Like
  17. Like
    rodolfo got a reaction from aegrotatio in Quick review of Orange Pi One   
    Fix posted under http://forum.armbian.com/index.php/topic/1122-arisc-errors-have-returned/
  18. Like
    rodolfo reacted to tkaiser in Another Arm Linux   
    And Gentoo, OpenSuSE, CentOS, Fedora and maybe a few hundred other Linux distro variants that might run on armhf/arm64 hardware. What's this whole thread about?
     
    BTW: Armbian is different. It's not just another boring Linux distro (since then you could also use the plain Debian or Ubuntu stuff) but it's an automated build system capable to use Debian/Ubuntu and the images created in the end are the result of developing this build system over the years combined with a lot of knowledge regarding 'how to do it right'.
     
    You won't have fun with this small ARM boards if not every detail here and there matches perfectly. And that's what Igor started with and what the Armbian team still tried to provide.
     
    Basically three parts are involved: bootloader stuff (currently that's proprietary SoC specific bootloader stuff + u-boot, later we might have to deal with UEFI on aarch64), the kernel and the rootfs containing a Linux distro. The last part is the most irrelevant/boring one, the two former are way more important. As an example: sometimes kernel stuff won't work if hardware isn't initialized correctly already by u-boot and so on. That's what Armbian is about: Doing things right. And the distro used is close to irrelevant (the Armbian build system currently also allows to replace the whole OS distro in the last step with some other armhf/arm64 Linux rootfs -- somewhat weird but it works and would in many cases provide superiour results compared to 'original ARM Linux images')
  19. Like
    rodolfo got a reaction from Marc Draco in Which board for me?   
    @Marc
     
    The small arm boards are wonderful for games, entertainment and hand-crafted appliances of all sorts. Pick one supported by excellent Armbian or use a recent Raspi. The boards you own are just fine for that.
     
    There is no such thing as "General PC" but you state requirements as
     
    - truly silent and very, very low power
    - desktop for my research/writing.
    - DTP and graphics
    - fixed to the rear of a monitor
    - accelerated video and reliable sound
    - cost IS a consideration
     
    Your OPI PC is cheap, silent, low power with accelerated video and reliable sound when hooked up to HDMI-monitor with speakers. You can also use it for research/writing (even DTP and graphics) , but don't expect stellar performance.
     
    You do get quite pleasing performance by using OPI PC ( tested on smaller sibling OPI ONE ) as a capable thinclient accessing a physical (cheap old linux-converted notebook or PC ) or virtual ( virtual private server possibly living in the clowd ) linux server running suitable powerful software, keeping vital data centralized and universally accessible. Does this sound like what you want ?
     
    The recipe for your "general PC" is explained at  http://forum.armbian.com/index.php/topic/1044-remote-desktop-fun-with-armbian-505-on-opi-one/
     
    Enjoy !
  20. Like
    rodolfo got a reaction from Igor in Orange PI PC Wireless Module (8192cu)   
    @igor
     
    Sorry for the noise - I had not realized that 8192cu module is fixed in the meantime. So all that is needed is enabling the module 8192cu . I will test available modes and performance.
     
    Thanks for the good job !
  21. Like
    rodolfo reacted to jungle_roger in ARISC Errors have returned   
    Thanks rodolfo, that's fixed it.
  22. Like
    rodolfo reacted to zador.blood.stained in Quick review of Orange Pi One   
    [dvfs_table] pmuic_type = 1 pmu_gpio0 = port:PL06<1><1><2><1> pmu_level0 = 11300 pmu_level1 = 1100 max_freq = 1200000000 min_freq = 480000000 LV_count = 5 LV1_freq = 1200000000 LV1_volt = 1300 LV2_freq = 1008000000 LV2_volt = 1300 LV3_freq = 816000000 LV3_volt = 1100 LV4_freq = 648000000 LV4_volt = 1100 LV5_freq = 480000000 LV5_volt = 1100 This seems to work without any issues after changing minimal frequency in /etc/default/cpufrequtils
  23. Like
    rodolfo reacted to hatahata in Orange PI PC Wireless Module (8192cu)   
    i managed to understand what rodolfo said at Posted 31 March 2016 - 10:10 PM .
     
     two more steps  is needed .
     
    1) at terminal , wpa_passphrase MyPlace  7082446
     
    this gives next info .
     wpa_passphrase MyPlace  7082446
    network={
        ssid="MyPlace"
        #psk="7082446"
        psk=06d6f60771f44b0369f226c0ed4757cdc8939a2f3db
    }
     
     
    2)by using this info , rewrite /etc/network/interfaces
     
    auto wlan0
        iface wlan0 inet dhcp
        wpa-ssid MyPlace
        wpa-psk 06d6f60771f44b0369fb1ed4757cdc8939a2f3db
    auto lo
        iface lo inet loopback
     
     
    then
    ifconfig wlan0
    wlan0     Link encap:Ethernet  HWaddr 00:22:cf:ec:c8:05  
              inet addr:192.168.10.220  Bcast:192.168.10.255  Mask:255.255.255.0
              inet6 addr: fe80::222:cfff:feec:c805/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:340 errors:0 dropped:0 overruns:0 frame:0
              TX packets:281 errors:0 dropped:1 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:42290 (41.2 KiB)  TX bytes:45931 (44.8 KiB)
     
     
    splendid!   orange pi PC can fly in the sky .
    i heartly thanks for rodolfo .
  24. Like
    rodolfo got a reaction from Marc Draco in Orange Pi One - adding USB, analog audio out, TV out, mic and IR receiver   
    Instead of participating in a soldering contest I looked at the OrangePiOne board and found two fully functioning USB ports ( regular and microUSB dubbed OTG ) ready to be used. Two fast connections or one fast and several slower ones via external hub for testing are usually plenty. If you need more - the solution is called OrangePiPc.
     
    Please let us know who won the soldering competition and post some pictures of successfully added DIY USB host ports before hotgluing the mess to a repurposed old X86 PC with spare USB ports
  25. Like
    rodolfo reacted to Igor in Please to add new version Armbian   
    1.) I think this should work. Need to check.
    2.) we tend to provide basic and clean image so this will remain up to user decision. Not everyone needs samba.