Tux
Communication
Mailing lists
Documentation
User Manual
Target board info.
Target chip info.
Support
Linux support
Bugzilla
Downloads
STLinux
Updates
Search
Google


The web
stlinux.com
Networking and Ethernet devices
Configuring two network interfaces
ST Logo
Previous   Contents   Next

Configuring two network intefaces (on the STb710x Reference board)

On the mb442 board you can use both the 7109 Ethernet and the SMC91C111 (the Kernel option is: CONFIG_SMC91X) interfaces.

After booting the kernel on your target, by default, the eth0 device is assigned to the SMC NIC. The 7109 Ethernet interface can be configured as shown in the example below:

# ifconfig eth1 hw ether 12:34:56:82:81:AC
# ifconfig eth1 192.168.1.2

NOTES

  • Starting from the latest kernels (STLinux-2.3) pay attention configuring both the stmmac and the SMC drivers. In fact by default the former will be the inteface eth0
  • Previous   Contents   Next
    Valid HTML 4.01! Last updated: 2008/02/14 10:06:53
    © Copyright STMicroelectronics Limited, 2005
    Printer