Date: Thu, 17 Nov 2005 19:59:14 -0800 From: Bryan White <m0laria@gmail.com> To: Matt Emmerton <matt@gsicomp.on.ca>, freebsd-questions@freebsd.org Subject: Re: cannot get IP working between associated ath0 & AP, what to do? Message-ID: <437D5192.9040404@gmail.com> In-Reply-To: <001101c5ecb4$a890af90$1200a8c0@gsicomp.on.ca> References: <1132286768.978.15.camel@localhost> <019501c5ebf6$fe9a3b90$1200a8c0@gsicomp.on.ca> <437D3679.2010800@gmail.com> <001101c5ecb4$a890af90$1200a8c0@gsicomp.on.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
Ok... looks like add route default got it to work. Thanks a ton. Matt Emmerton wrote: >[ top-posting corrected ] > > > >>Matt Emmerton wrote: >> >> >> >>>>>Hi, >>>>> >>>>>I have an SMC PCMCIA wireless adapter, model SMCWCB-G, based on an >>>>>Atheros 5212 chipset, in a laptop running a fresh install of FreeBSD >>>>>6.0-RC1. >>>>> >>>>>The card associates fine, but then fails to send any IP packets in >>>>>the air, or at least that's what I presume is going on. I cannot >>>>>ping the AP, I cannot get a lease using DHCP, basically the only >>>>>thing I can do is associate. I think it does associate because when >>>>>I set an invalid wep key, t# Wireless NIC cards >>>>> >>>>> > > > >>>>I type in: >>>> >>>># ifconfig ath0 channel 7 ssid gibsons wepmode on >>>># ifconfig ath0 weptxkey *****etc. >>>># ifconfig ath0 up >>>># ifconfig ath0 >>>>ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 >>>> inet6 fe80::213:46ff:fe0f:3f66%ath0 prefixlen 64 scopeid 0x4 >>>> ether 00:13:46:0f:3f:66 >>>> media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps) >>>> status: associated >>>> ssid gibsons channel 7 bssid 00:0c:41:a0:2c:46 >>>> authmode OPEN privacy ON deftxkey UNDEF txpowmax 38 protmode CTS >>>> bintval 100 >>>># ifconfig ath0 inet 192.168.107.15 >>>># ping 192.168.107.1 >>>> >>>>I am unable to ping my router. (linksys bewfs42) >>>> >>>>It seems like i'm missing something really simple here...anyone able to >>>>help point me in the right direction? Thanks. >>>> >>>> >>>Maybe deftxkey needs to be set? >>> >>> > > > >>Tried it...I think i've tried almost every combination of weptxkey and >>deftxkey and starting up things in different orders... However, when I >>disabled WEP on my router I can connect to my router and get an IP, but >>no internet. >> >> > >When you ping, do you see "ping: sendto: Host is down" errors or "ping: >sendto: No route to host" errors, or just nothing at all from ping? > >If it's either of the latter two options, then perhaps setting a default >route (route add default 192.168.107.1) is what you need. > >-- >Matt Emmerton > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?437D5192.9040404>