Re: [gentoo-user] Wireless help?

2007-12-01 Thread Galevsky
Hello Grant,

Let's check first your kernel config:
http://madwifi.org/wiki/UserDocs/KernelConfig
If you still face trouble, I advise you to have a look at the website
doc which looks pretty good..

Gal'


On Dec 1, 2007 7:32 AM, Grant [EMAIL PROTECTED] wrote:
 I'm trying to set up a new laptop's wireless interface.  lspci says it
 has an Atheros AR5006EG which should mean the madwifi drivers.  I
 emerged madwifi-ng and madwifi-ng-tools, created net.ath0 as a link to
 net.lo, and set the ath_pci module to autoload (which it does without
 errors) but I get:

 network interface ath0 does not exist
 Please verify hardware or kernel module (driver)

 when trying to start net.ath0.  Does this sound like a driver support
 problem or did I miss something?  ifconfig only shows eth0 and lo.
 iwconfig shows, eth0, lo, and sit0.  I don't know what sit0 is.

 - Grant
 --
 [EMAIL PROTECTED] mailing list


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Wireless help?

2007-12-01 Thread Mick
On Saturday 01 December 2007, Grant wrote:
 I'm trying to set up a new laptop's wireless interface.  lspci says it
 has an Atheros AR5006EG which should mean the madwifi drivers.  I
 emerged madwifi-ng and madwifi-ng-tools, created net.ath0 as a link to
 net.lo, and set the ath_pci module to autoload (which it does without
 errors) but I get:

 network interface ath0 does not exist
 Please verify hardware or kernel module (driver)

 when trying to start net.ath0.  Does this sound like a driver support
 problem or did I miss something?  ifconfig only shows eth0 and lo.
 iwconfig shows, eth0, lo, and sit0.  I don't know what sit0 is.

You probably have enabled IPv6 in your kernel?  sit0 is the interface for an 
ipv4/ipv6 tunnel.  I don't think that it is related to your WiFi chip.

The fact that you do not see the WiFi interface when your run ifconfig or 
iwconfig(?) means that the driver in question is not picking it up.  The 
solution can be quite elusive, but short of hacking the driver itself you may 
want to:

1. emerge previous versions or later versions of the driver and try again.
2. Try ndiswrapper with the MS Windows driver at least until the Linux driver 
comes to a version that works with the AR5006EG chip.

Good luck.  :)
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Wireless help?

2007-12-01 Thread Stroller


On 1 Dec 2007, at 06:32, Grant wrote:


I'm trying to set up a new laptop's wireless interface.  lspci says it
has an Atheros AR5006EG which should mean the madwifi drivers.  I
emerged madwifi-ng and madwifi-ng-tools, created net.ath0 as a link to
net.lo, and set the ath_pci module to autoload (which it does without
errors) but I get:

network interface ath0 does not exist
Please verify hardware or kernel module (driver)

when trying to start net.ath0.  Does this sound like a driver support
problem or did I miss something?  ifconfig only shows eth0 and lo.
iwconfig shows, eth0, lo, and sit0.  I don't know what sit0 is.


Hi there,

Madwifi is different from all (I think) of the other Linux wireless  
drivers in that it requires use of the wlanconfig command.


EG:
  wlanconfig ath create wlandev wifi0 wlanmode sta

See also: http://madwifi.org/users-guide/node14.html

When posting about wireless issues you really need to post the OUTPUT  
of `iwconfig` also.

EG:
  iwconfig wlan0 enc aa mode managed essid driveon channel 7
  http://www.newlinuxuser.com/howto-use-iwconfig/

If you're unable to connect to the net then copy the output textfile  
to a connected machine using a USB key or floppy disk.


It seems, however, that you're not alone in having problems with this  
card: http://www.google.com/search?q=madwifi+AR5006EG. It looks to  
me that if you use the latest version of the madwifi drivers then you  
may be successful, but you may find madwifi's own mailing lists more  
helpful. I don't think you need to use NDISwrapper, although I have  
to confess that I am slightly religious on this matter.


Stroller.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Wireless help?

2007-12-01 Thread Grant
  I'm trying to set up a new laptop's wireless interface.  lspci says it
  has an Atheros AR5006EG which should mean the madwifi drivers.  I
  emerged madwifi-ng and madwifi-ng-tools, created net.ath0 as a link to
  net.lo, and set the ath_pci module to autoload (which it does without
  errors) but I get:
 
  network interface ath0 does not exist
  Please verify hardware or kernel module (driver)
 
  when trying to start net.ath0.  Does this sound like a driver support
  problem or did I miss something?  ifconfig only shows eth0 and lo.
  iwconfig shows, eth0, lo, and sit0.  I don't know what sit0 is.

 Hi there,

 Madwifi is different from all (I think) of the other Linux wireless
 drivers in that it requires use of the wlanconfig command.

 EG:
wlanconfig ath create wlandev wifi0 wlanmode sta

 See also: http://madwifi.org/users-guide/node14.html

 When posting about wireless issues you really need to post the OUTPUT
 of `iwconfig` also.
 EG:
iwconfig wlan0 enc aa mode managed essid driveon channel 7
http://www.newlinuxuser.com/howto-use-iwconfig/

 If you're unable to connect to the net then copy the output textfile
 to a connected machine using a USB key or floppy disk.

 It seems, however, that you're not alone in having problems with this
 card: http://www.google.com/search?q=madwifi+AR5006EG. It looks to
 me that if you use the latest version of the madwifi drivers then you
 may be successful, but you may find madwifi's own mailing lists more
 helpful. I don't think you need to use NDISwrapper, although I have
 to confess that I am slightly religious on this matter.

According to a ticket at madwifi.org it's only working with
ndiswrapper currently.  I've actually been using madwifi and
wpa_supplicant happily for years now with a PCMCIA card and a couple
of PCI cards but this new one isn't cooperating.  Thanks for the help.

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Wireless help?

2007-11-30 Thread Grant
I'm trying to set up a new laptop's wireless interface.  lspci says it
has an Atheros AR5006EG which should mean the madwifi drivers.  I
emerged madwifi-ng and madwifi-ng-tools, created net.ath0 as a link to
net.lo, and set the ath_pci module to autoload (which it does without
errors) but I get:

network interface ath0 does not exist
Please verify hardware or kernel module (driver)

when trying to start net.ath0.  Does this sound like a driver support
problem or did I miss something?  ifconfig only shows eth0 and lo.
iwconfig shows, eth0, lo, and sit0.  I don't know what sit0 is.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Wireless Help

2006-07-08 Thread Willie Wong
On Fri, Jul 07, 2006 at 09:01:40PM -0400, Penguin Lover Colleen Beamer squawked:
 Next, the wiki said to put these lines into the /etc/conf.d/net file (which
 had nothing in it because it assumes dhcp):
 
 
 
 modules=( wpa_supplicant )
 
 wpa_supplicant_wlan0=-Dndiswrapper
 wpa_timeout_wlan0=60
 
 Again, these lines have been modified to suit my situation.
 
 However, if I boot the laptop without the ethernet cable connected, it hangs
 when running the dhcpcd daemon.
 
 I'm sure I'm missing something, but I don't know what.
 

Did you remove net.eth0 from the default runlevel? i.e. 
  rc-update del net.eth0
If it is hanging at boot time it might be because it is trying to
connect to eth0 using dhcp, which is obviously not available without
the ethernet cable. 

W
-- 
So we just have to integrate around the ring to get the gravitational force?
Yeah.
But that doesn't sound fun.
~DeathMech, Some Student. P-town PHY 205
Sortir en Pantoufles: up 28 days, 17:25
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wireless Help

2006-07-08 Thread Neil Bothwick
On Fri, 7 Jul 2006 21:01:40 -0400, Colleen Beamer wrote:

 However, if I boot the laptop without the ethernet cable connected, it
 hangs when running the dhcpcd daemon.
 
 I'm sure I'm missing something, but I don't know what.

emerge ifplugd and read the comments in /etc/conf.d/net.example


-- 
Neil Bothwick

Last words of a Windows user: = Where do I have to click now? - There?


signature.asc
Description: PGP signature


Re: [gentoo-user] Wireless Help

2006-07-07 Thread A. R.

So, I assume that eth1 would be replaced by wlan0 in the commands above,
correct?



Yes, that is true. Therefore if you create a bash script with those
commands it would look like the following (I understand that you do
not use encryption, so I omitted the key setting)


   #!/bin/bash
   iwconfig wlan0 essid beam26wireless
   dhcpcd wlan0

Now, all I do is to run this script as root every time I need to use
my wireless connection. I do not need to automatically run this script
at boot time because I do not use the wireless connection that often.
I know some people in this list will consider this solution a little
bit clunky, but hey, it works for me, and I am really not an expert
when it comes to configuring stuff like this. I am just a user too.
:-)


HTH

- AR




--
If you stare long enough into an abyss, the abyss will stare back into you...
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wireless Help

2006-07-07 Thread Colleen Beamer
Okay, I'm totally confused now and don't know what to do!On 7/7/06, Michael Crute [EMAIL PROTECTED] wrote:
I would really recommend you use wpa_supplicant as IMO it is far
easier to configure and supports more access methods than iwconfig.Since your wireless card is clearly detected it should be trivial tosetup. Check out this article in the wiki (which you may have alreadylooked at): 
http://gentoo-wiki.com/HOWTO_Wireless_Configuration_and_Startup#Configuration_using_wpa_supplicant
When I boot my computer and do modprobe ndiswrapper, and then run iwconfig, I get the following (as I stated in my previous post) 
 localhost ~ # iwconfig lono wireless extensions.
 eth0no wireless extensions. wlan0 IEEE 802.11gESSID:beam26wireless Mode:ManagedFrequency:2.437 GHzAccess Point: 00:13:10:99:9C:BF Bit Rate:54 Mb/s Tx-Power:25 dBm
 RTS thr:2347 B Fragment thr:2346 B Encryption key:off Power Management:off Link Quality:100/100Signal level:-60 dBmNoise level:-256 dBm Rx invalid nwid:0Rx invalid crypt:0Rx invalid frag:0
 Tx excessive retries:0Invalid misc:0 Missed beacon:0

I can connect in a clunky fashion if I type 'ifconfig wlan0 up' and then 'dhcpcd wlan0' from the command line.

However, what I want to do is to be able to connect automatically to my
wireless access point, or for that matter any available wireless access
point.

So, I took the above advice and emerged wpa_supplicant.Following the wiki, I created very simple wpa_supplicant.conf file by copying the following lines from the wpa_supplicant.conf.example file, pasting them into the wpa_supplicant.conf file that I was creating and modifying them for my own situation.
network={ ssid=beam26wireless scan_ssid=1 psk=** priority=2}I did put something into the psk= filed, but have blanked it out here. From the example file this seemed to be most suited to my situation. Right now, I haven't set up encryption on my cable/DSL router because my son connects wirelessly with his Windows computer and he'll have a fit if he can't connect until I can tear him of the laptop long enough to enter the encryption code into his wireless configuration.
Next, the wiki said to put these lines into the /etc/conf.d/net file (which had nothing in it because it assumes dhcp):modules=( wpa_supplicant )wpa_supplicant_wlan0=-Dndiswrapper
wpa_timeout_wlan0=60Again, these lines have been modified to suit my situation.However, if I boot the laptop without the ethernet cable connected, it hangs when running the dhcpcd daemon.I'm sure I'm missing something, but I don't know what.
Any further assistance would be appreciated and I apologize for having to be led by the nose.Regards,Colleen



Re: [gentoo-user] Wireless Help

2006-07-06 Thread Colleen Beamer
On 7/5/06, A. R. [EMAIL PROTECTED] wrote:
 So, my question is, once I install ndiswrapper and the driver, do I then follow the wiki for either wireless-tools or (preferred) wpa-supplicant?Is there anything else I have to do or install?
 Regards, ColleenHello,May I suggest that you try first with wireless-tools?Things you need to know:1. The interface id of the wireless card (eth0, eth1, wlan0 etc...)
2. The essid of the wireless access point you are connecting to.3. The encryption key (if any) for wireless access (WEP)Once you have those you can run the following commands (after you have
emerged wireless-tools) Using eth1 as the interface for example:iwconfig eth1 essid the essid of the access pointiwconfig eth1 key the encryption keydhcpcd eth1Okay, I emerged ndiswrapper which also emerged wireless-tools. I haven't yet created any configuration files. However, if I run iwconfig, this is what I get:
localhost ~ # iwconfiglo no wireless extensions.eth0 no wireless extensions.wlan0 IEEE 802.11g ESSID:beam26wireless Mode:Managed Frequency:2.437 GHz Access Point: 00:13:10:99:9C:BF
 Bit Rate:54 Mb/s Tx-Power:25 dBm RTS thr:2347 B Fragment thr:2346 B Encryption key:off Power Management:off Link Quality:100/100 Signal level:-60 dBm Noise level:-256 dBm
 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0So, I assume that eth1 would be replaced by wlan0 in the commands above, correct?
If this works, then depending on how you want to configure your box
you may want to set all this configuration in the file/etc/conf.d/wireless (BTW, please take a look at the file/etc/conf.d/wireless.example, it does have very good comments thatwould make this very understandable), or you may want to go for
wpa_supplicant.Well, I already have wireless-tools on my laptop because it was installed with ndiswrapper. As you note, my access point (a wireless cable/DSL router) is recognized and I realize that there isn't an encryption key set.
The thing is, I *have* looked at /etc/conf.d/wireless.example and it may as well be hieroglyphics. I don't know which section to alter. Right now, if I'm on my laptop, I want to be able to connect to the access point in my apartment. However, if I'm at someplace that has wireless access, I want to be able to scan for an available network. So, I don't know what section to changed.
I'm just a user and not a network person, so further help would be appreciated.Regards,Colleen



Re: [gentoo-user] Wireless Help

2006-07-06 Thread Michael Crute

On 7/7/06, Colleen Beamer [EMAIL PROTECTED] wrote:




On 7/5/06, A. R. [EMAIL PROTECTED] wrote:
  So, my question is, once I install ndiswrapper and the driver, do I then
  follow the wiki for either wireless-tools or (preferred)
  wpa-supplicant?  Is there anything else I have to do or install?
 
  Regards,
 
  Colleen
 

 Hello,

 May I suggest that you try first with wireless-tools?


 Things you need to know:
 1. The interface id of the wireless card (eth0, eth1, wlan0 etc...)
 2. The essid of the wireless access point you are connecting to.
 3. The encryption key (if any) for wireless access (WEP)

 Once you have those you can run the following commands (after you have
 emerged wireless-tools) Using eth1 as the interface for example:

 iwconfig eth1 essid the essid of the access point
 iwconfig eth1 key the encryption key
 dhcpcd eth1


Okay, I emerged ndiswrapper which also emerged wireless-tools.  I haven't
yet created any configuration files.  However, if I run iwconfig, this is
what I get:

localhost ~ # iwconfig
lono wireless extensions.

eth0  no wireless extensions.

wlan0 IEEE 802.11g  ESSID:beam26wireless
  Mode:Managed  Frequency:2.437 GHz  Access Point: 00:13:10:99:9C:BF
  Bit Rate:54 Mb/s   Tx-Power:25 dBm
  RTS thr:2347 B   Fragment thr:2346 B
  Encryption key:off
  Power Management:off
  Link Quality:100/100  Signal level:-60 dBm  Noise level:-256 dBm
  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
  Tx excessive retries:0  Invalid misc:0   Missed beacon:0

So, I assume that eth1 would be replaced by wlan0 in the commands above,
correct?



 If this works, then depending on how you want to configure your box
 you may want to set all this configuration in the file
 /etc/conf.d/wireless (BTW, please take a look at the file
 /etc/conf.d/wireless.example, it does have very good comments that
 would make this very understandable), or you may want to go for
 wpa_supplicant.



Well, I already have wireless-tools on my laptop because it was installed
with ndiswrapper.  As you note, my access point (a wireless cable/DSL
router) is recognized and I realize that there isn't an encryption key set.

The thing is, I *have* looked at /etc/conf.d/wireless.example and it may as
well be hieroglyphics.  I don't know which section to alter.  Right now, if
I'm on my laptop, I want to be able to connect to the access point in my
apartment.  However, if I'm at someplace that has wireless access, I want to
be able to scan for an available network.  So, I don't know what section to
changed.



Hi Colleen,

I would really recommend you use wpa_supplicant as IMO it is far
easier to configure and supports more access methods than iwconfig.
Since your wireless card is clearly detected it should be trivial to
setup. Check out this article in the wiki (which you may have already
looked at): 
http://gentoo-wiki.com/HOWTO_Wireless_Configuration_and_Startup#Configuration_using_wpa_supplicant

-Mike


--

Michael E. Crute
http://mike.crute.org

I may not have gone where I intended to go, but I think I have ended
up where I intended to be. --Douglas Adams
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Wireless Help

2006-07-04 Thread Colleen Beamer
Hi,

Okay so, I'm a wireless idiot.  I've found the wiki that outlines the
use of wireless-tools or wpa-supplicant.  However, my problem is that I
don't know where to begin.

My wireless adapter for my notebook is a Linksys WPC54G.  I think that I
have to use ndiswrapper in order to install the driver for the card.

So, my question is, once I install ndiswrapper and the driver, do I then
follow the wiki for either wireless-tools or (preferred)
wpa-supplicant?  Is there anything else I have to do or install?

Regards,

Colleen

-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wireless Help

2006-07-04 Thread A. R.

So, my question is, once I install ndiswrapper and the driver, do I then
follow the wiki for either wireless-tools or (preferred)
wpa-supplicant?  Is there anything else I have to do or install?

Regards,

Colleen



Hello,

May I suggest that you try first with wireless-tools?


Things you need to know:
1. The interface id of the wireless card (eth0, eth1, wlan0 etc...)
2. The essid of the wireless access point you are connecting to.
3. The encryption key (if any) for wireless access (WEP)

Once you have those you can run the following commands (after you have
emerged wireless-tools) Using eth1 as the interface for example:

iwconfig eth1 essid the essid of the access point
iwconfig eth1 key the encryption key
dhcpcd eth1

If this works, then depending on how you want to configure your box
you may want to set all this configuration in the file
/etc/conf.d/wireless (BTW, please take a look at the file
/etc/conf.d/wireless.example, it does have very good comments that
would make this very understandable), or you may want to go for
wpa_supplicant.

HTH

- AR


If you stare long enough into an abyss, the abyss will stare back into you...
--
gentoo-user@gentoo.org mailing list