Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

New release: Geekbox_Lubuntu_V160309 (WIFI Hot-spot supported)

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

    New release: Geekbox_Lubuntu_V160309 (WIFI Hot-spot supported)

    Changelog:
    1. Add the WIFI Hot-Spot support
    2. Fix the login out issue(lightdm)
    3. Modify the default wireless device name from 'wlan1' to 'wlan0'

    Username: geekbox
    Password: geekbox

    Firmware:
    http://www.mediafire.com/download/sl...ntu_V160309.7z

    Guidance to setup WIFI hotspot:


    Guidance to flash the firmware:
    Windows PC:http://forum.geekbox.tv/viewtopic.php?f=2&t=26
    Linux PC: http://forum.geekbox.tv/viewtopic.php?f=2&t=41

    Building log for reference:
    Code:
    gouwa@gouwa:~/project/geekbox/ubuntu$ cp -a utils/rockdev/output/Image/rootfs.img images/rootfs.img
    gouwa@gouwa:~/project/geekbox/ubuntu$ rm -rf rootfs && install -d rootfs
    gouwa@gouwa:~/project/geekbox/ubuntu$ sudo mount -o loop images/rootfs.img rootfs
    [sudo] password for gouwa:
    gouwa@gouwa:~/project/geekbox/ubuntu$ ls rootfs/
    bin   dev  home  media  opt   root  sbin  sys     tmp  var
    boot  etc  lib   mnt    proc  run   srv   system  usr
    gouwa@gouwa:~/project/geekbox/ubuntu$ sudo cp -a archives/hotspot/nm-connection-editor rootfs/usr/bin/nm-connection-editor
    gouwa@gouwa:~/project/geekbox/ubuntu$ sudo cp -a archives/hotspot/hotspot.conf rootfs/etc/init
    gouwa@gouwa:~/project/geekbox/ubuntu$ sudo cp -a archives/hotspot/ce-page-wifi.ui rootfs/usr/share/nm-applet/ce-page-wifi.ui
    gouwa@gouwa:~/project/geekbox/ubuntu$ sudo modprobe binfmt_misc
    gouwa@gouwa:~/project/geekbox/ubuntu$ sudo mount -t devpts devpts rootfs/dev/pts
    gouwa@gouwa:~/project/geekbox/ubuntu$ sudo mount -t devpts devpts rootfs/proc
    gouwa@gouwa:~/project/geekbox/ubuntu$ sudo chroot rootfs/
    root@gouwa:/#
    root@gouwa:/# apt-get install iptables
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    The following extra packages will be installed:
      libxtables10
    The following NEW packages will be installed:
      iptables libxtables10
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 257 kB of archives.
    After this operation, 1,273 kB of additional disk space will be used.
    Do you want to continue? [Y/n]
    Get:1 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libxtables10 armhf 1.4.21-1ubuntu1 [24.4 kB]
    Get:2 http://ports.ubuntu.com/ubuntu-ports/ trusty/main iptables armhf 1.4.21-1ubuntu1 [233 kB]
    Fetched 257 kB in 6s (42.8 kB/s)                                              
    Selecting previously unselected package libxtables10.
    (Reading database ... 49994 files and directories currently installed.)
    Preparing to unpack .../libxtables10_1.4.21-1ubuntu1_armhf.deb ...
    Unpacking libxtables10 (1.4.21-1ubuntu1) ...
    Selecting previously unselected package iptables.
    Preparing to unpack .../iptables_1.4.21-1ubuntu1_armhf.deb ...
    Unpacking iptables (1.4.21-1ubuntu1) ...
    Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
    /usr/bin/mandb: can't write to /var/cache/man/30854: No space left on device
    Setting up libxtables10 (1.4.21-1ubuntu1) ...
    Setting up iptables (1.4.21-1ubuntu1) ...
    Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
    E: IO Error to output - fwrite (28: No space left on device)
    E: IO Error to output - fwrite (28: No space left on device)
    E: IO Error to output - fwrite (28: No space left on device)
    root@gouwa:/# ls /var/
    backups/ lib/     lock/    mail/    run/     tmp/    
    cache/   local/   log/     opt/     spool/  
    root@gouwa:/# ls /var/lo
    local/ lock/  log/  
    root@gouwa:/# ls /var/lo
    local/ lock/  log/  
    root@gouwa:/# ls /var/log/
    alternatives.log  ConsoleKit/       fontconfig.log    upstart/
    apt/              dmesg             fsck/             wtmp
    bootstrap.log     dpkg.log          lastlog          
    btmp              faillog           lightdm/          
    root@gouwa:/# du -m /var/log/
    1    /var/log/lightdm
    1    /var/log/ConsoleKit
    1    /var/log/fsck
    1    /var/log/apt
    1    /var/log/upstart
    1    /var/log/
    root@gouwa:/# rm /var/log/
    alternatives.log  ConsoleKit/       fontconfig.log    upstart/
    apt/              dmesg             fsck/             wtmp
    bootstrap.log     dpkg.log          lastlog          
    btmp              faillog           lightdm/          
    root@gouwa:/# rm /var/log/apt/
    history.log  term.log    
    root@gouwa:/# rm /var/log/apt/*
    root@gouwa:/# rm /var/log/faillog
    root@gouwa:/# rm /var/log/lastlog
    root@gouwa:/# apt-get install iptables
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    iptables is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@gouwa:/# apt-get install iptables
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    iptables is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@gouwa:/# vi /etc/udev/rules.d/70-persistent-net.rules
    root@gouwa:/# mkdir /var/lib/lightdm
    root@gouwa:/# chown -R lightdm:lightdm /var/lib/lightdm
    root@gouwa:/# chmod 0750 /var/lib/lightdm
    root@gouwa:/# cp /usr/share/lubuntu/wallpapers/lubuntu-default-wallpaper.jpg /usr/share/lubuntu/wallpapers/lubuntu-default-wallpaper.png
    root@gouwa:/# exit
    exit
    gouwa@gouwa:~/project/geekbox/ubuntu$ sync
    gouwa@gouwa:~/project/geekbox/ubuntu$ sudo umount rootfs/proc
    gouwa@gouwa:~/project/geekbox/ubuntu$ sudo umount rootfs/dev/pts
    gouwa@gouwa:~/project/geekbox/ubuntu$ sudo umount rootfs
    gouwa@gouwa:~/project/geekbox/ubuntu$ upgrade_tool di linuxroot images/rootfs.img && upgrade_tool rd
    Download linuxroot start...
    Download image ok.
    Reset Device OK.
    gouwa@gouwa:~/project/geekbox/ubuntu$
Working...
X