View previous topic :: View next topic |
Author |
Message |
R4miu5 Apprentice
Joined: 01 Feb 2005 Posts: 263 Location: Mödling / Austria
|
Posted: Mon Nov 21, 2005 9:58 pm Post subject: Wlan unencrypted SOLVED |
|
|
Hi, i have the following problem:
in my school we have an unencrypted wlan which i want to join with my laptop. i have successfully installed the ipw2200 drivers following almost every howto in the docs and wikis (german and english). My kernel is complete, all tools are installed and loaded. it must be something with the configs.
heres what i have:
Code: | /etc/conf.d/wpa_supplicant
ctrl_interface=/var/run/wpa_supplicant
INTERFACES="eth1" # eth1 ist der wlan-adapter
ARGS="-w"
ARGS_eth1="-Dwext"
|
Code: |
/etc/conf.d/wireless
modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dwext"
wpa_timeout_eth1=60
|
Code: |
/etc/conf.d/net
config_eth1=( "dhcp" )
modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dipw"
wpa_timeout_eth1=60
|
Code: |
/etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="mmxc.at"
key_mgmt=NONE
priority=5
}
|
thats what i get:
Code: |
/etc/init.d/net.eth1 restart
* Stopping eth1
* Loading networking modules for eth1
* modules: apipa iwconfig wpa_supplicant essidnet iptunnel ifconfig
* Bringing down eth1
* Shutting down eth1 ... [ ok ]
* Stopping wpa_supplicant on eth1 ... [ ok ]
* Starting eth1
* Loading networking modules for eth1
* modules: apipa wpa_supplicant essidnet iptunnel ifconfig
* wpa_supplicant provides wireless
* ifconfig provides interface
* Starting wpa_supplicant on eth1 ...
* Waiting for association [ ok ]
* timed out [ !! ]
|
please please help me, i cant think of anything else
thx in advance
Last edited by R4miu5 on Tue Nov 22, 2005 10:21 pm; edited 1 time in total |
|
Back to top |
|
|
BoNd60 n00b
Joined: 17 Nov 2005 Posts: 73 Location: Paris, France
|
Posted: Mon Nov 21, 2005 10:50 pm Post subject: |
|
|
I don't understand why you need to load wpa_supplicant : if your wireless lan is unencrypted, you don't need to load the modules for encryption to connect. I can make a mistake but you can delete the line Code: | modules=( "wpa_supplicant" ) | in your /etc/conf.d/net
Personnally, i configure my wireless network with iwconfig (part of wireless-tools)
My /etc/conf.d/wireless looks like this : Code: | modules_wlan0=( "iwconfig" )
mode_wlan0="managed"
# channel_wlan0="10"
key_LSTL="xxx enc open"
config_LSTL=( "dhcp" )
dhcpcd_LSTL=( "-t 120 -e /etc/dhcpcd wlan0" )
preferred_aps_wlan0=( "LSTL" )
associate_order="forcepreferred"
|
(wlan0 is my wireless interface, LSTL is the ESSID of my access point and xxx is my WEP key i can't say (if you don't have encryption, you can forget this line))
To know which mode to use, the ESSID of your AP, ... you can use iwlist (part of wireless-tools too)
I hope that it will help you to solve your problem _________________ Oops, I think I'm not DOS compatible
In every situation, don't forget that the answer is 42 |
|
Back to top |
|
|
R4miu5 Apprentice
Joined: 01 Feb 2005 Posts: 263 Location: Mödling / Austria
|
Posted: Mon Nov 21, 2005 11:29 pm Post subject: |
|
|
I was just searching for any possibility to get my network working, and wpa_supplicant was said to work with unencrypted networks too.
i ll try your suggestion. thanks
you mean i shall just leave the line with the wep key empty?
it doesnt work
Code: | * WEP key is not set for "mmcx.at" - not connecting
* Couldn't associate with any access points on eth1
* Failed to configure wireless for eth1 [ !! ] |
i just solved the problem (thx to alex6z in #gentoo) it was some shit with my access point |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|