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

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

 



Sorry for the late reply.. i completely forgot about this topic
I just had the issue again..

It's going all fine when i do: a cable connection or a wireless
connection (can only be done once)
i just needed to restart my network for firewall changes to apply
(/etc/init/d/network restart) and AGAIN wlan wasn't getting back up.
when i do that even knetworkmanager can't get it back up again.
(service NetworkManager restart didn't help) so somehow i only seem to
be able to make 1 wireless connection with just knetworkmanager. if i
lose that connection that i HAVE to restart to get it working again
and that's really frustrating (linux isn't exactly FAST at booting).
so is there any way to get back to a clean state with knetworkmanager
when you have just lost the connection? or is there any way to get the
wireless connection working normally again when restarting the network
with the init script?

Thanx,
Mark

2007/7/7, Timothy Murphy <tim@xxxxxxxxxxxxxxxxxxxxxx>:
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

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux