AMiLDA FORUM

You are not logged in.

Announcement

### Our Homepage is down at the moment...work in progress !! ###

#1 2008-03-11 16:46:48

p3dRo
New member
Registered: 2008-03-11
Last visit: 2008-07-17
Posts: 5

router running Amilda ... where?

I'm totally new about this topic of routing with linux. Yesterday I was in a conference about "Amilda: Una distribución Linux para routers" by Sergio Aguayo in Peru:

http://tuxpuc.pucp.edu.pe/content/view/862/1/

And I want to know if there is a router (a public ip maybe) where a can get inside to see the environment because I'm interested in learning more about security in routers and learning about firmwares  smile

thanks,
>p3dRĝ<

Offline

 

#2 2008-03-14 19:10:59

sergioag
Developer
Peru
From: Lima
Registered: 2006-02-16
Last visit: 2011-08-15
Posts: 166
Website

Re: router running Amilda ... where?

Hi p3dRo

You can find an example here: http://wasse632.speed.planet.nl/index.php

Hope it's what you're looking for.

Sergio

Offline

 

#3 2008-03-19 05:23:29

p3dRo
New member
Registered: 2008-03-11
Last visit: 2008-07-17
Posts: 5

Re: router running Amilda ... where?

Hello Sergio, the flesystem of my router is shown in the command line because its similar as the linux filesystem:

# ls -al
drwxr-xr-x    1 0        0             224 Mar 21  2007 bin
drwxr-xr-x    1 0        0               0 Jan  1  1970 dev
drwxr-xr-x    1 0        0             371 Mar 22  2007 etc
drwxr-xr-x    1 0        0             652 Mar 22  2007 lib
dr-xr-xr-x   40 0        0               0 Jan  1 12:00 proc
drwxr-xr-x    1 0        0             153 Mar 22  2007 sbin
drwxr-xr-x    1 0        0              41 Sep 14 14:00 usr
drwxr-xr-x    1 0        0               0 Mar 22  2007 var
-rw-r--r--    1 0        0          112640 Mar 22  2007 var.tar

I wonder if its equal than the filesystem of amilda???  why ???

>p3dRĝ<

Offline

 

#4 2008-03-20 07:18:01

sergioag
Developer
Peru
From: Lima
Registered: 2006-02-16
Last visit: 2011-08-15
Posts: 166
Website

Re: router running Amilda ... where?

Hi p3dRo

That router is running Linux almost for sure. As with most Linux systems, they have more or less the same directory structure. To get more information try running:

cat /proc/cpuinfo     (interesting info about the CPU)
cat /proc/meminfo   (amount of memory used/free)
uname -a               (complete kernel version)

What brand/model is the router?

Sergio

Offline

 

#5 2008-03-26 06:03:34

p3dRo
New member
Registered: 2008-03-11
Last visit: 2008-07-17
Posts: 5

Re: router running Amilda ... where?

Hi,

The model is DSL-2640T.

# cat version
Linux version 2.4.17_mvl21-malta-mips_fp_le (root@Jackal) (gcc version 2.95.3 20010315 (release/MontaVista)) #1 Fri Mar 16 14:22:24 CST 2007

# cat cpuinfo
processor               : 0
cpu model               : MIPS 4KEc V4.8
BogoMIPS                : 211.35
wait instruction        : no
microsecond timers      : yes
extra interrupt vector  : yes
hardware watchpoint     : yes
VCED exceptions         : not available
VCEI exceptions         : not available

It didnt work the uname -a sad

I made a search in google and I think that Linux version 2.4.17_mvl21-malta-mips_fp_le is popular in routers with linux running, Im not sure.

Amilda uses that version of linux?  I also wonder if I can install Amilda in this DSL-2640T? smile

p3dRo

Offline

 

#6 2008-03-26 08:03:53

sergioag
Developer
Peru
From: Lima
Registered: 2006-02-16
Last visit: 2011-08-15
Posts: 166
Website

Re: router running Amilda ... where?

Hi

Sadly, it will not work even if it has the same processor. This is due to the different drivers that the architecture needs. To make it work, someone would need to port the drivers to kernel 2.4.33 (which AMiLDA uses) and see how we can store the configuration there (not really difficult, usually a flash memory partition, but offsets vary). This procedure applies for almost all new platforms.

Sergio

Offline

 

#7 2008-03-27 02:22:41

p3dRo
New member
Registered: 2008-03-11
Last visit: 2008-07-17
Posts: 5

Re: router running Amilda ... where?

Hi Sergio, how I can learn to  port the drivers to kernel 2.4.33 and and learn what drivers the architecture needs?

p3dRo

Offline

 

#8 2008-03-29 09:13:28

sergioag
Developer
Peru
From: Lima
Registered: 2006-02-16
Last visit: 2011-08-15
Posts: 166
Website

Re: router running Amilda ... where?

Hi p3dRo

That's kinda difficult actually. There are many factors in there. Porting is not that difficult, just check that the driver for the old kernel compile in the current one and usually that's it. Figuring out what drivers are needed and doing all the platform-dependent code is another story, this time really difficult.

Sergio

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB