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. |
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.
|
slackbook.org is down check out www.slackbasics.org
|
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 |
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? |
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! |
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
|
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 |
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 |
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:
Quote:
Quote:
Here is the output from iwconfig: Quote:
Quote:
where is wifi0 coming from in the output of iwconfig??? BIG THANKS:)!!!! Ed |
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.
|
All times are GMT -5. The time now is 07:39 AM. |