Enabling Internet on FriendlyARM Mini2440

Chintu
Hi All,

I have Recently Brought a FriendlYARM Mini2440..a peculiar problem

I have a Airtel Internet Connection (With the Modem Provided by them) an a
D-Link wirless router(Model :DIR-600L) 

 Here When i directly Connect the ethernet cable of Airtel Modem to
Mini2440, the internet on board is working fine, but..

   When i plug the Airtel Modem to Dlink router, and connect a cable from
router to mini2440,the internet is not working..tried solution on this link
(http://www.friendlyarm.net/forum/topic/811) but no use.

   Also tried to configure manually but its not activated

           Please suggest me how to confiugre..should i buy a ADSL modem +
router?

davef
I think you will find it has do with finding out what the Dlink defaults
to.  Out of the box the mini2440 is normally on 192.168.1.230

Your Airtel modem probably defaults to 192.168.1.1 so the mini2440 works
fine.

When you connect your Dlink you will probably find its default is
192.168.2.1  There you have to change your mini2440 configuration.

In /etc/network and interfaces something like this should get you going.


auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.2.230
netmask 255.255.255.0
broadcast 192.168.2.255
gateway 192.168.2.1

IF your Dlink is really at 192.168.2.1

Save the file and either do a reboot or poweroff.

Chintu
Hi Dave

Thanks for the reply..i will try it and get back to  you with result

Chintu
Hi Davef,

Thanks a lot dude for your excellent work for this forum..

   It worked My Dlink address was 192.168.0.1, then i replaced the
IP,Gateway and DNS in /etc/vi etho-setting. It worked

  On more help ..i want use u-boot or any advanced for bootloder for
Mini2440, can you provide any good tutorial for this.

Thanks

davef
I used u-boot on this device for about a year before I discovered the
Pengutronix BSP for the mini2440.  They use barebox for the bootloader.

People had a bit of drama with u-boot on the bigger mini2440s.  Probably
the best help would be:
http://billforums.station51.net/viewforum.php?f=1&sid=3de16486e7a083...

u-boot seems to be used on quite a few of the newer platforms, ie
BeagleBoneBlack.

Good luck!

Chintu
Hi dave,

Thanks...i will go through it