On Thu, Feb 21, 2002 at 10:15:07AM -0800, Curtis Vaughan wrote: > In a further update to my eth0 issues (see below), I am provided the > following imformation, which may help determine why it is not taking a static > IP. It would seem, however, that prior to me executing an ifup command it is > activing under another adaptor module - is that possible?
I'm not sure what's going on (I haven't been following the thread :/ ), but I can spot at least one problem: > Currently, my interfaces file reads: > > auto lo > iface eth0 inet static > ? ?address 10.0.0.33 > ? ?netmask 255.255.255.0 > ? ?network 10.0.0.1 This is incorrect. The network is "10.0.0.0" > ? ?gateway 10.0.0.254 ^^^ what are these question marks all about? > This at least works best as after booting, I need only type ifup eth0 once. > > > Feb 21 09:57:09 Debian3800 login[387]: ROOT LOGIN on `tty2' > Feb 21 09:57:16 Debian3800 kernel: Xircom cardbus adaptor found, registering > as eth0, using irq 11 > Feb 21 09:57:16 Debian3800 kernel: xircom_cb: enabling promiscuous mode > Feb 21 09:57:16 Debian3800 kernel: xircom_cb: capabilities changed from 0x1e1 > to 0xa1 > Feb 21 09:57:16 Debian3800 kernel: xircom_cb: Link status has changed > Feb 21 09:57:16 Debian3800 kernel: xircom_cb: Link is absent > Feb 21 09:57:18 Debian3800 kernel: xircom_cb: Link status has changed > Feb 21 09:57:18 Debian3800 kernel: xircom_cb: Link is 100 mbit > Feb 21 09:57:31 Debian3800 PAM_unix[402]: (xdm) session opened for user > curtis by (uid=0) > Feb 21 09:57:36 Debian3800 kernel: spurious 8259A interrupt: IRQ7 > > > In a previous letter I wrote: > > Something is still wrong. > I have edited my interfaces file to read as follows: > > auto lo eth0 > iface eth0 inet static > ? ?address 10.0.0.33 > ? ?netmask 255.255.255.0 > ? ?network 10.0.0.1 > ? ?gateway 10.0.0.254 > > Nonetheless, on boot eth0 doesn't take any IP address. ?In fact, if I were to > just type ifup eth0, I will be told that eth0 is already configured. ?So I > have to enter ifconfig eth0 down, then ifup eth0 and only then will it take > an IP address. (Sorry for redundant questions; I missed the start of this) Are you running potato or woody? I'm guessing woody since you talk about ifup. This is a PCMCIA NIC, right? If so, /etc/network/interfaces possibly isn't the file you want to edit. For woody, check out the file /etc/pcmcia/network.opts, though that file claims to use /etc/network/interfaces if you haven't configured a static address in network.opts -- Nathan Norman - Staff Engineer | A good plan today is better Micromuse Ltd. | than a perfect plan tomorrow. mailto:[EMAIL PROTECTED] | -- Patton
pgpId3W8h7jTn.pgp
Description: PGP signature