You are not logged in.

#1 2007-02-28 23:01:18

Grimn
Member
Registered: 2006-12-23
Posts: 136

Setup Wireless

I'm having toruble setiing up my laptop's wireless.
I have a wireless with WAP PSK (TKIP), I have followed wiki's entry on Wireless but it doenst work. My wireless module is ipw3945 and the daemon is also running.
Can anyone help me? I'm really clueless.
Thanks

Offline

#2 2007-03-01 19:39:24

typecast
Member
From: Germany
Registered: 2007-02-26
Posts: 13
Website

Re: Setup Wireless

Do you have an interface for your wireless card? Run /sbin/ifconfig -a to find out what interfaces are present.

You can also look at the output of dmesg. There should be some messages related to your wireless card. Can you paste them?

Offline

#3 2007-03-01 19:51:42

Grimn
Member
Registered: 2006-12-23
Posts: 136

Re: Setup Wireless

Yes it haves the interface, I ran iwconfig and it shows eth2 is my wireless card interface and it also recognizes the wireless netowrks I have around with iwlist scanning (btw the dmesg was to determine the interface?), any idea?
Thanks for the reply.

Offline

#4 2007-03-01 20:06:09

typecast
Member
From: Germany
Registered: 2007-02-26
Posts: 13
Website

Re: Setup Wireless

Ok. Then it seems to be a problem with your configuration files. Can you please post the relevant parts of the /etc/rc.conf and (if you use it) the file from /etc/network-profiles?

Offline

#5 2007-03-01 20:33:31

Grimn
Member
Registered: 2006-12-23
Posts: 136

Re: Setup Wireless

This is what I have:

lo="lo 127.0.0.1"
eth0="dhcp"
#eth2="dhcp"
#wlan_eth2="eth2 essid my_Essid key my_key"
#WLAN_INTERFACES=(eth2)
INTERFACES=(lo eth0) #eth2)

The comment part was when I tried wiki's entry.

I also tried changing /etc/wpa_supplicant.conf:

network={
   ssid="myEssid"
   psk= cyphered_key
   key_mgmt=WPA-PSK
   proto=WPA
}

Thnaks

Offline

#6 2007-03-01 20:43:44

typecast
Member
From: Germany
Registered: 2007-02-26
Posts: 13
Website

Re: Setup Wireless

Hm. I don't know if it is possible to set up WPA within /etc/rc.conf. Maybe someone else knows more about that.

But i know it's possible to use WPA within network-profiles. You might want to have a look at  http://wiki.archlinux.org/index.php/Ndi … supplicant (ignore hte ndiswrapper stuff and just look at the wpa_supplicant part)

Offline

#7 2007-03-01 21:19:43

Grimn
Member
Registered: 2006-12-23
Posts: 136

Re: Setup Wireless

Thanks, it didnt work though, not sure if I made something wrong:

$ sudo /etc/rc.d/network restart
:: Shutting down interface: eth0                                                                                              [DONE]
:: Stopping Network                                                                                                           [DONE]
:: Starting network profile: eth0                                                                                             [DONE]
:: Starting network profile: eth2                                                                                             [FAIL]
:: Starting Network

changed rc.conf to:

INTERFACES=(lo)

NET_PROFILES=(eth0 eth2)

/etc/network-profiles/eth0

DESCRIPTION="Ethernet Profile"

INTERFACE=eth0
HOSTNAME=my_hostname

IFOPTS="dhcp"

/etc/network-profiles/eth2

DESCRIPTION="Wireless Profile"

INTERFACE=eth2
HOSTNAME=my_hostname

IFOPTS="dhcp"

ESSID=my_essid
IWOPTS="mode managed essid $ESSID channel 11 key restricted $KEY"

WIFI_INTERFACE=eth2

WIFI_WAIT=5

USEWPA="yes"
WPAOPTS="-D wext"      # legacy: wpa-supplicant older than v1.12 need "-D ndiswrapper" instead

AUTOWPA="yes"          # automatically configure WPA
PASSKEY="my_key"             # wpa passkey/phrase. for use with AUTOWPA

The wpa_supplicant part I have as I showed in the last post and according to the entry you showed me.

Offline

#8 2007-03-01 22:32:58

Grimn
Member
Registered: 2006-12-23
Posts: 136

Re: Setup Wireless

Wow, after I updated the system and rebooted it still didnt start profile eth2 saying that there wasn't an interface eth2. Then I decided to just restart the network /etc/rc.d/network restart and it started eth2!
I have no clue why it doesnt work at boot and had to restart the network but at least it works!
Thanks a lot! big_smile

EDIT: Ok I spoke too soon, don't know why but it stopped all of a sudden even with a signal strenght of 70%. Maybe this module is really buggy and makes the wirless connection stop like this. :\

Last edited by Grimn (2007-03-01 23:00:02)

Offline

Board footer

Powered by FluxBB