Home › ELEKTOR FORUMS › DigiButler (April & May 2008) › No IP address via DHCP

ELEKTOR FORUMS

Please log in to post a reply or subscribe / unsubscribe to topics

Topic: No IP address via DHCP

Author Post

Groen

10 posts

Popping In
Popping In

Read post 31-08-2008 12:17

Hi all,

I have just finished the PCB and powered up. All seems ok. However no IP address is given via DHCP. I have switched off all security in my router. Does anyone have an idea?

From the COM port I have got the following:

Elektor SW Version 1.1.0

Running ColdFire TCP/IP-Lite stack

Copyright 2006 by Freescale Semiconductor Inc.
Use of this software is controlled by the agreement
found in the project LICENSE.H file.
Built on Mar 28 2008 09:39:53

Heap addr=20001C04 Heap size = 25344 bytes
InterNiche ColdFireLite TCP/IP for Coldfire, v3.0

Copyright 1997-2006 by InterNiche Technologies. All rights reserved.
Preparing device for networking
Ethernet started, Iface: 0, IP: 192.168.0.151


Here the message "Required IP address ......" is missing

avrkris

24 posts

Occasional Visitor
Occasional Visitor

Read post 31-08-2008 13:02

Hi

Have a look at my other post. I have the same problem

It looks like the software came with dhcp disabled! So the digibutler comes with static address setting of 192.168.0.151

Setup on your pc to a static adress for example 192.160.0.10 and either use a switch or a crossover cable to connect it together...
Now you should be able to log onto the digibutler.

To enable dhcp you need to reconfigure the software, compile it and program the board (TBCLF needed to upload the program)

Hope this helps
Kris

Post edited by avrkris on 31-08-2008 13:03

jart

38 posts

Occasional Visitor
Occasional Visitor

Read post 31-08-2008 13:44

Hi

I also had this problem. Another solution is to change the IP address for your router to 192.168.0.1.

For example my Netgear router has the default IP address 192.168.1.1. Under the "LAN IP Setup" of the router you can change this to 192.168.0.1. Now you will be able to access the digibutler at the address 192.168.0.151.

I was also able to enable DHCP by reprogramming the digibutler with the TBLCF.

avrkris

24 posts

Occasional Visitor
Occasional Visitor

Read post 01-09-2008 10:03

Hi Jart

In your post you have mentioned that you've managed to reprogram the DigiButler via TBCLF

Any chance you could post a quick guide on how to use CodeWarrior with TBCLF and the elector project files? I'm quite new to CodeWarrior IDE, tried opening the project and compiling it, but I'm getting all sort of linker errors... I think elektor’s project was developed on different hardware(evaluation board?)
If you get a chance can you please post the settings for the project(target, linker settings etc) and some step by step guide on how to reprogram the board...
I think lots of us would appreciate…. And you would become my hero

Thanks
Kris

jart

38 posts

Occasional Visitor
Occasional Visitor

Read post 01-09-2008 12:12

Hi avrkris

I am working on a guide and will probably post it later today.

hakann

62 posts

Frequent Visitor
Frequent Visitor

Read post 03-10-2008 10:42

I have the same problem. I don't have the TBCLF to change to DHCP. Isn't there any other way to set up DHCP? What to do?

Elektor article says DHCP is enabled. Now it's delivered without it. I don't now how to solve this.

Post edited by hakann on 03-10-2008 10:45

Elektor Editor

587 posts

Power User
Power User

Read post 13-10-2008 11:05

The board comes with a fixed IP addrress rather than DHCP. The software mdidifications to upgrade to DHCP are described on the project web page as well as in several threads in this forum.

Jan

hakann

62 posts

Frequent Visitor
Frequent Visitor

Read post 30-10-2008 10:56

The problem is I don't have the TBLCF to reprogram the chip and I supposed I wouldn't need it either, since it should be delivered with DHCP. That sucks a bit!

I have now tried to recompile the software. CodeWarrior 7.1 is installed but when I run make I get an error "ansiprefix.E68k.h cannot be opened". But that file is 68K right? The define "__MC68K__" makes an inclusion of 68K stuff. It is defined in "common.h" in the Digibutler source code to the value 0. In the inclusion test it tests for "#if defined(__MC68K__)". It is defined, but to the value "0".

It looks like a mismatch between "if" and "if defined". Or has I missed something along the road to have this error? Someone really must have compiled the source successfully so why am I getting errors?

hakann

62 posts

Frequent Visitor
Frequent Visitor

Read post 08-12-2008 16:56

I have partly succeded! My TBLCF is readybuild and firmware loaded. I have also managed to reflash the Digibutler with other network parameters. At first, I was going for the DHCP setting, but didn't want to do that change rigth now. Instead I choose to change the IP-address to something on my 192.168.1.xx network. Well, at first it looked nice and I had an answer on ping for that new address. Suddenly the Digibutler shouted (on serial port) it got another address by DHCP. Strange. I never activated DHCP and it shouldn't do that. At least I could reach the Digibutler at the new address it got by DHCP. I'll double check the source code to be sure I didn't enable DHCP after all. But I'm quite sure of it.

hakann

62 posts

Frequent Visitor
Frequent Visitor

Read post 10-12-2008 22:28

It was this problem.

Asier

1 post

Popping In
Popping In

Read post 20-02-2011 15:33

hi,
I've got the same message and Elektor's article sais that digibutler comes with DHCP enabled.
What should I do now ? I don't want to buy TBLCF.

thanks.

Please log in to post a reply or subscribe / unsubscribe to topics

Subscribe now

Subscribe to our free
E-weekly Newsletter!

Enter your Email address:

Follow Elektor

      

Act now!

FAQ

Before submitting questions, review our FAQ section!

Bestseller

Microprocessor Design using Verilog HDL

This book is a practical guide to processor design in the real world. It presents the Verilog HDL in an easily digestible fashion and serves as a thorough introduction about reducing a computer architecture and instruction set to practice. 

Package Deals

Elektor Bundles

Check our Package Deals and save money! Discounts up to 19% now available!

Price Slashed

Elektor OSPV

This Open Source People Vehicle is perfect for factory halls, warehouses, hospitals, colleges, schools etc.

Elektor PCBs at 25% OFF