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

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

 



Ed Landaveri wrote:

>> > You might need to change the ifcfg-ethX
>> > with something like:
>> >
>> > DEVICE=eth0
>> > USERCTL=no
>> > ONBOOT=yes
>> > BOOTPROTO=none
>> > BROADCAST=192.168.1.255
>> > NETWORK=192.168.1.0
>> > NETMASK=255.255.255.0
>> > IPADDR=192.168.1.5
>> >
>> > Then
>> > Your /etc/sysconfig/network file would be:
>> >
>> > NETWORKING=yes
>> > HOSTNAME=foo
>> > GATEWAY=192.168.1.1
> 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.

But I think you could put these commands in the ifcfg-* script,
eg 
BOOTPROTO=dhcp
ESSID=<whatever>
MODE=managed


-- 
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
[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