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

Re: debian router problem



On Sun, 06 Jun 2004 15:54:04 -0400
Adam Aube <aaube01@baker.edu> wrote:

>messmate wrote:
>
>> i've setted-up an old p100 box as a debian router (only router)
>> At boot, when reached 'Configuring interfaces ...' i've this error:
>> 'Configuring network interfaces:eth1: linkup  bla bla bla ..'
>> and a 'failed'. Eth1 is connected to my dsl-modem.
>
>What does the output of "ifconfig eth1" show?
>
>What happens if you run "ifup eth1" manually as root?
>
>Adam
>
Well see here my ifconfig :
eth0      Link encap:Ethernet  HWaddr 00:80:C8:EC:92:B5
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9311 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11379 errors:0 dropped:0 overruns:0 carrier:0
          collisions:28 txqueuelen:1000
          RX bytes:780075 (761.7 KiB)  TX bytes:8806177 (8.3 MiB)
          Interrupt:10 Base address:0xf880

eth1      Link encap:Ethernet  HWaddr 00:E0:29:3C:34:BD
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24114 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22005 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9788053 (9.3 MiB)  TX bytes:1646873 (1.5 MiB)
          Interrupt:11 Base address:0xec00

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

ppp0      Link encap:Point-to-Point Protocol
          inet addr:82.255.103.37  P-t-P:192.168.254.254 
Mask:255.255.255.255          UP POINTOPOINT RUNNING NOARP MULTICAST 
MTU:1492  Metric:1          RX packets:23234 errors:0 dropped:0
overruns:0 frame:0          TX packets:21113 errors:0 dropped:0
overruns:0 carrier:0          collisions:0 txqueuelen:3
          RX bytes:9222851 (8.7 MiB)  TX bytes:1124242 (1.0 MiB)

and my route :
ip route
192.168.254.254 dev ppp0  proto kernel  scope link  src 82.255.103.37
192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.1
default via 192.168.254.254 dev ppp0

More clearly:
at boot, the network configuring script invokes TWICe eth1 followed 
by a 'failed'.
But eth1 is up !
I don't understand what happen exactly about that.
A second pb is that ipmasq must be launched manually after a 
root login. A link S99ipmasq to rc2.d for example has no effect.
This are parts of dmesg:
eth0: MII PHY found at address 8, status 0x782d advertising 05e1 Link
0000 eth1:  Identified 8139 chip type 'RTL-8139A'
eth1: link up, 100Mbps, half-duplex, lpa 0x40A1
eth1: link up, 100Mbps, half-duplex, lpa 0x40A1
And what i've found in syslog:
Jun  6 10:50:43 router pppd[350]: Cannot determine ethernet address for
proxy ARP

Any help would be very appreciated.
mess-mate




Reply to: