Re: [Cooker] dhcp-client and hackkernel 2.4

2000-10-03 Thread Antony Suter


To clarify my question, why the difference in behavior between "ifup eth0"
and "ifconfig eth0 up", and most importantly why doesn't it work on startup?

Antony Suter wrote:
> 
> Florin Grad wrote:
> >
> > [EMAIL PROTECTED] (Antony Suter) writes:
> >
> > > I have a dhclient.conf file which used to work fine but doesnt now.
> > > It looks for an address from a DHCP server then assigns a static one if
> > > necessary.
> > > Im not sure if the problem is in hackkernel or dhcp-client or in ping.
> > > It works fine with a DHCP server, but not without.
> > > Please help! :)
> > >
> > > When I try a manual "ifup eth0" I get:-
> > >
> >
> > Hi there,
> >
> > your message seems pretty confusing to me...
> >
> > dhcp-client is supposed to work ONLY with a dhcp server. The dhcp server
> > assigns to a dhcp-client an available IP address at each connection.
> > That's what I think this is all about.
> 
> Well, "ifup eth0" doesnt work.
> However "ifconfig eth0 up" works instantly and gives it the address in the
> recorded lease which is what I was after all along.
> 
> > > 1) The log file says this:-
> > > Oct  4 01:45:43 gamut modprobe: modprobe: Can't locate module
> >
> > missing module = kernel problem
> > type lsmod or lspcidrake to find out the needed module or reboot your
> > computer  with your old working kernel (you still have it, do you ? ;) and
> > do a lsmod to find out the missing modules from the first one.
> 
> [root@gamut /root]# lspcidrake
>  Intel Corporation|440BX/ZX - 82443BX/ZX Host bridge (unknown ignore)
>  Intel Corporation|440BX/ZX - 82443BX/ZX AGP bridge (unknown ignore)
>  Intel Corporation|82371AB PIIX4 ISA (unknown unknown)
>  Intel Corporation|82371AB PIIX4 IDE (STORAGE_IDE unknown)
>  Intel Corporation|82371AB PIIX4 USB (SERIAL_USB usb-uhci)
>  Intel Corporation|82371AB PIIX4 ACPI (unknown unknown)
>  DEC|DECchip 21152 (unknown tulip)
>  Intel Corporation|82557 [Ethernet Pro 100] (NETWORK_ETHERNET eepro100)
> SubVendor=0x8086 SubDevice=0x0008
>  Adaptec|AHA-2940U/UW / AHA-39xx / AIC-7895 (STORAGE_SCSI aic7xxx)
> SubVendor=0x9004 SubDevice=0x7895
>  Adaptec|AHA-2940U/UW / AHA-39xx / AIC-7895 (STORAGE_SCSI aic7xxx)
> SubVendor=0x9004 SubDevice=0x7895
>  nVidia Corporation|Riva TNT2 (DISPLAY_VGA Card:RIVA TNT2) SubVendor=0x1092
> SubDevice=0x4a02
>  Auravision|VxP524 (MULTIMEDIA_VIDEO unknown)
> 
> > >
> > > After all that, interface eth0 is still not listed by ifconfig.
> >
> > of course, I guess the module is still missing.
> 
> The wierd thing is that no modules have been added or deleted at this point
> (after doing the "ifconfig eth0 up"). My ethernet driver (tulip) is compiled
> into the kernel.

--
- Antony Suter  ([EMAIL PROTECTED])  "Examiner"  openpgp:71ADFC87
- "And how do you store the nuclear equivalent of the universal solvent?"




Re: [Cooker] dhcp-client and hackkernel 2.4

2000-10-03 Thread Antony Suter

Florin Grad wrote:
> 
> [EMAIL PROTECTED] (Antony Suter) writes:
> 
> > I have a dhclient.conf file which used to work fine but doesnt now.
> > It looks for an address from a DHCP server then assigns a static one if
> > necessary.
> > Im not sure if the problem is in hackkernel or dhcp-client or in ping.
> > It works fine with a DHCP server, but not without.
> > Please help! :)
> >
> > When I try a manual "ifup eth0" I get:-
> >
> 
> Hi there,
> 
> your message seems pretty confusing to me...
> 
> dhcp-client is supposed to work ONLY with a dhcp server. The dhcp server
> assigns to a dhcp-client an available IP address at each connection.
> That's what I think this is all about.

Well, "ifup eth0" doesnt work.
However "ifconfig eth0 up" works instantly and gives it the address in the
recorded lease which is what I was after all along.

> > 1) The log file says this:-
> > Oct  4 01:45:43 gamut modprobe: modprobe: Can't locate module
> 
> missing module = kernel problem
> type lsmod or lspcidrake to find out the needed module or reboot your
> computer  with your old working kernel (you still have it, do you ? ;) and
> do a lsmod to find out the missing modules from the first one.

[root@gamut /root]# lspcidrake 
 Intel Corporation|440BX/ZX - 82443BX/ZX Host bridge (unknown ignore)
 Intel Corporation|440BX/ZX - 82443BX/ZX AGP bridge (unknown ignore)
 Intel Corporation|82371AB PIIX4 ISA (unknown unknown)
 Intel Corporation|82371AB PIIX4 IDE (STORAGE_IDE unknown)
 Intel Corporation|82371AB PIIX4 USB (SERIAL_USB usb-uhci)
 Intel Corporation|82371AB PIIX4 ACPI (unknown unknown)
 DEC|DECchip 21152 (unknown tulip)
 Intel Corporation|82557 [Ethernet Pro 100] (NETWORK_ETHERNET eepro100)
SubVendor=0x8086 SubDevice=0x0008
 Adaptec|AHA-2940U/UW / AHA-39xx / AIC-7895 (STORAGE_SCSI aic7xxx)
SubVendor=0x9004 SubDevice=0x7895
 Adaptec|AHA-2940U/UW / AHA-39xx / AIC-7895 (STORAGE_SCSI aic7xxx)
SubVendor=0x9004 SubDevice=0x7895
 nVidia Corporation|Riva TNT2 (DISPLAY_VGA Card:RIVA TNT2) SubVendor=0x1092
SubDevice=0x4a02
 Auravision|VxP524 (MULTIMEDIA_VIDEO unknown)

> >
> > After all that, interface eth0 is still not listed by ifconfig.
> 
> of course, I guess the module is still missing.

The wierd thing is that no modules have been added or deleted at this point
(after doing the "ifconfig eth0 up"). My ethernet driver (tulip) is compiled
into the kernel.

--
- Antony Suter  ([EMAIL PROTECTED])  "Examiner"  openpgp:71ADFC87
- "And how do you store the nuclear equivalent of the universal solvent?"




Re: [Cooker] dhcp-client and hackkernel 2.4

2000-10-03 Thread Florin Grad

[EMAIL PROTECTED] (Antony Suter) writes:

> I have a dhclient.conf file which used to work fine but doesnt now.
> It looks for an address from a DHCP server then assigns a static one if
> necessary.
> Im not sure if the problem is in hackkernel or dhcp-client or in ping.
> It works fine with a DHCP server, but not without.
> Please help! :)
> 
> When I try a manual "ifup eth0" I get:-
> 

Hi there,

your message seems pretty confusing to me...

dhcp-client is supposed to work ONLY with a dhcp server. The dhcp server
assigns to a dhcp-client an available IP address at each connection. 
That's what I think this is all about.

> 1) The log file says this:-
> Oct  4 01:45:43 gamut modprobe: modprobe: Can't locate module 

missing module = kernel problem
type lsmod or lspcidrake to find out the needed module or reboot your
computer  with your old working kernel (you still have it, do you ? ;) and
do a lsmod to find out the missing modules from the first one.

> 2) the tty displays:-
> Determining IP information for eth0 via dhclient...Internet Software
> Consortium DHCP Client V3.0b2pl2
> Copyright 1995-2000 Internet Software Consortium.
> All rights reserved.
> For info, please visit http://www.isc.org/products/DHCP
> Listening on LPF/eth0/*MAC address, whistles like scooby doo*
> Sending on   LPF/eth0/*MAC address, whistles like scooby doo*
> Sending on   Socket/fallback
> DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
> DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
> DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
> No DHCPOFFERS received.

trying hopelessly :(

> Trying recorded lease 10.0.0.167

try to read the lease section from the dhclient.conf file

> *then* it gives me a list of an enviroment,
> *then* is gives me the result of "ping --help",
> *then* is says:-
> bound: renewal in 7636441 seconds.
>  done.

several statistics

> 
> After all that, interface eth0 is still not listed by ifconfig.

of course, I guess the module is still missing.
-- 
Florin 
[EMAIL PROTECTED] http://www.linux-mandrake.com   




[Cooker] dhcp-client and hackkernel 2.4

2000-10-03 Thread Antony Suter


I have a dhclient.conf file which used to work fine but doesnt now.
It looks for an address from a DHCP server then assigns a static one if
necessary.
Im not sure if the problem is in hackkernel or dhcp-client or in ping.
It works fine with a DHCP server, but not without.
Please help! :)

When I try a manual "ifup eth0" I get:-

1) The log file says this:-
Oct  4 01:45:43 gamut modprobe: modprobe: Can't locate module 

2) the tty displays:-
Determining IP information for eth0 via dhclient...Internet Software
Consortium DHCP Client V3.0b2pl2
Copyright 1995-2000 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Listening on LPF/eth0/*MAC address, whistles like scooby doo*
Sending on   LPF/eth0/*MAC address, whistles like scooby doo*
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
Trying recorded lease 10.0.0.167
*then* it gives me a list of an enviroment,
*then* is gives me the result of "ping --help",
*then* is says:-
bound: renewal in 7636441 seconds.
 done.

After all that, interface eth0 is still not listed by ifconfig.

--
- Antony Suter  ([EMAIL PROTECTED])  "Examiner"  openpgp:71ADFC87
- "And how do you store the nuclear equivalent of the universal solvent?"