wireless setup
Derek Funk
dfunk6 at cox.net
Mon Mar 1 22:52:32 UTC 2010
On 2/28/2010 3:10 PM, dacoder wrote:
>
> on a 2nd reading, i see from your ifconfig output that wlan0 is up. so
> instead of "ifconfig wlan0 up" i think you need "ifconfig wlan0 create
> wlandev ath0" (assuming your wireless nic is ath0), then "dhclient
> wlan0".
> that does it for me, anyway. i find it easiest to leave *all* my
> wireless
> commands out of rc.conf & run the 1st command given above once the system
> is up.
>
> hope this helps.
>
> +++ dacoder [28/02/10 15:52 -0500]:
>> in 8.0 you need to use wlan0 as your wireless interface. are you
>> doing that?
>> so you need "ifconfig wlan0 up" & either "ifconfig wlan0 w.x.y.z" or
>> "dhclient wlan0".
>>
>> +++ Derek Funk [28/02/10 12:51 -0600]:
>>> I am trying to setup a wireless nic on a machine I just installed
>>> pcbsd 8.0 on.
>>> Its not going well.
>>>
>>> output from ifconfig -a is:
>>> re0:
>>> flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>>
>>> options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
>>>
>>> ether 00:1e:33:99:a1:a3
>>> inet6 fe80::21e:33ff:fe99:a1a3%re0 prefixlen
>>> 64 scopeid 0x1
>>> media: Ethernet autoselect (100baseTX
>>> <full-duplex>)
>>> status: active
>>> ath0:
>>> flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
>>> ether 00:1e:33:99:a1:a3
>>> media: IEEE 802.11 Wireless Ethernet
>>> autoselect mode 11g
>>> status: associated
>>> pflog0: flags=0<> metric 0 mtu 33200
>>> pfsync0: flags=0<> metric 0 mtu 1460
>>> syncpeer: 224.0.0.240 maxupd: 128
>>> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST>
>>> metric 0 mtu 16384
>>> options=3<RXCSUM,TXCSUM>
>>> inet 127.0.0.1 netmask 0xff000000
>>> inet6 ::1 prefixlen 128
>>> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
>>> lagg0:
>>> flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>> ether 00:1e:33:99:a1:a3
>>> inet6 fe80::21e:33ff:fe99:a1a3%lagg0
>>> prefixlen 64 scopeid 0x6
>>> inet 10.254.239.136 netmask 0xffffff00
>>> broadcast 10.254.239.255
>>> media: Ethernet autoselect
>>> status: active
>>> laggproto failover
>>> laggport: wlan0 flags=0<>
>>> laggport: re0 flags=5<MASTER,ACTIVE>
>>> wlan0:
>>> flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>> ether 00:1e:33:99:a1:a3
>>> inet6 fe80::21e:33ff:fe99:a1a3%wlan0
>>> prefixlen 64 scopeid 0x7
>>> media: IEEE 802.11 Wireless Ethernet
>>> autoselect (autoselect)
>>> status: no carrier
>>> ssid "" channel 12 (2467 Mhz 11g)
>>> regdomain 101 indoor ecm authmode
>>> WPA1+WPA2/802.11i privacy ON
>>> deftxkey UNDEF txpower 20 bmiss 7 scanvalid
>>> 450 bgscan bgscanintvl 300
>>> bgscanidle 250 roam:rssi 7 roam:rate 5
>>> protmode CTS wme burst
>>> roaming MANUAL bintval 0
>>> lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST>
>>> metric 0 mtu 16384
>>> options=3<RXCSUM,TXCSUM>
>>> inet 10.1.1.1 netmask 0xffffff00
>>>
>>> and my rc.conf is:(with some unrelated info omitted)
>>> background_dhclient="YES"
>>>
>>> # Enable the pcbsd startup / shutdown scripts
>>> pcbsdinit_enable="YES"
>>>
>>>
>>> # Denyhosts Startup
>>> denyhosts_enable="YES"
>>>
>>> # Enable the firewall
>>> pf_rules="/etc/pf.conf"
>>> pf_enable="YES"
>>> pf_flags=""
>>>
>>> # Enable ipfw and open it by default since we have PF
>>> firewall_enable="YES"
>>> firewall_type="open"
>>>
>>> # Enable IPV6 support
>>> ipv6_enable="YES"
>>>
>>> # Auto-Enabled NICs from pc-sysinstall
>>> ifconfig_re0="up"
>>> ifconfig_ath0="`ifconfig re0 ether`"
>>> ifconfig_ath0="ether ${ifconfig_ath0##*ether }"
>>> wlans_ath0="wlan0"
>>> cloned_interfaces="lagg0"
>>> ifconfig_lagg0="laggproto failover laggport re0
>>> laggport wlan0 DHCP"
>>> hostname="pcbsd-6415"
>>> ifconfig_wlan0="WPA"
>>>
>>> I have looked in the handbook and searched the net and tried what I
>>> found and still no go.
>>> I am trying to connect to open access points around me that a
>>> windows machine has no problem using.
>>> Any help is appreciated.
>>>
>>> Derek
>>> _______________________________________________
>>> freebsd-questions at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to
>>> "freebsd-questions-unsubscribe at freebsd.org"
>>
>> --
>>
>> regards,
>>
>> david coder
>> network engineer emeritus, verio/ntt
>> telluride, co & washington, dc
>
Nope didnt help, thx tho
More information about the freebsd-questions
mailing list