LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   H:Problem in IPW2200 connect to WEP network (https://www.linuxquestions.org/questions/slackware-14/h-problem-in-ipw2200-connect-to-wep-network-585058/)

Fortuner 09-16-2007 07:38 AM

H:Problem in IPW2200 connect to WEP network
 
Hi all, I've recently move to slackware12 after a year trying Ubuntu...Itz quiet fascinating me =p. Well, I've problem with the wireless.

In my case I'm using Laptop which is using Intel Proset 2200, and the problem mainly because I can't connect to an access point which is using WEP encryption. I've copied the firmware for IPW2200 to /lib/firmware, and the wireless works like a charm when connecting to non WEP Access Point but the problem occurs when trying to connect to a network with WEP.

Is there any suggestion for tools and method I should use?

I'm using KDE and tried some configuration in "Control Center" but it makes me confuse more...and when I tried to fill out the ESSID and Key in Proxy Setting for my wireless it ended in "not responding state" and the configuration can not be saved.

Best Regard,

Erick

etienne 09-16-2007 03:15 PM

I don't know anything about the configuration via the KDE control center but I use the default scripts provided with slackware.

You could edit the file /etc/rc.d/rc.wireless.conf and change the settings to reflect your configuration.

Code:

*)
    INFO="My Network"
    ESSID="My ESSID"
    KEY = "My WEP Key"
    ;;

You should also take a look at /etc/rc.d/rc.inet1.conf :

Code:

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

My network interface is eth1 and I use DHCP to obtain the IP address.

PS: I think you should consider using another method than WEP to secure your wifi connection. I takes less than one minute to break the key...
Try using WPA or WPA2.

janhe 09-17-2007 06:00 AM

I just use a script to connect to the network. I have a separate script for every network I wish to connect to.
This is one of them

Code:

#!/bin/sh

iwconfig eth1 essid herrygers key XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX
dhcpcd -d eth1


Fortuner 09-17-2007 08:24 AM

hmm...interesting ^^ well...it wasn't my network anyway =p, I steal it from my neighbor :p ...

@etienne: after I configure it how should I connect the wireless? is it auto detect or else?

@jahne: before I write this thread I try

PHP Code:

iwconfig eth1 essid blabla key 1234-1234-12 

and it didn't work but maybe I missed "dhcpd -d eth 1" ^^

thx guys I'll try it soon

etienne 09-17-2007 11:58 AM

Quote:

Originally Posted by Fortuner (Post 2894537)
@etienne: after I configure it how should I connect the wireless? is it auto detect or else?

You just start your network interface (eth1) as root like this :
/etc/rc.d/rc.inet1 eth1_start

Using this script will also bring the interface up automatically when you boot (if /etc/rc.d/rc.inet1 and /etc/rc.d/rc.wireless are "executable" of course).

Fortuner 09-23-2007 08:53 AM

thx etienne ^^ your solution just simply works...even it doesn't success at first try for unknown reason...thx folks


All times are GMT -5. The time now is 02:21 PM.