[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] opb_ethernet HWaddr of 00:00:00:00:00:00



Hi, Victor

Perhaps, there is a problem with your MAC.

Ensure your ethereal is in promiscuous mode and recapture again.

Regards,
Chun Yeow

On Dec 5, 2007 2:41 PM, < victor-sv_yeo@xxxxxxxxxxx> wrote:

Hi Chun Yeow,

 

I try using static IP on the microblaze linux:

 

# ifconfig

eth0      Link encap:Ethernet  HWaddr 00:11:22:33:44:55

          inet addr:192.168.1.10  Bcast:192.168.1.255  Mask:255.255.255.0

          UP BROADCAST RUNNING  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:5033 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

                    Interrupt:1

 

As you can see, the RX packets are zero.

 

There are 5033 TX packets, but when I use ethereal, I cannot capture any packets.

 

Rgds,

Victor Yeo

 


From: owner-microblaze-uclinux@xxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of Yeoh Chun Yeow
Sent: Wednesday, December 05, 2007 1:12 PM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: Re: [microblaze-uclinux] opb_ethernet HWaddr of 00:00:00:00:00:00

 

Hi Victor,

Please double check whether your DHCP server is up. Do you setup your own DHCP server?

You can try out various dhcp clients, such as dhclient, dhcpcd or udhcp client (Busybox).

Regards,
Chun Yeow

On Dec 5, 2007 10:54 AM, <victor-sv_yeo@xxxxxxxxxxx> wrote:

Hi Kristoffer,

I am able to set the HWaddr now. Thank you.

But I cannot ping any other ip address, I am using a static IP address.

If I run dhcp client, I get this error message:
Dhcpcd[60]: timeout waiting for a valid DHCP server response

I am using petalinux-v0.20-rc3.

Rgds,
Victor Yeo

-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx [mailto: owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of Kristoffer Hedberg
Sent: Tuesday, December 04, 2007 8:25 PM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: Re: [microblaze-uclinux] opb_ethernet HWaddr of 00:00:00:00:00:00

Hi Victor,

The Ethernet address is set by u-boot from the u-boot configuration. Are
you booting through u-boot? If not, the behaviour you described is
remedied by first issuing the command

# ifconfig eth0 down

and then configuring the address manually

# ifconfig eth0 hw ether 00:00:5e:00:fa:ce

Regards,
Kristoffer Hedberg

> Hi,
>
> I use the opb_ethernet logic core and with linux 2.6 kernel. There is a
> problem with this Ethernet core in linux.
>
> # ifconfig eth0
> eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:00
>           BROADCAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>                     Interrupt:1
>
> I set the Ethernet MAC address to 00:00:5e:00:fa:ce in "make menuconfig",
> but My HWaddr in ifconfig is all zeros.
>
> When I issue this command:
>
> # ifconfig eth0 hw ether 00:11:22:33:44:55
> SIOCSIFHWADDR: Device or resource busy
>
> I cannot change the MAC address in linux. Is that a problem with
> opb_ethernet driver (Xilinx 10/100 OPB ETHERNET support)?
>
> Thank you,
> Victor Yeo
>
>
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive :
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
>


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/



___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/