Re: Dlink-g520 Wireless and WEP more

2004-10-26 Thread scott renna
SUCCESS...at least at 40-bit WEP, which is good
enough, it's not like getting up higher will make that
much of a difference.  Thanks for the tips, still
puzzled why two cards in the same system can't be on
the same subnet.

thanks for the help.

--- "Daan Vreeken [PA4DAN]" <[EMAIL PROTECTED]>
wrote:

> On Tuesday 26 October 2004 17:38, scott renna wrote:
> > ok, well this system has a 3com, xl0 holding an ip
> of
> > 192.168.2.150
> > Does this mean that I need to have each interface
> > having an IP on a different subnet?
> > maybe I could change the mask on the xl0 to
> > 255.255.248.0 and it might work?
> Nope, that won't help.
> 
> > I wanted to have the wireless card on the same
> subnet
> > as the rest of the LAN and keep the wired card up
> and
> > running just for testing before permanently
> migrating
> > to this wireless card(i'm using encrypted
> protocols
> > locally so wep weaknesses should not be an issue).
> >
> > is there a way to have both cards be on the same
> > subnet and have the same subnet mask?
> Nope.
> If you would do that, FreeBSD wouldn't know on what
> interface it should send 
> packets destined for a PC on that subnet. (That's
> why ifconfig refuses to set 
> the ip address).
> 
> If you want to be able to switch between LAN and
> WLAN, you'll have to turn off 
> one of the interfaces...
> If you want to run over WLAN, type :
> ifconfig xl0 down
> ifconfig ath0 192.168.2.150 etc etc etc...
> 
> If you want to switch back to LAN, type :
> ifconfig ath0 down
> ifconfig xl0 up
> 
> You can assign the same ip address to multiple
> interfaces, but you can only 
> have one of the "up" at a time.
> 
> good luck,
> Daan
> 
> 




__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dlink-g520 Wireless and WEP more

2004-10-26 Thread scott renna
oh man...ok that's what i was afraid of.  i've always
wondered why you can't have two nics on the same
subnet in freebsd, maybe i'm just missing something or
is that by design?

I guess i'll drop the wired line and switch to
wireless tonight and give it a shot.

would aliasing one card to the next work, or is there
any particular reason why you can't have two ips from
the same subnet on a bsd box?
--- "Daan Vreeken [PA4DAN]" <[EMAIL PROTECTED]>
wrote:

> On Tuesday 26 October 2004 17:38, scott renna wrote:
> > ok, well this system has a 3com, xl0 holding an ip
> of
> > 192.168.2.150
> > Does this mean that I need to have each interface
> > having an IP on a different subnet?
> > maybe I could change the mask on the xl0 to
> > 255.255.248.0 and it might work?
> Nope, that won't help.
> 
> > I wanted to have the wireless card on the same
> subnet
> > as the rest of the LAN and keep the wired card up
> and
> > running just for testing before permanently
> migrating
> > to this wireless card(i'm using encrypted
> protocols
> > locally so wep weaknesses should not be an issue).
> >
> > is there a way to have both cards be on the same
> > subnet and have the same subnet mask?
> Nope.
> If you would do that, FreeBSD wouldn't know on what
> interface it should send 
> packets destined for a PC on that subnet. (That's
> why ifconfig refuses to set 
> the ip address).
> 
> If you want to be able to switch between LAN and
> WLAN, you'll have to turn off 
> one of the interfaces...
> If you want to run over WLAN, type :
> ifconfig xl0 down
> ifconfig ath0 192.168.2.150 etc etc etc...
> 
> If you want to switch back to LAN, type :
> ifconfig ath0 down
> ifconfig xl0 up
> 
> You can assign the same ip address to multiple
> interfaces, but you can only 
> have one of the "up" at a time.
> 
> good luck,
> Daan
> 
> ___
> [EMAIL PROTECTED] mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 




__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dlink-g520 Wireless and WEP more

2004-10-26 Thread Daan Vreeken [PA4DAN]
On Tuesday 26 October 2004 17:38, scott renna wrote:
> ok, well this system has a 3com, xl0 holding an ip of
> 192.168.2.150
> Does this mean that I need to have each interface
> having an IP on a different subnet?
> maybe I could change the mask on the xl0 to
> 255.255.248.0 and it might work?
Nope, that won't help.

> I wanted to have the wireless card on the same subnet
> as the rest of the LAN and keep the wired card up and
> running just for testing before permanently migrating
> to this wireless card(i'm using encrypted protocols
> locally so wep weaknesses should not be an issue).
>
> is there a way to have both cards be on the same
> subnet and have the same subnet mask?
Nope.
If you would do that, FreeBSD wouldn't know on what interface it should send 
packets destined for a PC on that subnet. (That's why ifconfig refuses to set 
the ip address).

If you want to be able to switch between LAN and WLAN, you'll have to turn off 
one of the interfaces...
If you want to run over WLAN, type :
ifconfig xl0 down
ifconfig ath0 192.168.2.150 etc etc etc...

If you want to switch back to LAN, type :
ifconfig ath0 down
ifconfig xl0 up

You can assign the same ip address to multiple interfaces, but you can only 
have one of the "up" at a time.

good luck,
Daan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dlink-g520 Wireless and WEP more

2004-10-26 Thread scott renna
ok, well this system has a 3com, xl0 holding an ip of
192.168.2.150
Does this mean that I need to have each interface
having an IP on a different subnet?
maybe I could change the mask on the xl0 to
255.255.248.0 and it might work? 

I wanted to have the wireless card on the same subnet
as the rest of the LAN and keep the wired card up and
running just for testing before permanently migrating
to this wireless card(i'm using encrypted protocols
locally so wep weaknesses should not be an issue).  

is there a way to have both cards be on the same
subnet and have the same subnet mask?
--- "Daan Vreeken [PA4DAN]" <[EMAIL PROTECTED]>
wrote:

> On Tuesday 26 October 2004 15:59, you wrote:
> > 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
> 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  1:
> > 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  wepmode on weptxkey
> > 1:0x123456789
> > ifconfig: ioctl (SIOCAIFADDR): File exists
> 
> ifconfig says this if you already have another
> interface with an ip-address in 
> the same range. I think you have another interface
> on your system with an 
> 192.168.2.X ip address. Remove the address from the
> other interface and try 
> again.
> 
> grtz,
> Daan
> 
> 




___
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now. 
http://messenger.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dlink-g520 Wireless and WEP more

2004-10-26 Thread Daan Vreeken [PA4DAN]
On Tuesday 26 October 2004 15:59, you wrote:
> 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 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  1:
> 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  wepmode on weptxkey
> 1:0x123456789
> ifconfig: ioctl (SIOCAIFADDR): File exists

ifconfig says this if you already have another interface with an ip-address in 
the same range. I think you have another interface on your system with an 
192.168.2.X ip address. Remove the address from the other interface and try 
again.

grtz,
Daan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dlink-g520 Wireless and WEP more

2004-10-26 Thread scott renna
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 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  1:
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  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]" <[EMAIL PROTECTED]>
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  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
> 
> ___
> [EMAIL PROTECTED] mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 




__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dlink-g520 Wireless and WEP more

2004-10-26 Thread Daan Vreeken [PA4DAN]
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  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

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Dlink-g520 Wireless and WEP more

2004-10-25 Thread scott renna
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  wepmode on authmode open
wepkey 0x1234567890
ifconfig: SIOCS80211: Invalid argument
pluto# ifconfig ath0 inet 192.168.2.180 netmask
255.255.255.0 ssid  wepmode on authmode shared
wepkey 0x123456789
ifconfig: SIOCS80211: Invalid argument
pluto# ifconfig ath0 remove
ifconfig: ioctl (SIOCDIFADDR): Can't assign requested
address

I can't remove the interface nor configure it.  I have
tried to connect to a netgear with 128 bit and 64 bit
encryption but i think the issue is on the bsd box but
i can't figure out what.

any ideas?



__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dlink-g520 Wireless and WEP

2004-10-23 Thread Andrew L. Gould
On Saturday 23 October 2004 10:10 am, scott renna wrote:
> Error in the mail, my mistake
> inet is there when I run the command
>
> --- "Andrew L. Gould" <[EMAIL PROTECTED]> wrote:
> > On Friday 22 October 2004 10:21 pm, scott renna
> >
> > wrote:
> > > So,
> > >
> > > Thanks to a fellow list member I got my 5.2.1
> >
> > System
> >
> > > to see my Dlink card.  The trouble now I'm having
> > > involves setting up WEP.  I am currently running
> >
> > WEP
> >
> > > on a Netgear Wireless router 802.11b.  The Dlink
> >
> > does
> >
> > > 802.11b/g. Here's what I'm running into when
> >
> > turning
> >
> > > on WEP.  The router has a 26 character string for
> > > 128-bit WEP that I created via a passphrase.
> >
> > Windows
> >
> > > takes it and works well wirelessly but when I
> > > configure my card, here's wha t happens on BSD:
> > >
> > >  ifconfig ath0 192.168.2.175 netmask 255.255.255.0
> > > ssid SSID_NAME wepmode on wepkey
> > > 0xyx
> > >
> > > ifconfig: ioctl (SIOCAIFADDR): File exists
> > >
> > > Assume the first 0x means hex and the rest is the
> >
> > key
> >
> > > name.  Anyone have any ideas?
> > >
> > > Thanks
> > > scotty
> >
> > There should be the term 'inet' between 'ath0' and
> > the IP address:
> >
> > ifconfig ath0 inet 192.168.2.175 netmask
> > 255.255.255.0 .
> >
> > Is this an error in the email or in the
> > configuration?
> >
> > Andrew Gould

Have you tried:

1. Adding the following to the configuration line:

authmode shared
#(or 'authmode open', depending on how you have your network setup)

2. Check to see if you're also configuring this device in other places 
(rc.conf, for example).

3. Try clearing the configuration using 'ifconfig ath0 remove' prior to 
configuring the interface.

4. As a troubleshooting step, see if 40 bit encryption works.  Don't 
forget to change the access point (or other computer/router) as well.

Good luck,

Andrew Gould
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dlink-g520 Wireless and WEP

2004-10-23 Thread scott renna
Error in the mail, my mistake
inet is there when I run the command
--- "Andrew L. Gould" <[EMAIL PROTECTED]> wrote:

> On Friday 22 October 2004 10:21 pm, scott renna
> wrote:
> > So,
> >
> > Thanks to a fellow list member I got my 5.2.1
> System
> > to see my Dlink card.  The trouble now I'm having
> > involves setting up WEP.  I am currently running
> WEP
> > on a Netgear Wireless router 802.11b.  The Dlink
> does
> > 802.11b/g. Here's what I'm running into when
> turning
> > on WEP.  The router has a 26 character string for
> > 128-bit WEP that I created via a passphrase. 
> Windows
> > takes it and works well wirelessly but when I
> > configure my card, here's wha t happens on BSD:
> >
> >  ifconfig ath0 192.168.2.175 netmask 255.255.255.0
> > ssid SSID_NAME wepmode on wepkey
> > 0xyx
> >
> > ifconfig: ioctl (SIOCAIFADDR): File exists
> >
> > Assume the first 0x means hex and the rest is the
> key
> > name.  Anyone have any ideas?
> >
> > Thanks
> > scotty
> >
> 
> There should be the term 'inet' between 'ath0' and
> the IP address:
> 
> ifconfig ath0 inet 192.168.2.175 netmask
> 255.255.255.0 .
> 
> Is this an error in the email or in the
> configuration?
> 
> Andrew Gould
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dlink-g520 Wireless and WEP

2004-10-23 Thread Daan Vreeken [PA4DAN]
On Saturday 23 October 2004 05:21, scott renna wrote:
> So,
>
> Thanks to a fellow list member I got my 5.2.1 System
> to see my Dlink card.  The trouble now I'm having
> involves setting up WEP.  I am currently running WEP
> on a Netgear Wireless router 802.11b.  The Dlink does
> 802.11b/g. Here's what I'm running into when turning
> on WEP.  The router has a 26 character string for
> 128-bit WEP that I created via a passphrase.  Windows
> takes it and works well wirelessly but when I
> configure my card, here's wha t happens on BSD:
>
>  ifconfig ath0 192.168.2.175 netmask 255.255.255.0
> ssid SSID_NAME wepmode on wepkey
> 0xyx

Try this :
ifconfig ath0 192.168.2.175 netmask 255.255.255.0 wepmode on weptxkey 1 wepkey 
1:0xdead0beef0

Make sure you have the number of hex digits right : 10 digits for 64 bit 
encryption or 26 for 128 bit encryption).

grtz,
Daan

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dlink-g520 Wireless and WEP

2004-10-22 Thread Andrew L. Gould
On Friday 22 October 2004 10:21 pm, scott renna wrote:
> So,
>
> Thanks to a fellow list member I got my 5.2.1 System
> to see my Dlink card.  The trouble now I'm having
> involves setting up WEP.  I am currently running WEP
> on a Netgear Wireless router 802.11b.  The Dlink does
> 802.11b/g. Here's what I'm running into when turning
> on WEP.  The router has a 26 character string for
> 128-bit WEP that I created via a passphrase.  Windows
> takes it and works well wirelessly but when I
> configure my card, here's wha t happens on BSD:
>
>  ifconfig ath0 192.168.2.175 netmask 255.255.255.0
> ssid SSID_NAME wepmode on wepkey
> 0xyx
>
> ifconfig: ioctl (SIOCAIFADDR): File exists
>
> Assume the first 0x means hex and the rest is the key
> name.  Anyone have any ideas?
>
> Thanks
> scotty
>

There should be the term 'inet' between 'ath0' and the IP address:

ifconfig ath0 inet 192.168.2.175 netmask 255.255.255.0 .

Is this an error in the email or in the configuration?

Andrew Gould
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Dlink-g520 Wireless and WEP

2004-10-22 Thread scott renna
So,

Thanks to a fellow list member I got my 5.2.1 System
to see my Dlink card.  The trouble now I'm having
involves setting up WEP.  I am currently running WEP
on a Netgear Wireless router 802.11b.  The Dlink does
802.11b/g. Here's what I'm running into when turning
on WEP.  The router has a 26 character string for
128-bit WEP that I created via a passphrase.  Windows
takes it and works well wirelessly but when I
configure my card, here's wha t happens on BSD:

 ifconfig ath0 192.168.2.175 netmask 255.255.255.0
ssid SSID_NAME wepmode on wepkey
0xyx

ifconfig: ioctl (SIOCAIFADDR): File exists

Assume the first 0x means hex and the rest is the key
name.  Anyone have any ideas?

Thanks 
scotty



___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"