Raspberry Pi - $35 Linux computer

Associate
Joined
10 Dec 2007
Posts
1,943
Location
SE
I'm using NextCloud from the guide here and it's working really well. I've got an external 500Gb laptop drive in a cradle fixed with blu-tac under a Pi3. It just sits against the wall at the back of my desk, working well. How are you backing up photos from your iPhone to the OwnCloud? That sounds like a good thing to see if I can do with the NextCloud.

There is an Owncloud app on the app store for both iphone and android which connects to the same wifi network and you can upload selected photos and tell it to upload as soon as the picture is taken. It works well.

It's taken me a while to set up the external hard drive but I've got it done now so it working nicely :).
 
Soldato
Joined
5 Jul 2003
Posts
2,769
Location
Cheshire
Well it's done, Pi Zero W with a relay.

GgU4Ots.jpeg

The power to the router goes through the relay, I just broke into the power cable.

It boots and checks the internet connection every ten seconds, if all is good, the green LED flashes briefly. If it fails to get a response within two minutes, it triggers the relay for ten seconds which drops power to the router. It then sleeps for four minutes to allow the router to restart and reconnect to the internet and then starts checking again.

The relay isn't energised normally, the connection the router goes through is normally closed so I can restart the Pi without causing the router to drop out.

I'm very happy with this. This is the first time I've done anything with the GPIO and although I found some simple Python code to check the internet, I've tweaked the whole thing to work as I want, including the LED flash each time the check is successful.

I did have a problem where the relay would trigger on reboot and it took me a while to work out what was actually happening. The Pi was booting and starting my Python routine before the WiFi had a chance to connect and so it was seeing what it thought was an internet drop and going into the reboot routine. A simple sleep command in the appropriate crontab entry to just wait fifteen seconds before starting was a nice straightforward fix.

In my mind, this is what the Pi is all about, thinking of something it can do and then finding a way to do it. This only occurred to me on Wednesday afternoon and now, three days later, I've done it!

I like that, I like that a lot.

My router occasionally throws it's toys out of the pram and won't reconnect, some times it's the wireless network that falls over (two teenage boys, poor wireless gets hammered) other times it's the wan connection. Would you be kind enough to post your code up for a look see? I'm thinking about building it into the pi I already use for pivpn and pihole (still working flawlessly too :) ), that's connected to the wired network but I could add a wireless dongle and then ping over wired and wireless to keep an eye on both....
 
Commissario
Joined
16 Oct 2002
Posts
2,807
Location
In the radio shack
No problem. I found the base code online and tweaked it a bit. I know it's really simple stuff but it's the first time I've done anything with Python so I'm quite proud of what I've done.

check.py
Code:
import urllib2
import RPi.GPIO as GPIO
import time

RELAY = 21 #RELAY PIN, physical pin 40
ALIVE = 20 #LED PIN to flash LED on live internet, physical pin 38
CHECK_EVERY = 10 #Seconds

GPIO.setmode(GPIO.BCM)
GPIO.setup(RELAY, GPIO.OUT)
GPIO.setup(ALIVE, GPIO.OUT)

# Force both outputs low
GPIO.output(RELAY, GPIO.LOW)
GPIO.output(ALIVE, GPIO.LOW)

def flash_ok():
    GPIO.output(ALIVE, GPIO.HIGH)
        time.sleep(0.2)
        GPIO.output(ALIVE, GPIO.LOW)


def internet_on():
    try:
        response=urllib2.urlopen('https://www.google.de', timeout=240)
        print "Internet OK"
          flash_ok()
        return True
    except urllib2.URLError as err: pass
    print "Internet ERROR"
    return False

def reboot_router():
    print "Rebooting Router"
    GPIO.output(RELAY, GPIO.HIGH)
    time.sleep(10) #Energise relay for ten seconds
    GPIO.output(RELAY, GPIO.LOW)
    time.sleep(240) #Wait for four minutes for router to reboot

while True:
    if not internet_on():
        reboot_router()
    time.sleep(CHECK_EVERY)

GPIO.cleanup()



watchdog.sh
Code:
#!/bin/sh
# watchdog.sh
# Changes into watchdog directory and runs the python script
cd ~/watchdog
sudo python check.py &

In crontab:
Code:
@reboot sleep 30 && sh /home/pi/watchdog/watchdog.sh > /home/pi/watchdog/logs/cronlog 2>&1

The two files sit in ~/watchdog and in there I've also created a logs directory.

The code itself should be fairly self explanatory. Don't forget to chmod +x them both.

I can hear you saying "why is he using google.de to check?"

Well I run Pi-hole. I don't want the URL I'm checking to be in the Top Domains list on the admin page so I simply picked a site which should always be there and added it to the Pi-hole settings so that it won't appear on the list. You could choose anything really.
 
Soldato
Joined
6 Mar 2008
Posts
10,078
Location
Stoke area
Whats the best way of remotely controlling a Pi from a window machine?

Pi1 - raspbian and pihole (both up to date) currently running, accessing over network via a windows 10 pc.

I've done it before but it created an instance on my machine and didn't change anything on the actual Pi. Someone suggested another way of doing it but I can't remember what it was.
 
Associate
Joined
10 Dec 2007
Posts
1,943
Location
SE
Whats the best way of remotely controlling a Pi from a window machine?

Pi1 - raspbian and pihole (both up to date) currently running, accessing over network via a windows 10 pc.

I've done it before but it created an instance on my machine and didn't change anything on the actual Pi. Someone suggested another way of doing it but I can't remember what it was.

If I'm not using putty and I want to use a GUI then I use RealVNC (https://www.realvnc.com/raspberrypi/). If I can set it up then you shouldn't have any problems :).
 

maj

maj

Soldato
Joined
19 Jul 2010
Posts
2,600
Location
Durham
Wasn't sure whether to post this in this thread of the official Kodi one.

Has anyone tried the Edimax EW-7811UTC AC600 with LibrELEC? I'm hopefully getting whole network wired on Monday so for now I'm still stuck with wifi. Libre detected it straight away (or at least it detected my wifi SSID) so I connected to the 5ghz channel I have however having run a speedtest I'm getting like 10Mbps. I am using a VPN and have both desktop PC and Pi connected to same VPN yet my PC upstairs get's my estimated broadband speed (50/10) which makes me think it's a problem with the device or the driver. The router is in the hallway which leads to living room where my Pi is but in Libre the signal strength is only 50%.

Not too clued up on my Linux commands but two I'm familar with are lsusb:

Code:
Bus 001 Device 004: ID 7392:a812 Edimax Technology Co., Ltd
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


and dmesg:

Code:
[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.13 (chewitt@buildbox) (gcc version 5.3.0 (GCC) ) #1 SMP Sat Nov 26 09:36:16 GMT 2016
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Raspberry Pi 2 Model B Rev 1.1
[    0.000000] cma: Reserved 8 MiB at 0x2e400000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 192512
[    0.000000] free_area_init_node: node 0, pgdat 809298c0, node_mem_map add64000
[    0.000000]   Normal zone: 1692 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 192512 pages, LIFO batch:31
[    0.000000] [bcm2709_smp_init_cpus] enter (94c0->f3003010)
[    0.000000] [bcm2709_smp_init_cpus] ncores=4
[    0.000000] PERCPU: Embedded 12 pages/cpu @aefaf000 s17292 r8192 d23668 u49152
[    0.000000] pcpu-alloc: s17292 r8192 d23668 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 190820
[    0.000000] Kernel command line: root=/dev/ram0 rdinit=/init BOOT_IMAGE=/kernel.img usbcore.autosuspend=-1 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2709.boardrev=0xa01041 bcm2709.serial=0xd3c61a93 smsc95xx.macaddr=B8:27:EB:C6:1A:93 bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 quiet
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 744208K/770048K available (5459K kernel code, 202K rwdata, 1432K rodata, 2260K init, 396K bss, 17648K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xaf800000 - 0xff800000   (1280 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xaf000000   ( 752 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x806c2ffc   (6892 kB)
[    0.000000]       .init : 0x806c3000 - 0x808f8000   (2260 kB)
[    0.000000]       .data : 0x808f8000 - 0x8092a998   ( 203 kB)
[    0.000000]        .bss : 0x8092d000 - 0x80990054   ( 397 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000010] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000028] Switching to timer-based delay loop, resolution 52ns
[    0.000248] Console: colour dummy device 80x30
[    0.000457] console [tty0] enabled
[    0.000483] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.00 BogoMIPS (lpj=64000)
[    0.000505] pid_max: default: 32768 minimum: 301
[    0.000679] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000697] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001768] Disabling cpuset control group subsystem
[    0.001808] Initializing cgroup subsys io
[    0.001838] Initializing cgroup subsys memory
[    0.001888] Initializing cgroup subsys devices
[    0.001910] Initializing cgroup subsys freezer
[    0.001950] CPU: Testing write buffer coherency: ok
[    0.002551] CPU0: update cpu_capacity 1024
[    0.002570] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.002583] [bcm2709_smp_prepare_cpus] enter
[    0.002673] Setting up static identity map for 0x8280 - 0x82b4
[    0.004893] [bcm2709_boot_secondary] cpu:1 started (0) 17
[    0.005189] [bcm2709_secondary_init] enter cpu:1
[    0.005240] CPU1: update cpu_capacity 1024
[    0.005247] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.005799] [bcm2709_boot_secondary] cpu:2 started (0) 16
[    0.006032] [bcm2709_secondary_init] enter cpu:2
[    0.006060] CPU2: update cpu_capacity 1024
[    0.006067] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.006625] [bcm2709_boot_secondary] cpu:3 started (0) 18
[    0.006836] [bcm2709_secondary_init] enter cpu:3
[    0.006864] CPU3: update cpu_capacity 1024
[    0.006872] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.006956] Brought up 4 CPUs
[    0.006982] SMP: Total of 4 processors activated (153.00 BogoMIPS).
[    0.006991] CPU: All CPU(s) started in HYP mode.
[    0.006999] CPU: Virtualization extensions available.
[    0.007652] devtmpfs: initialized
[    0.019071] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.019317] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.020056] pinctrl core: initialized pinctrl subsystem
[    0.020836] NET: Registered protocol family 16
[    0.026658] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.036793] cpuidle: using governor ladder
[    0.046819] cpuidle: using governor menu
[    0.052351] Serial: AMBA PL011 UART driver
[    0.052633] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[    0.053151] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.106125] bcm2835-dma 3f007000.dma: DMA legacy API manager at f3007000, dmachans=0x1
[    0.106735] SCSI subsystem initialized
[    0.107221] usbcore: registered new interface driver usbfs
[    0.107332] usbcore: registered new interface driver hub
[    0.107455] usbcore: registered new device driver usb
[    0.110553] raspberrypi-firmware soc:firmware: Attached to firmware from 2016-12-03 18:56
[    0.137922] clocksource: Switched to clocksource arch_sys_counter
[    0.149484] NET: Registered protocol family 2
[    0.150429] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.150565] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.150756] TCP: Hash tables configured (established 8192 bind 8192)
[    0.150872] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.150934] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.151335] NET: Registered protocol family 1
[    0.151763] RPC: Registered named UNIX socket transport module.
[    0.151779] RPC: Registered udp transport module.
[    0.151788] RPC: Registered tcp transport module.
[    0.151797] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.323696] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.339690] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.341836] NFS: Registering the id_resolver key type
[    0.341905] Key type id_resolver registered
[    0.341916] Key type id_legacy registered
[    0.341948] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.346375] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.346404] io scheduler noop registered (default)
[    0.346424] io scheduler deadline registered
[    0.346473] io scheduler cfq registered
[    0.349301] BCM2708FB: allocated DMA memory ee800000
[    0.349343] BCM2708FB: allocated DMA channel 0 @ f3007000
[    0.378732] Console: switching to colour frame buffer device 228x61
[    1.354149] bcm2835-rng 3f104000.rng: hwrng registered
[    1.354366] vc-cma: Videocore CMA driver
[    1.354381] vc-cma: vc_cma_base      = 0x00000000
[    1.354391] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.354401] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.354710] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[    1.372095] brd: module loaded
[    1.372295] loop: module loaded
[    1.375355] nbd: registered device at major 43
[    1.385292] vchiq: vchiq_init_state: slot_zero = 0xae880000, is_master = 0
[    1.387172] usbcore: registered new interface driver rtsx_usb
[    1.387197] Loading iSCSI transport class v2.0-870.
[    1.387755] iscsi: registered transport (tcp)
[    1.388219] tun: Universal TUN/TAP device driver, 1.6
[    1.388231] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
[    1.388628] usbcore: registered new interface driver dm9601
[    1.388754] usbcore: registered new interface driver smsc95xx
[    1.388861] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.589161] Core Release: 2.80a
[    1.589181] Setting default values for core params
[    1.589221] Finished setting default values for core params
[    1.789625] Using Buffer DMA mode
[    1.789640] Periodic Transfer Interrupt Enhancement - disabled
[    1.789650] Multiprocessor Interrupt Enhancement - disabled
[    1.789660] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.789689] Dedicated Tx FIFOs mode
[    1.790036] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xae814000 dma = 0xee814000 len=9024
[    1.790076] FIQ FSM acceleration enabled for :
[    1.790076] Non-periodic Split Transactions
[    1.790076] Periodic Split Transactions
[    1.790076] High-Speed Isochronous Endpoints
[    1.790076] Interrupt/Control Split Transaction hack enabled
[    1.790102] dwc_otg: Microframe scheduler enabled
[    1.790202] WARN::hcd_init_fiq:413: FIQ on core 1 at 0x803d4d44
[    1.790219] WARN::hcd_init_fiq:414: FIQ ASM at 0x803d50a8 length 36
[    1.790236] WARN::hcd_init_fiq:439: MPHI regs_base at 0xb0682000
[    1.790316] dwc_otg 3f980000.usb: DWC OTG Controller
[    1.790367] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    1.790412] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[    1.790464] Init: Port Power? op_state=1
[    1.790474] Init: Power Port (0)
[    1.790722] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.790740] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.790755] usb usb1: Product: DWC OTG Controller
[    1.790769] usb usb1: Manufacturer: Linux 4.4.13 dwc_otg_hcd
[    1.790783] usb usb1: SerialNumber: 3f980000.usb
[    1.791608] hub 1-0:1.0: USB hub found
[    1.791667] hub 1-0:1.0: 1 port detected
[    1.792097] dwc_otg: FIQ enabled
[    1.792109] dwc_otg: NAK holdoff enabled
[    1.792118] dwc_otg: FIQ split-transaction FSM enabled
[    1.792154] Module dwc_common_port init
[    1.792422] usbcore: registered new interface driver uas
[    1.792588] usbcore: registered new interface driver usb-storage
[    1.792842] mousedev: PS/2 mouse device common for all mice
[    1.793024] i2c /dev entries driver
[    1.794226] bcm2835-cpufreq: min=600000 max=900000
[    1.796821] sdhci: Secure Digital Host Controller Interface driver
[    1.796829] sdhci: Copyright(c) Pierre Ossman
[    1.797105] sdhost: log_buf @ ae813000 (ee813000)
[    1.861271] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    1.861455] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.861839] ledtrig-cpu: registered to indicate activity on CPUs
[    1.862010] hidraw: raw HID events driver (C) Jiri Kosina
[    1.863955] usbcore: registered new interface driver usbhid
[    1.863963] usbhid: USB HID core driver
[    1.865464] NET: Registered protocol family 10
[    1.881901] NET: Registered protocol family 17
[    1.882012] Key type dns_resolver registered
[    1.882415] Registering SWP/SWPB emulation handler
[    1.883089] vc-sm: Videocore shared memory driver
[    1.883105] [vc_sm_connected_init]: start
[    1.883559] [vc_sm_connected_init]: end - returning 0
[    1.883792] console [netcon0] enabled
[    1.883800] netconsole: network logging started
[    1.883826] of_cfs_init
[    1.883908] of_cfs_init: OK
[    1.887166] Freeing unused kernel memory: 2260K (806c3000 - 808f8000)
[    1.947017] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.950617] mmc0: new high speed SDHC card at address aaaa
[    1.951282] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[    1.960188]  mmcblk0: p1 p2
[    1.991384] Indeed it is in host mode hprt0 = 00021501
[    2.158033] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.158218] Indeed it is in host mode hprt0 = 00001101
[    2.338277] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    2.338302] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.339019] hub 1-1:1.0: USB hub found
[    2.339119] hub 1-1:1.0: 5 ports detected
[    2.608106] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    2.608661] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    2.617955] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.657673] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.711542] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    2.711564] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.714215] smsc95xx v1.0.4
[    2.757278] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:c6:1a:93
[    2.834669] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
[    2.928653] usb 1-1.4: New USB device found, idVendor=7392, idProduct=a812
[    2.928677] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.928687] usb 1-1.4: Product: Edimax AC600 USB
[    2.928696] usb 1-1.4: Manufacturer: Realtek
[    2.928706] usb 1-1.4: SerialNumber: 00e04c000001
[    3.122538] systemd[1]: System time before build time, advancing clock.
[    3.126520] random: systemd urandom read with 66 bits of entropy available
[    3.138876] systemd[1]: systemd 229 running in system mode. (-PAM -AUDIT -SELINUX -IMA -APPARMOR -SMACK -SYSVINIT -UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS -ACL -XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[    3.139422] systemd[1]: Detected architecture arm.
[    3.139963] systemd[1]: Set hostname to <LibreELEC>.
[    3.262934] systemd[1]: Listening on Journal Socket (/dev/log).
[    3.263441] systemd[1]: Listening on udev Control Socket.
[    3.263706] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    3.316820] systemd[1]: Created slice User and Session Slice.
[    3.317212] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    3.317300] systemd[1]: Reached target Paths.
[    3.317501] systemd[1]: Listening on udev Kernel Socket.
[    3.317743] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    3.318046] systemd[1]: Listening on Journal Socket.
[    3.318564] systemd[1]: Created slice System Slice.
[    3.331884] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    3.335448] systemd[1]: Starting Show Version...
[    3.341513] systemd[1]: Starting Load Kernel Modules...
[    3.344694] systemd[1]: Starting Remount Root and Kernel File Systems...
[    3.348316] systemd[1]: Mounting Variable Directory...
[    3.351650] systemd[1]: Mounting Temporary Directory...
[    3.355645] systemd[1]: Starting Setup machine-id...
[    3.359067] systemd[1]: Mounting Debug File System...
[    3.363014] systemd[1]: Mounting POSIX Message Queue File System...
[    3.363249] systemd[1]: Reached target Slices.
[    3.366993] systemd[1]: Starting Mounting swapfile...
[    3.376909] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    3.381382] systemd[1]: Starting Create Static Device Nodes in /dev...
[    3.384901] systemd[1]: Started Load Kernel Modules.
[    3.386492] systemd[1]: Started Remount Root and Kernel File Systems.
[    3.449263] systemd[1]: Mounted POSIX Message Queue File System.
[    3.449761] systemd[1]: Mounted Variable Directory.
[    3.455273] systemd[1]: Mounted Debug File System.
[    3.455751] systemd[1]: Mounted Temporary Directory.
[    3.483635] systemd[1]: Started Show Version.
[    3.485188] systemd[1]: Started Setup machine-id.
[    3.486300] systemd[1]: Started Create Static Device Nodes in /dev.
[    3.621951] systemd[1]: Starting Journal Service...
[    3.625640] systemd[1]: Starting Setup Timezone data...
[    3.626306] systemd[1]: Reached target Local File Systems (Pre).
[    3.632817] systemd[1]: Starting udev Coldplug all Devices...
[    3.633039] systemd[1]: Reached target Local File Systems.
[    3.637354] systemd[1]: Starting Apply Kernel Variables...
[    3.641340] systemd[1]: Mounting Configuration File System...
[    3.676392] systemd[1]: Started Apply Kernel Variables.
[    3.678333] systemd[1]: Started Setup Timezone data.
[    3.679334] systemd[1]: Mounted Configuration File System.
[    3.731485] systemd[1]: Started Journal Service.
[    3.972170] systemd-journald[192]: Received request to flush runtime journal from PID 1
[    4.421590] random: nonblocking pool is initialized
[    5.480534] Console: switching to colour dummy device 80x30
[    5.579963] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[    5.602439] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    5.695711] cfg80211: World regulatory domain updated:
[    5.695753] cfg80211:  DFS Master region: unset
[    5.695766] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    5.695787] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    5.695807] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    5.695820] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    5.695835] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    5.695848] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    5.695866] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    5.695877] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    5.695887] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[    6.175795] RTL871X: module init start
[    6.175819] RTL871X: rtl8821au v4.3.20_14803.20150724_beta
[    6.175827] RTL871X: build time: Nov 26 2016 09:38:32
[    6.345602] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=74:da:38:b9:17:56
[    6.347127] usbcore: registered new interface driver rtl8821au
[    6.347141] RTL871X: module init ret=0
[    6.479836] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[    6.480039] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    6.997690] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    7.338677] RTL871X: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
[    7.779598] RTL871X: start auth
[    7.781875] RTL871X: auth success, start assoc
[    7.784034] RTL871X: rtw_cfg80211_indicate_connect(wlan0) BSS not found !!
[    7.784072] RTL871X: assoc success
[    7.784270] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[    7.785637] cfg80211: Regulatory domain changed to country: GB
[    7.785656] cfg80211:  DFS Master region: ETSI
[    7.785664] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    7.785675] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    7.785688] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    7.785700] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    7.785710] cfg80211:   (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
[    7.785720] cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[    7.786803] RTL871X: recv eapol packet
[    7.789718] RTL871X: send eapol packet
[    7.794511] RTL871X: recv eapol packet
[    7.795213] RTL871X: send eapol packet
[    7.805594] RTL871X: set pairwise key camid:4, addr:88:a6:c6:3c:21:db, kid:0, type:AES
[    7.807535] RTL871X: set group key camid:5, addr:88:a6:c6:3c:21:db, kid:2, type:AES
[ 6276.807059] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup

This is one of the supported wifi dongles on the Pi wiki page.
 
Associate
Joined
24 Mar 2012
Posts
1,736
Location
Im In Me Mums Car
Considering purchasing a pi3. Can someone clarify something for me though as I'm struggling to understand the concept of these devices.

Can I have one pi that runs:
- kodi
- retropie
- pokemmo app


Do these applications work on top of an already existing OS that you install, or are they essentially their own OS? I'd like to be able to use it like a regular computer and just boot up whichever app is required at the time, kodi, retropie etc..
 
Soldato
Joined
8 Jun 2005
Posts
5,193
They are usually installed on an SD card and boot straight in to kodi etc. I would buy 3 SD cards personally, but there may be a different way :)
 
Back
Top Bottom