[Avila] RE : [Avila] embeeded Linux on GW2345

ESSELLAK Radouane Radouane.Essellak at heig-vd.ch
Tue Oct 24 07:58:32 EDT 2006


------_=_NextPart_001_01C6F763.BA6BDF67
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hello,
I'm trying, as a first step, to load kernel image by tfpt server. these =
is my config files

------------------------------------------------------------------
#/etc/dhcpd.conf
ddns-update-style non;
default-lease-time 86400;
max-lease-time 86400;
allow bootp;
subnet 192.168.1.0 netmask 255.255.255.0 {
	option routers 192.168.1.1;
	option subnet-mask 255.255.255.0;
	range 192.168.1.2 192.168.1.254;
	deny unknown-clients;

	host gw2345 {
		hardware ethernet 00:d0:12:12:03:00;
		fixed-adress 192.168.1.2;
		option host-name "gw2345";
		next-server 192.168.1.1;
		filename "zImage";
		option root-path "192.168.1.1:$PROJETGW/rootfs";
	}
}
------------------------------------------------------------------
#/etc/exports
$PROJETGW/rootfs 192.168.1.0/24(rw,sync,no_root_squash)
------------------------------------------------------------------
#/etc/group
root::0:root
------------------------------------------------------------------
# /etc/hosts.allow: list of hosts that are allowed to access the system.
portmap: 192.168.1.0/24
lockd: 192.168.1.0/24
mountd: 192.168.1.0/24
rquotad: 192.168.1.0/24
statd: 192.168.1.0/24
------------------------------------------------------------------
# /etc/hosts.deny: list of hosts that are _not_ allowed to access the =
system.
portmap: ALL
lockd: ALL
mountd: ALL
rquotad: ALL
statd: ALL
------------------------------------------------------------------
#/etc/xinetd/tftp
service tftp
{
	socket_type	=3D dgram
	protocol	=3D udp
	wait		=3D yes
	user		=3D root
	server		=3D /usr/sbin/in.tftpd
	server_args	=3D /tftproot
	disable		=3D no
}
------------------------------------------------------------------

in minicom console I've done this

RedBoot> ip_address -l 192.168.1.2 -h 192.168.1.1
IP: 192.168.1.2/255.255.255.0, Gateway: 192.168.1.1
Default server: 192.168.1.1, DNS server IP: 0.0.0.0
RedBoot> load -r -v -b 0x01600000 zImage
Using default protocol (TFTP)
Can't load 'zImage': operation timed out
RedBoot>

zImage is in /tftproot directory. I don't know why I get the error =
above.

tcpdump captured this
root at mjolnir:/home/ressella/projetGW# tcpdump -i eth0
tcpdump: verbose output suppressed, use -v or -vv for full protocol =
decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
13:46:37.083507 arp who-has 192.168.1.1 tell 192.168.1.2
13:46:37.084251 arp reply 192.168.1.1 is-at 00:13:72:a0:84:93 (oui =
Unknown)
13:46:37.086022 IP 192.168.1.2.7702 > 192.168.1.1.tftp:  15 RRQ "zImage" =
OCTET
13:46:37.086052 IP 192.168.1.1 > 192.168.1.2: ICMP 192.168.1.1 udp port =
tftp unreachable, length 51
13:46:42.082507 arp who-has 192.168.1.2 tell 192.168.1.1
13:46:42.091168 arp reply 192.168.1.2 is-at 00:d0:12:12:03:00 (oui =
Unknown)

thanks for help

Radouane Essellak
HEIG-Vd @ Yverdon-les-Bains
Switzerland

-------- Message d'origine--------
De: Support [mailto:Support at powernoc.net]


More information about the Avila mailing list