Re: Wireless help, please

2009-06-03 Thread Stuart Henderson
On 2009-06-02, Ben Goren b...@trumpetpower.com wrote:
 On 2009 Jun 2, at 10:00 AM, Stuart Henderson wrote:

 On 2009-06-02, K K kka...@gmail.com wrote:
 On Tue, Jun 2, 2009 at 7:32 AM, Ben Goren b...@trumpetpower.com  
 wrote:
 Anybody else have any suggestions? Nick?

 I have similar problems with a 'rum' USB stick in AP mode using WPA.

 See the man page for specific know issues with using this chipset in
 Host AP mode.

 Can anybody suggest a readily available USB2 Wireless-G adapter which
 works well as an AP?


 USB wireless adapters do not work well as APs.

 The only ones where we support this at all are ural and rum, and
 though they can be useful in a sticky situation where it's all you
 have available, they don't make good access points.

 With that in mind...are any of these ``wireless bridge'' devices worth  
 considering? I have a spare PC Ethernet card for this laptop.

 This is one of Amazon's top hits for the sort of thing I'm thinking  
 of. If anybody has any suggestions on the matter, I'd appreciate it

 http://www.amazon.com/Linksys-WET610N-Wireless-N-Ethernet-Dual-Band/dp/B001QVQ7JU/ref=sr_1_2?ie=UTF8s=electronicsqid=1243962805sr=1-2

 or: http://tinyurl.com/oe3nsg

heh, that one looks like it should make toast too.

You can use any old access point. Wireless bridges are for client-mode
i.e. connecting a machine that has wired ethernet only, to another AP.



Re: Wireless help, please

2009-06-02 Thread Ben Goren
Anybody else have any suggestions? Nick?

Cheers,

b

On 2009 May 30, at 5:21 PM, Ben Goren wrote:

 On 2009 May 30, at 7:03 AM, Jason Dixon wrote:

 On Sat, May 30, 2009 at 06:48:59AM -0700, Ben Goren wrote:
 I'm trying to set up my first wireless network, with less than
 stellar
 success.

 You need to narrow your spectrum of diagnosis.  Start ruling out  
 those
 things which are known to work.  Rule out those things which are  
 known
 to work and you'll be left with the thing(s) that don't.

 Examples:

 - OpenBSD wireless connectivity (as a client)
 - OpenBSD wired connectivity
 - Mac wired connectivity
 - Mac wireless connectivity (to a different WAP)
 - etc...

 I've done as much of that as I can -- or, at least, as much as I can
 think of.

 The two computers have no trouble talking to each other over wired
 ethernet.

 Indeed, for several seconds, they communicate just fine over wireless
 -- my problem is that it only lasts for several seconds, after which  
 the entire wireless connection is dropped and the iMac is no longer
 associated with any network.

 I don't have any other hardware to test with.

 I've thought of and tried a couple other things since this morning.
 There's one of those infamous ``linksys'' networks somewhere in the
 vicinity, but apparently not nearby. I was able to connect to it from
 the iMac a while ago and do a bit of (very slow) surfing, and even
 open an ssh session back to the laptop. I can't seem to re-connect to
 it now, and I haven't been able to connect to it from the laptop.
 There are a couple other networks in the area that aren't using any
 form of wireless security, but they have official-sounding names like
 ``ASUEMPLOYEE.'' I can connect to them from either computer -- and the
 connection doesn't go away -- but no DHCP servers will talk to me.

 I've also tried setting up the laptop in both ibss and ibss-master
 mode. With ibss-master, ifconfig always reports ``no network.''

 However, if I set the iMac up as an ibss-master, I can connect to it
 from the OpenBSD laptop, get a DHCP lease from it, and ping the iMac.

 So, it seems that everything works except for sustaining a link from
 the iMac to the OpenBSD laptop as a hostap for more than several
 seconds.

 Surely I must be missing something obvious?

 Cheers,

 b

 [demime 1.01d removed an attachment of type application/pkcs7- 
 signature which had a name of smime.p7s]

[demime 1.01d removed an attachment of type application/pkcs7-signature which 
had a name of smime.p7s]



Re: Wireless help, please

2009-06-02 Thread K K
On Tue, Jun 2, 2009 at 7:32 AM, Ben Goren b...@trumpetpower.com wrote:
 Anybody else have any suggestions? Nick?

I have similar problems with a 'rum' USB stick in AP mode using WPA.

See the man page for specific know issues with using this chipset in
Host AP mode.

Can anybody suggest a readily available USB2 Wireless-G adapter which
works well as an AP?



Re: Wireless help, please

2009-06-02 Thread Stuart Henderson
On 2009-06-02, K K kka...@gmail.com wrote:
 On Tue, Jun 2, 2009 at 7:32 AM, Ben Goren b...@trumpetpower.com wrote:
 Anybody else have any suggestions? Nick?

 I have similar problems with a 'rum' USB stick in AP mode using WPA.

 See the man page for specific know issues with using this chipset in
 Host AP mode.

 Can anybody suggest a readily available USB2 Wireless-G adapter which
 works well as an AP?



USB wireless adapters do not work well as APs.

The only ones where we support this at all are ural and rum, and
though they can be useful in a sticky situation where it's all you
have available, they don't make good access points.



Re: Wireless help, please

2009-06-02 Thread Ben Goren
On 2009 Jun 2, at 10:00 AM, Stuart Henderson wrote:

 On 2009-06-02, K K kka...@gmail.com wrote:
 On Tue, Jun 2, 2009 at 7:32 AM, Ben Goren b...@trumpetpower.com  
 wrote:
 Anybody else have any suggestions? Nick?

 I have similar problems with a 'rum' USB stick in AP mode using WPA.

 See the man page for specific know issues with using this chipset in
 Host AP mode.

 Can anybody suggest a readily available USB2 Wireless-G adapter which
 works well as an AP?


 USB wireless adapters do not work well as APs.

 The only ones where we support this at all are ural and rum, and
 though they can be useful in a sticky situation where it's all you
 have available, they don't make good access points.

With that in mind...are any of these ``wireless bridge'' devices worth  
considering? I have a spare PC Ethernet card for this laptop.

This is one of Amazon's top hits for the sort of thing I'm thinking  
of. If anybody has any suggestions on the matter, I'd appreciate it

http://www.amazon.com/Linksys-WET610N-Wireless-N-Ethernet-Dual-Band/dp/B001QVQ7JU/ref=sr_1_2?ie=UTF8s=electronicsqid=1243962805sr=1-2

or: http://tinyurl.com/oe3nsg

Cheers,

b

[demime 1.01d removed an attachment of type application/pkcs7-signature which 
had a name of smime.p7s]



Re: Wireless help, please

2009-06-02 Thread Cem Kayali

Stuart Henderson, 06/02/09 20:00:

On 2009-06-02, K K kka...@gmail.com wrote:
  

On Tue, Jun 2, 2009 at 7:32 AM, Ben Goren b...@trumpetpower.com wrote:


Anybody else have any suggestions? Nick?
  

I have similar problems with a 'rum' USB stick in AP mode using WPA.

See the man page for specific know issues with using this chipset in
Host AP mode.

Can anybody suggest a readily available USB2 Wireless-G adapter which
works well as an AP?





USB wireless adapters do not work well as APs.

The only ones where we support this at all are ural and rum, and
though they can be useful in a sticky situation where it's all you
have available, they don't make good access points.


I have a rum0 based cnet pro usb dongle, and it even supports wpa/psk.

Regards,
Cem



Re: Wireless help, please

2009-06-02 Thread Cem Kayali

Cem Kayali, 06/02/09 21:23:

Stuart Henderson, 06/02/09 20:00:

On 2009-06-02, K K kka...@gmail.com wrote:
 

On Tue, Jun 2, 2009 at 7:32 AM, Ben Goren b...@trumpetpower.com wrote:
   

Anybody else have any suggestions? Nick?
  

I have similar problems with a 'rum' USB stick in AP mode using WPA.

See the man page for specific know issues with using this chipset in
Host AP mode.

Can anybody suggest a readily available USB2 Wireless-G adapter which
works well as an AP?





USB wireless adapters do not work well as APs.

The only ones where we support this at all are ural and rum, and
though they can be useful in a sticky situation where it's all you
have available, they don't make good access points.


I have a rum0 based cnet pro usb dongle, and it even supports wpa/psk.

Regards,
Cem


This one: http://www.cnet.com.tw/product/cwd-854d.htm

Cem



Re: Wireless help, please

2009-06-02 Thread Stuart Henderson
On 2009/06/02 21:23, Cem Kayali wrote:
 Stuart Henderson, 06/02/09 20:00:
 On 2009-06-02, K K kka...@gmail.com wrote:
   
 On Tue, Jun 2, 2009 at 7:32 AM, Ben Goren b...@trumpetpower.com wrote:
 
 Anybody else have any suggestions? Nick?
   
 I have similar problems with a 'rum' USB stick in AP mode using WPA.

 See the man page for specific know issues with using this chipset in
 Host AP mode.

 Can anybody suggest a readily available USB2 Wireless-G adapter which
 works well as an AP?


 

 USB wireless adapters do not work well as APs.

 The only ones where we support this at all are ural and rum, and
 though they can be useful in a sticky situation where it's all you
 have available, they don't make good access points.

 I have a rum0 based cnet pro usb dongle, and it even supports wpa/psk.

Sure it works, but not *well*.


rum

CAVEATS
 The rum driver supports automatic control of the transmit speed in BSS
 mode only.  Therefore the use of a rum adapter in Host AP mode is dis-
 couraged.


ural

CAVEATS
 The ural driver supports automatic control of the transmit speed in BSS
 mode only.  Therefore the use of an ural adapter in Host AP mode is dis-
 couraged.


everything else USB, no hostap.



Re: Wireless help, please

2009-06-01 Thread Ben Goren
On 2009 May 31, at 2:53 PM, Fred Crowson wrote:

 How is your iMac getting its IP address?

When I manually set up the IP address (etc.) for the iMac, I get  
several seconds of connectivity before the link goes dead. That  
doesn't seem to be enough time to get a DHCP lease, though I do have  
dhcpd running on the OpenBSD laptop.

The same laptop provides dhcp services to the iMac on the wired  
network just fine.

Cheers,

b

[demime 1.01d removed an attachment of type application/pkcs7-signature which 
had a name of smime.p7s]



Re: Wireless help, please

2009-05-31 Thread Fred Crowson
On 5/31/09, Ben Goren b...@trumpetpower.com wrote:
 On 2009 May 30, at 7:03 AM, Jason Dixon wrote:

 On Sat, May 30, 2009 at 06:48:59AM -0700, Ben Goren wrote:
 I'm trying to set up my first wireless network, with less than
 stellar
 success.

 You need to narrow your spectrum of diagnosis.  Start ruling out those
 things which are known to work.  Rule out those things which are known
 to work and you'll be left with the thing(s) that don't.

 Examples:

 - OpenBSD wireless connectivity (as a client)
 - OpenBSD wired connectivity
 - Mac wired connectivity
 - Mac wireless connectivity (to a different WAP)
 - etc...

 I've done as much of that as I can -- or, at least, as much as I can
 think of.

 The two computers have no trouble talking to each other over wired
 ethernet.

 Indeed, for several seconds, they communicate just fine over wireless
 -- my problem is that it only lasts for several seconds, after which
 the entire wireless connection is dropped and the iMac is no longer
 associated with any network.

 I don't have any other hardware to test with.

 I've thought of and tried a couple other things since this morning.
 There's one of those infamous ``linksys'' networks somewhere in the
 vicinity, but apparently not nearby. I was able to connect to it from
 the iMac a while ago and do a bit of (very slow) surfing, and even
 open an ssh session back to the laptop. I can't seem to re-connect to
 it now, and I haven't been able to connect to it from the laptop.
 There are a couple other networks in the area that aren't using any
 form of wireless security, but they have official-sounding names like
 ``ASUEMPLOYEE.'' I can connect to them from either computer -- and the
 connection doesn't go away -- but no DHCP servers will talk to me.

 I've also tried setting up the laptop in both ibss and ibss-master
 mode. With ibss-master, ifconfig always reports ``no network.''

 However, if I set the iMac up as an ibss-master, I can connect to it
 from the OpenBSD laptop, get a DHCP lease from it, and ping the iMac.

 So, it seems that everything works except for sustaining a link from
 the iMac to the OpenBSD laptop as a hostap for more than several
 seconds.

 Surely I must be missing something obvious?

 Cheers,

 b

How is your iMac getting its IP address?

Have you set up dhcpd on the OpenBSD laptop?

Fred



Wireless help, please

2009-05-30 Thread Ben Goren
I'm trying to set up my first wireless network, with less than stellar  
success.

dmesg here: http://trumpetpower.com/pub/dmesg.boot

$ ifconfig rum0
rum0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu  
1500
 lladdr 00:0e:3b:0e:88:81
 priority: 0
 groups: wlan
 media: IEEE802.11 autoselect hostap
 status: active
 ieee80211: nwid trumpetpower chan 1 bssid 00:0e:3b:0e:88:81  
100dBm
 inet 65.39.81.125 netmask 0xfff0 broadcast 65.39.81.127
 inet6 fe80::20e:3bff:fe0e:8881%rum0 prefixlen 64 scopeid 0x5

It's an old Dell Precision laptop with a Hawking HWUG1 running 4.5- 
STABLE

I'm trying to connect to it from a not-too-old iMac. The two computers  
are less than six feet apart.

I can actually connect and (e.g.) ftp to get a file over the  
network...but only for a few seconds before the link goes dead. Once  
it lasted for almost half a minute. And that's only if I use a static  
IP on the iMac; dhcp is never able to get a lease.

I've tried everything I can think of -- different channels, 802.11b  
and 802.11g, different USB ports (including the built-in USB 1.1 port  
on the back of the laptop), WPA on and off, moving the antenna and  
computer around, with and without an IP assigned to the interface  
(using a bridge), DHCP running and not, and probably more. All  
scenarios give the same symptoms: I can make the connection, but it  
goes away after a few seconds.

I've tried looking in /var/log for clues, but I couldn't find  
anything. No console messages show up.

This is what shows up in the console for the iMac when I attempt to  
connect:

2009-05-30 6:41:09 AM kernel en1: Supported channels 1 2 3 4 5 6 7 8 9  
10 11 5 6 7 8 9 10 11 1 2 3 4 5 6 7 36 40 44 48 52 56 60 64 149 153  
157 161 165 40 48 56 64 153 161 36 44 52 60 149 157
2009-05-30 6:41:28 AM kernel Auth result for: 00:0e:3b:0e:88:81 MAC  
AUTH succeeded
2009-05-30 6:41:28 AM kernel AirPort: Link Up on en1
2009-05-30 6:41:28 AM kernel AirPort: Link Up on en1
2009-05-30 6:41:30 AM mDNSResponder[16] Note: Frequent transitions for  
interface en1 (65.39.81.120); network traffic reduction measures in  
effect
2009-05-30 6:41:30 AM mDNSResponder[16] Note: Frequent transitions for  
interface en1 (65.39.81.120); network traffic reduction measures in  
effect
2009-05-30 6:41:31 AM System Preferences[16088] Error:  
Apple80211Scan() error 16

2009-05-30 6:41:31 AM System Preferences[16088] Error: __performScan()  
EBUSY, try again in a sec
2009-05-30 6:41:32 AM System Preferences[16088] Error:  
Apple80211Scan() error 16

2009-05-30 6:41:32 AM System Preferences[16088] Error: __performScan()  
EBUSY, try again in a sec
2009-05-30 6:41:32 AM System Preferences[16088] Error: __performScan()  
EBUSY, try again in a sec
2009-05-30 6:41:33 AM System Preferences[16088] Error:  
Apple80211Scan() error 16

2009-05-30 6:41:33 AM System Preferences[16088] Error: __performScan()  
EBUSY, try again in a sec
2009-05-30 6:41:33 AM System Preferences[16088] Error: __performScan()  
EBUSY, try again in a sec
2009-05-30 6:41:34 AM System Preferences[16088] Error:  
Apple80211Scan() error 16

2009-05-30 6:41:34 AM System Preferences[16088] Error: __performScan()  
EBUSY, try again in a sec
2009-05-30 6:41:34 AM airportd[50552] Error: Apple80211Associate()  
failed -6
2009-05-30 6:41:34 AM kernel AirPort: Link Down on en1
2009-05-30 6:41:34 AM SystemUIServer[183] Error: airportd MIG failed =  
-6 ((null))  (port = 51351)
2009-05-30 6:41:34 AM airportd[50552] Error: process_command_dict()  
failed
2009-05-30 6:41:35 AM System Preferences[16088] Error:  
Apple80211Scan() error 16

2009-05-30 6:41:35 AM System Preferences[16088] Error: __performScan()  
EBUSY, try again in a sec
2009-05-30 6:41:35 AM System Preferences[16088] Error: __performScan()  
EBUSY, try again in a sec
2009-05-30 6:41:36 AM kernel Auth result for: 00:0e:3b:0e:88:81 MAC  
AUTH succeeded
2009-05-30 6:41:36 AM kernel AirPort: Link Up on en1
2009-05-30 6:41:36 AM System Preferences[16088] Error:  
Apple80211Scan() error 16

2009-05-30 6:41:36 AM System Preferences[16088] Error:  
Apple80211Scan() error 16

2009-05-30 6:41:36 AM System Preferences[16088] Error: __performScan()  
EBUSY, try again in a sec
2009-05-30 6:41:37 AM System Preferences[16088] Error:  
Apple80211Scan() error 16

2009-05-30 6:41:37 AM System Preferences[16088] Error:  
Apple80211Scan() error 16

2009-05-30 6:41:37 AM System Preferences[16088] Error: __performScan()  
failed (16)
2009-05-30 6:41:42 AM airportd[50552] Error: Apple80211Associate()  
failed -6
2009-05-30 6:41:42 AM kernel AirPort: Link Down on en1
2009-05-30 6:41:42 AM SystemUIServer[183] Error: airportd MIG failed =  
-6 ((null))  (port = 51351)
2009-05-30 6:41:42 AM airportd[50552] Error: process_command_dict()  
failed
2009-05-30 6:41:42 AM airportd[50552] Error: process_command_dict()  
failed
2009-05-30 6:41:47 AM mDNSResponder[16] Note: Frequent transitions for  
interface 

Re: Wireless help, please

2009-05-30 Thread Jason Dixon
On Sat, May 30, 2009 at 06:48:59AM -0700, Ben Goren wrote:
 I'm trying to set up my first wireless network, with less than stellar  
 success.

You need to narrow your spectrum of diagnosis.  Start ruling out those
things which are known to work.  Rule out those things which are known
to work and you'll be left with the thing(s) that don't.

Examples:

- OpenBSD wireless connectivity (as a client)
- OpenBSD wired connectivity
- Mac wired connectivity
- Mac wireless connectivity (to a different WAP)
- etc...

-- 
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/



Re: Wireless help, please

2009-05-30 Thread Ben Goren
On 2009 May 30, at 7:03 AM, Jason Dixon wrote:

 On Sat, May 30, 2009 at 06:48:59AM -0700, Ben Goren wrote:
 I'm trying to set up my first wireless network, with less than  
 stellar
 success.

 You need to narrow your spectrum of diagnosis.  Start ruling out those
 things which are known to work.  Rule out those things which are known
 to work and you'll be left with the thing(s) that don't.

 Examples:

 - OpenBSD wireless connectivity (as a client)
 - OpenBSD wired connectivity
 - Mac wired connectivity
 - Mac wireless connectivity (to a different WAP)
 - etc...

I've done as much of that as I can -- or, at least, as much as I can  
think of.

The two computers have no trouble talking to each other over wired  
ethernet.

Indeed, for several seconds, they communicate just fine over wireless  
-- my problem is that it only lasts for several seconds, after which  
the entire wireless connection is dropped and the iMac is no longer  
associated with any network.

I don't have any other hardware to test with.

I've thought of and tried a couple other things since this morning.  
There's one of those infamous ``linksys'' networks somewhere in the  
vicinity, but apparently not nearby. I was able to connect to it from  
the iMac a while ago and do a bit of (very slow) surfing, and even  
open an ssh session back to the laptop. I can't seem to re-connect to  
it now, and I haven't been able to connect to it from the laptop.  
There are a couple other networks in the area that aren't using any  
form of wireless security, but they have official-sounding names like  
``ASUEMPLOYEE.'' I can connect to them from either computer -- and the  
connection doesn't go away -- but no DHCP servers will talk to me.

I've also tried setting up the laptop in both ibss and ibss-master  
mode. With ibss-master, ifconfig always reports ``no network.''

However, if I set the iMac up as an ibss-master, I can connect to it  
from the OpenBSD laptop, get a DHCP lease from it, and ping the iMac.

So, it seems that everything works except for sustaining a link from  
the iMac to the OpenBSD laptop as a hostap for more than several  
seconds.

Surely I must be missing something obvious?

Cheers,

b

[demime 1.01d removed an attachment of type application/pkcs7-signature which 
had a name of smime.p7s]