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



--
Michael O'Keefe                      |          [EMAIL PROTECTED]
Live on and Ride an 06 BMW R12GS HP2 |          [EMAIL PROTECTED]      / |
I like less more or less less than   |Work:+1 858 845 3514        /  |
more. UNIX-live it,love it,fork() it |Fax :+1 858 845 2652       /_p_|
My views are MINE ALONE, blah, blah, |Home:+1 760 788 1296       \`O'|
blah, yackety yack - don't come back |Fax :+1 858                _/_\|_,


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to