My Humax Forum » Freesat HD » FOXSAT HDR

Network interface dropping?

(14 posts)
  1. User has not uploaded an avatar

    redpola

    junior member
    Joined: Feb '14
    Posts: 9

    offline

    I've a Humax HDR box running custom firmware. It's configured to power down from 0230 to 0400 every morning to allow it to housekeep. I also have a cron job rsyncing the Videos directory to a NAS DLNA server on my network at 0500 every day. It's almost perfect.

    There is one problem left to fix, and that is that the network connection periodically, and with no particular pattern, goes down; usually once a day. This is fixed by going into the IP config menu using the remote and simply applying the same settings again.

    The network connection is via a static IP address which connects to my network over a wireless bridge (should be irrelevant).

    Why is the network interface going down? How can I fix it? It's as though something issues an "ifconfig down" on the ethernet interface and that re-applying the settings in the UI issues an "ifconfig up".

    Where should I start to diagnose this? Is there some kind of network watchdog which drops the interface if it senses intermittent connectivity?

    | Tue 11 Feb 2014 19:43:42 #1 |
  2. User has not uploaded an avatar

    redpola

    junior member
    Joined: Feb '14
    Posts: 9

    offline

    More information: This seems to happen at a particular time each day - some time each afternoon. Weird!

    | Thu 13 Feb 2014 18:06:53 #2 |
  3. User has not uploaded an avatar

    dino

    special member
    Joined: Dec '11
    Posts: 197

    offline

    It may be your wireless set up. A glitch on the wireless side *should* be recoverable without having to re-apply settings, but there may be something about your set up which is problematic.

    Eliminate the wireless by using a wired connection to the router for a few days. A direct cable is always best and cheapest, but home plugs are an alternative.

    If it is stable on a wired connection, then it is likely something is interfering with the wireless at a certain time of day - heating coming on or something like that. A google of wifi interference will show lots of potential causes and fixes.

    If it is still a problem on a wired connection then try using DHCP. It might stop you having to re-apply the address. You should be able to set your router to issue a fixed address everytime.

    Dino

    | Fri 14 Feb 2014 8:19:57 #3 |
  4. User has not uploaded an avatar

    redpola

    junior member
    Joined: Feb '14
    Posts: 9

    offline

    Hi Dino,

    Thanks for the response and suggestions. Irrespective of whether my wireless connection is flaky, the network interface shouldn't ever go down (that's the point of statically-configured network interfaces!). I'm more after a "let's work out why the network interface is going down" solution than a "let's try and workaround the problem" solution. So thanks for your suggestions, but having a wired link or using DHCP is not desirable for me - I'd rather go right for the heart of the issue and work out why something on the box is turning the interface off.

    I'm guessing by the relative silence on here that nobody else is suffering this kind of issue and static IP is rock-solid for them.

    | Fri 14 Feb 2014 16:36:43 #4 |
  5. User has not uploaded an avatar

    redpola

    junior member
    Joined: Feb '14
    Posts: 9

    offline

    More info: Today I set up a timed ping every minute and the network interface went down at 1700 exactly. The plot thickens.

    | Fri 14 Feb 2014 17:15:12 #5 |
  6. User has not uploaded an avatar

    dino

    special member
    Joined: Dec '11
    Posts: 197

    offline

    Without a console on the HDR and with the limited tools available you are setting yourself quite a challenge. Let us know what you discover. Good luck.

    | Sat 15 Feb 2014 8:31:06 #6 |
  7. User has not uploaded an avatar

    redpola

    junior member
    Joined: Feb '14
    Posts: 9

    offline

    I will do, thanks.

    | Sat 15 Feb 2014 10:28:34 #7 |
  8. User has not uploaded an avatar

    redpola

    junior member
    Joined: Feb '14
    Posts: 9

    offline

    So it seems udhcpc is grabbing a DHCP-assigned IP address at 0500 and 1700 daily. My machine is set to be off from 0255 to 0500 each day and so is missing the first one.

    | Sun 16 Feb 2014 17:37:40 #8 |
  9. User has not uploaded an avatar

    raydon

    special member
    Joined: Feb '11
    Posts: 159

    offline

    You could always kill the udhcpc daemon (killall udhcpc) seeing as you don't need it. Settop always starts this process regardless of whether you have a static IP or not.

    | Sun 16 Feb 2014 19:56:10 #9 |
  10. User has not uploaded an avatar

    redpola

    junior member
    Joined: Feb '14
    Posts: 9

    offline

    Thanks for the info!

    Strangely I tried that not long before you posted. It seems to leave the udhcpc processes as zombies, but it does the trick. It's after 5pm and I'm still communicating over eth0 at its static-assigned address.

    I'm assuming that "mv udhcpc udhcpc.not" won't have any undesirable side-effects?

    | Mon 17 Feb 2014 17:10:27 #10 |

RSS feed for this topic

Reply »

You must log in to post.