Re: Now cannot ping print server from second machine



Dne, 07. 05. 2011 15:42:16 je AG napisal(a):
On 07/05/11 14:18, Brian wrote:
On Sat 07 May 2011 at 13:34:48 +0100, AG wrote:

Is this IP change due to having changed the stanza in
/etc/network/interfaces from what was iface eth0 inet *static* to iface
eth0 inet *dhcp* ?
Please see your other thread on connectivity. Have x as 40 and use
ifdown followed by ifup.



Thanks Brian

I had already changed that and I am back to the original problem of loosing connectivity after a reboot.

The /etc/network/interfaces file reads (in its entirety):

auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
#iface eth0 inet dhcp ## This reflects the earlier suggestion about changing static to dhcp
address 192.168.1.40
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 158.43.240.4
dns-search org

However, as noted - this returns full circle to the original issues.

Things to check:

IS your gateway/router REALLY at 192.168.1.254 ? An error here will lead you to a basically "unconnected" machine, probably you won't be able even to ping the hosts on your LAN or anything.
IS there really a dns server at 158.43.240.4 ? An error here will only affect dns names, so you will not be able to reach, say, www.google.com; you will still be able to reach any hosts by specifying their IP numbers directly.


--
Cheerio,

Klistvud http://bufferoverflow.tiddlyspot.com
Certifiable Loonix User #481801 Please reply to the list, not to me.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: 1304782346.28162.4@compax">http://lists.debian.org/1304782346.28162.4@compax



Relevant Pages

  • Re: home network through router
    ... Tab Gilbert wrote: ... If you want simple file sharing between the two systems then right click ... If you are using DHCP for your primary network card which is ... iface eth0 inet static ...
    (Ubuntu)
  • Re: Now cannot ping print server from second machine
    ... On 07/05/11 16:32, Klistvud wrote: ... /etc/network/interfaces from what was iface eth0 inet *static* to iface ... eth0 inet *dhcp*? ... I had already changed that and I am back to the original problem of loosing connectivity after a reboot. ...
    (Debian-User)
  • Re: DHCP and domain name
    ... So, it looks like at the start of the system, it run a DHCP request. ... Is that possible that at the startup of the computer, the network ... iface eth0 inet static ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • XEN switch to static IP
    ... I migrated a sarge installation into a domU. ... I did this using dhcp. ... iface eth0 inet static ... ## The primary network interface ...
    (Debian-User)
  • Re: Why is adding a new Ubuntu PC to an existing LAN such a pain?
    ... restarting a service???? ... iface eth0 inet static ... DHCP server on one of the machines? ... Which Ubuntu version is this? ...
    (Ubuntu)