You are not logged in.

#1 2006-06-11 16:29:53

z4ziggy
Member
From: Israel
Registered: 2004-03-29
Posts: 573
Website

wireless dhcp problem [fixed]

ok, go easy with me... im a complete n00b when it comes to wireless stuff...

I found my matching wireless module (zd1211), compiled and installed. loading it show it loads fine but nothing in the "used by" column (is that normal?). then i was trying the followings (i want to make it work 1st using manual commands before trying to use the Arch way):

modprobe zd1211
ifconfig wlan0 up
iwconfig wlan0 essid <myessid>
dhcpcd wlan0

after a few seconds, dhcpcd simply exists. in all the time it is running (a minute or so) no ip is shown for the wireless card in neither ifconfig or iwconfig.

what am i missing???

Thanks in advance people.

Offline

#2 2006-06-12 09:52:05

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: wireless dhcp problem [fixed]

But it does show wlan0 in ifconfig and dmesg, right ?

Maybe start with configuring network-profile in /etc/network-profiles. It will guide you step by step. Take a look at IWOPTS variable in the template file I think you're missing something in your commands.

And I'm assuming you're not using WEP or WPA encryption and MAC addres list in your access point.

Offline

#3 2006-06-12 10:12:54

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: wireless dhcp problem [fixed]

it's working under windows with no WEP/WPA, and that would also mean that if there's a MAC address list, the computer is on it.

Offline

#4 2006-06-12 11:18:12

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: wireless dhcp problem [fixed]

z4ziggy wrote:
modprobe zd1211
ifconfig wlan0 up
iwconfig wlan0 essid <myessid>
dhcpcd wlan0

After the iwconfig command above, what does iwconfig show you? For comparison, here's mine:

$ iwconfig wlan0

wlan0     IEEE 802.11-b  ESSID:"hack-my-network"  Nickname:"go-on-I-dare-you"
          Mode:Managed  Frequency:2.412 GHz  Access Point: A1:B2:C3:D4:E5:6F   
          Bit Rate:11 Mb/s   Tx-Power:18 dBm   
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Link Quality=25/92  Signal level=-65 dBm  Noise level=-90 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

What you're looking for is the Access Point's MAC address - if that's not there, you're not connected, and you need to make sure you're passing the right information. Does your access point have any logs? They might help you work out what's missing, if anything.

Offline

#5 2006-06-12 11:20:57

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: wireless dhcp problem [fixed]

I think you're missing mode managed in ifconfig but right now I don't have an access to any of my machines with wireless cards to check details.

Offline

#6 2006-06-12 11:27:21

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: wireless dhcp problem [fixed]

lanrat wrote:

I think you're missing mode managed in ifconfig but right now I don't have an access to any of my machines with wireless cards to check details.

most default to managed... but murphy's law says this one doesnt.

i spoke to z4ziggy before, and it hasnt associated, there's still a null address for the AP -- I suggested some things, so we'll see what he comes back with.

Offline

#7 2006-06-13 18:26:50

z4ziggy
Member
From: Israel
Registered: 2004-03-29
Posts: 573
Website

Re: wireless dhcp problem [fixed]

thanks everyone for your replies. the problem was with the router using "channel 3" which for some reason didnt work with the client. changing it to "channel 6" made all work. then when we restored the encryption a new problem rose up, but once we changed the algo (seems iwconfig dosnt support Passphrase) all works great!

thanks again ppl.

Offline

#8 2006-06-14 18:22:04

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: wireless dhcp problem [fixed]

ziggy, what make/model is your zd1211 stick? It's birthday time, and I'm thinking of getting one. smile

Offline

#9 2006-06-14 19:44:44

z4ziggy
Member
From: Israel
Registered: 2004-03-29
Posts: 573
Website

Re: wireless dhcp problem [fixed]

1st of all - happy birthday man! smile

2nd, its not my hw, it was for a friend of mine whom i have installed Arch for.

the hw is Edimax/EW-7317Ug. but you might wanna check this list for complete hw supported under linux. get the green ones ofcourse... iphitus said its not the best hw in the world, so u might wanna check out with him for what is better. all i know is that this Edimax is cheap wink and working...

Offline

#10 2006-06-14 21:00:33

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: wireless dhcp problem [fixed]

yes happy b-day tomk
may i recommend cisco's aironet 350
i love mine it will get recognized & up by just about every live distro ive tried
in arch i find in /etc/rc.conf 
#MOD_AUTOLOAD="yes"

DAEMONS=(hwd )
works best it will fire up everytime
if you use MOD_AUTOLOAD="yes"
sometimes it works mostly not
it also recognizes it as eth2 instead of eth1 which hwd does
i havent really dug a whole lot to figure this out though

just thought id throw this in

Offline

#11 2006-06-14 21:10:57

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: wireless dhcp problem [fixed]

Thanks for the good wishes, z, and the info. It turns out I was wasting my time, roll because I had forgotten that this  venerable laptop only has USB 1.1 - and I already have a perfectly good Netgear stick handling 11b.

I guess I'd better think of another birthday present ......... big_smile

Offline

#12 2006-06-14 21:17:27

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: wireless dhcp problem [fixed]

rayjgu3 - thanks for the recommendation. As mentioned, I'm sorted for 11b connectivity - I was only interested in zd1211 for 11g, which of course, is not possible on this machine.

I think it's fair to say that the laptop isn't the only thing getting old around here ..... tongue

Offline

Board footer

Powered by FluxBB