|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
||||||
problems with wifi access point
Hello.
I'm trying to build an OpenBSD wifi access point for my home office but after some trying I still have some problems. Maybe you can help me here? I have the following wifi usb adapter: Quote:
Quote:
Quote:
Quote:
Quote:
Do I need hostapd? My firewall shows some igmp traffic. Is that necessary? When I'm connecting a client (my iphone or an old apple laptop) to the wifi network it correctly connects and I can browse the web, but every 10 seconds the interface re-initializes (shuts down and connects immediately). Every 10 sec dhcp requests from the client and ACKs from my router will appear. There seems to be something wrong here... Quote:
And I happy new year to all of you! |
|
|||
I will be trying out something similar to this quite soon (bath and food first) and will post back on my results.
__________________
The more you learn, the more you realize how little you know .... |
|
|||
Have you tried specifying a channel? chan 2 might cause problems, or perhaps some type of USB power/compatability setting?
Just testing out configs almost ready to post back on it.
__________________
The more you learn, the more you realize how little you know .... |
|
|||
Hmm oddly enough i am showing "status: no network" for some reason (on 2 different computers) although i got everything else configured and are able to ping that IP address, i have "no network" ... as soon as i get past that i will try to post something helpful.
Update; I also tried an atheros based Dlink PCMCIA card with exactly the same results "status: no network" sheeeet already.....
__________________
The more you learn, the more you realize how little you know .... Last edited by There0; 1st January 2010 at 09:42 AM. |
|
|||
If anybody has any information regarding the "status: no network" problem i am experiencing please come forth I have spent almost 3 hours on this googleing my eyes off with no results, thx.
__________________
The more you learn, the more you realize how little you know .... |
|
|||
I switched the channels and played with the options a while (using 11b instead of 11g and other modes) but with every setting I've got the same results: host connects, after about 10 seconds it disconnects. Maybe something with the encryption? wpa2 not working properly? I also turned off dhcpd and gave the host manual ip addresses, no change either. This is the only thing that turns out in the logs:
Quote:
|
|
|||
Insert as first rule a block log (all) . Then run tcpdump on the pflog0 device. Make a connection and see whether you see any blocked traffic.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Quote:
For some reason i just spent another hour or so scouring the mailing list for something, no luck yet, might post there and see what happens. Oddly enough these are all working fine daily pieces of hardware, leaves me a bit shocked as this is a fresh install as well ...
__________________
The more you learn, the more you realize how little you know .... |
|
|||
Ok. This seems to be all kind of traffic generated when I'm connecting my apple notebook without any encryption:
Code:
Jan 01 12:27:14.995251 rule 19/(ip-option) pass in on rum0: 192.168.2.101 > 224.0.0.2: igmp leave 224.0.0.251 Jan 01 12:27:14.995492 rule 19/(ip-option) pass in on rum0: 192.168.2.101 > 224.0.0.251: igmp nreport 224.0.0.251 Jan 01 12:27:15.233747 rule 141/(match) block in on rum0: 192.168.2.101.63186 > 192.168.2.255.137: udp 50 Jan 01 12:27:15.503536 rule 141/(match) block in on rum0: 192.168.2.101.63186 > 192.168.2.255.137: udp 50 Jan 01 12:27:15.773348 rule 141/(match) block in on rum0: 192.168.2.101.63186 > 192.168.2.255.137: udp 50 Jan 01 12:27:16.005773 rule 141/(match) block in on rum0: 192.168.2.101.52465 > 192.168.2.254.192: udp 4 Jan 01 12:27:16.345618 rule 19/(ip-option) pass in on rum0: 192.168.2.101 > 224.0.0.251: igmp nreport 224.0.0.251 Jan 01 12:27:16.506266 rule 141/(match) block in on rum0: 192.168.2.101.63282 > 192.168.2.254.192: udp 4 Jan 01 12:27:18.007505 rule 141/(match) block in on rum0: 192.168.2.101.54894 > 192.168.2.254.192: udp 4 Jan 01 12:27:18.501488 rule 141/(match) block in on rum0: 192.168.2.101.51276 > 192.168.2.255.137: udp 50 Jan 01 12:27:18.501675 rule 141/(match) block in on rum0: 192.168.2.101.65155 > 192.168.2.254.192: udp 4 Jan 01 12:27:18.772553 rule 141/(match) block in on rum0: 192.168.2.101.51276 > 192.168.2.255.137: udp 50 Jan 01 12:27:19.040897 rule 141/(match) block in on rum0: 192.168.2.101.51276 > 192.168.2.255.137: udp 50 Jan 01 12:27:19.999965 rule 141/(match) block in on rum0: 192.168.2.101.57817 > 192.168.2.254.192: udp 4 Jan 01 12:27:20.498712 rule 141/(match) block in on rum0: 192.168.2.101.55357 > 192.168.2.254.192: udp 4 Code:
Jan 1 12:26:48 router dhcpd[18319]: DHCPDISCOVER from 00:33:36:37:78:8e via rum0 Jan 1 12:26:48 router dhcpd[18319]: icmp_echorequest 192.168.2.101: No route to host Jan 1 12:26:48 router dhcpd[18319]: DHCPOFFER on 192.168.2.101 to 00:33:36:37:78:8e via rum0 Jan 1 12:26:49 router dhcpd[18319]: DHCPREQUEST for 192.168.2.101 from 00:33:36:37:78:8e via rum0 Jan 1 12:26:49 router dhcpd[18319]: DHCPACK on 192.168.2.101 to 00:33:36:37:78:8e via rum0 Jan 1 12:27:12 router dhcpd[18319]: DHCPREQUEST for 192.168.2.101 from 00:33:36:37:78:8e via rum0 Jan 1 12:27:12 router dhcpd[18319]: DHCPACK on 192.168.2.101 to 00:33:36:37:78:8e via rum0 Code:
# route -n show Routing tables Internet: Destination Gateway Flags Refs Use Mtu Prio Iface default xxx.xxx.xxx.xxx UGS 10 573911 - 8 axe0 192.168.1/24 link#2 UC 2 0 - 4 gem0 192.168.1.1 00:xx:xx:xx:xx:xx UHLc 1 278 - 4 lo0 192.168.1.96 00:xx:xx:xx:xx:xx UHLc 5 568082 - L 4 gem0 127/8 127.0.0.1 UGRS 0 0 33200 8 lo0 127.0.0.1 127.0.0.1 UH 4 2399870 33200 4 lo0 xxx.xxx.xx/21 link#5 UC 1 0 - 4 axe0 xxx.xxx.xxx.xxx 127.0.0.1 UGHS 0 1067 33200 8 lo0 xxx.xxx.xxx.xxx 00:xx:xx:xx:xx:xx UHLc 1 0 - 4 axe0 192.168.2/24 link#7 C 2 0 - 4 rum0 192.168.2.101 00:xx:xx:xx:xx:xx HLc 1 1 - 4 rum0 192.168.2.102 00:xx:xx:xx:xx:xx HLc 0 7 - 4 rum0 224/4 127.0.0.1 URS 0 283 33200 8 lo0 Last edited by J65nko; 1st January 2010 at 12:55 PM. Reason: s/quote/code/g tags |
|
|||
O... I forgot to mention. I'm using a Mac mini for all this. So architecture is MacPPC.
|
|
|||
Ah... Maybe there is a wrong route here...
Quote:
Quote:
|
|
|||
Argh.... No... False alarm... Just a wrong entry in the firewall I've added 5 minutes ago.
I'm allowing any traffic on rum0 (the wifi interface) and that's what happening. Quote:
|
|
|||
Some what interesting, have you checked for any specifics (errors/bugs) regarding MacPPC and that rum driver? Also has this ever worked "properly"?
May i also ask why your using a ppc arch? is your macmini a pre 2006 model (G4)? i am assuming that your mac mini is an Intel based cpu? if it came OS X your better off using i386 arch.
__________________
The more you learn, the more you realize how little you know .... Last edited by There0; 1st January 2010 at 12:29 PM. |
|
|||
Quote:
This is an old Mac mini (2nd generation) from 2004 or so which has a PowerPC processor in it. About 4 years ago Apple switched to i386. But my Mac mini is still from the old times before the switch. I can provide you with the dmesg output if you'd like. |
|
|||
Quote:
Asus makes some good stuff, but it could very well be a driver issue or arch issue. I would get it verified working in Windoz (-_-) yuk i know, but usually a good cross check, and/or try out another USB wifi adaptor (if you have)
__________________
The more you learn, the more you realize how little you know .... |
|
|||
http://en.wikipedia.org/wiki/Mac_Mini
Was just reading that, i have had 6 Apple's in my stretch only one was a PPC though, and that was a 120mhz, back when dinosaurs invented lasers , i did not have a chance to try out PPC arch, most of my installs on my macbooks were Intel based. I am hoping that you have another USB adaptor, or can at least test this current one on a Windoz box and verify. I am at a bit off a loss with your situation and am starting to believe that it is hardware or driver issue. Hehe was just having a laugh thinking about how nice it would be if i could setup my ipod with OpenBSD and try to create an access point maybe one day Jobs will have the incentive to creep into that type of "market"
__________________
The more you learn, the more you realize how little you know .... |
|
|||
I'm currently downloading the drivers and will test the adapter on another intel Mac....
|
|
|||
Code:
an 01 12:27:18.772553 rule 141/(match) block in on rum0: 192.168.2.101.51276 > 192.168.2.255.137: udp 50 Jan 01 12:27:19.040897 rule 141/(match) block in on rum0: 192.168.2.101.51276 > 192.168.2.255.137: udp 50 Jan 01 12:27:19.999965 rule 141/(match) block in on rum0: 192.168.2.101.57817 > 192.168.2.254.192: udp 4 Jan 01 12:27:20.498712 rule 141/(match) block in on rum0: 192.168.2.101.55357 > 192.168.2.254.192: udp 4 Code:
$ grep 137 /etc/services netbios-ns 137/tcp # NETBIOS Name Service netbios-ns 137/udp Code:
Protocol Service Name tcp osu-nms OSU Network Monitoring System udp osu-nms OSU Network Monitoring System Quote:
Add a rule to allow this port 192 traffic, and see whether that helps.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Cool, it might show something that was not quite visible before, i too am checking out the openbsd-ppc mailing list for something, yes i can not sleep and am quite bored so here i am...
__________________
The more you learn, the more you realize how little you know .... |
|
|||
Quote:
Quote:
Quote:
__________________
The more you learn, the more you realize how little you know .... |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wireless NIC for access point | dewarrn1 | FreeBSD General | 1 | 15th September 2009 11:01 PM |
How do I edit my .profile to permanently have an ftp site to point to | badguy | OpenBSD Packages and Ports | 12 | 19th July 2009 02:05 AM |
OpenBSD Wi-Fi acces point | LordZ | OpenBSD General | 4 | 18th October 2008 10:33 AM |
Point-to-Point VPN + Firewall + Router (sorta) - What should I use? | Bruco | FreeBSD General | 6 | 5th July 2008 11:09 PM |
Configuring a wireless access point | Serge | FreeBSD General | 6 | 6th June 2008 04:07 PM |