Re: wireless question

Phil Kernick <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
You can specify adhoc using ifconfig:

$ ifconfig wi0 mediaopt adhoc


Phil.

[email protected] wrote:
> "wicontrol -p 3" on both machines will change from BSS to ad-hoc mode
> (which is how I am running my gateway with dlink pci internal wireless
> card and laptop with dlink pcmcia card).  As far as I know, there is no
> way to specify using ifconfig adhoc of bss mode, so on laptop find your
> card in /etc/defaults/pccard.conf and add "insert wicontrol -p 3" so you
> don't have to keep running the command by hand everytime you boot
> laptop.  I cant remember off hand where I stuck the wicontrol command
> for the gateway box, and I also only have 2 machines, I have no idea
> what would happen if you introduced a third wireless card or more, I
> have not played around with the boxes for a while, I got them up and
> running and have been busy since.
> 
> Also, I am not using any encryption at the moment, so I have no clue if
> that will throw a spanner in the works or not, may want to disable that
> till you get a link up and running and passing traffic first.
> 
> Jason
> 
> 
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Emanuel Haupt
> Sent: Tuesday, July 09, 2002 9:36 AM
> To: [email protected]
> Subject: wireless question
> 
> 
> hi mailing list,
> 
> i have two U.S. Robotics (USR022410) wireless lan cards (PCMCIA Type 2).
> one fo these cards comes with a PCMCIA to PCI adapter card.
> 
> so i tryed to build an access point with a box running freebsd 4.6. 
> after cvsuping to 4.6-STABLE and the necessary kernel options the card 
> and the adapter was recognized perfectly (see below --server start--).
> 
> the client (a dell laptop running fbsd 5.0-DP1) also recognized the card
> 
> perfectly.
> 
> i took the following resource as configuration guide: [configuring a
> freebsd accesspoint...]
> http://www.samag.com/documents/s=7121/sam0205a/sam0205a.htm
> 
> but after all the both machines tell me still: 
>         status: no carrier
> 
> what did i do wrong? any idea?
> 
> thanks in advance
> emanuel
> 
> --server start--
> wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet6 fe80::290:d1ff:fe07:b200%wi0 prefixlen 64 scopeid 0x2 
>         inet 10.0.0.77 netmask 0xffffff00 broadcast 10.0.0.255
>         ether 00:90:d1:07:b2:00
>         media: IEEE 802.11 Wireless Ethernet autoselect
>         status: no carrier
>         ssid frfa 1:frfa
>         stationname alaska
>         channel 7 authmode OPEN powersavemode OFF powersavesleep 100
>         wepmode MIXED weptxkey 1
>         wepkey 1:64-bit
> --server end--
> 
> --laptop (client) start--
> wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 10.0.0.78 netmask 0xffffff00 broadcast 10.0.0.255
>         inet6 fe80::290:d1ff:fe07:b064%wi0 prefixlen 64 scopeid 0x4 
>         ether 00:90:d1:07:b0:64 
>         media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
>         status: no carrier
>         ssid frfa 1:frfa
>         stationname alaska
>         channel 10 authmode NONE powersavemode OFF powersavesleep 100
>         wepmode MIXED weptxkey 1
>         wepkey 1:64-bit
> --laptop end--
> 
> --wicontrol output server--
> NIC serial number:                      [ 99SA01000000 ]
> Station name:                           [ alaska ]
> SSID for IBSS creation:                 [ frfa ]
> Current netname (SSID):                 [ frfa ]
> Desired netname (SSID):                 [ frfa ]
> Current BSSID:                          [ 44:44:44:44:44:44 ]
> Channel list:                           [ 8191 ]
> IBSS channel:                           [ 7 ]
> Current channel:                        [ 12 ]
> Comms quality/signal/noise:             [ 0 27 27 ]
> Promiscuous mode:                       [ Off ]
> Port type (1=BSS, 3=ad-hoc):            [ 1 ]
> MAC address:                            [ 00:90:d1:07:b2:00 ]
> TX rate (selection):                    [ 3 ]
> TX rate (actual speed):                 [ 5 ]
> RTS/CTS handshake threshold:            [ 2347 ]
> Create IBSS:                            [ On ]
> Access point density:                   [ 1 ]
> Power Mgmt (1=on, 0=off):               [ 0 ]
> Max sleep time:                         [ 100 ]
> WEP encryption:                         [ On ]
> TX encryption key:                      [ 1 ]
> Encryption keys:                        [  ][  ][  ][  ]
> --wicontrol output server end--
> 
> --wicontrol output client--
> NIC serial number:                      [ 99SA01000000 ]
> Station name:                           [ alaska ]
> SSID for IBSS creation:                 [ frfa ]
> Current netname (SSID):                 [ frfa ]
> Desired netname (SSID):                 [ frfa ]
> Current BSSID:                          [ 44:44:44:44:44:44 ]
> Channel list:                           [ 8191 ]
> IBSS channel:                           [ 7 ]
> Current channel:                        [ 11 ]
> Comms quality/signal/noise:             [ 0 27 27 ]
> Promiscuous mode:                       [ Off ]
> Port type (1=BSS, 3=ad-hoc):            [ 1 ]
> MAC address:                            [ 00:90:d1:07:b0:64 ]
> TX rate (selection):                    [ 3 ]
> TX rate (actual speed):                 [ 2 ]
> RTS/CTS handshake threshold:            [ 2347 ]
> Create IBSS:                            [ On ]
> Access point density:                   [ 1 ]
> Power Mgmt (1=on, 0=off):               [ 0 ]
> Max sleep time:                         [ 100 ]
> WEP encryption:                         [ On ]
> TX encryption key:                      [ 1 ]
> Encryption keys:                        [ 12345 ][  ][  ][  ]
> --wicontrol output client end--
> 
> To Unsubscribe: send mail to [email protected]
> with "unsubscribe freebsd-mobile" in the body of the message
> 
> 
> To Unsubscribe: send mail to [email protected]
> with "unsubscribe freebsd-mobile" in the body of the message



-- 
    _-_|\   Phil Kernick                      E-Mail: [email protected]
   /     \  ROTFL Enterprises                 Mobile:  041 61 ROTFL
   \_.-*_/
        v   Humourist, satirist, and probably a few more 'ists to boot!


To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.