All of lore.kernel.org
 help / color / mirror / Atom feed
* run-time problem - poky-image-lsb-sdk-beagleboard
@ 2011-03-24 12:49 Robert Berger
  2011-03-24 12:53 ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Berger @ 2011-03-24 12:49 UTC (permalink / raw)
  To: yocto

Hi,

Using rpm instead of ipk I'm able to build
poky-image-lsb-sdk-beagleboard even with the lastest and greatest from
git (commit aeaa356a5ee77b4596c479451a9db289381a4d16 Sat Mar 19 01:30:12
2011 +0000)

The problem I have now is, that on my beagle-xm networking does not seem
to get an IP address from my dhcp server.

root@beagleboard:~# ifconfig -a
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:50 errors:0 dropped:0 overruns:0 frame:0
          TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5375 (5.2 KiB)  TX bytes:5375 (5.2 KiB)

usb0      Link encap:Ethernet  HWaddr 06:ba:3b:e0:1f:b2
          BROADCAST MULTICAST  MTU:1492  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


Manually it seems to work:
root@beagleboard:~# ifconfig usb0 192.168.42.67
root@beagleboard:~# ifcusb0: link up, 100Mbps, full-duplex, lpa 0xC5E1

root@beagleboard:~# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:55 errors:0 dropped:0 overruns:0 frame:0
          TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6140 (5.9 KiB)  TX bytes:6140 (5.9 KiB)

usb0      Link encap:Ethernet  HWaddr 06:ba:3b:e0:1f:b2
          inet addr:192.168.42.67  Bcast:192.168.42.255  Mask:255.255.255.0
          inet6 addr: fe80::4ba:3bff:fee0:1fb2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:5472 (5.3 KiB)

A sato image built from exactly the same sources had dhcp working out of
the box.

Regards,

Robert

..."Experience is something you don't get until just after you need it."
- Olivier

My public pgp key is available at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: run-time problem - poky-image-lsb-sdk-beagleboard
  2011-03-24 12:49 run-time problem - poky-image-lsb-sdk-beagleboard Robert Berger
@ 2011-03-24 12:53 ` Gary Thomas
  2011-03-24 13:59   ` Robert Berger
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2011-03-24 12:53 UTC (permalink / raw)
  To: gmane; +Cc: yocto

On 03/24/2011 06:49 AM, Robert Berger wrote:
> Hi,
>
> Using rpm instead of ipk I'm able to build
> poky-image-lsb-sdk-beagleboard even with the lastest and greatest from
> git (commit aeaa356a5ee77b4596c479451a9db289381a4d16 Sat Mar 19 01:30:12
> 2011 +0000)
>
> The problem I have now is, that on my beagle-xm networking does not seem
> to get an IP address from my dhcp server.
>
> root@beagleboard:~# ifconfig -a
> lo        Link encap:Local Loopback
>            inet addr:127.0.0.1  Mask:255.0.0.0
>            inet6 addr: ::1/128 Scope:Host
>            UP LOOPBACK RUNNING  MTU:16436  Metric:1
>            RX packets:50 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:0
>            RX bytes:5375 (5.2 KiB)  TX bytes:5375 (5.2 KiB)
>
> usb0      Link encap:Ethernet  HWaddr 06:ba:3b:e0:1f:b2
>            BROADCAST MULTICAST  MTU:1492  Metric:1
>            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:1000
>            RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>
>
> Manually it seems to work:
> root@beagleboard:~# ifconfig usb0 192.168.42.67
> root@beagleboard:~# ifcusb0: link up, 100Mbps, full-duplex, lpa 0xC5E1
>
> root@beagleboard:~# ifconfig
> lo        Link encap:Local Loopback
>            inet addr:127.0.0.1  Mask:255.0.0.0
>            inet6 addr: ::1/128 Scope:Host
>            UP LOOPBACK RUNNING  MTU:16436  Metric:1
>            RX packets:55 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:0
>            RX bytes:6140 (5.9 KiB)  TX bytes:6140 (5.9 KiB)
>
> usb0      Link encap:Ethernet  HWaddr 06:ba:3b:e0:1f:b2
>            inet addr:192.168.42.67  Bcast:192.168.42.255  Mask:255.255.255.0
>            inet6 addr: fe80::4ba:3bff:fee0:1fb2/64 Scope:Link
>            UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
>            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:1000
>            RX bytes:0 (0.0 B)  TX bytes:5472 (5.3 KiB)
>
> A sato image built from exactly the same sources had dhcp working out of
> the box.

What does /etc/network/interfaces show?  Is it different between the two images?

n.b. I've not tried any of the LSB images, just poking in the dark.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: run-time problem - poky-image-lsb-sdk-beagleboard
  2011-03-24 12:53 ` Gary Thomas
@ 2011-03-24 13:59   ` Robert Berger
  0 siblings, 0 replies; 3+ messages in thread
From: Robert Berger @ 2011-03-24 13:59 UTC (permalink / raw)
  To: yocto

Hi,

On 03/24/2011 02:53 PM, Gary Thomas wrote:

> 
> What does /etc/network/interfaces show?  Is it different between the two
> images?
> 
> n.b. I've not tried any of the LSB images, just poking in the dark.
> 

To our both surprise they are identical (see below).
... and if you ask my uneducated guess I would say this should not work,
since usb0 is static ?!?!

... but, surprisingly enough it does on sato ...

... and if I make the following change in lsb-sdk it still does not :

iface usb0 inet dhcp

it also does not work if I hardcode the network conf for usb0 in
/etc/network/interfaces

--------------

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# Wireless interfaces
iface wlan0 inet dhcp
	wireless_mode managed
	wireless_essid any
	wpa-driver wext
	wpa-conf /etc/wpa_supplicant.conf

iface atml0 inet dhcp

# Wired or wireless interfaces
iface eth0 inet dhcp
iface eth1 inet dhcp

# Ethernet/RNDIS gadget (g_ether)
# ... or on host side, usbnet and random hwaddr
iface usb0 inet static
	address 192.168.7.2
	netmask 255.255.255.0
	network 192.168.7.0
	gateway 192.168.7.1

# Bluetooth networking
iface bnep0 inet dhcp

Regards,

Robert...Good judgment comes from experience... and experience comes
from bad judgment.- Fred Brooks

My public pgp key is available at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-24 14:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-24 12:49 run-time problem - poky-image-lsb-sdk-beagleboard Robert Berger
2011-03-24 12:53 ` Gary Thomas
2011-03-24 13:59   ` Robert Berger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.