From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27286 invoked by alias); 22 Feb 2007 03:47:12 -0000 Received: (qmail 27278 invoked by uid 22791); 22 Feb 2007 03:47:11 -0000 X-Spam-Check-By: sourceware.org Received: from netic.com (HELO netic.com) (208.131.130.247) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 22 Feb 2007 03:47:04 +0000 Received: from www.netic.com (netic.com [208.131.130.247]) by netic.com (8.12.11.20060308/8.12.11) with ESMTP id l1M3l2Nl024697; Wed, 21 Feb 2007 20:47:02 -0700 Received: from phpmailer ([203.20.36.80]) by www.netic.com with HTTP (UebiMiau); Wed, 21 Feb 2007 20:47:02 -0700 Date: Thu, 22 Feb 2007 03:47:00 -0000 To: Chuck McManis , ECOS Discussion Group From: "Laurie.Gellatly" Reply-to: "Laurie.Gellatly" Message-ID: <1d9a9a389393f1f7db1f42d25e2d182d@www.netic.com> X-Mailer: UebiMiau [PHPMailer version 1.70] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="iso-8859-1" X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] N00blet question on networking X-SW-Source: 2007-02/txt/msg00205.txt.bz2 Hi Chuck, As Redboot and your application share the same NIC they are distinguished by different IP addresses. I would guess that the DHCP server, receiving a second request from the same MAC, will simply reply with the same address again (maybe extending the lease on the IP). Have you tried making one of Redboot or the application use a static address? ...Laurie:{) --------- Original Message -------- From: Chuck McManis To: ECOS Discussion Group Subject: [ECOS] N00blet question on networking Date: 21/02/07 02:21 > Ok, so I have redboot working. Further I can build a libtarget.a with a > basic set of options, I tried the simple program to get data from the > console and echo it back, and I can boot redboot, 'load -h <my server> > simple' and 'go' to run it. All's cool. > > So I used ecosconfig to add in CYGPKG_NET and FREEBSD_STACK and ETH_DRIVERS > (actually there was a point where I had no conflicts but a couple of > ethernet driver files were missing, its a CDL bug but I've not assured > myself that I know enough about what I'm doing to call it a bug outright > yet ;-) > > Now I can build the httpd1.c test and when I run it this is what I get: > ---------------------------------------------------- > Ethernet eth0: MAC address 00:0a:00:c0:ff:ee > IP: 192.168.110.124/255.255.255.0, Gateway: 192.168.110.254 > Default server: 0.0.0.0 > > RedBoot(tm) bootstrap and debug environment [GRUB] > Non-certified release, version UNKNOWN - built 21:38:48, Feb 19 2007 > > Platform: PC (I386) > Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. > Copyright (C) 2003, 2004, 2005, 2006 eCosCentric Limited > > RAM: 0x00100000-0x040f0000, [0x0018da10-0x01000000] available > RedBoot> load -h 192.168.110.30 httpd1 > Using default protocol (TFTP) > Entry point: 0x00208000, address range: 0x00208000-0x00244720 > RedBoot> go > [cyg_net_init] Init: mbinit(0x00000000) > [cyg_net_init] Init: cyg_net_init_devs(0x00000000) > Init device 'vt8235_eth0' > [cyg_net_init] Init: loopattach(0x00000000) > [cyg_net_init] Init: ifinit(0x00000000) > [cyg_net_init] Init: domaininit(0x00000000) > [cyg_net_init] Init: cyg_net_add_domain(0x00243f80) > New domain internet at 0x00000000 > [cyg_net_init] Init: cyg_net_add_domain(0x002436c0) > New domain route at 0x00000000 > [cyg_net_init] Init: call_route_init(0x00000000) > [cyg_net_init] Done > [eth_drv_ioctl] Warning: Driver can't set multi-cast mode > [eth_drv_ioctl] Warning: Driver can't set multi-cast mode > > ---------------------------------------- > > Ok, but when I do this, there doesn't seem to be any way to talk to my > target board. Eventually it prints : > > BOOTP/DHCP failed on eth0 > [eth_drv_ioctl] Warning: Driver can't set multi-cast mode > [eth_drv_ioctl] Warning: Driver can't set multi-cast mode > > Which seems unusual given that DHCP worked fine for Redboot. > > So here are some questions: > > What should this test print when it works? Should I be able to ping my > target after using init_all_network_interfaces() ? What is different > between Redboot's use of my driver and ECOS's use of the driver? > > --Chuck > > > -- > Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss > > ________________________________________________ Message sent using UebiMiau 2.7.9 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss