Using Wi-Fi

urodelo urodelomutante at yahoo.com
Thu May 27 16:55:54 CEST 2010


Hi.
Basically, for knowing network configuration type:

cat /etc/network/interfaces

Freerunner by default uses dhcp for getting an ip address. If you want to  
use a static IP, you just need to do as I've told you before
ifconfig eth0 "ipofyourfreerunner"
where "ipofyourfreerunner" is the IP address you want to use, for example  
192.168.1.100 (must be of the same network class of the notebook wifi  
card). Mind that both wifi card on freerunner and notebokk must use static  
IP in this case, which is not the default. So you need to change them.  
Moreover, if you have used the cable IP address of your notebook as  
default gateway, as I understood, this doesn't work! You need to use the  
wifi card IP address of the notebook! At this moment, do not consider the  
cable adapter of your notebook, think that it doesn't exist.

iwconfig output shows the card is up and running. however there's no  
essid. Even if hidden, i think you should see the name there if you're  
connected. This can mean that you're out of range or you didn't put the  
correct essid
By the way, you should set the wifi connection in "ad-hoc" mode on both  
freerunner and notebook (if supported). On linux you just have to type:

iwconfig eth0 mode ad-hoc

On the notebook I guess there should be a wizard for setting it up...

Last, if it is possible I suggest you to try to connect the freerunner to  
a real access point first, which maybe could use dhcp and make everything  
easier for you; you can still exchange files between notebook and fr by  
connecting both to the same ap. After understanding a bit how it works,  
then you can try to set an ad-hoc network between teh notebook and the fr,  
which is a bit more complicate

ByeZ
urodelo

On Thu, 27 May 2010 13:23:59 +0200, Tanmay Mathur  
<tanmay.mathur06 at gmail.com> wrote:

> Hi Urodelo,
>
> Thanx for your reply!
>
> I tried the commands as told by you. It worked as you said, returned
> route : SIOCADDRT: file exists.
> using iwconfig eth0 after this it returned
>
> eth0 AR6000 802.11g essid: ""
> mode : managed bit rate: 1 M b/s
> Tx - power = 0 dbm sensitivity = 0/3
> retry on
> encryption key : 3132-3334-35
> power management : off
> link quality : 0/94
> signal level : -95 dbm
> noise level : -96 dbm
> Rx invalid nwid : 0
> Rx invalid crypt : 0
> Rx invalid frag : 0
> Tx excessive retries : 0
> invalid misc : 0
> missed beacon : 0
>
>
> However when i try to ping my computer from FR, it does not respond. I  
> used
> the ethernet adapter ip address of my laptop to ping.
>
> Also please tell me that how should i find the default ip of free  
> runner. i
> am using ifconfig command for this purpose.
>
> Regards.


-- 
Creato con il rivoluzionario client e-mail di Opera:  
http://www.opera.com/mail/




More information about the community mailing list