Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on Linksys WRT54G
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
ThinLizzy
n00b
n00b


Joined: 01 Sep 2005
Posts: 22

PostPosted: Sat Sep 03, 2005 8:57 am    Post subject: Gentoo on Linksys WRT54G Reply with quote

Hi,

I want to install linux on two Linksys WRT54G wireless routers. Because I like Gentoo most, i like to install gentoo in stead of OpenWrt.
But first I want some experience and information of others.
Can someone help me pointing to some (worthfull) information?

Tenx for all the fish!
Back to top
View user's profile Send private message
Mark Clegg
Apprentice
Apprentice


Joined: 05 Jan 2004
Posts: 269
Location: ZZ9 Plural Z Alpha

PostPosted: Sat Sep 03, 2005 9:09 am    Post subject: Reply with quote

I'd be interested how you plan on getting a portage tree into such a small space ?
Back to top
View user's profile Send private message
ThinLizzy
n00b
n00b


Joined: 01 Sep 2005
Posts: 22

PostPosted: Sat Sep 03, 2005 9:15 am    Post subject: Reply with quote

By using a network share or ftpfs. And then use the fileserver.
Or are there better ways?
Back to top
View user's profile Send private message
ThinLizzy
n00b
n00b


Joined: 01 Sep 2005
Posts: 22

PostPosted: Sat Sep 03, 2005 11:00 am    Post subject: Reply with quote

The idea is to build a firewall-system with two linux-boxes.
Between them you can place you're webserver, mailserver and filservers.
Back to top
View user's profile Send private message
simulacrum
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2002
Posts: 128
Location: St Paul, MN

PostPosted: Sat Sep 03, 2005 7:44 pm    Post subject: Reply with quote

I don't believe Gentoo has been ported to the Mips platform, which the WRT54 runs on. You'd basically have to compile all the applications including kernel for MIPS, and then either write you own device drivers or somehow extract them from the existing Linksys base. Most of the custom installations available are reworkings of the Linksys software, not ground up installs.
Back to top
View user's profile Send private message
ThinLizzy
n00b
n00b


Joined: 01 Sep 2005
Posts: 22

PostPosted: Sun Sep 04, 2005 9:46 am    Post subject: Reply with quote

This sounds like a opportunity for Gentoo...
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Sat Dec 24, 2005 12:36 am    Post subject: Reply with quote

great
mabe could use gentoo technology in order to build a small system

i go wifi too and theses routers are good and have linux and great comunities
but there are target at flash drives and cd-roms
and some 4MB/8MB flash disk won't normaly feet them
i'll look at the gentoo wiki for small footprint system and in the official gentoo documentation(small print system targeted at desktop routers)

in another hand gentoo is great because i just can't choose a distrib
you have an imposed list of features
some are lacking
some are useless

so building a "fake gentoo(not a real gentoo but a linux that is like a gentoo)" would be great for such system
by the way...move this thread to alternatives architectures


Last edited by GNUtoo on Mon Dec 26, 2005 12:29 am; edited 1 time in total
Back to top
View user's profile Send private message
tomk
Administrator
Administrator


Joined: 23 Sep 2003
Posts: 7219
Location: Sat in front of my computer

PostPosted: Sat Dec 24, 2005 9:50 am    Post subject: Reply with quote

Moved from Installing Gentoo to Gentoo on Alternative Architectures.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Sun Dec 25, 2005 12:37 pm    Post subject: Reply with quote

simulacrum: Ahhem... mips.gentoo.org :-)

ThinLizzy:
Gentoo/Embedded would be more the focus of this sort of device.

The machine runs a little-endian MIPS32 CPU... in other words, incapable of running any of the official Gentoo/MIPS stages. It could run the mipsel µClibc-based stages; some were built for MIPS1 (lowest-common denominator in the MIPS world, much like i386 on IA32).

Your biggest problem though, is going to be RAM and storage. You've got bugger all for /, and nowhere to place swap space. Also, those machines have generally 16~32MB RAM. Which is going to be rather crabbed.

Even with petabytes of swap space, you may still run into issues compiling stuff. glibc for instance (irrelevant on µClibc userland though) simply won't compile in under 64MB RAM. Even then, I've found 128MB is a tight fit, often failing with nasty segfault errors out of GCC.

Gentoo isn't that well suited to this sort of device. Possible, yes, but I'm not sure how plausable such a port would be.
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Sun Dec 25, 2005 3:09 pm    Post subject: Reply with quote

i'm so sorry
my internet connection is not quite good and so...
the end of my message does bot have reached this forum...
so i'll edit it
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Mon Dec 26, 2005 12:53 am    Post subject: Reply with quote

Redhatter wrote:


Gentoo/Embedded would be more the focus of this sort of device.

i thoat it was obvious so i didn't mentioned it...sorry(there are too much people on this forum and it's impossible to guess the level of knowladge of a person even with the ??? for example the "guru" thing under my name doesn't reflect my knowladge but my number of posts... and by the way my knowladge has huge gaps(enormous ones)...lol and on some point i know a lot of things so comunity is great)

Quote:

The machine runs a little-endian MIPS32 CPU... in other words, incapable of running any of the official Gentoo/MIPS stages. It could run the mipsel µClibc-based stages; some were built for MIPS1 (lowest-common denominator in the MIPS world, much like i386 on IA32).
Your biggest problem though, is going to be RAM and storage. You've got bugger all for /, and nowhere to place swap space. Also, those machines have generally 16~32MB RAM. Which is going to be rather crabbed.

that means that i need to do a stage1??? or an embled system with busybox is ok

Quote:
Even with petabytes of swap space, you may still run into issues compiling stuff. glibc for instance (irrelevant on µClibc userland though) simply won't compile in under 64MB RAM. Even then, I've found 128MB is a tight fit, often failing with nasty segfault errors out of GCC.

i forget about it
i'll need to cross-compile evrything=>no need for nfs portage tree...
thanks a lot you prevent me from having a lot of problems with compilation

Quote:
Gentoo isn't that well suited to this sort of device. Possible, yes, but I'm not sure how plausable such a port would be

a normal gentoo is not suited(as i said before) but mabe an embled one(the one i was talking about)
advantages:
*you have the packages you choose(i'm not going to do an LFS install (too long and i'm not good enough to cope with the compilations problems that may ocurs and do all the config(too much time required because i'll need to learn evrything about it)
*Gentoo tools and look=>much easyer to do things such as rc script and all the configuration
*squashfs?

by the way is the way the WRT54GS better than a WRT54?(will buy one very soon) (i've read the specs and the tomshardware comparaison so if evryone knows things that are in theses 2 things...)
that will be used with a prism54 card(linux) and a madwifi(for a windows client(my madwifi card goes into the windows computer because of the damn HAL(thoat my card was prism54 but they changed the chip in the third revision)(closed source wrapped to the kernel... I prefders closed-source firmware)(sory for this language))


Last edited by GNUtoo on Mon Dec 26, 2005 1:50 am; edited 2 times in total
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Mon Dec 26, 2005 1:08 am    Post subject: Reply with quote

What on earth is "embled"? You really need to work on that English of yours, as it's quite hard to understand your posts at times.

Anyways... work is done to allow cross-compilation of Gentoo via Portage.
Ultimately, the aim is to allow one to run:

emerge crossdev
crossdev -t mips-unknown-linux-gnu
ROOT=/mipsroot CHOST=mips-unknown-linux-gnu- CFLAGS="-mips1 -O2 -pipe" emerge -e system


and get a working userland. (That may or may not be the exact command... but it'd be close)

At the moment though, this isn't possible.
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Mon Dec 26, 2005 5:34 pm    Post subject: Reply with quote

thank a lot
embled instead of embedded
it's not my english...(that is bad i admit it)
i have a tendency to dislexy
i often mispell words...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum