LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 08-16-2004, 02:54 PM   #1
waynix
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
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.
 
Old 08-16-2004, 04:15 PM   #2
osvaldomarques
Member
 
Registered: Jul 2004
Location: Rio de Janeiro - Brazil
Distribution: Conectiva 10 - Conectiva 8 - Slackware 9 - starting with LFS
Posts: 519

Rep: Reputation: 34
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.
 
Old 08-16-2004, 04:53 PM   #3
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
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
 
Old 08-16-2004, 05:35 PM   #4
waynix
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Added server-name, problem solved. Thanks guys
 
Old 06-10-2005, 01:44 AM   #5
ERBRMN
Member
 
Registered: Mar 2005
Location: Japan
Distribution: TurboLinux, RHEL, SUSE
Posts: 96

Rep: Reputation: 15
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 ?

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sles 9.2 dhcp server not assigning default gateway pat45 Linux - Networking 1 05-07-2005 06:51 AM
mount to NFS server 'ip addr' failed: server is down. timvand Linux - Networking 1 04-22-2005 03:03 PM
DHCP failover to static IP addr rf_willi Linux - Networking 0 10-25-2004 06:31 PM
odd default gateway address, uses addr ~.ip.~ whatzat? piratebiter Linux - Networking 0 09-07-2003 08:06 PM
Default RPM's REDHat 9.0 Server (HTTPD,DHCP,FTPD) Hooded™ Linux - Software 1 09-02-2003 04:39 PM


All times are GMT -5. The time now is 08:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration