Forum

Full Version: beta2 ongoing development
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13
Updating now, will let you know how it goes.

Note that /home/xbian/.xbmc/userdata/keymaps is empty by default, it should at least contain remote.xml as this is the global keymap file (the file used to manipulate key mappings).
Ok - Now on 00017. NTP, XBMC and KB are working.
However, Network is not. dmesg shows xbian-bridge processes terminated. Could that be why?
mk01

While updating xbian-package-lirc apt indeed keeps my changed file, thanks for fixing the problem.
(14th Aug, 2013 05:07 AM)IriDium Wrote: [ -> ]Ok - Now on 00017. NTP, XBMC and KB are working.
However, Network is not. dmesg shows xbian-bridge processes terminated. Could that be why?

nope. what means network is not working? if network doesn't work, ntp shouldn't as well.

you don't get ip address? you use wlan or eth ? how your /etc/network/interfaces looks like ?
(14th Aug, 2013 05:56 AM)mk01 Wrote: [ -> ]
(14th Aug, 2013 05:07 AM)IriDium Wrote: [ -> ]Ok - Now on 00017. NTP, XBMC and KB are working.
However, Network is not. dmesg shows xbian-bridge processes terminated. Could that be why?

nope. what means network is not working? if network doesn't work, ntp shouldn't as well.

you don't get ip address? you use wlan or eth ? how your /etc/network/interfaces looks like ?
I mean NTP is running but cannot access the time.
dmesg shows eth0 is active.
ping 192.168.0.2 connect Network is unreachable.
The network worked on 00015 but not since the xbian-update reinstall.

/etc/network/interfaces:ifconfih

Code:
auto eth0
auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
wireless-power off
iface default inet dhcp

I've tried ifconfig eth0 up -> dmesg shows eth0 up.
So cannot ssh. update nor upgrade.
I've tried with Beta 1.1 sd card and the network works -> exactly the same hardware setup.
Using
Code:
ifconfig eth0 192.168.0.12 netmask 255.255.255.0
brings the network up and running.
Setting /etc/network/interface to static IP address works locally, but cannot access the internet.

Should openbsd-inetd be running?
There seems to be no dhcp deamon running.
Just done a fresh install and upgraded all packages.
Same issue, no network. I noticed that udhcp was uninstalled as it was no longer required.
@IriDium

udhcpc had issues with some wlan sticks drivers, couldn't obtain dhcp address. full isc package was ok with wlan, but if installed, ifup is configuring even static interface ages (5+ seconds). so I let uninstall them both and based on udhcp rewritten the networking.

tested on my install was ok, then tested on clean beta1 upgrade and clean beta1.1 upgrade. plus tested with three different sticks and was ok. so I pushed to you. and it looks you are like magnet for bugs, so it's good you testing Wink

ifconfig eth0 up is just making interface available. it will not configure it. and if you specify address, it will confiure it, but will not setup default gw. that's why you can not access internet. this has to be done with "iproute add default gw x.x.x.x". if you change interface to static in network/interfaces, it needs address net mask and gateway as well. if you have it there "ifup eth0" will do "ifconfig eth0 up; configure ip through 'ip' and set routing". this is something I didn't touch, so it muss work (regardless of any *dhcp* package in the system).

if you set dhcp, ifup will do the first part (eth0 up), then it will look for dhclient binary, or dhclient3 binary or finally for udhcpc binary (or script). then it will call it with and ask for DHCP iface configuration - where the workflow should start.

I will turn debug logging in the scripts, can you then reinstall xbian-update package ?
i've test the last update,
and pi won't boot.

error i've got

..some errors before i can't read

... : failed to create queue file : no space left on device
checking for keyboard
loading initrammodule
checkinf for btrfs filesystem
mount root as : mount -t btrfs ....
...
mounting root
...3611 : failed to create queue file : no space left on device
...3611 :m error creating queue file
... to start lessage dbus : Failed to close "/var/run/dbus/pis' no space left on device

...cannot create sockect for udp6
...cannot create sockect for tcp6
...to start message dbus : Failed to close "/var/run/dbus/pis' no space left on device
(last line in loop).

i've free space on sd card (17 Mb free for boot, 1.7G free for root), it looks like it is some tmpfs that are full.

Belese

don' know if it's related,
but i try to changed this file on my pc :
/root/@/etc/default/tmpfs
and change
RUN_SIZE=10240 like before,
but same error (also with snapshot, not sure it's the right file i've changed),
and i've no usb keyboard, so can't do anything on pi
Tried iproute add default gw x.x.x.x which didn't work, so tried
ip route add default via x.x.x.x - seemed to work - no internet access
route add default gw x.x.x.x - seemed to work - no internet access.

ifdown eth0 -> cat: /run/udhcpc.eth0.pid: No such file or directory
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]

Have pulled the xbian-update_1.0-1.2_armhf.deb 2013-Aug-14 22:34:03 file and will try that. Alas, doesn't work as it needs dependancies.

Will go back to square one and reinstall from Beta 1.1 fresh.
As Thomas Palmer first said - "If at first you don't succeed, try and try again" yet I may add a few more "and trys" :-)
--------------------------------------------------------------------------------------------------------------------------------------
Fresh Beta 1.1 install and upgrade.
Configuration file `/etc/default/xbmc' answered default N.
Configuration file `/etc/apt/apt.conf.d/15update-stamp' answered default N.
Still no network.
*** /etc/resolv.conf is empty ****
added nameservers to /etc/resolv.conf
ifconfig eth0 192.168.0.2
route add default gw 192.168.0.1

Network is now up and running - can access the internet directly, but have to do it all again after a reboot.
@IriDium

Change your title to bug magnet :-)

@mk01

Is network part of upstart?
Did you know that farmers purposely put a magnet in a cows stomach when they are calves. It’s called a cow magnet and its purpose is to catch “tramp iron” or metal crud that a farmer has left in his fields – keys, baler wire, tractors etc – that a cow commonly swallow.
Latest version: XBMC 13 Alpha6 Rev 0019
resolv.conf is now OK
network is still not working. Have to ifconf and route as before, then it works.

I think it's related to:
[ 75.107248] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[ 135.251885] init: xbian-xbmc-bridge main process (1197) terminated with status 1
[ 135.252269] init: xbian-xbmc-bridge main process ended, respawning

Cannot connect via Wifi. XBMC just sit's there saying "connecting wlan0 to WIFI_HUB"
In ssh xbian-config hangs - restarting wlan0.

XBMC:
Selecting Addons -> Pictures (There are no picture addons installed). xbmc crashes. Noting in xbmc.log nor dmesg.
Selecting Pictures -> Pictures -> Picture Addons. xbmc crashes.
(17th Aug, 2013 02:13 AM)IriDium Wrote: [ -> ]Latest version: XBMC 13 Alpha6 Rev 0019
resolv.conf is now OK
network is still not working. Have to ifconf and route as before, then it works.

XBMC:
Selecting Addons -> Pictures (There are no picture addons installed). xbmc crashes. Noting in xbmc.log nor dmesg.
Selecting Pictures -> Pictures -> Picture Addons. xbmc crashes.

My network is working perfectly, I confirm Pictures -> Addons causes a crash on Gotham.
When upgrading, what should be the answer to:

Configuration file `/etc/default/xbmc'
Configuration file `/etc/apt/apt.conf.d/15update-stamp'

I always accept the default of "N" - is that correct?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13
Reference URL's