LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Redboot gets wrong default server IP-addr from DHCP ? (https://www.linuxquestions.org/questions/linux-networking-3/redboot-gets-wrong-default-server-ip-addr-from-dhcp-218385/)

waynix 08-16-2004 01:54 PM

Redboot gets wrong default server IP-addr from DHCP ?
 
I'm using Redboot on my embedded target and getting its IP etc from DHCP server
running on RedHat 9.0 host. I want the Host to be the server of all services.
Host has IP 192.168.1.1 and Target gets 192.168.1.10 but Redboot keeps
showing "default server IP: 192.168.1.10" which is its own IP addr. This is causing
the subsequent TFTP download to fail.
I have to manually modify the default server IP on target each time I reboot it.

I wonder if this is a Redboot problem or it's a Redhat DHCP configure problem.

Thanks in advance.

osvaldomarques 08-16-2004 03:15 PM

Hi waynix,
Basically you have to define "server-name XXX;", where XXX is the name of your server. The client will tftp from this server. If it is already declared, please post you "/etc/dhcpd.conf" for we try to find the problem.
Regards.

arno 08-16-2004 03:53 PM

it is possible to use different servers for DHCP and TFTP. This may be necessary if using a preexisting DHCP server. You can configure the next-server parameter in DHCP to point to the TFTP server
#/etc/dhcpd.conf

waynix 08-16-2004 04:35 PM

Added server-name, problem solved. Thanks guys

ERBRMN 06-10-2005 12:44 AM

Quote:

Originally posted by waynix
Added server-name, problem solved. Thanks guys

I am new for embedded linux and ...

I have create some embedded linux on i386 compatable PC.
Booting is Redboot from compact flash disk.

When I booting from floppy, it is OK.
But IP is not set.
When i input command " ip_address " on redboot after booting redboot, it will display some char and it is repeate this not read char when i any key.
This is my first problem.

Next is I could not create redboot on compact flash disk (size 128Mb).

If I create redboot on compact flash disk, I must build kernel on my compact flash disk.

Please help me , how could I create redboot on compact flash disk (sie is 120Mb) ?
How can I build kernel on compact flash after booting Redboot ?



All times are GMT -5. The time now is 10:00 AM.