LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-26-2008, 03:15 PM   #1
TedS81
LQ Newbie
 
Registered: Feb 2008
Posts: 5

Rep: Reputation: 0
wlan config airo 350 slackware 12


hello All!

I would like to set up wlan but have gotten myself stuck.

I have used other distros in the past but they had easy guis that did near all the config for you. The reason i moved to slackware was to learn more about linux without guis getting in the way.

I am using a Cisco airo350, i know this is working. Using KWiFiManager i can see my network but can not setup.

I am using WEP on this network.

netconfig seems to only cover wired networks.

how do i set all this up?

Please point me in the correct direction.

Big big thanks Ted.
 
Old 02-26-2008, 10:02 PM   #2
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
The two files that are used for setting up wireless adaptors are "/etc/rc.d/rc.wireless.conf" and "/etc/rc.d/rc.inet1.conf". I had a hard time with this as well. All I can say is read! No seriously! It should be easy enough to figure them out by going over the files. Take a look at www.slackbook.org it will help.
 
Old 02-26-2008, 10:06 PM   #3
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
slackbook.org is down check out www.slackbasics.org
 
Old 02-29-2008, 08:51 AM   #4
TedS81
LQ Newbie
 
Registered: Feb 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks Symatic!!!

The links have been very useful!

I’m still having trouble…. Sorry…

I have edited rc.wireless.conf but when i run /etc/rc.d/rc.inet1 I get the output:

root@home:~# /etc/rc.d/rc.inet1
/etc/rc.d/rc.wireless.conf: line 54: syntax error near unexpected token `00:0d:29:4f:13:5b’
/etc/rc.d/rc.wireless.conf: line 54: `00:0d:29:4f:13:5b)’
Polling for DHCP server on interface eth1:
dhcpcd: MAC address = 00:0d:29:4f:13:5b
root@home:~#


my entry into rc.wireless.conf:

00:0d:29:4f:13:5b)
INFO=”Cisco/Aironet”
ESSID=”NET”
MODE=”Managed”
RATE=”11m auto”
KEY=”********”
KEY=”on”
;;

Any ideas??

Thanks ted
 
Old 03-02-2008, 09:16 AM   #5
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
got it going yet? sorry haven't replied.

Move it to the top of the list like so. It is a good idea to keep everything case sensitive.

## ---------- END SECTION TO REMOVE ------------


# Here are a few examples with a few Wireless LANs supported...
# The matching is done on the first 3 bytes of the MAC address

## ---------- END SECTION TO REMOVE ------------

00:0D:29:*)
INFO=”Cisco/Aironet”
ESSID=”NET”
MODE=”Managed”
RATE=”11m auto”
KEY=”********”
KEY=”on”
;;


run:
"/etc/rc.d/rc.inet1 eth1_restart"
and tell me what happens.

When you run iwconfig where is the adaptor? wlan0 or eth1?

Last edited by symatic; 03-02-2008 at 09:29 AM.
 
Old 03-03-2008, 02:16 PM   #6
TedS81
LQ Newbie
 
Registered: Feb 2008
Posts: 5

Original Poster
Rep: Reputation: 0
symstic,

when i run '/etc/rc.d/rc.inet1 eth1_restart' I get:

/etc/rc.d/rc.inet1: eth1 information: 'Cisco/Aironet'

The output of iwconfig is:

lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11-DS ESSID:"NET06" Nickname:"darkstar"
Mode:Managed Frequency:2.442 GHz Access Point: Invalid
Bit Rate:11 Mb/s Tx-Power=20 dBm Sensitivity=0/65535
Retry limit:16 RTS thr: off Fragment thr: off
Encryption key:****_****_****_****_****_****_** [4] Security mode:restricted
Power managment: off
Link quality=95/100 Signal level=-48dBm Noise level=-90 dBm
Rx invalid nwid:915 Rx invalid crypt:9 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:26412 Missed beacon:0

wifi0 IEEE 802.11-DS ESSID:"NET06" Nickname:"darkstar"
Mode:Managed Frequency:2.442 GHz Access Point: Invalid
Bit Rate:11 Mb/s Tx-Power=20 dBm Sensitivity=0/65535
Retry limit:16 RTS thr: off Fragment thr: off
Encryption key:****_****_****_****_****_****_** [4] Security mode:restricted
Power managment: off
Link quality=95/100 Signal level=-48dBm Noise level=-90 dBm
Rx invalid nwid:915 Rx invalid crypt:9 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:26412 Missed beacon:0



Thanks!
 
Old 03-03-2008, 04:50 PM   #7
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
It appears you have multiple enties for you card. Are you using the kernel drivers or the one from the cisco website. Do me a favor post your rc.inet1.conf
 
Old 03-04-2008, 01:40 AM   #8
TedS81
LQ Newbie
 
Registered: Feb 2008
Posts: 5

Original Poster
Rep: Reputation: 0
I'm using the kernel drivers.

rc.inet1.conf:
# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").

# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth<interface>.

# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.

# =============================================================================

# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

# Default gateway IP address:
GATEWAY=""

# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"

## Example config information for wlan0. Uncomment the lines you need and fill
## in your info. (You may not need all of these for your wireless network)
#IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
#USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=BARRIER05
#WLAN_MODE[4]=Managed
##WLAN_RATE[4]="54M auto"
##WLAN_CHANNEL[4]="auto"
##WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
##WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=7B1ABEEB5D197741923ED26727569C365E31212096A0EAFAD563B268BAD01CAF TxRate=0"
#WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="ndiswrapper"

## Some examples of additional network parameters that you can use.
## Config information for wlan0:
#IFNAME[4]="wlan0" # Use a different interface name nstead of
# the default 'eth4'
#HWADDR[4]="00:01:23:45:67:89" # Overrule the card's hardware MAC address
#MTU[4]="" # The default MTU is 1500, but you might need
# 1360 when you use NAT'ed IPSec traffic.
#DHCP_KEEPRESOLV[4]="yes" # If you dont want /etc/resolv.conf overwritten
#DHCP_KEEPNTP[4]="yes" # If you don't want ntp.conf overwritten
#DHCP_KEEPGW[4]="yes" # If you don't want the DHCP server to change
# your default gateway
#DHCP_IPADDR[4]="" # Request a specific IP address from the DHCP
# server
#WLAN_ESSID[4]=DARKSTAR # Here, you can override _any_ parameter
# defined in rc.wireless.conf, by prepending
# 'WLAN_' to the parameter's name. Useful for
# those with multiple wireless interfaces.
#WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=thekey TxRate=0"
# Some drivers require a private ioctl to be
# set through the iwpriv command. If more than
# one is required, you can place them in the
# IWPRIV parameter (space-separated, see the
# example).

I'm having to use my laptops built in lan card on eth0 to get on the net.
i guess this will have to be disabled at some pint??

ta Ed
 
Old 03-04-2008, 07:57 AM   #9
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
This is where I edit my seetings for my adapter. Just remove the "#" to activate each line. Also check your router and make sure it accepts b/g connections. also run "ifconfig" for me and post the output.
Code:
## Example config information for wlan0. Uncomment the lines you need and fill
## in your info. (You may not need all of these for your wireless network)
#IFNAME[4]="wlan0" <--this is where wifi0 goes
#IPADDR[4]=""
#NETMASK[4]=""
#USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=BARRIER05
#WLAN_MODE[4]=Managed
##WLAN_RATE[4]="54M auto"
##WLAN_CHANNEL[4]="auto"
##WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
##WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=7B1ABEEB5D197741923ED26727569C365E31212096A0EAFAD563B268BAD01CAF TxRate=0"
#WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="ndiswrapper"
 
Old 03-04-2008, 01:24 PM   #10
TedS81
LQ Newbie
 
Registered: Feb 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Smile

Sorry I'm getting lost.


I have removed everything that is not my pcmcia card from rc.wireless.conf:(i have * out my network key)

Quote:
# Wireless LAN adapter configuration
#
# Theory of operation :
#
# The script attempts to match a block of settings to the specific wireless
# card inserted, the *first* block matching the card is used.
# The address format is "hwaddr", with * as a wildcard.
# 'hwaddr' is the unique MAC address identifier of the wireless card.
# The MAC address is usually printed on the card, or can be found via ifconfig.
# Some examples here use only half of the MAC address with a wildcard to
# match a whole family of cards...
#
# All the Wireless specific configuration is done through the Wireless
# Extensions, so we will just call 'iwconfig' with the right parameters
# defined below.
# Of course, you need to have iwconfig installled on your system.
# To download iwconfig, or for more info on Wireless Extensions :
# http://www.hpl.hp.com/personal/Jean_...nux/Tools.html
#
# Note : you don't need to fill all parameters, leave them blank, in most
# cases the driver will initialise itself with sane defaults values or
# automatically figure out the value... And no drivers do support all
# possible settings...
#
# -- This is a modified '/etc/pcmcia/wireless.opts' script --
# -- I added sections for Prism/GT and Atheros based cards --
# -- (supported by the prism54 and madwifi drivers) --
# -- 16/sep/2004 * Eric Hameleers --


VERBOSE=1

case "$HWADDR" in

## NOTE : Comment out the following five lines to activate the samples below ...
## --------- START SECTION TO REMOVE -----------
## Pick up any Access Point, should work on most 802.11 cards
#*)
# INFO="Any ESSID"
# ESSID="any"
# ;;
## ---------- END SECTION TO REMOVE ------------


# Here are a few examples with a few Wireless LANs supported...
# The matching is done on the first 3 bytes of the MAC address

# Cisco/Aironet 4800/3x0
# Note : MPL driver only (airo/airo_cs), version 1.3 or later
#00:40:96:*|00:02:8A:*)
00:0D:29:*)
INFO="Cisco/Aironet"
ESSID="NET06"
# To set all four ESSID, use iwconfig v21 and the same trick as above
MODE="Managed"
#RATE="11M auto"
KEY="**************************"
KEY="on"
#KEY="d5ad2f05abd048ecf10b1c80c7"
#KEY="off"
;;




esac
Here is rc.inet1.conf:

Quote:
# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").

# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth<interface>.

# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.

# =============================================================================

# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]="yes"
DHCP_HOSTNAME[1]=""

# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

# Default gateway IP address:
GATEWAY=""

# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"

## Example config information for wlan0. Uncomment the lines you need and fill
## in your info. (You may not need all of these for your wireless network)
#IFNAME[4]="wifi0"
#IPADDR[4]=""
#NETMASK[4]=""
#USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=BARRIER05
#WLAN_MODE[4]=Managed
##WLAN_RATE[4]="54M auto"
##WLAN_CHANNEL[4]="auto"
##WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
##WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=7B1ABEEB5D197741923ED26727569C365E31212096A0EAFAD563B268BAD01CAF TxRate=0"
#WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="ndiswrapper"

## Some examples of additional network parameters that you can use.
## Config information for wlan0:
#IFNAME[4]="wlan0" # Use a different interface name nstead of
# the default 'eth4'
#HWADDR[4]="00:01:23:45:67:89" # Overrule the card's hardware MAC address
#MTU[4]="" # The default MTU is 1500, but you might need
# 1360 when you use NAT'ed IPSec traffic.
#DHCP_KEEPRESOLV[4]="yes" # If you dont want /etc/resolv.conf overwritten
#DHCP_KEEPNTP[4]="yes" # If you don't want ntp.conf overwritten
#DHCP_KEEPGW[4]="yes" # If you don't want the DHCP server to change
# your default gateway
#DHCP_IPADDR[4]="" # Request a specific IP address from the DHCP
# server
#WLAN_ESSID[4]=DARKSTAR # Here, you can override _any_ parameter
# defined in rc.wireless.conf, by prepending
# 'WLAN_' to the parameter's name. Useful for
# those with multiple wireless interfaces.
#WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=thekey TxRate=0"
# Some drivers require a private ioctl to be
# set through the iwpriv command. If more than
# one is required, you can place them in the
# IWPRIV parameter (space-separated, see the
# example).
Here is the out put from /etc/rc.d/rc.inet1:
Quote:
root@home:~# /etc/rc.d/rc.inet1
/etc/rc.d/rc.inet1: eth1 information: 'Cisco/Aironet'
Polling for DHCP server on interface eth1:
dhcpcd: MAC address = 00:0d:29:4f:13:5b
root@home:~#
Then the lights stop flashing on the card.

Here is the output from iwconfig:
Quote:
root@home:~# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11-DS ESSID:"NET06" Nickname:"home"
Mode:Managed Frequency:2.442 GHz Access Point: 00:14:6C:A8:AC:EE
Bit Rate:11 Mb/s Tx-Power=20 dBm Sensitivity=0/65535
Retry limit:16 RTS thr:off Fragment thr:off
Encryption key:****-****-****-****-****-****-** [4] Security mode:restricted
Power Management:off
Link Quality=100/100 Signal level=-35 dBm Noise level=-110 dBm
Rx invalid nwid:2596 Rx invalid crypt:25 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:13251 Missed beacon:0

wifi0 IEEE 802.11-DS ESSID:"NET06" Nickname:"home"
Mode:Managed Frequency:2.442 GHz Access Point: 00:14:6C:A8:AC:EE
Bit Rate:11 Mb/s Tx-Power=20 dBm Sensitivity=0/65535
Retry limit:16 RTS thr:off Fragment thr:off
Encryption key:****-****-****-****-****-****-** [4] Security mode:restricted
Power Management:off
Link Quality=100/100 Signal level=-35 dBm Noise level=-110 dBm
Rx invalid nwid:2596 Rx invalid crypt:25 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:13251 Missed beacon:0

root@home:~
Here is the output from ifconfig:
Quote:
root@home:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:D0:6C:B2:00
inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::240:d0ff:fe6c:b200/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2778 errors:0 dropped:0 overruns:0 frame:0
TX packets:2724 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2269051 (2.1 MiB) TX bytes:357987 (349.5 KiB)
Interrupt:19 Base address:0x100

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1088 (1.0 KiB) TX bytes:1088 (1.0 KiB)

root@home:~#
OK, Thats everything as it is at the moment.

where is wifi0 coming from in the output of iwconfig???

BIG THANKS:)!!!! Ed
 
Old 03-04-2008, 03:50 PM   #11
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
I apologize for not being as organized with my thoughts as I should. The wifi0 is actually confusing for me as well. "ifconfig -a" should show you every adapter connected, configured or not. The output from your iwconfig shows that you are connected to you router now. Try these to see if it is so "ifconfig eth0 down" then "ifconfig eth1 up". Then "ifconfig" and it should show you that eth1 is connected. Try to browse or whatever to check connectivity. Tell me what happens. What is weird is that most wireless adapters get device names like wlan0,wifi0, etc... Sorry busy day, i'll respond soon.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CISCO Airo 350 PCMCIA (352) maco22 Linux - Wireless Networking 0 02-25-2005 04:15 PM
Cisco 350 PCMCIA WLAN adapter on FC1 rjpa Fedora 2 01-21-2004 04:17 PM
Cisco 350 PCMCIA WLAN adapter on FC1 rjpa Linux - Wireless Networking 0 01-21-2004 03:21 PM
Cisco Airo 350 with slackware 9.1 ? cozye Slackware 4 11-21-2003 01:12 PM
Cisco Airo 350 on Slackware 9.1 errors. cozye Linux - Networking 3 11-17-2003 01:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration