Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Linux XBMC for square box (beta) - Gotham 13.1

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

    Originally posted by stane1983 View Post
    There is test release of beelink mxiii 1gb box which supports realtek 8188 and ap6181 but needs to change permission of init.d file via ssh when on ethernet:

    chmod +x /etc/init.d/S60wifi


    Sent from my iPhone using Tapatalk
    Thanks for the reply Stane

    I saw this a while ago and i did install it just to see if it works.
    It boots fine but NO network whatsoever.
    Wifi is not detected, and as you point out, no ethernet also, so no SSH possible.

    Is there a way to drop in to a terminal and issue the commands locally? I would be happy with ethernet only...

    Comment


      I attempted to reflash this firmware on my EM8 box and it got stuck about half way through the Android bootloader screen. I was using the reset button at power up method. I waited ~15 minutes and it never moved so I restarted the process and the same thing happened.

      Now when I reboot without the SD card in or try to flash any other firmware, I see the manufacturers screen and then nothing else. About 10 seconds in it just (reboots?) and says I don't have any HDMI signal.

      Is there something I did wrong, or how can I revert back to original firmware?

      Comment


        Just installing this after CodeSnakes Openelec Build, I was having quite a few issues that couldn't be reproduced by anyone and therefore could not be ironed out

        Fingers crossed this will run better.

        Any chance of a Helix build now that has reached RC1?

        Comment


          Originally posted by doubleorseven View Post
          SSH into the box [root:letmein]


          Edit /etc/network/interfaces


          If you are using a cable just change:
          iface eth0 inet dhcp
          To:
          iface eth0 inet static


          If you want to use your wifi add this line at the end of the file:
          iface wlan0 inet static


          Under the interface you choose to use enter this:
          address 192.168.2.200
          network 192.168.2.0
          netmask 255.255.255.0
          broadcast 192.168.2.255
          gateway 192.168.2.1


          Of course this is the setup i copied from my interface file so you should change it according to your network.


          Next edit /etc/resolv.conf
          and add this text to it:
          nameserver 192.168.2.1


          Again i added my router you need to change it according to your network.




          The problem with the DNS settings is that it won't hold a reboot.
          Usually you have a skeleton for the resolve file but there is none in this build and creating one didn't helped me.
          What i did was to add this line to /etc/init.d/xbmc:


          echo -e "nameserver 192.168.2.1\n nameserver 8.8.8.8" > /etc/resolv.conf


          Now when the xbmc script runs when the box boots it writes the nameservers to the file.
          You will need to do it over again if you choose to reinstall this custom OS.
          Enjoy.
          This isn't working for me, and I have a real problem as I have 2 boxes running this build and for some reason they are choosing the same IP Address, which is causing networking trouble.

          Comment


            Have you tried giving each box a static ip address?
            M8N Quad Core Android 4.4
            JustMe v1.5 ported v2

            Comment


              Originally posted by elgrego View Post
              Have you tried giving each box a static ip address?
              I have tried following the advice in the quote, but it hasn't worked for me.

              Do you have any idea how I might go about making the static IP addresses?

              I followed this guide http://www.xappsoftware.com/wordpres...ldroot-target/ and edited my /etc/network/interfaces file looks like this, but it has no effect.

              Code:
              # Configure Loopbackauto lo
              iface lo inet loopback
              
              
              # Configure eth0 with static IP
              auto eth0
              iface eth0 inet static
                      address 192.168.1.200
                      network 192.168.1.0
                      netmask 255.255.255.0
              
              
              
              
              
              
              # Configure eth0 with dhcp IP
              # auto eth0
              # iface eth0 inet dhcp

              Comment


                I would need to be in front of box to remember and i'm not home until tomorrow. I'm sure if you go into the settings there will be an option or someone on here could tell you but I use static ips for my android box, ps3 and pc, just to keep it all organised.
                M8N Quad Core Android 4.4
                JustMe v1.5 ported v2

                Comment


                  Originally posted by elgrego View Post
                  I would need to be in front of box to remember and i'm not home until tomorrow. I'm sure if you go into the settings there will be an option or someone on here could tell you but I use static ips for my android box, ps3 and pc, just to keep it all organised.
                  There are no settings within this XBMC Linux build to change the IP Address (there is in the Openelec builds, but they have other issues for me).

                  Hope someone can help, it's really doing my head in.


                  *EDIT* Does anyone else use more than one of these boxes on the same network and suffer the same problem. Also, does this Linux build spoof the MAC Address to be 00:15:18:01:81:31 as that is what all 3 of my boxes are displaying within the System Info.
                  Last edited by Tyler Durden; 03 December 2014, 16:15.

                  Comment


                    Originally posted by Tyler Durden View Post
                    I have tried following the advice in the quote, but it hasn't worked for me.

                    Do you have any idea how I might go about making the static IP addresses?

                    I followed this guide http://www.xappsoftware.com/wordpres...ldroot-target/ and edited my /etc/network/interfaces file looks like this, but it has no effect.

                    Code:
                    # Configure Loopbackauto lo
                    iface lo inet loopback
                    
                    
                    # Configure eth0 with static IP
                    auto eth0
                    iface eth0 inet static
                            address 192.168.1.200
                            network 192.168.1.0
                            netmask 255.255.255.0
                    
                    
                    
                    
                    
                    
                    # Configure eth0 with dhcp IP
                    # auto eth0
                    # iface eth0 inet dhcp
                    I'm not sure if it really works if you change the 'interfaces' because normally this file will be generated by the system, but you can handle it via ifconfig http://www.computerhope.com/unix/uifconfi.htm also the mac http://en.wikibooks.org/wiki/Changin..._Address/Linux...
                    If I'm not wrong this linux also handles init.d so you could write a script to hanlde all these things/settings at start-up...
                    RK3288 Devices
                    - Overview BOX (LINK !)
                    - Overview STICK (Dongle) (LINK !)

                    MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
                    UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
                    Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
                    Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

                    RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
                    Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

                    Comment


                      That's great help, thanks.

                      I have SSH'd in and used

                      Code:
                      ifconfig eth0 192.168.1.200
                      to set the IP Address, but I am lost when it comes to writting a script that makes this happen on start up.

                      Is it something I add to an autostart.sh, or can I add it to advancedsettings.xml?

                      Thanks again.

                      Comment


                        Ok, init.d is present at this version http://www.stane1983.com/amlinux/#comment-295
                        If you look at the /etc/init.d/S60wifi you see the first line, which is a MUST to have, the rest is up to you, also the file gets no extension like .sh and so on...
                        You have to edit it with a linux-compatible editor like notepad++
                        RK3288 Devices
                        - Overview BOX (LINK !)
                        - Overview STICK (Dongle) (LINK !)

                        MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
                        UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
                        Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
                        Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

                        RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
                        Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

                        Comment


                          I'm very sorry, but I don't know what you mean.

                          This is the content of my S60wifi,

                          #! /bin/sh#


                          kernel_version=`uname -r`
                          wifi_type=`cat /etc/bcm_wifi`
                          lib_path="/lib/modules/$kernel_version/kernel/drivers/amlogic/wifi"
                          echo "wifi_type=$wifi_type"
                          echo "lib_path=$lib_path"


                          case "$1" in
                          start)
                          echo "Starting wifi..."
                          case "$wifi_type" in
                          bcm40181)
                          /sbin/insmod $lib_path/broadcom/broadcm_40181/dhd.ko "firmware_path=/etc/wifi/40181/fw_bcm40181a2.bin nvram_path=/etc/wifi/40181/nvram.txt"
                          ;;
                          bcm40183)
                          /sbin/insmod $lib_path/broadcom/broadcm_40181/dhd.ko "firmware_path=/etc/wifi/40183/fw_bcm40183b2.bin nvram_path=/etc/wifi/40183/nvram.txt"
                          ;;
                          bcm4330)
                          /sbin/insmod $lib_path/broadcom/broadcm_40181/dhd.ko "firmware_path=/etc/wifi/4330/fw_bcm40183b2.bin nvram_path=/etc/wifi/4330/nvram.txt"
                          ;;
                          ap6210)
                          /sbin/insmod $lib_path/broadcom/broadcm_40181/dhd.ko "firmware_path=/etc/wifi/ap6210/fw_bcm40181b2.bin nvram_path=/etc/wifi/ap6210/nvram_ap6210.txt"
                          ;;
                          ap6181)
                          /sbin/insmod $lib_path/broadcom/broadcm_40181/dhd.ko "firmware_path=/etc/wifi/ap6181/fw_bcm40181b2.bin nvram_path=/etc/wifi/ap6181/nvram_ap6181.txt"
                          ;;
                          ap6330)
                          /sbin/insmod $lib_path/broadcom/broadcm_40181/dhd.ko "firmware_path=/etc/wifi/ap6330/fw_bcm40183b2.bin nvram_path=/etc/wifi/ap6330/nvram_ap6330.txt"

                          Do I need to alter this? Or do I make another file?

                          What I want to achieve is set the IP Address of the ethernet connection (eth0) to 192.168.1.200 when the device boots up.

                          Here is the output of my ifconfig after a reboot:


                          eth0 Link encap:Ethernet HWaddr 00:15:18:01:81:31
                          inet addr:192.168.1.122 Bcast:192.168.1.255 Mask:255.255.255.0
                          inet6 addr: fe80::215:18ff:fe01:8131/64 Scope:Link
                          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
                          RX packets:8660 errors:0 dropped:0 overruns:0 frame:0
                          TX packets:5720 errors:0 dropped:0 overruns:0 carrier:0
                          collisions:0 txqueuelen:1000
                          RX bytes:11316448 (10.7 MiB) TX bytes:629744 (614.9 KiB)
                          Interrupt:40


                          lo Link encap:Local Loopback
                          inet addr:127.0.0.1 Mask:255.0.0.0
                          inet6 addr: ::1/128 Scope:Host
                          UP LOOPBACK RUNNING MTU:65536 Metric:1
                          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
                          collisions:0 txqueuelen:0
                          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


                          wlan0 Link encap:Ethernet HWaddr 00:90:4C:11:22:33
                          inet6 addr: fe80::6efa:a7ff:fe9a:5267/64 Scope:Link
                          UP BROADCAST MULTICAST MTU:1500 Metric:1
                          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
                          collisions:0 txqueuelen:1000
                          RX bytes:0 (0.0 B) TX bytes:364 (364.0 B)

                          Thanks in advance.
                          Last edited by Tyler Durden; 03 December 2014, 20:33.

                          Comment


                            Originally posted by stane1983 View Post
                            Hi,

                            no, that's bug linux have. Mac is hardcoded for now, so if you can, set one box to use wifi.
                            I believe this is my problem.

                            Wifi is not an option for me, so is there anyway to change this hardcoded MAC?

                            Comment


                              I only talk about that init.d is supported, that you have to make the file executable (chmod...) and that it have no extension...
                              I also talk about the first line at the script-file which is a must to have and seems to have to look like
                              Code:
                              #! /bin/sh#
                              :
                              of cause a new file....

                              Originally posted by Tyler Durden View Post
                              I believe this is my problem.

                              Wifi is not an option for me, so is there anyway to change this hardcoded MAC?
                              Maybe ?
                              RK3288 Devices
                              - Overview BOX (LINK !)
                              - Overview STICK (Dongle) (LINK !)

                              MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
                              UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
                              Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
                              Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

                              RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
                              Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

                              Comment


                                Originally posted by no_spam_for_me View Post
                                I only talk about that init.d is supported, that you have to make the file executable (chmod...) and that it have no extension...
                                I also talk about the first line at the script-file which is a must to have and seems to have to look like
                                Code:
                                #! /bin/sh#
                                :
                                of cause a new file....


                                Maybe ?

                                I'm out.

                                Comment

                                Working...
                                X