Re: How can i make a wireless connection in the command line?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Aaron Konstam wrote:


>> Does not work with my wlan  adapter eventhough I
>> configured the AP with static assignments. If I use
>> dhcp it works. This is my script that I run:
>> #!/bin/bash
>> #Wireless script
>> #Author: Ed Landaveri
>> #Date: 06/08/2007
>> iwconfig wlan0 mode Managed
>> iwconfig wlan0 essid myessid
>> dhclient
>> echo $?
>> 
>> Then my wlan adapter works. You can use it as a three
>> separated commands or group them as a script as I did

> Forget all that and use NetworkManagerand NetworkManagerDispatcher.
> Remeber to disable init.d script network.

As a matter of interest, why do you think this is better?
Whatever way you go, you'll have to give more or less the same information,
eg your essid, encryption key, etc.

There seems to me quite a lot to be said for having it all
in a file where you can read it, viz /etc/sysconfig/network-scripts/ifcfg-*

As I have mentioned, NM does not work with all the WiFi devices I have,
though it does work with most.
But it doesn't seem to me to add anything, at least in my case.


-- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux