Ok, try this. Do all the same steps I gave you before but add these
in. After you set the ip, netmask, and broadcast do:
#ifconfig wlan0 down
Then just before you set your essid do:
#ifconfig wlan0 up
And see if that changes anything.
On 8/10/10, ucbgumstix <itien08@...> wrote:
>
> Okay, I tried all this, and this is what I get:
> -------------------------------------------------------------------------------
> root@...:~# /etc/init.d/NetworkManager stop
> Stopping Network connection manager daemon: NetworkManager.
> root@...:~# ifconfig wlan0 192.168.2.2
> root@...:~# ifconfig wlan0 netmask 255.255.255.0 broadcast 192.168.255
> root@...:~# iwconfig wlan0 mode ad-hoc channel 11 rate 54Mb
> root@...:~# iwconfig wlan0 power off
> root@...:~# iwconfig wlan0 txpower 16dBm
> Error for wireless request "Set Tx Power" (8B26) :
> SET failed on device wlan0 ; Invalid argument.
> root@...:~# iwconfig wlan0 essid my_network
> root@...:~# iwconfig
> lo no wireless extensions.
>
> wlan0 IEEE 802.11b/g ESSID:""
> Mode:Ad-Hoc Frequency:2.462 GHz Cell: Not-Associated
> Bit Rate:0 kb/s Tx-Power=13 dBm
> Retry short limit:8 RTS thr=2347 B Fragment thr=2346 B
> Encryption key:3031-3233-3435-3637-3839-0000-00 Security
> mode:open
> r :o uana el li R c iag sss:d Min:@o
> root@...:~#
> -------------------------------------------------------------------------
> The ESSID field is still empty, so I'm not connected. Got an error when
> setting the txpower, but I don't think that's the main problem. Any ideas
> why it still can't connect?
>
>
> chris2007 wrote:
>>
>> Ok, open a terminal and type exactly what's inside the quotes to shut
>> down network manager, "etc/init.d/NetworkManager stop".
>> Now for an ad-hoc connection, you need to set the ip address
>> (192.168.2.2), netmask (255.255.255.0), and broadcast address
>> (192.168.2.255):
>> #ifconfig wlan0 192.168.2.2
>> #ifconfig wlan0 netmask 255.255.255.0 broadcast 192.168.2.255
>> After you've done that you need to set the wireless settings: mode,
>> channel, rate, power, txpower , and essid ( and in that order). Here's
>> an example.
>> #iwconfig wlan0 mode ad-hoc channel 11 rate 54Mb
>> (Make sure the channel and rate are the same for all devices you wish
>> to connect together in you ad-hoc network)
>> #iwconfig wlan0 power off
>> (power is for power management which doesn't work in ad-hoc mode)
>> #iwconfig wlan0 txpower 16dBm
>> (16dBm is full power)
>> #iwconfig wlan0 essid your_essid
>>
>> And that should get you connected!
>>
>> If you want to know how to make these settings more permanant so that
>> they are set on bootup just let me know.
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/Overo-Air-cannot-connect-to-existing-wireless-network-or-ad-hoc-network-tp29393403p29402047.html
> Sent from the Gumstix mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
--
Sent from my mobile device
|