Garayed.com  

Go Back   Garayed.com > Linux
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-29-2006, 09:09 PM
Unruh
 
Posts: n/a
Default Re: How to debug wifi (MADWIFI) code?

Ignoramus20594 <ignoramus20594@NOSPAM.20594.invalid> writes:

>On 29 Mar 2006 20:40:29 GMT, Unruh <unruh-spam@physics.ubc.ca> wrote:
>> Ignoramus20594 <ignoramus20594@NOSPAM.20594.invalid> writes:
>>
>>>I have issues with Madwifi wireless connections.

>>
>>>I tried both WEP and WPA encryption (with wpa_supplicant).

>>
>>>Both do not work. With WEP, I can seemingly connect to the station
>>>(iwconfig shows some stats suggesting such), but cannot route packets
>>>to wireless. With wpa_supplicant, it is unable to take the key that
>>>wpa_passphrase generated due to failing ioctl (looks like it chokes on
>>>a big key).

>>
>>>Anyway, wpa_supplicant is a nice program because it prints a lot of
>>>debugging information. Kudos to its author.

>>
>>>With WEP, though, I am operating completely in the dark.

>>
>>
>> Wireless has absolutely nothing to do with routing.
>> If dhcp gave you an ip address (ifconfig -a) then your wireless works, and
>> you are connected. Thereafter your routing problems are a totally separate
>> issue.


>I want to have a static IP on that network. The Access Point is not a
>DHCP server and I would prefer not to use DHCP.


Fine. Make it static. You could do that by having dhcp deliver the same
address always from the router. A key issue is that the router has to know
what your address is, so it can send stuff to you. You have to figure out
how to get your router to do that. Most wireless routers expect y ou to
connect using dhcp, but can deliver a static address via dhcp. I am not
sure if they will allow an automatic assignment without dhcp.



>>
>> route -n will tell you what your routes are.


>Yes, sure, I tried route -n, routes looked perfectly legit, and yet
>ping did not work.


You have admitted that you do not know what is happening, yet you tell us
that your route is fine. Why not post it here, so we can see ourselves if
it is fine.



>Maybe this is a trivial problem, but I doubt it.


>That is why I am asking, *is there some way to debug just what is
>happening between the wireless card and access point*.




>i


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:04 PM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.