Date: Wed, 6 Jan 2010 14:32:14 -0800 (PST) From: alex_p <sir.modul@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Can't get wifi working in 8.0, please help. Message-ID: <7ac23128-f760-4459-8720-974cbf48124b@e37g2000yqn.googlegroups.com> In-Reply-To: <654424.23146.qm@web43143.mail.sp1.yahoo.com> References: <654424.23146.qm@web43143.mail.sp1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello! Here's my working rc.conf: wlans_ral0=3D"wlan0" create_args_wlan0=3D"wlanmode hostap mode 11g" ifconfig_wlan0=3D"inet 192.168.0.1 netmask 0xffffff00 ssid btest channel 11" or you can do it by hand: # ifconfig wlan0 create wlandev ral0 wlanmode hostap # ifconfig wlan0 inet 192.168.0.1 netmask 0xffffff00 ssid btest channel 11 On 5 =D1=8F=D0=BD=D0=B2, 05:31, Eric Webster <ericwebsterm...@yahoo.com> wr= ote: > Hello, I recently upgraded from bsd 6.4 to bsd8.0release ( new install ) = and I am having issues getting mywifitowork. Before the upgrade it worked p= erfectly in 6.4. > I am a bit confused as I have read different things about this. The handb= ookhttp://www.freebsd.org/doc/en/books/handbook/network-wireless.html#NE... > under basic settings says check to see if your device supports host based= ap mode by doing > > ifconfig wlan0 list caps > > # ifconfig wlan0 list caps > drivercaps=3D2985cd01<STA,IBSS,HOSTAP,AHDEMO,SHSLOT,SHPREAMBLE,MONITOR,MB= SS,WPA1,WPA2,WDS,BGSCAN> > > Then it says the wireless device can now be put into AP mode by doing: > > ifconfig wlan0 ssid freebsdap mode 11g mediaopt hostap inet 10.0.0.1 netm= ask 255.255.255.0 > > Which returns: > ifconfig: inet: bad value > > I read some place that you need to put inet before ssid so I tried it wit= h the following: > > # ifconfig wlan0 inet 10.0.0.1/24 ssid gangsta wepmode on weptxkey 1 wepk= ey apasswordhere mode 11g mediaopt hostap > > Which returns: > ifconfig: SIOCSIFMEDIA (media): Device not configured > > If I try to configure it like it was in 6.4 I get another error: > > ifconfig wlan0 ssid gangsta channel 8 wepmode on weptxkey 1 wepkey apassw= ordhere mode 11g mediaopt hostap 10.0.0.1 netmask 255.255.255.0 > > Which returns: > ifconfig: SIOCSIFMEDIA (media): Device not configured > > I know wep is not secure, I am just trying to get it working. > > At start of the guide it tells you to configure the following in /boot/lo= ader.conf which I did. > > /boot/loader.conf > > if_ral_load=3D"YES" > wlan_load=3D"YES" > wlan_scan_ap_load=3D"YES" > wlan_scan_sta_load=3D"YES" > wlan_wep_load=3D"YES" > wlan_ccmp_load=3D"YES" > wlan_Tkip_load=3D"YES" > > When I run kldstat I see the if_ral is loaded. I don't know if its suppos= ed to show the other modules. > > kldstat > > Id Refs Address=C2=A0=C2=A0=C2=A0 Size=C2=A0=C2=A0=C2=A0=C2=A0 Name > =C2=A01=C2=A0=C2=A0=C2=A0 9 0xc0400000 b22548=C2=A0=C2=A0 kernel > =C2=A02=C2=A0=C2=A0=C2=A0 1 0xc0f23000 13e4c=C2=A0=C2=A0=C2=A0 if_ral.ko > =C2=A03=C2=A0=C2=A0=C2=A0 1 0xc357b000 35000=C2=A0=C2=A0=C2=A0 ipl.ko > > Here is rc.conf > > check_quotas=3D"NO" > gateway_enable=3D"YES" > hostname=3D"router.foo.bar" > ibcs2_enable=3D"NO" > ifconfig_sk0=3D"DHCP" > ifconfig_xl0=3D"inet 192.168.0.1=C2=A0 netmask 255.255.255.0" > wlans_ral0=3D"wlan0" > ifconfig_wlan0=3D"inet 10.0.0.1/24 ssid gangsta wepmode on weptxkey 1 wep= key apasswordhere mode 11g mediaopt hostap" > ipfilter_enable=3D"YES" > ipfilter_rules=3D"/etc/ipf.rules" > ipmon_enable=3D"YES" > ipmon_flags=3D"-Ds" > ipnat_enable=3D"YES" > ipnat_rules=3D"/etc/ipnat.rules" > > Here is ifconfig -a > > xl0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15= 00 > =C2=A0=C2=A0=C2=A0 options=3D8<VLAN_MTU> > =C2=A0=C2=A0=C2=A0 ether 00:60:97:7f:3e:6c > =C2=A0=C2=A0=C2=A0 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.= 0.255 > =C2=A0=C2=A0=C2=A0 media: Ethernet autoselect (100baseTX <full-duplex>) > =C2=A0=C2=A0=C2=A0 status: active > sk0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15= 00 > =C2=A0=C2=A0=C2=A0 options=3Db<RXCSUM,TXCSUM,VLAN_MTU> > =C2=A0=C2=A0=C2=A0 ether 00:0c:41:e4:7e:83 > =C2=A0=C2=A0=C2=A0 inet x.x.x.x netmask 0xfffff800 broadcast 255.255.255.= 255 > =C2=A0=C2=A0=C2=A0 media: Ethernet autoselect (100baseTX <full-duplex>) > =C2=A0=C2=A0=C2=A0 status: active > ral0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2= 290 > =C2=A0=C2=A0=C2=A0 ether 00:14:bf:78:a2:a7 > =C2=A0=C2=A0=C2=A0 media: IEEE 802.11 Wireless Ethernet autoselect mode 1= 1g > =C2=A0=C2=A0=C2=A0 status: associated > plip0: flags=3D8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500 > lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 > =C2=A0=C2=A0=C2=A0 options=3D3<RXCSUM,TXCSUM> > =C2=A0=C2=A0=C2=A0 inet 127.0.0.1 netmask 0xff000000 > wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu = 1500 > =C2=A0=C2=A0=C2=A0 ether 00:14:bf:78:a2:a7 > =C2=A0=C2=A0=C2=A0 media: IEEE 802.11 Wireless Ethernet autoselect (autos= elect) > =C2=A0=C2=A0=C2=A0 status: no carrier > =C2=A0=C2=A0=C2=A0 ssid gangsta channel 11 (2462 Mhz 11g) > =C2=A0=C2=A0=C2=A0 country US authmode OPEN privacy ON deftxkey 1 wepkey = 1:104-bit > =C2=A0=C2=A0=C2=A0 txpower 0 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 = bgscanidle 250 > =C2=A0=C2=A0=C2=A0 roam:rssi 7 roam:rate 5 protmode CTS bintval 0 > > netstat -rn > > Routing tables > > Internet: > Destination=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Gateway=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Flags=C2=A0=C2=A0=C2= =A0 Refs=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Use=C2=A0 Netif Expire > default=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= x.x.x.x=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = UGS=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 35=C2=A0=C2=A0=C2=A0 sk0 > x.x.x.x/21=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 link#2=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 U=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0 sk0 > x.x.x.x=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= link#2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 UHS=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0 lo0 > 127.0.0.1=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 link#5=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 UH=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 32=C2=A0=C2=A0=C2=A0 lo0 > 192.168.0.0/24=C2=A0=C2=A0=C2=A0=C2=A0 link#1=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 U=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 1=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 568=C2=A0= =C2=A0=C2=A0 xl0 > 192.168.0.1=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 link#1=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 UHS=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 0=C2=A0=C2=A0=C2=A0 lo0 > > Many thanks in advance!! > > Eric > > _______________________________________________freebsd-questi...@freebsd.= org mailing listhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.o= rg"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7ac23128-f760-4459-8720-974cbf48124b>
