Bingo Robert !

Sorry for time I took but I was very busy .... the problem was exactly the
udev/rules .... the system recognized the asix mac address  but assigned
him the eth2 interface .... the eth1 was assigned to another asix mac
address, not the mine. I changed the assignement and now everything works.

So Robert .... I can only say " thank you  " :)

Now I am fighting with xenomai kernel ... compile ok , install ok but I
have boot trouble...

Maybe I will open another topic about this

Thanks again

Matt



2015-09-15 16:23 GMT+02:00 Robert Nelson <[email protected]>:

> That's just udev persistent network names. Look under /etc/udev/rules...
> On Sep 15, 2015 8:39 AM, "Matteo Loda" <[email protected]> wrote:
>
>> Hi Robert, This is what happened:
>>
>> 1) Debian in the SD card:
>>
>> TERMINAL:
>>
>> debian@beaglebone:/etc$ cat dogtag
>> BeagleBoard.org Debian Image 2015-03-01
>>
>>
>> debian@beaglebone:~$ ifconfig -a
>> eth0      Link encap:Ethernet  HWaddr d0:39:72:54:05:e4
>>           inet addr:10.22.189.89  Bcast:10.22.255.255  Mask:255.255.0.0
>>           inet6 addr: fe80::d239:72ff:fe54:5e4/64 Scope:Link
>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>           RX packets:2502 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:195 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:1000
>>           RX bytes:264416 (258.2 KiB)  TX bytes:22276 (21.7 KiB)
>>           Interrupt:40
>>
>> eth2      Link encap:Ethernet  HWaddr 00:50:b6:63:39:02
>>           BROADCAST MULTICAST  MTU:1500  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)
>>
>> 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:65536  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:0
>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>
>> usb0      Link encap:Ethernet  HWaddr 76:21:05:26:66:13
>>           inet addr:192.168.7.2  Bcast:192.168.7.3  Mask:255.255.255.252
>>           inet6 addr: fe80::7421:5ff:fe26:6613/64 Scope:Link
>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>           RX packets:144 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:116 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:1000
>>           RX bytes:20261 (19.7 KiB)  TX bytes:25466 (24.8 KiB)
>>
>> I defined eth1 in interfaces , not eth2 . The MAC 00:50:b6:63:39:02 is
>> that of the USB to Ethernet Adapter.
>>
>>
>> 2) Debian eMCC
>>
>> TERMINAL
>>
>> debian@beaglebone:~$ uname -r
>> 4.1.6-ti-r14
>> debian@beaglebone:~$ uname -a
>> Linux beaglebone 4.1.6-ti-r14 #1 SMP PREEMPT Thu Sep 3 20:56:12 UTC 2015
>> armv7l GNU/Linux
>>
>> debian@beaglebone:~$ sudo ifconfig
>> eth0      Link encap:Ethernet  HWaddr d0:39:72:54:05:e4
>>           inet addr:10.22.189.89  Bcast:10.22.255.255  Mask:255.255.0.0
>>           inet6 addr: fe80::d239:72ff:fe54:5e4/64 Scope:Link
>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>           RX packets:3268 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:219 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:1000
>>           RX bytes:289954 (283.1 KiB)  TX bytes:30615 (29.8 KiB)
>>           Interrupt:170
>>
>> eth1      Link encap:Ethernet  HWaddr 00:50:b6:63:39:02
>>           inet addr:10.22.189.41  Bcast:10.22.255.255  Mask:255.255.0.0
>>           inet6 addr: fe80::250:b6ff:fe63:3902/64 Scope:Link
>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>           RX packets:3327 errors:0 dropped:5 overruns:0 frame:0
>>           TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:1000
>>           RX bytes:241860 (236.1 KiB)  TX bytes:6258 (6.1 KiB)
>>
>> 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:65536  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:0
>>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>
>> usb0      Link encap:Ethernet  HWaddr d0:39:72:54:05:e0
>>           inet addr:192.168.7.2  Bcast:192.168.7.3  Mask:255.255.255.252
>>           inet6 addr: fe80::d239:72ff:fe54:5e0/64 Scope:Link
>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>           RX packets:94 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:1000
>>           RX bytes:18258 (17.8 KiB)  TX bytes:1050 (1.0 KiB)
>>
>> It's working in this test version ! :)  I get both images from the
>> official site
>>
>> How could I fix BeagleBoard.org Debian Image 2015-03-01  ?
>>
>> Regards
>>
>> Matt
>>
>>
>> 2015-09-11 17:49 GMT+02:00 Matteo Loda <[email protected]>:
>>
>>> So fast Robert :)
>>>
>>> I will be back on the BBB in 2 days.
>>>
>>> I will check this as soon as possible and I'll tell you what's going on.
>>>
>>> Regards
>>>
>>> Matt
>>> Il 11/set/2015 17:31, "Robert Nelson" <[email protected]> ha
>>> scritto:
>>>
>>>> On Fri, Sep 11, 2015 at 10:05 AM, Matteo Loda <[email protected]>
>>>> wrote:
>>>> > A ok Robert, now I understand what you mean.
>>>> >
>>>> > So why the USB to Ethernet adapter doesn't work ?
>>>> >
>>>> > debian@beaglebone:~$ uname -r
>>>> > 3.8.13-bone47
>>>> >
>>>> > debian@beaglebone:~$ lsusb
>>>> > Bus 001 Device 002: ID 0b95:7720 ASIX Electronics Corp. AX88772
>>>> >
>>>> > debian@beaglebone:~$ lsmod
>>>> > Module                  Size  Used by
>>>> > g_multi                47670  2
>>>> > libcomposite           14299  1 g_multi
>>>> > asix                   35075  0
>>>> > mt7601Usta            601404  0
>>>> >
>>>> > ifconfig don't show eth1 ..... which is defined in
>>>> /etc/network/interfaces:
>>>> >
>>>> > # The primary network interface
>>>> > auto eth0
>>>> > iface eth0 inet static
>>>> >         address 192.168.1.71
>>>> >         netmask 255.255.255.0
>>>> >         gateway 0.0.0.0
>>>> >
>>>> > auto eth1
>>>> > iface eth1 inet static
>>>> >         address 192.168.1.88
>>>> >         netmask 255.255.255.0
>>>> >         gateway 0.0.0.0
>>>> >
>>>> > iface usb0 inet static
>>>> >     address 192.168.7.2
>>>> >     netmask 255.255.255.0
>>>> >     network 192.168.7.0
>>>> >     gateway 192.168.7.1
>>>> >
>>>> > debian@beaglebone:/etc/network$ sudo ifup eth1
>>>> > Cannot find device "eth1"
>>>> > Failed to bring up eth1.
>>>> >
>>>> > The ifconfig commadn doesn't show eth1 .
>>>> >
>>>> > In my ubuntu desktop I got both modules mii.ko and usbnet.ko and this
>>>> USB to
>>>> > Ethernet adapter works .. so I asked you where to find these modules
>>>> ...
>>>>
>>>> i bet it says "rename0"
>>>>
>>>> sudo ifconfig -a
>>>>
>>>> I fixed that a while ago, but if your still running the 2014.05 (cat
>>>> /etc/dogtag) then that's why..
>>>>
>>>> Regards,
>>>>
>>>>
>>>> --
>>>> Robert Nelson
>>>> https://rcn-ee.com/
>>>>
>>>> --
>>>> For more options, visit http://beagleboard.org/discuss
>>>> ---
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "BeagleBoard" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/beagleboard/ZLwor6m0KGQ/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/ZLwor6m0KGQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to