LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Quick wifi question - wep key (https://www.linuxquestions.org/questions/slackware-14/quick-wifi-question-wep-key-485291/)

chud67 09-20-2006 08:48 AM

Quick wifi question - wep key
 
I have a quick question. I am running Slack 9.1 on a Toshiba laptop and have an Orinoco Gold wireless card which works fine; I have surfed several unprotected wireless networks. Now I need to get on a wireless network at the office that has a wep key; in what file do I enter the wep key? Thanks.

onebuck 09-20-2006 09:48 AM

Quote:

Originally Posted by chud67
I have a quick question. I am running Slack 9.1 on a Toshiba laptop and have an Orinoco Gold wireless card which works fine; I have surfed several unprotected wireless networks. Now I need to get on a wireless network at the office that has a wep key; in what file do I enter the wep key? Thanks.

Hi,

You can edit the /etc/rc.d/rc.inet1.conf file to add the WLAN_KEY[4]=

You would then restart with;
Code:

/etc/rc.d/rc.inet1 restart

Hangdog42 09-20-2006 10:03 AM

From a console you can use the iwconfig command:

iwconfig ethX key WepKeyInHex

Check out man iwconfig for additional options.

jong357 09-20-2006 10:37 AM

He's running slack 9.1 so rc.inet1.conf shouldn't be set up to handle wireless yet. The file you want is /etc/rc.d/rc.wireless.conf. You could also manually set it via iwconfig as suggested.

I've always found the default rc.wireless.conf to be on the bloated side and a little confusing. Here is what I ussually do.

Code:

mv /etc/rc.d/rc.wireless.conf /etc/rc.d/rc.wireless.conf.orig

# Then make this your new rc.wireless.conf

# Wireless LAN adapter configuration

VERBOSE=1

case "$HWADDR" in

*)
    # Home:
    ESSID="MadPenguin"
    KEY="b576bdcba1773df06422ac55cb"

    # Gypsy Cafe:
    #ESSID="2WIRE230"

    # Gwens Airport:
    #ESSID="Any"
    #KEY="421a0f733138f3c93ba20b6089"

    # Beth:
    #ESSID="synapse"
    #KEY="9dd0414685b6ea173a001b7063"

    MODE="Managed"
    ;;
esac

Leave the MODE uncommented always and then just comment/uncomment the particulars of each network where ever you might happen to be. Restart your network after commenting/uncommenting and that should connect you.

evilDagmar 09-22-2006 06:27 AM

After you get it working you should take that card out and buy it a nice padded case to keep it in. Something made of a nice hardwood with pearl inlay or ABS plastic with brushed silver trim would be appropriate. You have no idea how much of a @#$@!$ it is to get all those other cards on the market working as well as the old orinoco_cs cards.


All times are GMT -5. The time now is 09:30 AM.