Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 37

Thread: apache webserver networksetings disappearance on reboot

  1. #21
    Join Date
    Apr 2013
    Beans
    53

    Re: apache webserver networksetings disappearance on reboot

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    auto eth0
    iface eth0 inet static
    address 192.168.2.35
    network 192.168.2.0
    netmask 255.255.255.0
    broadcast 192.168.2.255
    gateway 192.168.2.1

    worked

  2. #22
    Join Date
    Apr 2013
    Beans
    53

    Re: apache webserver networksetings disappearance on reboot

    epic fail have to clime in loft re enter eth0 and eth 1 to get network back ball ake

  3. #23
    Join Date
    Apr 2013
    Beans
    53

    Re: apache webserver networksetings disappearance on reboot

    My mistake had wrong ip for putty now it saved eth0 as 192.168.1.2 now web activity now and missing eth1 any ideas

  4. #24
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: apache webserver networksetings disappearance on reboot

    Punctuation would be a good idea...
    Your /etc/network/interfaces file shows no definition for eth1.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  5. #25
    Join Date
    Apr 2013
    Beans
    53

    Re: apache webserver networksetings disappearance on reboot

    yes I tried to add eth1 in the config file but my syntax is bad Punctuation is Perfect as I get network back on reboot now ,also the auto dhcp on eth0 gives no web activity its not until I manual add eth1 that I regain outside network activity

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    auto eth0
    iface eth0 inet dhcp

    now every command after the iface eth0 inet dhcp is seen by Linux as a layer for eth0 and reads as an extra set of parameters that Linux dose not except returning error what command do I use to separate it from eht0

  6. #26
    Join Date
    Apr 2012
    Beans
    6,808

    Re: apache webserver networksetings disappearance on reboot

    What additional commands are you trying to add, specifically?

  7. #27
    Join Date
    Apr 2013
    Beans
    53

    Re: apache webserver networksetings disappearance on reboot

    # The loopback network interface
    auto lo
    iface lo inet loopback


    # The primary Secondary interface
    auto eth1
    iface eth1 inet dhcp

  8. #28
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: apache webserver networksetings disappearance on reboot

    Maybe something like this?:
    Code:
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    # The primary network interface
    auto eth0
    iface eth0 inet static
    address 192.168.2.35
    network 192.168.2.0
    netmask 255.255.255.0
    broadcast 192.168.2.255
    gateway 192.168.2.1
    
    # The primary Secondary interface
    
    auto eth1
    iface eth1 inet dhcp
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  9. #29
    Join Date
    Apr 2013
    Beans
    53

    Re: apache webserver networksetings disappearance on reboot

    thank you I try now
    Perfect case scenario would be eth0 and static IP ADDRESS 192.168.1.2 (with web connectivity)
    And eth1 DHCP (With web connectivity )
    And my external ip address to point to my web server not my router, and yes IP Service provided allows port forwarding And I am Port forwarding port 80

  10. #30
    Join Date
    Apr 2013
    Beans
    53

    Re: apache webserver networksetings disappearance on reboot

    155 packages can be updated.
    85 updates are security updates.
    Last login: Mon Apr 7 09:14:50 2014 from 192.168.1.109
    coolvibes@linuxserver:~$ sudo nano /etc/network/interfaces
    [sudo] password for coolvibes:
    Sorry, try again.
    [sudo] password for coolvibes:
    coolvibes@linuxserver:~$ sudo /etc/init.d/networking restart
    * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
    * Reconfiguring network interfaces... RTNETLINK answers: No such process
    ssh stop/waiting
    ssh start/running, process 5459
    ssh stop/waiting
    ssh start/running, process 5519

Page 3 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •