Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Linux for RK3188 based TV boxes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    type dhclient eth1 to set address for eth1 or
    edit /etc/network/interfaces and add 2 lines:
    auto eth1
    iface eth1 inet dhcp

    and then restart
    About wifi - how do you know it is not working? You need iw and wpasupplicant packages in order to make it work, so after connecting to lan, type apt-get update, apt-get install iw, wpasupplicant
    then type iwconfig and see if you have wlan0 card listed.
    Last edited by mmm123; 09-03-2013, 14:42.

    Comment


      #32
      Originally posted by mmm123 View Post
      type dhclient eth1 to set address for eth1 or
      edit /etc/network/interfaces and add 2 lines:
      auto eth1
      iface eth1 inet dhcp

      and then restart
      About wifi - how do you know it is not working? You need iw and wpasupplicant packages in order to make it work, so after connecting to lan, type apt-get update, apt-get install iw, wpasupplicant
      then type iwconfig and see if you have wlan0 card listed.
      My USB-LAN adapter works now. Thank you.

      Wlan0 is available. Does it mean the rtl8188eu module is properly loaded ?
      I may need to configure wlan0. I will let you know.
      Last edited by aruangra; 09-03-2013, 15:15.

      Comment


        #33
        I got this error
        Code:
        root@rk3188:~# iw list
        nl80211 not found.
        This is what I get from iwconfig
        Code:
        root@rk3188:~# iwconfig
        lo        no wireless extensions.
        
        eth0      no wireless extensions.
        
        sit0      no wireless extensions.
        
        ip6tnl0   no wireless extensions.
        
        wlan0     unassociated  Nickname:"<WIFI@REALTEK>"
                  Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated
                  Sensitivity:0/0
                  Retry:off   RTS thr:off   Fragment thr:off
                  Encryption key:off
                  Power Management:off
                  Link Quality=0/100  Signal level=0 dBm  Noise level=0 dBm
                  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
                  Tx excessive retries:0  Invalid misc:0   Missed beacon:0
        
        eth1      no wireless extensions.


        I am not sure if my wifi module is loaded properly or not.

        Comment


          #34
          it is, type:
          iwlist scanning
          or run
          modprobe mac80211
          and then use iw

          Comment


            #35
            It seems to work (see below). I plan to set the MK802iv as an access point which needs nl80211. This is the output. Do you have any advice? Thanks.

            Code:
            nano /etc/hostapd/hostapd.conf
            ************************************
            interface=wlan0
            driver=nl80211
            ssid=MK802IV
            channel=3
            hw_mode=g
            macaddr_acl=0
            ignore_broadcast_ssid=0
            auth_algs=1
            wep_default_key=0
            wep_key0="abcdeabcde123"
            ************************************
            
            root@rk3188:~# service hostapd restart
            [ ok ] Stopping advanced IEEE 802.11 management: hostapd.
            [FAIL] Starting advanced IEEE 802.11 management: hostapd failed!


            Code:
            root@rk3188:~# iwlist scanning
            lo        Interface doesn't support scanning.
            
            eth0      Interface doesn't support scanning.
            
            sit0      Interface doesn't support scanning.
            
            ip6tnl0   Interface doesn't support scanning.
            
            wlan0     Scan completed :
                      Cell 01 - Address: 50:3D:E5:31:1E:CF
                                ESSID:"abc"
                                Protocol:IEEE 802.11bgn
                                Mode:Master
                                Frequency:2.422 GHz (Channel 3)
                                Encryption key:on
                                Bit Rates:144 Mb/s
                                Extra:rsn_ie=30140100000fac040100000fac040100000fac020100
                                IE: IEEE 802.11i/WPA2 Version 1
                                    Group Cipher : CCMP
                                    Pairwise Ciphers (1) : CCMP
                                    Authentication Suites (1) : PSK
                                   Preauthentication Supported
                                IE: Unknown: DDA10050F204104A0001101044000102103B0001031047001000000000000010000000503DE5311ECF10210014436973636F20536D616C6C20427573696E65737310230008574150343431304E10240007322E302E342E321042000C3132333435363738393031321054000800060050F204000110110008574150343431304E100800020086103C000103104900140024E26002000101600000020001600100020001
                                Quality=64/100  Signal level=-67 dBm
                      Cell 02 - Address: 00:90:D0:F6:06:A8
                                ESSID:"SpeedTouch7DEC42"
                                Protocol:IEEE 802.11bg
                                Mode:Master
                                Frequency:2.412 GHz (Channel 1)
                                Encryption key:off
                                Bit Rates:54 Mb/s
                                Quality=0/100  Signal level=-82 dBm
            
            eth1      Interface doesn't support scanning.

            Comment


              #36

              ???

              Comment


                #37
                I fixed USB boot and other things, now I am testing it and will post new images soon

                Comment


                  #38
                  Originally posted by mmm123 View Post
                  I fixed USB boot and other things, now I am testing it and will post new images soon
                  Is it possible to include the wireless tools and the wpasupplicant in the build so that those with only wifi networks can have a decent chance of getting the their cards online?

                  Comment


                    #39
                    Originally posted by mmm123 View Post
                    I fixed USB boot and other things, now I am testing it and will post new images soon
                    Could you please also add the FTDI usb serial module (ftdi_sio) ?And any hope on making hostapd work ? Thank you.

                    Comment


                      #40
                      Version 1.1.0 updated on forst post

                      I posted new version, with some fixes
                      - Some cleanups in kernel
                      - booting from USB should work now
                      - Debian has wireless-tools and wpasupplicant installed
                      - Added ubuntu as install to nand option. It is still not working perfectly, but i hope some ubuntu experts will help to fix it.

                      Recovery image is not working, I am still researching why. If someone has expierence with recovery images, please help. For now i can say, that it is not working same way as on 3066 devices.

                      Comment


                        #41
                        Just posted recovery image

                        Comment


                          #42
                          mmm123
                          Off in the kernel configuration .config (paranoid android), or will not work online.

                          Comment


                            #43
                            Originally posted by mmm123 View Post
                            I posted new version, with some fixes
                            - Some cleanups in kernel
                            - booting from USB should work now
                            - Debian has wireless-tools and wpasupplicant installed
                            - Added ubuntu as install to nand option. It is still not working perfectly, but i hope some ubuntu experts will help to fix it.

                            Recovery image is not working, I am still researching why. If someone has expierence with recovery images, please help. For now i can say, that it is not working same way as on 3066 devices.
                            What is the problem you found to make the recovery? If I can help only tell me.
                            REMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.
                            My devices:
                            Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
                            MK902 & MK902II(Sponsored by RKM)
                            Beelink M8B & Beelink R89 (Sponsored by Beelink)
                            Tronsmart VEGA S89H (Sponsored by
                            Gearbest.com)
                            MELE-PCG03 (Sponsored by Gearbest.com) Discount Coupon:MPCG03
                            Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
                            Thanks to them I can try to support your devices http://freaktab.com/core/images/smilies/wink.png

                            Comment


                              #44
                              Recovery is working now. Problem was, that kernel command line should be build into the kernel, not into recovery image, also kernel had to be uncompressed, compressed kernel didn't work.

                              Comment


                                #45
                                Originally posted by mmm123 View Post
                                I posted new version, with some fixes
                                - Some cleanups in kernel
                                - booting from USB should work now
                                - Debian has wireless-tools and wpasupplicant installed
                                - Added ubuntu as install to nand option. It is still not working perfectly, but i hope some ubuntu experts will help to fix it.

                                Recovery image is not working, I am still researching why. If someone has expierence with recovery images, please help. For now i can say, that it is not working same way as on 3066 devices.
                                Nice one.... Thanks for the hard work

                                Comment

                                Working...
                                X