Networking in Embedded Linux

4,907 views
4,862 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,907
On SlideShare
0
From Embeds
0
Number of Embeds
2,240
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Networking in Embedded Linux

  1. 1. Networking in Embedded Linux © 2010 Anil Kumar Pugalia <email@sarika-pugs.com> All Rights Reserved.
  2. 2. What to Expect? Networks Supported in Embedded Linux Enhancing Network Support © 2010 Anil Kumar Pugalia <email@sarika-pugs.com> 2 All Rights Reserved.
  3. 3. Networking Options Embedded Linux supports most of the networking options what PC Linux supports, including Wired (10/100/1000 Mbps) Wireless (WEP, WPA-TKIP, WPA-PSK, …) with various Network Hardware Though, the drivers may need to be cross- compiled And Linux is well suited for networking apps © 2010 Anil Kumar Pugalia <email@sarika-pugs.com> 3 All Rights Reserved.
  4. 4. Networking on Board However, it finally depends on what all, the board supports Whether the hardware is there directly on the board Or, Extensions through USB dongles Or, Anything else If not on the final product, it should be there on the prototypes, and development boards This makes the development activity highly productive Though today, even Embedded Products are expected to have many networking capabilities Let's understand for use © 2010 Anil Kumar Pugalia <email@sarika-pugs.com> 4 All Rights Reserved.
  5. 5. Enhancing Network Support Assumption: Network support at hardware level Let's see the available network support at the Embedded Applications level, and its impact (what it enhances) By available support, we mean Cross-compilable Installable on target's RFS © 2010 Anil Kumar Pugalia <email@sarika-pugs.com> 5 All Rights Reserved.
  6. 6. Available Network Services inetd – Internet super-server Part of netkit (ftp://ftp.uk.linux.org/pub/linux/Networking/netkit) SNMP – For Remote Administration Download from http://net-snmp.sourceforge.net telnet – Network login telnetd – Part of netkit utelnetd by Robert Schwebel of Pengutronix ssh – Secure communications Dropbear – Light weight OSS from http://matt.ucc.asn.au/dropbear/dropbear.html http – Serving web content Boa from http://www.boa.org thttpd from http://www.acme.com/software/thttpd Use PHP as a CGI Engine dhcp – Dynamic configuration Part of busybox as udhcp And many more © 2010 Anil Kumar Pugalia <email@sarika-pugs.com> 6 All Rights Reserved.
  7. 7. Generic Steps to setup Apps Download Application Source, say src.tgz gunzip & untar it: tar -zxvf src.tgz Configure it ./configure --host=${TARGET} --prefix=$ {TARGET_PREFIX} Build it: make Install it: make install © 2010 Anil Kumar Pugalia <email@sarika-pugs.com> 7 All Rights Reserved.
  8. 8. What all have we learnt? Networks Supported in Embedded Linux Wired Wireless Enhancing Network Support By Networking Applications (Services) © 2010 Anil Kumar Pugalia <email@sarika-pugs.com> 8 All Rights Reserved.
  9. 9. Any Queries? © 2010 Anil Kumar Pugalia <email@sarika-pugs.com> 9 All Rights Reserved.

×