Author Topic: Connecting to access points  (Read 3106 times)

zepheir

  • Newbie
  • *
  • Posts: 15
    • View Profile
Connecting to access points
« on: July 24, 2004, 08:55:39 am »
I've gotten kismet working on my C860 and I can see wireless networks as I walk around or ride the train, but how can I connect to any of these to surf the web?

The manner in which I War-walk or War-ride-the-train is as follows, from the konsole:

# cardctl scheme CardResume
# cardctl scheme qpewlan0
# kismet
(study some access points, then close kismet)
# cardctl scheme default

This method seems to work for me in finding access points, but I don't know how to connect. I thought maybe trying to change my network settings from a static IP to DHCP and I end up with this error:

checking: eth0
Changing scheme from 'CardResume' to 'qpewlan1'...
message=dot11req_mibset
  mibattribute=dot11PrivacyInvoked=false
  resultcode=success
/etc/pcmcia/network initialization failed.
Some devices did not start cleanly.

It doesn't seem to matter though because I can load up kismet and find wireless nets. Just don't know how to go about connecting to them.

doseas

  • Full Member
  • ***
  • Posts: 207
    • View Profile
    • http://
Connecting to access points
« Reply #1 on: July 26, 2004, 05:34:27 pm »
You can only connect to an access point if:
1. it isn't using WEP (ie, you see "WEP=No" in Kismet), and
2. it isn't MAC address controlled.  Look at the IPaddress that kismet sees for the access point: if it shows up as "0.0.0.0", then most likely the AP is using MAC address control.  If it has a genuine IPaddress, then there is a good chance that you'll be able to connect.

I have a Generic Wireless LAN setup that I created with the following parameters, which has allowed me to connect to every open AP that I've tried:
Non-specific ESS-ID: "ANY"  (works for almost all open APs -- I've needed to put in the actual ESS-ID name for some D-Link AP models)
WEP: disabled
Obtain TCP/IP automatically (if the AP isn't acting as a DHCP server, you can sometimes get by with hardcoding in an IP address in the same subnet range as what Kismet gives as the AP IPaddr)
Obtain DNS automatically (again, if the AP isn't acting as a DHCP server, you may need to hardcode a valid DNS server address -- I keep a few on hand in my notes)
No proxy (usually, only commercial WiFi services require you to use their proxy server)

Once you have the Wireless LAN setup configured, then (make sure you've quit out of kismet -- you may also have to eject & re-insert the WiFi card) simply choose it from the little globe icon in the task bar.  After a short pause, it should say "connected" and the globe icon will change from B/W to colored and the red "X" will disappear.

zepheir

  • Newbie
  • *
  • Posts: 15
    • View Profile
Connecting to access points
« Reply #2 on: July 27, 2004, 11:22:41 pm »
Thanks for your reply.

When you say the IP address for an AP is that the section in Kismet listed as 'IP Block'?

zepheir

  • Newbie
  • *
  • Posts: 15
    • View Profile
Connecting to access points
« Reply #3 on: July 28, 2004, 03:32:43 am »
Thanks for your help again. I've managed to connect to the net through one of the access points (I'm typing this from my Zaurus). To answer my own question, yeah the IP block is the IP address.

zepheir

  • Newbie
  • *
  • Posts: 15
    • View Profile
Connecting to access points
« Reply #4 on: July 31, 2004, 04:38:38 am »
I don't get it. I was able to connect to the net through one of the APs that Kismet found one time. Everytime since then I haven't been able to connect to any APs that I've found that weren't WEP enabled and gave me some kind of IP. Have I just been really unlucky?

The one time I managed to connect I used a connection with the 'Non-Spec ESS-ID' option checked and it worked. Since then I've tried that setting, but I've also tried setting the ESS-ID to 'ANY' manually and then setting the TCP/IP and DNS servers for DHCP. I also tired manually entering in an IP address along with the IP address of the AP for the gateway and DNS server. Nothing seemed to work.

I guess I've just been really, really unlucky, huh?