public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] wireless
@ 2006-10-07  5:55 Ted Ozolins
  2006-10-07 14:06 ` Kurt Guenther
  0 siblings, 1 reply; 9+ messages in thread
From: Ted Ozolins @ 2006-10-07  5:55 UTC (permalink / raw
  To: gentoo-user

Just acquired an Atheros based wireless card. acquired madwifi-ng and
tools.  Using the /etc/conf.d/wireless.example I set up as per  RTFM'n .
I have in /etc/conf.d/wireless:

essid_ath0="patkno"
mode_ath0="managed"
channel_ath0="6"
key_patkno="s:********** enc open"

and I have in /etc/conf.d/net the line:

modules=( "iwconfig" )

# iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11b  ESSID:""
          Mode:Managed  Channel:0  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:0 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

after entering each of the fields manually:

iwconfig ath0 channel 6

iwconfig ath0 essid patkno
iwconfig ath0 key s:**********
iwpriv ath0 keymgtalgs 1
ifconfig ath0 up
crash ~ #   # iwconfig ath0
ath0      IEEE 802.11g  ESSID:"patkno"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:0F:3D:B5:A0:84
          Bit Rate:11 Mb/s   Tx-Power:18 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:****-****-****-****-****   Security mode:restricted
          Power Management:off
          Link Quality=56/94  Signal level=-39 dBm  Noise level=-95 dBm
          Rx invalid nwid:3494  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
However when I issue:
dhcpcd ath0 it times out and ifconfig does not show an ath0.

I'm running 2.6.17-gentoo-r7  kernel and
iwconfig -v
iwconfig  Wireless-Tools version 28
          Compatible with Wireless Extension v11 to v20.

Modprobed modules:
ath_pci
wlan_scan_sta
ath_hal
Have I missed something obvious?




-- 
Ted Ozolins(VE7TVO)


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] wireless
  2006-10-07  5:55 [gentoo-user] wireless Ted Ozolins
@ 2006-10-07 14:06 ` Kurt Guenther
  2006-10-08  4:05   ` Ted Ozolins
  0 siblings, 1 reply; 9+ messages in thread
From: Kurt Guenther @ 2006-10-07 14:06 UTC (permalink / raw
  To: gentoo-user



Ted Ozolins wrote:
> Have I missed something obvious?
>   

This is a really inane question, but you do have a dhcpd server on your
network, right?

Also, make sure you router is using wep and not wpa.  If wpa, you need
to use wpa_supplicant instead.

I'd get it running without encryption first.   When you get that
working, you can play with the various encryption schemes.

--Kurt

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] wireless
  2006-10-07 14:06 ` Kurt Guenther
@ 2006-10-08  4:05   ` Ted Ozolins
  0 siblings, 0 replies; 9+ messages in thread
From: Ted Ozolins @ 2006-10-08  4:05 UTC (permalink / raw
  To: gentoo-user

Kurt Guenther wrote:

>Ted Ozolins wrote:
>  
>
>>Have I missed something obvious?
>>  
>>    
>>
>
>This is a really inane question, but you do have a dhcpd server on your
>network, right?
>  
>
There is a working dhcp server working, checked and rechecked.

>Also, make sure you router is using wep and not wpa.  If wpa, you need
>to use wpa_supplicant instead.
>  
>
The router (D-Link DSL-604+) is set up for WEP

>I'd get it running without encryption first.   When you get that
>working, you can play with the various encryption schemes.
>
>--Kurt
>
>  
>
That was my next shot at it. I am begining to suspect the AP as the
culprit, I've setup all kinds of wired networks, this is my first shot
at wireless. I did quite a bit of rtfm'n before buying this wireless
card. From all info I've come acrossed this should "just work" .
I've noticed that when emerging madwifi-ng that several other modules
are built. Namely:

wlan, wlan_acl, wlan_ccmp, wlan_tkip, wlan_wep, wlan_xauth,
wlan_scan_sta, wlan_scan_ap and ath_rate_sample. Other than ath_pci and
wlan_scan_ap, do I have to load any of the others mentioned?

Cheers.

-- 
Ted Ozolins(VE7TVO)


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Wireless...
@ 2009-12-03  2:17 BRM
  2009-12-03  4:15 ` Zeerak Waseem
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: BRM @ 2009-12-03  2:17 UTC (permalink / raw
  To: Users Gentoo

I have wireless working (b43legacy driver for the Dell Wireless Broadcom) through a static configuration in /etc/conf.d/net - basically:

essid_wlan0="myWLAN"
key_MYWLAN="somekey"
config_MYWLAN=( "dhcp" )
preferred_APS= ( "myWLAN" )

I would like to use a tool like WPA Supplicant instead so I can have a more dynamic configuration.
I've tried to setup WPA supplicant but haven't been able to get it to work.

My last attempt was with:

modules=( "wpa_supplicant" )
wpa_supplicant_wlan0="-Dwext"
wpa_timeout_wlan0=15

I also tried the iwconfig setup:

modules=( "iwconfig" )
iwconfig_wlan0="mode managed"
wpa_timeout_wlan0=15

Both these were based on configurations I found while researching gentoo wireless configurations:

http://en.gentoo-wiki.com/wiki/Wireless_Networking

the wpa_supplicant man page possibly suggests uses "-Dbroadcom", but the following supports "-Dwext" since I have the b43legacy driver working (firmware extracted using b43-fwcutter a while back; dmesg reports version 0x127).

http://linuxwireless.org/en/users/Drivers/b43

I have both the iwconfig utilities and wpa supplicant installed. When I used wpa supplicant with either configuration it would just keep searching.

Now, my wireless configuration is currently WEP; and I'd like to upgrade to WPA/WPA2 once I can get a wireless tool on the system as well.

Is there anything I'm doing wrong with the configuration above?

Also - what is the correct GUI for configuring connections under KDE4? I know of the WPA Supplicant GUI; and the GNOME GUI; but would like something under more directly KDE4.

KNemo just puts up monitors that are pretty useless (though look pretty).

TIA,

Ben

P.S. It seems my Linksys WRT54G v3 needs a firmware update for WPA2. So right now, I'd just like to be able to configure dynamically for my WEP network; then I'll focus on going to WPA/WPA2.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Wireless...
  2009-12-03  2:17 [gentoo-user] Wireless BRM
@ 2009-12-03  4:15 ` Zeerak Waseem
  2009-12-03  4:29 ` Crístian Viana
  2009-12-03 13:05 ` Mike Edenfield
  2 siblings, 0 replies; 9+ messages in thread
From: Zeerak Waseem @ 2009-12-03  4:15 UTC (permalink / raw
  To: gentoo-user

This is my etc/conf.d/net file:

modules=( "wpa_supplicant" )
wpa_supplicant_wlan0="-Dwext"
preferred_aps=("ESSID1" "ESSID2")
essid_wlan0="any"

All specific stuff is in /wpa_supplicant/supplicant.conf

Zeerak

On Thu, 03 Dec 2009 03:17:15 +0100, BRM <bm_witness@yahoo.com> wrote:

> I have wireless working (b43legacy driver for the Dell Wireless  
> Broadcom) through a static configuration in /etc/conf.d/net - basically:
>
> essid_wlan0="myWLAN"
> key_MYWLAN="somekey"
> config_MYWLAN=( "dhcp" )
> preferred_APS= ( "myWLAN" )
>
> I would like to use a tool like WPA Supplicant instead so I can have a  
> more dynamic configuration.
> I've tried to setup WPA supplicant but haven't been able to get it to  
> work.
>
> My last attempt was with:
>
> modules=( "wpa_supplicant" )
> wpa_supplicant_wlan0="-Dwext"
> wpa_timeout_wlan0=15
>
> I also tried the iwconfig setup:
>
> modules=( "iwconfig" )
> iwconfig_wlan0="mode managed"
> wpa_timeout_wlan0=15
>
> Both these were based on configurations I found while researching gentoo  
> wireless configurations:
>
> http://en.gentoo-wiki.com/wiki/Wireless_Networking
>
> the wpa_supplicant man page possibly suggests uses "-Dbroadcom", but the  
> following supports "-Dwext" since I have the b43legacy driver working  
> (firmware extracted using b43-fwcutter a while back; dmesg reports  
> version 0x127).
>
> http://linuxwireless.org/en/users/Drivers/b43
>
> I have both the iwconfig utilities and wpa supplicant installed. When I  
> used wpa supplicant with either configuration it would just keep  
> searching.
>
> Now, my wireless configuration is currently WEP; and I'd like to upgrade  
> to WPA/WPA2 once I can get a wireless tool on the system as well.
>
> Is there anything I'm doing wrong with the configuration above?
>
> Also - what is the correct GUI for configuring connections under KDE4? I  
> know of the WPA Supplicant GUI; and the GNOME GUI; but would like  
> something under more directly KDE4.
>
> KNemo just puts up monitors that are pretty useless (though look pretty).
>
> TIA,
>
> Ben
>
> P.S. It seems my Linksys WRT54G v3 needs a firmware update for WPA2. So  
> right now, I'd just like to be able to configure dynamically for my WEP  
> network; then I'll focus on going to WPA/WPA2.
>
>


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Wireless...
  2009-12-03  2:17 [gentoo-user] Wireless BRM
  2009-12-03  4:15 ` Zeerak Waseem
@ 2009-12-03  4:29 ` Crístian Viana
  2009-12-03 13:05 ` Mike Edenfield
  2 siblings, 0 replies; 9+ messages in thread
From: Crístian Viana @ 2009-12-03  4:29 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2274 bytes --]

KDE 4 doesn't have an official network manager yet. you can use
net-misc/wicd, it works nice.

On Thu, Dec 3, 2009 at 2:17 AM, BRM <bm_witness@yahoo.com> wrote:

> I have wireless working (b43legacy driver for the Dell Wireless Broadcom)
> through a static configuration in /etc/conf.d/net - basically:
>
> essid_wlan0="myWLAN"
> key_MYWLAN="somekey"
> config_MYWLAN=( "dhcp" )
> preferred_APS= ( "myWLAN" )
>
> I would like to use a tool like WPA Supplicant instead so I can have a more
> dynamic configuration.
> I've tried to setup WPA supplicant but haven't been able to get it to work.
>
> My last attempt was with:
>
> modules=( "wpa_supplicant" )
> wpa_supplicant_wlan0="-Dwext"
> wpa_timeout_wlan0=15
>
> I also tried the iwconfig setup:
>
> modules=( "iwconfig" )
> iwconfig_wlan0="mode managed"
> wpa_timeout_wlan0=15
>
> Both these were based on configurations I found while researching gentoo
> wireless configurations:
>
> http://en.gentoo-wiki.com/wiki/Wireless_Networking
>
> the wpa_supplicant man page possibly suggests uses "-Dbroadcom", but the
> following supports "-Dwext" since I have the b43legacy driver working
> (firmware extracted using b43-fwcutter a while back; dmesg reports version
> 0x127).
>
> http://linuxwireless.org/en/users/Drivers/b43
>
> I have both the iwconfig utilities and wpa supplicant installed. When I
> used wpa supplicant with either configuration it would just keep searching.
>
> Now, my wireless configuration is currently WEP; and I'd like to upgrade to
> WPA/WPA2 once I can get a wireless tool on the system as well.
>
> Is there anything I'm doing wrong with the configuration above?
>
> Also - what is the correct GUI for configuring connections under KDE4? I
> know of the WPA Supplicant GUI; and the GNOME GUI; but would like something
> under more directly KDE4.
>
> KNemo just puts up monitors that are pretty useless (though look pretty).
>
> TIA,
>
> Ben
>
> P.S. It seems my Linksys WRT54G v3 needs a firmware update for WPA2. So
> right now, I'd just like to be able to configure dynamically for my WEP
> network; then I'll focus on going to WPA/WPA2.
>
>
>


-- 
Crístian Deives dos Santos Viana [aka CD1]
Sent from Campinas, SP, Brazil

[-- Attachment #2: Type: text/html, Size: 2891 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Wireless...
  2009-12-03  2:17 [gentoo-user] Wireless BRM
  2009-12-03  4:15 ` Zeerak Waseem
  2009-12-03  4:29 ` Crístian Viana
@ 2009-12-03 13:05 ` Mike Edenfield
  2009-12-03 22:25   ` BRM
  2 siblings, 1 reply; 9+ messages in thread
From: Mike Edenfield @ 2009-12-03 13:05 UTC (permalink / raw
  To: gentoo-user

On 12/2/2009 9:17 PM, BRM wrote:
> I have wireless working (b43legacy driver for the Dell Wireless Broadcom) through a static configuration in /etc/conf.d/net - basically:
>
> essid_wlan0="myWLAN"
> key_MYWLAN="somekey"
> config_MYWLAN=( "dhcp" )
> preferred_APS= ( "myWLAN" )
>
> I would like to use a tool like WPA Supplicant instead so I can have a more dynamic configuration.
> I've tried to setup WPA supplicant but haven't been able to get it to work.

Probably not what you wanted to hear, but I had the exact 
same problem with the Dell bcm-based adapter in my Inspiron 
laptop.  It would work fine for open wireless and 
WEP-secured wireless, but wouldn't associated with a 
WPA-secured access point.

Eventually I spent about $30 to purchase an iwl3945 
replacement from Dell, which worked fine, and never looked back.

--Mike



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Wireless...
  2009-12-03 13:05 ` Mike Edenfield
@ 2009-12-03 22:25   ` BRM
  2010-01-06 17:16     ` BRM
  0 siblings, 1 reply; 9+ messages in thread
From: BRM @ 2009-12-03 22:25 UTC (permalink / raw
  To: gentoo-user

----- Original Message ----

From: Mike Edenfield <kutulu@kutulu.org>
> > On 12/2/2009 9:17 PM, BRM wrote:
> > I have wireless working (b43legacy driver for the Dell Wireless Broadcom) through a static configuration in /etc/conf.d/net - basically:
> > essid_wlan0="myWLAN"
> > key_MYWLAN="somekey"
> > config_MYWLAN=( "dhcp" )
> > preferred_APS= ( "myWLAN" )
> > I would like to use a tool like WPA Supplicant instead so I can have a more dynamic configuration.
> > I've tried to setup WPA supplicant but haven't been able to get it to work.
> Probably not what you wanted to hear, but I had the exact same problem with the Dell bcm-based adapter in my Inspiron laptop.
> It would work fine for open wireless and WEP-secured wireless, but wouldn't associated with a WPA-secured access point.
> Eventually I spent about $30 to purchase an iwl3945 replacement from Dell, which worked fine, and never looked back.

Thanks for the heads up.
At this point, I'll be happy if I can just get WEP working using WPA Supplicant/WiCD/etc. instead of a root user centric configuration file.

Ben




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Wireless...
  2009-12-03 22:25   ` BRM
@ 2010-01-06 17:16     ` BRM
  0 siblings, 0 replies; 9+ messages in thread
From: BRM @ 2010-01-06 17:16 UTC (permalink / raw
  To: gentoo-user

----- Original Message ----

> From: BRM <bm_witness@yahoo.com>
> From: Mike Edenfield 
> > > On 12/2/2009 9:17 PM, BRM wrote:
> > > I have wireless working (b43legacy driver for the Dell Wireless Broadcom) 
> through a static configuration in /etc/conf.d/net - basically:
> > > essid_wlan0="myWLAN"
> > > key_MYWLAN="somekey"
> > > config_MYWLAN=( "dhcp" )
> > > preferred_APS= ( "myWLAN" )
> > > I would like to use a tool like WPA Supplicant instead so I can have a more 
> dynamic configuration.
> > > I've tried to setup WPA supplicant but haven't been able to get it to work.
> > Probably not what you wanted to hear, but I had the exact same problem with 
> the Dell bcm-based adapter in my Inspiron laptop.
> > It would work fine for open wireless and WEP-secured wireless, but wouldn't 
> associated with a WPA-secured access point.
> > Eventually I spent about $30 to purchase an iwl3945 replacement from Dell, 
> which worked fine, and never looked back.
> Thanks for the heads up.
> At this point, I'll be happy if I can just get WEP working using WPA 
> Supplicant/WiCD/etc. instead of a root user centric configuration file.

Well, it seems to be something with my home network; not sure what.
Over the holidays I did some traveling and took my laptop with me.
I was able to connect to other WEP networks just fine using WPA Supplicant;
however, when I got home I couldn't get WPA Supplicant to work with my home network and
had to revert back to setting it up via /etc/conf.d/net.

My home wireless network is a Linksys WRT54G version 3 hardware, with slightly outdated software (by 1 or 2 releases).
SSID is visible. It seems to find it, but then loses it pretty quickly and I have to restart wlan0 before I can try again.
Works fine when using a static WEP configuration though (e.g. no WPA Supplicant/WiCD/etc.).

Not sure what to look at next, but this is going to drive me a bit crazy.

Ben





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-01-06 17:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-07  5:55 [gentoo-user] wireless Ted Ozolins
2006-10-07 14:06 ` Kurt Guenther
2006-10-08  4:05   ` Ted Ozolins
  -- strict thread matches above, loose matches on Subject: below --
2009-12-03  2:17 [gentoo-user] Wireless BRM
2009-12-03  4:15 ` Zeerak Waseem
2009-12-03  4:29 ` Crístian Viana
2009-12-03 13:05 ` Mike Edenfield
2009-12-03 22:25   ` BRM
2010-01-06 17:16     ` BRM

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox