Dear Camaleon, thank you for your detailed reply.

So far, following your advice, and others', network seem to work.
Details are inserted below.

Thanks,
Itay


On Sat, 14 May 2011, Camaleón wrote:

Date: Sat, 14 May 2011 07:08:18 +0000 (UTC)
From: Camaleón <noela...@gmail.com>

On Sat, 14 May 2011 06:47:43 +0300, Itay wrote:

I seem to have NetworkManager active (...)
<# ps -efl | grep -i network>
5 S root      1832     1  0  80   0 - 19611 -      05:23 ? \
         00:00:00 /usr/sbin/NetworkManager
</# ps -efl | grep -i network>

(Do I really need it?  It's home LAN.  ...)

No, you don't need it.

I thought it was not required -- but wasn't sure.

I browsed the manpage (of NetworkManager) and the very interesting thread you have initiated on
        http://lists.debian.org/debian-user/2010/12/msg00424.html
but still can't make up my mind what would be the added value.
Is NetworkManger primarily useful for portable computers? for very large networks?


<$ cat /etc/network/interfaces>
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
#NetworkManager#iface eth0 inet dhcp
</$ cat /etc/network/interfaces>

So your network card settings (IP, netmask, gateway, DNS...) all comes
from your router, right?

Yes to all.

(...)

You need to configure your "/etc/network/interfaces" file to use a setup
that suits your needs:

http://wiki.debian.org/NetworkConfiguration

Thanks for the link, I will study it.

(...)

<# ifconfig -a>
eth0      Link encap:Ethernet  HWaddr 00:26:18:72:71:14
           inet6 addr: fe80::226:18ff:fe72:7114/64 Scope:Link UP
           BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 RX
           packets:4317 errors:0 dropped:0 overruns:0 frame:0 TX
           packets:3643 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:4309480 (4.1 MiB)  TX bytes:490343 (478.8 KiB)
           Interrupt:20 Base address:0xe000

The above means that your network card has been recognized by the system
but it has no data on it (no IP, netmask...) so it's normal that you
cannot browse the network. Either your "interfaces" file is wrong or your
router cannot reach your computer or has any problem to provide all the
required parameters to your machine.

I would start by "/etc/network/interfaces", yo can try:

***
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp
***

Save the file and then issue "ifdown eth0" and "ifup eth0" to reload the
interface. After that, run "/sbin/ifconfig" and "ip ro" to check all is
okay... and if it's not, run "dmesg | grep eth0" to find out why :-)

OK I followed your advice (also given by Shell Xu on private email -- thank you) more-or-less.

Based on some advice in
        http://lists.debian.org/debian-user/2010/12/msg00424.html
1) I disabled NetworkManager by adding 'exit 0' right after the 1st line in the /etc/init.d/network-manager.
2) I used the old /etc/network/interfaces (identical to your example)
3) Rebooted.

I will go on working like this for few days, maybe few reboots, to verify that this setup is stable.

Itay

Reply via email to