Dlink-g520 Wireless and WEP more

scott renna flexble2547 at yahoo.com
Tue Oct 26 06:59:16 PDT 2004


Here's what I got:

This is my ifconfig for this device ath0 before
executing a new ifconfig command:

pluto# ifconfig ath0

ath0:
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu
1500
        inet6 fe80::20f:3dff:fea9:3645%ath0 prefixlen
64 scopeid 0x2 
        ether 00:0f:3d:a9:36:45
        media: IEEE 802.11 Wireless Ethernet
autoselect (DS/11Mbps)
        status: associated
        ssid XXXX 1:XXXX
        channel 5 authmode OPEN powersavemode OFF
powersavesleep 100
        wepmode MIXED weptxkey 1
        wepkey 1:40-bit

See it says it's associated and has picked up a
channel, but no IP!  

pluto# ifconfig ath0 inet 192.168.2.180 netmask
255.255.255.0 ssid XXXX wepmode on weptxkey
1:0x123456789
ifconfig: ioctl (SIOCAIFADDR): File exists

So I gave that command a shot and still looks like an
issue.  very strange.  I've turned the ath0 interface
up and back down again several times, any thoughts on
why this card can't pull an IP?

Note:  I'm running MAC Address control on the Wireless
router I'm using and ath0 is in there and allowed. 
Also, I've set the router to use 40 bit WEP encryption
and open authentication.  I'm not sure this card does
128 bit or if FreeBSD does.  any where else I might
check for problems?

--- "Daan Vreeken [PA4DAN]" <Danovitsch at Vitsch.net>
wrote:

> On Tuesday 26 October 2004 03:47, scott renna wrote:
> > So I am still having a go at getting this Dlink
> card
> > to work here's what i got:
> >
> > pluto# ifconfig ath0 inet 192.168.2.180 netmask
> > 255.255.255.0 ssid XXXX wepmode on authmode open
> > wepkey 0x1234567890
> > ifconfig: SIOCS80211: Invalid argument
> 
> Try changing : wepkey 0x1234567890 into :
> weptxkey 1 wepkey 1:0x1234567890
> 
> Which tells the device to use key 1, and then
> specifies key 1.
> You need to start the argument of "wepkey" with the
> key number, it's a bit 
> confusing.
> 
> > pluto# ifconfig ath0 remove
> > ifconfig: ioctl (SIOCDIFADDR): Can't assign
> requested
> > address
> >
> > I can't remove the interface nor configure it.
> "remove" isn't a valid option to ifconfig. If you
> want to remove the 
> ip-address you have assigned to ath0, try :
> ifconfig ath0 delete 192.168.2.180
> or
> ifconfig ath0 delete
> (to delete all addresses assigned to ath0)
> 
> > any ideas?
> Try the above, if something fails, let me (and the
> list) know.
> 
> A last tip :
> You can turn on/off the wireless card by entering :
> ifconfig ath0 down
> ifconfig ath0 up
> 
> grtz,
> Daan
> 
> _______________________________________________
> 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"
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 


More information about the freebsd-questions mailing list