[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Network problem



On 07/05/11 15:49, Camaleón wrote:
<snip>
(...)

Okay, let's forget momentary the "hosts" file and go on with the network
issue which I think is more important here.

So, I have just done the following:

(1) I altered the /etc/hosts IP address to *.64
(2) ensured that the /etc/network/interface file read "static" rather
than dhcp
(3) rebooted
(...)

Hi Camaleón

See below.  Thanks.
Copy/paste what does your "/etc/network/interfaces" look like

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
#iface eth0 inet dhcp
    address 192.168.1.40    # I have manually specified this
    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


and also
post the results of "/sbin/ifconfig",

$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:90:47:05:a3:07
          inet addr:192.168.1.64  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::290:47ff:fe05:a307/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1936 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1864 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1018372 (994.5 KiB)  TX bytes:237018 (231.4 KiB)
          Interrupt:18 Base address:0xec00

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:644 errors:0 dropped:0 overruns:0 frame:0
          TX packets:644 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:54042 (52.7 KiB)  TX bytes:54042 (52.7 KiB)


"cat /etc/resolv.conf",

$ cat /etc/resolv.conf
domain lan
search lan
nameserver 192.168.1.254
"ping -c 3
192.168.0.1" (or whatever the IP of your router is)

$ ping -c 3 192.168.1.254
PING 192.168.1.254 (192.168.1.254) 56(84) bytes of data.
64 bytes from 192.168.1.254: icmp_req=1 ttl=64 time=1.74 ms
64 bytes from 192.168.1.254: icmp_req=2 ttl=64 time=0.683 ms
64 bytes from 192.168.1.254: icmp_req=3 ttl=64 time=0.705 ms


and just in case "ip
ro"

$ ip ro
192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.64
default via 192.168.1.254 dev eth0
and "dmesg | grep -i eth".

$ dmesg | grep eth
[ 0.178866] ACPI Error: Method parse/execution failed [\_SB_.MEM_._CRS] (Node f4c370c0), AE_AML_BUFFER_LIMIT (20110112/psparse-536) [ 0.178875] ACPI Error: Method execution failed [\_SB_.MEM_._CRS] (Node f4c370c0), AE_AML_BUFFER_LIMIT (20110112/uteval-103) [ 1.014972] 8139too 0000:01:0a.0: eth0: RealTek RTL8139 at 0xec00, 00:90:47:05:a3:07, IRQ 18
[   10.733628] eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
[   20.752026] eth0: no IPv6 routers present


Greetings,

Thanks


Reply to: