eth0 static config for Sarge net install
Hi
I am trying to install Sarge, but the caveat is that I am in a network requiring static IP, so the DHCP net install is useless unless I can get my eth0 interface working. Even a CD install will probably leave me with same issues in the end so I ask now.
Problem: I am getting a SIOCADDRT: network is unreachable although eth0 is configured and up. Here is the status of my system:
eth0 Link encap:Ethernet HWaddr 00:50:8D:4C:37:18
inet addr:172.16.77.26 Bcast:172.16.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:46779 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2883279 (2.7 MiB) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 172.16.77.26
netmask 255.255.255.0
gateway 172.16.0.1
#dns-nameservers 61.74.63.1
(note: I set resolv.conf to the correct values already)
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0 1500 0 48330 0 0 0 0 0 0 0 BMRU
lo 16436 0 0 0 0 0 0 0 0 0 LRU
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.77.0 * 255.255.255.0 U 0 0 0 eth0
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
I have an Abit Athlon MB with the annoying nVidia chipset but on the first stage of install Debian Installer recognized it and gave me the forcedeth driver, which I added to mu modules.conf like this:
alias eth0 forcedeth
But, still I cannot reach the internet. Anyone have an analysis of what may be wrong??
thanks
Peff
|