On Mon, 2005-06-20 at 13:57 +0800, Ow Mun Heng wrote: > On Mon, 2005-06-20 at 13:50 +0800, Ow Mun Heng wrote: > > On Mon, 2005-06-20 at 11:48 +0800, Ow Mun Heng wrote: > > > On Mon, 2005-06-20 at 10:22 +0800, Ow Mun Heng wrote: > > > > On Sun, 2005-06-19 at 12:41 -0400, Ned Ludd wrote: > > > > > On Sun, 2005-06-19 at 22:21 +0800, Ow Mun Heng wrote: > > > > > > > > > > > > > > Next, need to put in iptables/shorewall/dropbear/dhcp(which would be > > > > > > recommended?)/freevo(that's the main purpose)/xorg-x11/firefox > > > > > > > > > > You can drop dhcp3 and just use the udhcpd provided by busybox. > > > > > > > > Okay.. Cool But even before I get that. dropbear doesn't start. > > > > For some reason, it can't find it. (but i can execute it on the cli with > > > > no issues. even dropbearkey works) > > > > > > > > /bin/ash: /etc/init.d/dropbear: not found > > > > > > Okay... I see this _may_ be due to me not having /sbin/runscript when > > > using baselayout-lite. (but even running it on the cli with "dropbear > > > -F" just drops me back to the cli, it's not doing anything) > > > > > > But how do I solve this? And Do I need runscript or?? Right now, not > > > even the pcnet32 network card works (am running/trying it out under > > > vmware) > > > > > /ps : am re-compiling my kernel to support pcnet32 within the kernel and > > > not as modules to re-try. > > > > Okay.. done with the re-compile, ifconfig eth0 up brings up the > > device... then doing the udhcpc -f gets me "Ooh! Got some!" and it gets > > an IP(i can see this from the host system where dhcp is running) but for > > some reason, (or is it like this by design?) it doesn't create the > > default routes etc via DHCP. it also complains > > of /share/udhcpc/default.script is not found. (this is a busybox package > > and I don't have a /share directory in my embedded Filesystem) > > One more thing. Alhtough it does state it has an IP, but ifconfig eth0 > yields no IP at all. > > Why?
I found the solution, (of sorts). It seems that I needed to copy over some scripts from the udhcp tarball into the embedded system for it to function. the scripts are sample.* in the tarball and they're to be copied into the embedded's filesystem. (I copied it into /etc/udhcpc and edited sample.script to reflect that change) Now, udhcpc will get the IP and the routes and DNS. Dropbear doesn't really work (it didn't even before this, I finally saw the reason was due to no ttys to allocate (pty_allocate: openpty no such file or directory) I can ssh in but it will hang as it can't allocate a tty for the session. I'm sure I compiled in unixptys. -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM 98% Microsoft(tm) Free!! Neuromancer 16:37:49 up 1 day, 18:40, 8 users, load average: 1.53, 1.09, 1.16 -- [email protected] mailing list
