linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* LinuxEmbedded: minimal network system packages.
@ 1999-11-11 22:30 Brendan Simon
  1999-11-12  1:01 ` Dan Malek
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Brendan Simon @ 1999-11-11 22:30 UTC (permalink / raw)
  To: linux-embedded, linuxppc-embedded


I've just managed to get LinuxPPC (embedded-2.2.5 kernel) to boot on my
custom MPC860 board using the initrd boot method.  I haven't got the
nfs-root working yet but I imagine this shouldn't present too many
problems.

I want to be able to run FTP (client only), HTTP server, SNMP agent and
TELNET server.
What packages do I need to compile (cross-compile) to get these working
?

Things I think I need are :
* init
* mount (do I NEED this ?)
* ifconfig (do I NEED this ?)
* inet
* ftp, http, snmp and telnet software.

Any pointers to documentation about getting a minimal embedded networked
system up and running.

Thanks,
Brendan Simon.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: LinuxEmbedded: minimal network system packages.
  1999-11-11 22:30 LinuxEmbedded: minimal network system packages Brendan Simon
@ 1999-11-12  1:01 ` Dan Malek
  1999-11-12  8:00 ` Sebastien HUET
  1999-11-12 13:35 ` Dave Weis
  2 siblings, 0 replies; 6+ messages in thread
From: Dan Malek @ 1999-11-12  1:01 UTC (permalink / raw)
  To: bsimon; +Cc: linux-embedded, linuxppc-embedded


Brendan Simon wrote:


> 
> Things I think I need are :
> * init

I don't run init, I just have the kernel start up with a
shell and runs /linuxrc to start whatever daemons I need.

> * mount (do I NEED this ?)

It's nice, because I at least mount /proc.

> * ifconfig (do I NEED this ?)

Depends how you start the embedded system.  If it is always part
of a network where a server can provide the necessary information
via BOOTP/DHCP, you don't need ifconfig.

> * inet

inetd....and associated network information files.


> Any pointers to documentation about getting a minimal embedded networked
> system up and running.

It's pretty straight forward.  Just think about what you need.  If
you have the "disk" space, you can go through the layers of rc.x and
sysconfig files, or just make a simple shell script to configure what
you need.  Do you want resolver library baggage or just use /etc/hosts?
Things like that.  It's a learning experience :-).


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: LinuxEmbedded: minimal network system packages.
  1999-11-12  8:00 ` Sebastien HUET
@ 1999-11-12  7:15   ` Brendan Simon
  1999-11-12 18:14     ` Scott Wood
  0 siblings, 1 reply; 6+ messages in thread
From: Brendan Simon @ 1999-11-12  7:15 UTC (permalink / raw)
  Cc: linux-embedded, linuxppc-embedded


Sebastien HUET wrote:

> Brendan Simon wrote:
>
> > Things I think I need are :
> > * init
> > * mount (do I NEED this ?)
> > * ifconfig (do I NEED this ?)
> > * inet
> > * ftp, http, snmp and telnet software.
>
> Hi,
>
> the bootdisk howto is a good way to learn how a linux config starts.
> http://linuxdoc.org/HOWTO/Bootdisk-HOWTO.html

I've got a basic understanding of how things startup.  Use of init or
/linuxrc and shell scripts, etc.  I don't have the binaries and want to
be able to compile the binaries from the sources.

I need to know what packages I NEED and where to find the sources for
them.  RedHat and Debian supply all the sources for the releases.  I
have been to the LinuxPPC mirror and also found RPM sources.  I am
currently looking at these these packages are put together by the
vendors and they must get the sources from somewhere else.  eg. where is
the orignal site for "mount" ?  I prefer to use a tarball than some
proprietry distribution package.

Thanks,
Brendan Simon.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: LinuxEmbedded: minimal network system packages.
  1999-11-11 22:30 LinuxEmbedded: minimal network system packages Brendan Simon
  1999-11-12  1:01 ` Dan Malek
@ 1999-11-12  8:00 ` Sebastien HUET
  1999-11-12  7:15   ` Brendan Simon
  1999-11-12 13:35 ` Dave Weis
  2 siblings, 1 reply; 6+ messages in thread
From: Sebastien HUET @ 1999-11-12  8:00 UTC (permalink / raw)
  To: bsimon; +Cc: linux-embedded, linuxppc-embedded


Brendan Simon wrote:

> Things I think I need are :
> * init
> * mount (do I NEED this ?)
> * ifconfig (do I NEED this ?)
> * inet
> * ftp, http, snmp and telnet software.

Hi,

the bootdisk howto is a good way to learn how a linux config starts.
http://linuxdoc.org/HOWTO/Bootdisk-HOWTO.html

Bye

Seb
---
PS: I am looking for someone who may help me to populate
http://linux-embedded.com
about ppc & embedded.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: LinuxEmbedded: minimal network system packages.
  1999-11-11 22:30 LinuxEmbedded: minimal network system packages Brendan Simon
  1999-11-12  1:01 ` Dan Malek
  1999-11-12  8:00 ` Sebastien HUET
@ 1999-11-12 13:35 ` Dave Weis
  2 siblings, 0 replies; 6+ messages in thread
From: Dave Weis @ 1999-11-12 13:35 UTC (permalink / raw)
  To: Brendan Simon; +Cc: linux-embedded, linuxppc-embedded



On Fri, 12 Nov 1999, Brendan Simon wrote:
> I want to be able to run FTP (client only), HTTP server, SNMP agent and
> TELNET server.
> What packages do I need to compile (cross-compile) to get these working
> Things I think I need are :
> * init

> * mount (do I NEED this ?)
> * ifconfig (do I NEED this ?)

read through the source for the two packages above. ifconfig on my machine
is 33k but if your config will be locked down, you can sum it up as

socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
ioctl(4, SIOCSIFADDR, 0xbffffb78)       = 0
ioctl(4, SIOCSIFNETMASK, 0xbffffb68)    = 0

to set the address and netmask of the loopback interface. 

read the source of the utils or strace them. if you have a few utils like
mount and ifconfig you can combine them into one program to cut down on
overhead and check the argv[0] to see what name they were called with and
change behavior based on that.

dave


-- 
David Weis                | 10520 New York Ave, Des Moines, IA 50322
djweis@plconline.com      | Voice 515-278-0133 Ext 231

When they took the Fourth Amendment, I was quiet because I didn't deal drugs.
When they took the Fifth Amendment, I was quiet because I was innocent.
When they took the Second Amendment, I was quiet because I didn't own a gun.
Now they've taken the First Amendment and I can't say anything.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: LinuxEmbedded: minimal network system packages.
  1999-11-12  7:15   ` Brendan Simon
@ 1999-11-12 18:14     ` Scott Wood
  0 siblings, 0 replies; 6+ messages in thread
From: Scott Wood @ 1999-11-12 18:14 UTC (permalink / raw)
  To: bsimon; +Cc: linuxppc-embedded@lists.linuxppc.org


> I need to know what packages I NEED and where to find the sources for
> them.  RedHat and Debian supply all the sources for the releases.  I
> have been to the LinuxPPC mirror and also found RPM sources.  I am
> currently looking at these these packages are put together by the
> vendors and they must get the sources from somewhere else.  eg. where is
> the orignal site for "mount" ?  I prefer to use a tarball than some
> proprietry distribution package.
> 

There is a utility in the Linux Router Project
(http://www.linuxrouter.org/)
called 'busybox' which contains many useful utilities and it's about 80k
(430k statically linked).  busybox can 'mount' but it just silently failed
on my MPC850 board, so I'm using 'mount' from util-linux-2.9.  If you're
using
a RedHat-based distribution, you can use 'rpm -qf </path/to/filename>' 
to find the name of the package that <filename> belongs to.  


> Thanks,
> Brendan Simon.

-- 
+---------------------+----------------------+
|     Scott Wood      |   Systems  Engineer  |
|=====================+======================|
|           BroadLink Communications         |
+--------------------------------------------+

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~1999-11-12 18:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-11 22:30 LinuxEmbedded: minimal network system packages Brendan Simon
1999-11-12  1:01 ` Dan Malek
1999-11-12  8:00 ` Sebastien HUET
1999-11-12  7:15   ` Brendan Simon
1999-11-12 18:14     ` Scott Wood
1999-11-12 13:35 ` Dave Weis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).