On Tue, June 17, 2008 1:21 pm, Michael O'Keefe wrote: > Carl Lowenstein wrote: >> On Tue, Jun 17, 2008 at 10:31 AM, <[EMAIL PROTECTED]> wrote: >>> Is it possible to *create* a new wifi interface in Linux? >>> >>> I keep trying to do "ifup eth1", "ifup wlan0", "ifup wifi0" >>> and everything gives me error messages about interface not existing. >>> >>> How create a wifi interface then to make Linux happy? >> >> What variety of Linux are you using? What hardware? >> >> Many recent (past few years) distributions have GUI programs to set up >> wireless communication. After setup, you can use another GUI to turn >> the wireless on and off, or use the command-line "ifup" "ifdown" to do >> the same thing. > > ifup/ifdown is a RedHat-ism isn't it ? > If so, you need the configuration file in > /etc/sysconfig/networks-scripts/ifcfg-<interface> > > You will also (IIRC) needs the wireless-tools package which contains > iwlist and iwconfig. I am sssuming you have the driver for your wireless > device installed properly too. If not, or you need help on it, we need > more information about your WiFi device to activate it. > > I usually (when at an airport or sumsuch) use... > > /sbin/iwlist eth1 scanning > > to find the name of the WAP's available. > > I then add that name to my ifcfg-eth1-road file, which looks like : > > DEVICE=eth1 > BOOTPROTO=dhcp > ONBOOT=no > ESSID=Qantas_Hotspot > > Obviously, the last airport lounge I was in was Qantas' :) > > *THEN* I can ifup eth1-road > >
What Michael said plus there is a GUI tool under system/administration in RH and its children. It does the same stuff, so the CLI is just fine, too. -- Lan Barnes SCM Analyst Linux Guy Tcl/Tk Enthusiast Biodiesel Brewer -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
