[LIVE] no web interface after waking from S3 sleep
#1
xbmcFreak Dharma Beta3
Zotac IonItx-LE mobo
xbmc svn:
Code:
[email protected]:~$ apt-cache policy xbmc
xbmc:
  Installed: 2:10.00~svn34731-lucid1
  Candidate: 2:10.00~svn34731-lucid1
  Version table:
*** 2:10.00~svn34731-lucid1 0
        500 http://ppa.launchpad.net/team-xbmc-svn/ppa/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
     1:9.11-lucid3 0
        500 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/ lucid/main Packages

so my problem is as follows... I have S3 sleep working I can suspend to sleep and wake using my remote. I have WOL working so from my unRaid sever I can send the magic packet to HTPC waking it from S3 Sleep.

I am able to connect to htpc using putty, but when I try and access web browser I do not get connection. xbmc gui tells me problem with my dns sever.

I have tried doing
Code:
sudo /etc/init.d/networking restart
but it doesn't solve my problem

here is what my dns sever file looks like
Code:
[email protected]:/usr/share/xbmc/system/keymaps$ cat /etc/resolv.conf
domain Belkin
nameserver 205.171.2.25
nameserver 205.171.3.25


and here is my network config file
Code:
[email protected]:/usr/share/xbmc/system/keymaps$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.2.5
netmask 255.255.255.0
gateway 192.168.2.1

I tried changing my dns sever to 192.168.2.1 my routers IP it doesn't work after a network restart.

but connecting via putty works so something is strange here as my ifconfig has no errors or oddities

Code:
[email protected]:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:01:2e:2c:cd:7a
          inet addr:192.168.2.5  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::201:2eff:fe2c:cd7a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7414 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7155 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1048951 (1.0 MB)  TX bytes:1596947 (1.5 MB)
          Interrupt:21 Base address:0xe000

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:16436  Metric:1
          RX packets:25 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1520 (1.5 KB)  TX bytes:1520 (1.5 KB)

here is output from ethtool eth0

Code:
[email protected]:~$ sudo ethtool eth0
Settings for eth0:
        Supported ports: [ MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Link partner advertised link modes:  Not reported
        Link partner advertised pause frame use: No
        Link partner advertised auto-negotiation: No
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 3
        Transceiver: external
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Link detected: yes

-=Jason=-
Reply
#2
Could you try restarting xbmc after resume and see if it helps.
Also please provide a Debug Log when after resume when it has failed.
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#3
how can I enable debugging via command line, what file do I need to change?

well this is my debug log after preforming a killall xinit.
http://dl.dropbox.com/u/6011093/2010.1025.0958.txt

-=Jason=-

EDIT:
in guisettings.xml

I have this section:

Code:
<network>
        <assignment>1</assignment>
        <dns>0.0.0.0</dns>
        <dnssuffix></dnssuffix>
        <enc>0</enc>
        <essid>0.0.0.0</essid>
        <gateway>0.0.0.0</gateway>
        <httpproxypassword></httpproxypassword>
        <httpproxyport>8080</httpproxyport>
        <httpproxyserver></httpproxyserver>
        <httpproxyusername></httpproxyusername>
        <interface></interface>
        <ipaddress>0.0.0.0</ipaddress>
        <key>0.0.0.0</key>
        <save></save>
        <subnet>255.255.255.0</subnet>
        <usehttpproxy>false</usehttpproxy>
    </network>

anyway to hard code this as it looks empty possibly the reason my web interface isn't working?

-=Jason=-
Reply
#4
here is a log with debugging turned in advanced settings

<loglevel>1</loglevel>

https://dl.dropbox.com/u/6011093/xbmc.lo...w=16838017


-=Jason=-
Reply
#5
Strange thing, when I get home from work, grab my remote and hit the HTPC button i see xbmc reboot or restart... I go to network info and see that my dns sever is up and connected just fine. but I preformed a killall xinit thus rebooting xbmc, i even did a sudo reboot and was not able to connect UNTIL my tv/ amp was switched to the HTPC input.

I browse to the http://xbmcIP:8080 and I am instantly taken to the web interface, xwmm and awx all work.

could this be because my display is not turned on or ......?


-=Jason=-
Reply
#6
The log you gave there doesn't show xbmc waking up, so thats probably why the webserver doesn't work
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#7
that makes sense since when I press the 'HTPC' button it would appear that xbmc is either waking or restarting. most likely the first.

I never tried to do sudo xbmc-live start.... I'll try that now

-=Jason=-

well it looks like it is display related.

Code:
[email protected]:~$ xbmc start
Error: unable to open display
FEH.py: cannot connect to X server
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
[LIVE] no web interface after waking from S3 sleep00
This forum uses Lukasz Tkacz MyBB addons.