Network Drops
  • Just looking around
    Posts: 8 from 2014/2/1
    Hi,

    I'm a new registered Morphos user running 3.5.1 on a Mac Mini. I have noticed that the network interface (wired eth0) fails after a few days. A reboot will fix the issue, but is there a better way to restart the network interface or prevent it from closing?

    Regards,
    Chris
  • »24.02.14 - 04:06
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    redrumloa
    Posts: 1424 from 2003/4/13
    That's odd. I have never experienced this with either PowerMac G4 or G5 and I have let them run for days at a time.
  • »24.02.14 - 04:33
    Profile
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    Quote:

    Chris wrote:
    Hi,

    I'm a new registered Morphos user running 3.5.1 on a Mac Mini. I have noticed that the network interface (wired eth0) fails after a few days. A reboot will fix the issue, but is there a better way to restart the network interface or prevent it from closing?


    See Network-Startup how to restart NetStack. Sounds like it can't renew DHCP lease.
    1 + 1 = 3 with very large values of 1
  • »24.02.14 - 05:28
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12150 from 2003/5/22
    From: Germany
    > See Network-Startup how to restart NetStack.

    It might be necessary to quit it before restarting. Proper quitting has been described here by the NetStack author.
  • »24.02.14 - 07:57
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3108 from 2003/3/5
    From: Canada
    @Chris

    Once this happens, open a new shell and issue an ifconfig command, paste the output. If the eth0 address isn't 0.0.0.0, try to do a ping 8.8.8.8, paste the output. This should tell us a bit more about what the issue might be in your case.
  • »24.02.14 - 08:20
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    xyphoid
    Posts: 870 from 2008/7/11
    From: Delaware, USA
    I can't seem to go 24hrs without my network dropping for awhile now, but whatever!....I'm no programmer
  • »24.02.14 - 22:25
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3108 from 2003/3/5
    From: Canada
    Quote:

    xyphoid


    Same diagnostical instructions apply.
  • »25.02.14 - 07:21
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    catohagen
    Posts: 297 from 2003/5/20
    use static ip address
  • »25.02.14 - 12:23
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    xyphoid
    Posts: 870 from 2008/7/11
    From: Delaware, USA
    When network started

    New Shell process 2
    Ram Disk:> ifconfig
    lo0: flags=8009<UP,LOOPBACK,MULTICAST> MTU=16436
    inet 127.0.0.1 netmask ff000000
    Hardware type: Loopback

    eth0: flags=4863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,SANA> MTU=1500
    inet 192.168.1.64 netmask ffffff00 broadcast 192.168.1.255
    Hardware type: Ethernet, address: 0:14:51:15:b8:ba

    Use "ifconfig -h" for usage.
    Ram Disk:>

    When network dropped

    Ram Disk:> ifconfig
    lo0: flags=8009<UP,LOOPBACK,MULTICAST> MTU=16436
    inet 127.0.0.1 netmask ff000000
    Hardware type: Loopback

    eth0: flags=4863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,SANA> MTU=1500
    inet 0.0.0.0 netmask 0 broadcast 0.0.0.255
    Hardware type: Ethernet, address: 0:14:51:15:b8:ba

    Use "ifconfig -h" for usage.
    Ram Disk:>

    I don't know what it means to 'ping' anything
  • »26.02.14 - 22:18
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12150 from 2003/5/22
    From: Germany
    > I don't know what it means to 'ping' anything

    http://en.wikipedia.org/wiki/Ping_(networking_utility)
  • »26.02.14 - 22:29
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3108 from 2003/3/5
    From: Canada
    Quote:

    xyphoid wrote:
    eth0: flags=4863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,SANA> MTU=1500
    inet 0.0.0.0 netmask 0 broadcast 0.0.0.255
    Hardware type: Ethernet, address: 0:14:51:15:b8:ba



    Thanks. I have in fact already found the reason for this issue and it will be resolved in 3.6 but for now you may also change your router's configuration - set the DHCP lease time to the maximum value.
  • »27.02.14 - 12:59
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    xyphoid
    Posts: 870 from 2008/7/11
    From: Delaware, USA
    Thanks, but how? Is this done in system settings?
  • »27.02.14 - 22:15
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 3108 from 2003/3/5
    From: Canada
    Quote:

    xyphoid wrote:
    Thanks, but how? Is this done in system settings?


    In your *router's* settings.
  • »28.02.14 - 05:22
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    xyphoid
    Posts: 870 from 2008/7/11
    From: Delaware, USA
    Oh, I don't remember how to do that. I initially set up on a PC with some help from customer service a few years ago.
  • »28.02.14 - 21:25
    Profile
  • jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Posts: 2096 from 2003/2/24
    From: po-RNO
    Quote:

    xyphoid wrote:
    Oh, I don't remember how to do that.


    Your router should probably be controlled with its web interface. Try opening http://192.168.1.1 in your browser. If that doesn't work try http://192.168.1.254 instead. And if that isn't correct address either try to find out which your gateway address is (for example with "traceroute -q 1 8.8.8.8" in shell.

    Then it asks login and password, which you should know. If you haven't changed them ever, maybe you have your router's manual around. Or try admin/admin. Or google default password for your router's model.

    When you get logged in, browse those menus until you find correct DHCP settings :)
  • »01.03.14 - 06:38
    Profile Visit Website
  • Just looking around
    Posts: 8 from 2014/2/1
    Good to hear that this will be addressed and that there's a workaround as well. The suggestion to use a static IP address also worked for me. Once I did that, no more issues.
  • »01.03.14 - 12:53
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    xyphoid
    Posts: 870 from 2008/7/11
    From: Delaware, USA
    Thanks JPV, but apparently I'd have to reset the router, since the passes didn't work. I think I'll just wait for the upgrade rather than fiddle around, and unintensionally mess up a setting, which MorphOs is not the only system on it.
  • »02.03.14 - 17:35
    Profile