Gentoo Archives: gentoo-embedded

From: Ow Mun Heng <Ow.Mun.Heng@×××.com>
To: gentoo-embedded@l.g.o
Subject: Re: HELP Re: [gentoo-embedded] Success in getting a Minimal Gentoo
Date: Mon, 20 Jun 2005 05:58:35
Message-Id: 1119247061.17219.24.camel@neuromancer.home.net
In Reply to: Re: HELP Re: [gentoo-embedded] Success in getting a Minimal Gentoo by Ow Mun Heng
1 On Mon, 2005-06-20 at 13:50 +0800, Ow Mun Heng wrote:
2 > On Mon, 2005-06-20 at 11:48 +0800, Ow Mun Heng wrote:
3 > > On Mon, 2005-06-20 at 10:22 +0800, Ow Mun Heng wrote:
4 > > > On Sun, 2005-06-19 at 12:41 -0400, Ned Ludd wrote:
5 > > > > On Sun, 2005-06-19 at 22:21 +0800, Ow Mun Heng wrote:
6 > > > > >
7 >
8 > > > > > Next, need to put in iptables/shorewall/dropbear/dhcp(which would be
9 > > > > > recommended?)/freevo(that's the main purpose)/xorg-x11/firefox
10 > > > >
11 > > > > You can drop dhcp3 and just use the udhcpd provided by busybox.
12 > > >
13 > > > Okay.. Cool But even before I get that. dropbear doesn't start.
14 > > > For some reason, it can't find it. (but i can execute it on the cli with
15 > > > no issues. even dropbearkey works)
16 > > >
17 > > > /bin/ash: /etc/init.d/dropbear: not found
18 > >
19 > > Okay... I see this _may_ be due to me not having /sbin/runscript when
20 > > using baselayout-lite. (but even running it on the cli with "dropbear
21 > > -F" just drops me back to the cli, it's not doing anything)
22 > >
23 > > But how do I solve this? And Do I need runscript or?? Right now, not
24 > > even the pcnet32 network card works (am running/trying it out under
25 > > vmware)
26 >
27 > > /ps : am re-compiling my kernel to support pcnet32 within the kernel and
28 > > not as modules to re-try.
29 >
30 > Okay.. done with the re-compile, ifconfig eth0 up brings up the
31 > device... then doing the udhcpc -f gets me "Ooh! Got some!" and it gets
32 > an IP(i can see this from the host system where dhcp is running) but for
33 > some reason, (or is it like this by design?) it doesn't create the
34 > default routes etc via DHCP. it also complains
35 > of /share/udhcpc/default.script is not found. (this is a busybox package
36 > and I don't have a /share directory in my embedded Filesystem)
37
38 One more thing. Alhtough it does state it has an IP, but ifconfig eth0
39 yields no IP at all.
40
41 Why?
42
43 >
44 >
45 > Dropbear now runs though. :-)
46 >
47 > but netstat gives me funny results
48 >
49 > tcp 0 0 *:22 *:*
50 > netstat: no support for 'AF INET6 (tcp)' on this system (same for udp
51 > and raw)
52 >
53 > I believe this is cause if no IPV6 support compiled in?? (but dropbear
54 > runs and has a port open. but I can't get in)
55 >
56 > Is there a need for initscripts in embedded platforms or everything runs
57 > from /etc/inittab? If yes, how do I specify it? Or it isn't needed?
58 >
59 >
60 > >
61 >
62 > --
63 > Ow Mun Heng
64 > Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
65 > 98% Microsoft(tm) Free!!
66 > Neuromancer 13:41:40 up 1 day, 15:44, 7 users, load average: 0.48, 0.31,
67 > 0.22
68 >
69 >
70
71 --
72 Ow Mun Heng
73 Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
74 98% Microsoft(tm) Free!!
75 Neuromancer 13:57:09 up 1 day, 15:59, 7 users, load average: 1.07, 0.52,
76 0.33
77
78
79 --
80 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: HELP Re: [gentoo-embedded] Success in getting a Minimal Gentoo Ow Mun Heng <Ow.Mun.Heng@×××.com>