回覆: Re: add wireless router using openbsd-3.8 (i386)

2005-10-12 Thread man Chan
Thanks.  I find out that I have to setup a dns and pf
at the AP in order to allowed the clients (window,
obsd) to access  the  internet.  However, it is
plain text mode.  Any idea (I am new to this sort of
thing wireless setup). here is  my configuration:

ifconfig out put

lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu
33224
groups: lo 
inet 127.0.0.1 netmask 0xff00 
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
rl0:
flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST
mtu 1500
lladdr 00:e0:4c:3b:a9:ed
groups: egress 
media: Ethernet autoselect (100baseTX
full-duplex)
status: active
inet 192.168.1.120 netmask 0xff00
broadcast 192.168.1.255
inet6 fe80::2e0:4cff:fe3b:a9ed%rl0 prefixlen
64 scopeid 0x1
pflog0: flags=141UP,RUNNING,PROMISC mtu 33224
pfsync0: flags=0 mtu 1348
enc0: flags=0 mtu 1536
wi0:
flags=8d43UP,BROADCAST,RUNNING,PROMISC,OACTIVE,SIMPLEX,MULTICAST
mtu 1500
lladdr 00:05:5d:d9:84:6c
media: IEEE802.11 autoselect hostap (DS2)
status: active
ieee80211: nwid obsd-group 2dBm (auto) 
inet 192.168.2.1 netmask 0xff00 broadcast
192.168.2.255
inet6 fe80::205:5dff:fed9:846c%wi0 prefixlen
64 scopeid 0x6
bridge0: flags=41UP,RUNNING mtu 1500
groups: bridge 


wicontrol output 
=
NIC serial number:  [ 99SA0100
]
Station name:   [ air ]
SSID for IBSS creation: [ obsd-group ]
Current netname (SSID): [ obsd-group ]
Desired netname (SSID): [ obsd-group ]
Current BSSID:  [
00:05:5d:d9:84:6c ]
Channel list:   [ 2047 ]
IBSS channel:   [ 6 ]
Current channel:[ 6 ]
Comms quality/signal/noise: [ 0 81 27 ]
Promiscuous mode:   [ Off ]
Process 802.11b Frame:  [ Off ]
Port type (1=BSS, 3=ad-hoc, 6=Host AP): [ 6 ]
MAC address:[
00:05:5d:d9:84:6c ]
TX rate (selection):[ 3 ]
TX rate (actual speed): [ 2 ]
Maximum data length:[ 2304 ]
RTS/CTS handshake threshold:[ 2347 ]
Create IBSS:[ On ]
Antenna diversity (0=auto,1=pri,2=aux): [ ]
Microwave oven robustness:  [ On ]
Roaming mode(1=firm,3=disable): [ 1 ]
Access point density:   [ 1 ]
Power Management:   [ Off ]
Max sleep time: [ 100 ]
Enhanced Security mode: [ ]
Intersil Prism2-based card: [ 1 ]
Card info:  [ PRISM2.5
ISL3873, Firmware 1.3.4 ]
Encryption: [ Off ]
Encryption algorithm:   [ Firmware WEP
]
Authentication type 
(1=OpenSys, 2=Shared Key):  [ 1 ]
TX encryption key:  [ 1 ]
Encryption keys:[
abcdef1234567 ][  ][  ][  ]
air# cat /tmp/a
NIC serial number:  [ 99SA0100
]
Station name:   [ air ]
SSID for IBSS creation: [ obsd-group ]
Current netname (SSID): [ obsd-group ]
Desired netname (SSID): [ obsd-group ]
Current BSSID:  [
00:05:5d:d9:84:6c ]
Channel list:   [ 2047 ]
IBSS channel:   [ 6 ]
Current channel:[ 6 ]
Comms quality/signal/noise: [ 0 81 27 ]
Promiscuous mode:   [ Off ]
Process 802.11b Frame:  [ Off ]
Port type (1=BSS, 3=ad-hoc, 6=Host AP): [ 6 ]
MAC address:[
00:05:5d:d9:84:6c ]
TX rate (selection):[ 3 ]
TX rate (actual speed): [ 2 ]
Maximum data length:[ 2304 ]
RTS/CTS handshake threshold:[ 2347 ]
Create IBSS:[ On ]
Antenna diversity (0=auto,1=pri,2=aux): [ ]
Microwave oven robustness:  [ On ]
Roaming mode(1=firm,3=disable): [ 1 ]
Access point density:   [ 1 ]
Power Management:   [ Off ]
Max sleep time: [ 100 ]
Enhanced Security mode: [ ]
Intersil Prism2-based card: [ 1 ]
Card info:  [ PRISM2.5
ISL3873, Firmware 1.3.4 ]
Encryption: [ Off ]
Encryption algorithm:   [ Firmware WEP
]
Authentication type 
(1=OpenSys, 2=Shared Key):  [ 1 ]
TX encryption key:  [ 1 ]
Encryption keys:[
abcdef1234567 ][  ][  ][  ]
=

sysctl.conf 

net.inet.ip.forwarding=1   
net.inet6.ip6.forwarding=1 


Thomas [EMAIL 

Re: 回覆: Re: add wireless router using openbsd-3.8 (i386)

2005-10-12 Thread Greg Thomas
Going back to your network layout, does your obsd-3.6 box know how to get
your wireless clients?

If it's like this:

internet - obsd-3.6 - rl0/obsd-3.8/wi0 - wireless clients

then on the obsd-3.6 box you need to add a route to the 192.168.2.x network.


Greg

On 10/11/05, man Chan [EMAIL PROTECTED] wrote:

 Thanks. I find out that I have to setup a dns and pf
 at the AP in order to allowed the clients (window,
 obsd) to access the internet. However, it is
 plain text mode. Any idea (I am new to this sort of
 thing wireless setup). here is my configuration:

 ifconfig out put
 
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu
 33224
 groups: lo
 inet 127.0.0.1 http://127.0.0.1 netmask 0xff00
 inet6 ::1 prefixlen 128
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
 rl0:
 flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST
 mtu 1500
 lladdr 00:e0:4c:3b:a9:ed
 groups: egress
 media: Ethernet autoselect (100baseTX
 full-duplex)
 status: active
 inet 192.168.1.120 http://192.168.1.120 netmask 0xff00
 broadcast 192.168.1.255 http://192.168.1.255
 inet6 fe80::2e0:4cff:fe3b:a9ed%rl0 prefixlen
 64 scopeid 0x1
 pflog0: flags=141UP,RUNNING,PROMISC mtu 33224
 pfsync0: flags=0 mtu 1348
 enc0: flags=0 mtu 1536
 wi0:
 flags=8d43UP,BROADCAST,RUNNING,PROMISC,OACTIVE,SIMPLEX,MULTICAST
 mtu 1500
 lladdr 00:05:5d:d9:84:6c
 media: IEEE802.11 autoselect hostap (DS2)
 status: active
 ieee80211: nwid obsd-group 2dBm (auto)
 inet 192.168.2.1 http://192.168.2.1 netmask 0xff00 broadcast
 192.168.2.255 http://192.168.2.255
 inet6 fe80::205:5dff:fed9:846c%wi0 prefixlen
 64 scopeid 0x6
 bridge0: flags=41UP,RUNNING mtu 1500
 groups: bridge
 

 wicontrol output
 =
 NIC serial number: [ 99SA0100
 ]
 Station name: [ air ]
 SSID for IBSS creation: [ obsd-group ]
 Current netname (SSID): [ obsd-group ]
 Desired netname (SSID): [ obsd-group ]
 Current BSSID: [
 00:05:5d:d9:84:6c ]
 Channel list: [ 2047 ]
 IBSS channel: [ 6 ]
 Current channel: [ 6 ]
 Comms quality/signal/noise: [ 0 81 27 ]
 Promiscuous mode: [ Off ]
 Process 802.11b Frame: [ Off ]
 Port type (1=BSS, 3=ad-hoc, 6=Host AP): [ 6 ]
 MAC address: [
 00:05:5d:d9:84:6c ]
 TX rate (selection): [ 3 ]
 TX rate (actual speed): [ 2 ]
 Maximum data length: [ 2304 ]
 RTS/CTS handshake threshold: [ 2347 ]
 Create IBSS: [ On ]
 Antenna diversity (0=auto,1=pri,2=aux): [ ]
 Microwave oven robustness: [ On ]
 Roaming mode(1=firm,3=disable): [ 1 ]
 Access point density: [ 1 ]
 Power Management: [ Off ]
 Max sleep time: [ 100 ]
 Enhanced Security mode: [ ]
 Intersil Prism2-based card: [ 1 ]
 Card info: [ PRISM2.5
 ISL3873, Firmware 1.3.4 ]
 Encryption: [ Off ]
 Encryption algorithm: [ Firmware WEP
 ]
 Authentication type
 (1=OpenSys, 2=Shared Key): [ 1 ]
 TX encryption key: [ 1 ]
 Encryption keys: [
 abcdef1234567 ][ ][ ][ ]
 air# cat /tmp/a
 NIC serial number: [ 99SA0100
 ]
 Station name: [ air ]
 SSID for IBSS creation: [ obsd-group ]
 Current netname (SSID): [ obsd-group ]
 Desired netname (SSID): [ obsd-group ]
 Current BSSID: [
 00:05:5d:d9:84:6c ]
 Channel list: [ 2047 ]
 IBSS channel: [ 6 ]
 Current channel: [ 6 ]
 Comms quality/signal/noise: [ 0 81 27 ]
 Promiscuous mode: [ Off ]
 Process 802.11b Frame: [ Off ]
 Port type (1=BSS, 3=ad-hoc, 6=Host AP): [ 6 ]
 MAC address: [
 00:05:5d:d9:84:6c ]
 TX rate (selection): [ 3 ]
 TX rate (actual speed): [ 2 ]
 Maximum data length: [ 2304 ]
 RTS/CTS handshake threshold: [ 2347 ]
 Create IBSS: [ On ]
 Antenna diversity (0=auto,1=pri,2=aux): [ ]
 Microwave oven robustness: [ On ]
 Roaming mode(1=firm,3=disable): [ 1 ]
 Access point density: [ 1 ]
 Power Management: [ Off ]
 Max sleep time: [ 100 ]
 Enhanced Security mode: [ ]
 Intersil Prism2-based card: [ 1 ]
 Card info: [ PRISM2.5
 ISL3873, Firmware 1.3.4 ]
 Encryption: [ Off ]
 Encryption algorithm: [ Firmware WEP
 ]
 Authentication type
 (1=OpenSys, 2=Shared Key): [ 1 ]
 TX encryption key: [ 1 ]
 Encryption keys: [
 abcdef1234567 ][ ][ ][ ]
 =

 sysctl.conf
 
 net.inet.ip.forwarding=1
 net.inet6.ip6.forwarding=1


 Thomas [EMAIL PROTECTED] ;!!G

  On 10/11/05, man Chan [EMAIL PROTECTED]
  wrote:
  
   Hello,
  
   I recently tried to setup a wireless AP machine
  using
   openbsd-3.8 (i386) without any luck. I tried to
   search the google to find out the way to solve my
   problem with no success. Can anyone show me the
   direction to do it ? Thanks for your time .
  
   clarence
  
   ps.
  
   1. the hardware is Dlink 802.11b prism2.5
   2. I can use wicontrol -l to list the connected
   machine.
   3. I can use ssh from the window-xp to the AP
  machine
   4. here is the diagram of my case
  
   internet -- adsl - obsd-3.6 - switch - wired
   clients
   |
    AP (obsd3.8)
   |
    wireless
   clients
 
 
  We need much much more info than that. IP configs,
  output of ifconfig and
  wicontrol from the AP, sysctl.conf from the AP, etc.
 
  Greg
 


 

add wireless router using openbsd-3.8 (i386)

2005-10-11 Thread man Chan
Hello, 

I recently tried to setup a wireless AP machine using
openbsd-3.8 (i386) without any luck.  I tried to
search the google to find out the way to solve my
problem with no success.  Can anyone show me the
direction to do it ? Thanks for your time .

clarence

ps.

1. the hardware is Dlink 802.11b prism2.5
2. I can use wicontrol -l to list the connected
machine.
3. I can use ssh from the window-xp to the AP machine
4. here is the diagram of my case

internet -- adsl - obsd-3.6 - switch - wired
clients
  |
   AP (obsd3.8)
|
 wireless
  clients

___
 7Q'Y.I,(l7s email 3q*!H
 $U8| Yahoo! Messenger http://messenger.yahoo.com.hk