Jamie Lokier wrote:
I think it's more that, for example, udhcpc, _runs_ scripts in order
to bring up/down the network interface. The scripts do things like
edit /etc/resolv.conf and call ifconfig/route.
With the dhcpcd from Buildroot I found this.
If I remove the default.script file dhcp
Getting DHCP working isn't trivial, since most common DHCP clients tend to
use scripts, which aren't supported by the default sash shell. But there's
probably some available that don't, or you could switch to a different
shell. Or just go with a static IP.
I just do
dhcpcd
(in the
Michael Schnell wrote:
Getting DHCP working isn't trivial, since most common DHCP clients tend to
use scripts, which aren't supported by the default sash shell. But there's
probably some available that don't, or you could switch to a different
shell. Or just go with a static IP.
I just do
I think it's more that, for example, udhcpc, _runs_ scripts in order
to bring up/down the network interface. The scripts do things like
edit /etc/resolv.conf and call ifconfig/route.
Right you are !
I took a closer look and see that there is a file
/usr/share/udhcpc/default.script that
Without an MMU, userland constructs such as fork()s and certain kinds of
mmap() won't work. So unless bash has been patched to use alternate
constructs in the absence of an MMU, it won't work either.
Right you are.
But as with uCLinux, the Kernel does not provide fork(), and so a
uCLinux
Michael Schnell wrote:
Without an MMU, userland constructs such as fork()s and certain kinds of
mmap() won't work. So unless bash has been patched to use alternate
constructs in the absence of an MMU, it won't work either.
Right you are.
But as with uCLinux, the Kernel does not provide
But as with uCLinux, the Kernel does not provide fork(), and so a
uCLinux compatible libC will not provide the appropriate header. Thus
IMHO a program (like bash, as you seem to assume) that calls that
function can't be compiled.
Actually, calls to fork() can be compiled, but it is a
Jamie Lokier wrote:
I'm pretty sure Bash works with uClibc just fine ...
Even with static linking ?
Built into busybox or as a dedicated executable ?
Do you suggest that I should try to use bash in a project with enough RAM and flash ?
-Michael
Jivin Michael Schnell lays it down ...
Jamie Lokier wrote:
I'm pretty sure Bash works with uClibc just fine ...
Even with static linking ?
Bash will work with uClibc, but it needs an MMU.
Cheers,
Davidm
Built into busybox or as a dedicated executable ?
Do you suggest that I should
Bash will work with uClibc, but it needs an MMU.
I don't have one. OTOH, I don't understand. uCLinux does not handle the
MMU and a user land program can't do that on itself. So it should not
matter it any MMU hardware is present.
-Michael
___
Quoth Michael Schnell:
I don't have one. OTOH, I don't understand. uCLinux does not handle the
MMU and a user land program can't do that on itself. So it should not
matter it any MMU hardware is present.
Without an MMU, userland constructs such as fork()s and certain kinds of
mmap() won't
you can write scripts and
run them in sash, but it does not support input/output redirection nor
parameters, which limits their usefulness significantly.
OK I do understand now.
I usually use busybox msh, since that does support all of that, but it has
less integrated commands so you need
Quoth Michael Schnell:
sash does not support scripts ? That does not seem very useful.
Do you know a document that explains what shells provide which
capabilities ?
Looking at the docs for each shell is how I did it.
Note that what I said is slightly misleading -- you can write scripts and
Quoth kailash toshniwal:
Can someone please tell me the general instructions on setting
up the network in uClinux for any platform?
Much like any other linux system: you run ifconfig and/or a DHCP client.
Getting DHCP working isn't trivial, since most common DHCP clients tend to
use scripts,
Getting DHCP working isn't trivial, since most common DHCP clients tend to
use scripts, which aren't supported by the default sash shell.
sash does not support scripts ? That does not seem very useful.
Do you know a document that explains what shells provide which
capabilities ?
Is sash a
Hello all,
Can someone please tell me the general instructions on setting up the network
in uClinux for any platform? I am using h8/edosk platform for my application.
Thanks and Regards
Kailash
-
You rock. That's why Blockbuster's offering you
16 matches
Mail list logo