You are not logged in.

#1 2008-11-13 03:53:06

draze
Member
Registered: 2008-11-13
Posts: 37

wireless conection problem

Ok, so i finally finished my install of Arch ( Asus m5200n ) and i put openbox on it:). i had some problems during install, but i skipped because i was running short on time, so now i come back to my wireless connection problem:

This is what 'hwdetect --show-net' gives me:
NET      :8139cp 8139too mii ieee80211 ieee80211_crypt ipw2200

'lshwd'
-bash: lshwd: command not found

'lspci | grep -i net'
01:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8939C/8139C+ (rev10)
01:05.0 Ethernet controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)

Also 'iwconfig':
lo        no wireless extensions.
eth0    no wireless extensions.

After all of that i am supposed to "Ensure the module is loaded with lsmod | grep <name_or_part_of_name_of_module>"
What do i put for name_or_part_of_name_of_module?

Offline

#2 2008-11-13 04:43:57

Tenken
Member
Registered: 2008-02-01
Posts: 126

Re: wireless conection problem

It looks like you need to install the firmware for you wireless card. If it doesn't automatically load you may need to reboot.

Offline

#3 2008-11-13 17:13:45

draze
Member
Registered: 2008-11-13
Posts: 37

Re: wireless conection problem

ok....so i look throgh and downloaded stuff needed.
i tar zxvf 3 needed files, the next thing i see:

4.  KERNEL REQUIREMENTS - 2.6.8+
-----------------------------------------------

The ipw2200 driver is currently maintained only for 2.6.8+ versions of the
Linux kernel, restricted in part by ieee80211 driver's requirement for 2.6.8+
(see INSTALL doc in ieee80211 source tree).

Due to time constraints, we can not maintain a 2.4 backport of the driver. 

There is a family of 2.4 backport patches for some earlier versions of the
ipw2200 driver, provided by an external maintainer, but these patches are not
managed or maintained by the IPW developers.  For a link to this site, and
some other sites that may be of interest, look at the ipw2200 links page:

    http://ipw2200.sourceforge.net/#links

at this point i didn't know what kernel i have. so i followed the instructions to

# nano /lib/modules/`uname -r`/build/include/linux/autoconf.h
and there i discovered i have 2.6.27

i hit a wall now and i don't know what to do. i was also wondering if there's a graphical way os doing that wireless setup.

Offline

#4 2008-11-13 17:41:22

syntaxerrormmm
Member
From: Italy
Registered: 2008-10-22
Posts: 80
Website

Re: wireless conection problem

Why don't you just do

# pacman -S ipw2200-fw

? Package infos here.

HTH.


syntaxerrormmm - Homepage

Offline

#5 2008-11-13 21:15:12

draze
Member
Registered: 2008-11-13
Posts: 37

Re: wireless conection problem

syntaxerrormmm wrote:

Why don't you just do

# pacman -S ipw2200-fw

? Package infos here.

HTH.

thanks. problem solved after installing and setting wireless up.

i'm up and running but when i reboot i have to manually bring my eth1 up, connect to WLAN..and 'dhcpcd eth1' gives me:
err, eth1: dhcpcd already running on pid 2691 (/var/run/dhcpcd-eth1.pid)

to get my eth1 going i have to nano /var/run/dhcpcd-eth1.pid and clear the number in it......then reassign dchcpd, but it's very frustraiting...how could i keep it automated way?

Last edited by draze (2008-11-13 21:43:12)

Offline

#6 2008-11-14 00:07:01

syntaxerrormmm
Member
From: Italy
Registered: 2008-10-22
Posts: 80
Website

Re: wireless conection problem

draze wrote:

to get my eth1 going i have to nano /var/run/dhcpcd-eth1.pid and clear the number in it

Better way:

# dhcpcd -k eth1
draze wrote:

how could i keep it automated way?

Have a look on netprofiles [wiki]. It will solve your issue the cleanest way.

HTH.


syntaxerrormmm - Homepage

Offline

#7 2008-11-14 00:17:36

draze
Member
Registered: 2008-11-13
Posts: 37

Re: wireless conection problem

i did.....the thing i don't get is how to create a profile....i tried copying...but what extension i need to use...or am i doing somethng wrong?

Offline

#8 2008-11-14 01:29:15

Tenken
Member
Registered: 2008-02-01
Posts: 126

Re: wireless conection problem

draze wrote:

i did.....the thing i don't get is how to create a profile....i tried copying...but what extension i need to use...or am i doing somethng wrong?

Profiles don't need an extension, what error message(s) are you getting.

cp /etc/network.d/examples/example_name /etc/network.d/profile_name

That should give you a good starting point to edit for your network.

Offline

#9 2008-11-14 01:54:02

draze
Member
Registered: 2008-11-13
Posts: 37

Re: wireless conection problem

ok i was doing the same thing Tenken. except i used an extension after my profilename.
well, anyways i got netcfg load 'draze' but it fails.

/etc/network.d/draze :
CONNECTION="wireless"
INTERFACE=eth1
SCAN="yes"
SECURITY="wpa"
ESSID="draze"
KEY="whatever"
IP="dhcp"
TIMEOUT=20


my wireless worked before i loaded profile draze

edit:
checked my iwconfig: for eth1 unassociated ESSID:"draze"
my if config did not even showed eth1, so i brought it up
then tried again and failed wireless association failed
not sure if that would help

Last edited by draze (2008-11-14 02:06:38)

Offline

#10 2008-11-17 03:08:06

draze
Member
Registered: 2008-11-13
Posts: 37

Re: wireless conection problem

still need to find a way...

Offline

#11 2008-11-17 03:58:28

phunkedelik
Member
Registered: 2008-06-17
Posts: 59

Re: wireless conection problem

dont use ipw use iwlwifi

Offline

#12 2008-11-17 17:00:42

draze
Member
Registered: 2008-11-13
Posts: 37

Re: wireless conection problem

so.... how do i delete old drivers?

Offline

#13 2008-11-17 20:34:00

Tenken
Member
Registered: 2008-02-01
Posts: 126

Re: wireless conection problem

You delete the drivers with pacman just like you would any other package you installed. Also, I don't usually like suggesting a different program just because you can't get one to work, but if you're having problems with netcfg you might want to try wicd, it works for me with the ipw driver.

Offline

#14 2008-11-18 02:12:30

draze
Member
Registered: 2008-11-13
Posts: 37

Re: wireless conection problem

ok. so i followed the instructions for wicd-client i found my network and it gives me information about it:
100%
WEP
and mac...when i check in my 192.168.2.1 it gives me the same mac except the last digints are A0 instead of A6
Master
Chanel2

now....i tried all the wep and wap options of password encryption....i know my password for sure, every time i try to connect to my network the connecting process gets stuck on Validating authentication...

EDIT1:when tried the unsecured networks...still doesn't connect(get's stuck at obtaining IP address)

EDIT2:when trying manually set up wireless doing these steps:
sudo ifocnfig eth1 down
sudo ifconfig eth1 up
sudo eth1 essid draze key aaaaaa123
sudo dhcpcd eth1
err, eth1: timed out
warn, eth1: using IPV4LL address 169.254.145.57

EDIT3: after trying go the netcfg way:
sudo netcfg draze
::draze up -wpa_supplicant did not start. possible configuration error

i did download wpa supplicant

EDIT4: did a little bit of research, after chaging ipw to wext in preferences i am able to pass validating authentication, but still stuck on obtaining IP adress.

Last edited by draze (2008-11-18 03:01:22)

Offline

#15 2008-11-18 02:53:19

Tenken
Member
Registered: 2008-02-01
Posts: 126

Re: wireless conection problem

draze wrote:

now....i tried all the wep and wap options of password encryption....i know my password for sure, every time i try to connect to my network the connecting process gets stuck on Validating authentication...

I had the same problem, switching the driver from ipw to wext did the trick.

EDIT3: after trying go the netcfg way:
sudo netcfg draze
::draze up -wpa_supplicant did not start. possible configuration error

i did download wpa supplicant

You installed it but did you use the wiki to configure it?

Offline

#16 2008-11-18 03:52:43

draze
Member
Registered: 2008-11-13
Posts: 37

Re: wireless conection problem

followed wiki's instructions:
# wpa_passphrase mywireless secretpassphrase
network={
       ssid="mywireless"
       #psk="secretpassphrase"
       psk=b90e230f1f2f5361a9b2d3acf276745ee3c751c0724a3b0052d6df15ec420e69
}
# wpa_passphrase myssid mypassphrase > /etc/wpa_supplicant.conf
# wpa_passphrase additional_ssid additional_passphrase >> /etc/wpa_supplicant.conf (don't have any....so i just typed one with same essid and pass)
entered that in /etc/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
#  ifconfig wlan0 up
# iwconfig wlan0 essid [ssid]
# wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
# dhcpcd wlan0
err eth1: timed out
warn, eth1: using IPV4LL adress 169.254.18.116

stoped here

edit:
tried the following # nano /var/run/wpa.supplicant/eth1 and it was empty

Last edited by draze (2008-11-18 03:54:26)

Offline

#17 2008-11-18 20:46:24

draze
Member
Registered: 2008-11-13
Posts: 37

Re: wireless conection problem

up

Offline

#18 2008-11-18 21:42:04

syntaxerrormmm
Member
From: Italy
Registered: 2008-10-22
Posts: 80
Website

Re: wireless conection problem

Draze, I think you are running too fast. If you followed the wiki step-by-step without thinking if you should use some commands, you couldn't have done a good job.

To my knowledge, wpa_supplicant doesn't support WEP (and you said that you configured WEP on your router), so you shouldn't use that. If netcfg is complaining about wpa_supplicant missing and you have WEP, well, there is something wrong with the netprofile you wrote.

Just try this manual configuration:

# ifconfig eth1 up
# iwconfig eth1 essid "draze" mode managed key "-yourkey-"
# iwconfig eth1 # please check here that eth1 is now associated, unless you cannot receive an IP address from DHCP
# dhcpcd -k eth1
# dhcpcd eth1

If previous commands worked, then try copying from /etc/network.d/examples/wep.example when configuring netcfg, changing only the ESSID and the KEY variables.

If loading the new netcfg profile works, remember to add "net-profiles" to the DAEMONS array and the name of your new profile to the NETWORKS array in /etc/rc.conf.

You definitely need to know what you're typing. Have you ever read the manpage of iwconfig?


syntaxerrormmm - Homepage

Offline

#19 2008-11-19 16:19:52

draze
Member
Registered: 2008-11-13
Posts: 37

Re: wireless conection problem

i'm not sure weather it's wep or wpa.......it's 64-bit encryption and is a 10 digit key combining letters and numbers. It was suggested by my router.

Offline

#20 2008-11-19 16:44:32

syntaxerrormmm
Member
From: Italy
Registered: 2008-10-22
Posts: 80
Website

Re: wireless conection problem

Just find out with iwlist:

# iwlist eth1 scan

Not on linux now, so I couldn't show you the output. If your router was configured to broadcast the ESSID, you should see an entry for your WLAN indicating if encryption is on and the protocol used.


syntaxerrormmm - Homepage

Offline

#21 2008-12-04 03:40:14

draze
Member
Registered: 2008-11-13
Posts: 37

Re: wireless conection problem

my network is WEP passworded

Edit 1: tried etcfg after changing the encryption to wep.
I get the following:

dhcpcd: invalid option -- 'q'
...
         -DHCP IP lease attempt failed

Last edited by draze (2008-12-04 04:27:34)

Offline

#22 2008-12-10 21:24:22

draze
Member
Registered: 2008-11-13
Posts: 37

Re: wireless conection problem

up

Offline

#23 2008-12-11 08:59:43

MrAllan
Member
Registered: 2008-12-08
Posts: 132

Re: wireless conection problem

draze wrote:
dhcpcd: invalid option -- 'q'
...
         -DHCP IP lease attempt failed

I get the same output. Did you solve it?

Offline

#24 2008-12-11 16:54:48

draze
Member
Registered: 2008-11-13
Posts: 37

Re: wireless conection problem

not solved yet

Offline

#25 2008-12-11 20:57:39

syntaxerrormmm
Member
From: Italy
Registered: 2008-10-22
Posts: 80
Website

Re: wireless conection problem

Mmh, maybe you have the same configuration problem of the other user. Please check that in /etc/rc.conf you don't have an active and competing configuration for the wireless interface, so there is nothing like

INTERFACES=(eth1)

(eth1 supposed to be the wifi NIC). Simply disable that configuration adding a "!" before eth1.

HTH


syntaxerrormmm - Homepage

Offline

Board footer

Powered by FluxBB