public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Switched to UDEV and now I have lost wlan0 and hostapd won't work...
@ 2006-02-06  3:40 Daevid Vincent
  2006-02-06  4:04 ` Daevid Vincent
  0 siblings, 1 reply; 4+ messages in thread
From: Daevid Vincent @ 2006-02-06  3:40 UTC (permalink / raw
  To: gentoo-user

After the essentially forced upgrade, I'm now running kernel
2.6.15-gentoo-r1 (udev) from 2.6.9 (devfs). 

I have a Senao Engenius 200 mW PCMCIA card in a PCMCIA/PCI adapter in my
server -- this card is then the wireless AP for my network.

I can't get my wlan0 to show up like it used to, therefore hostapd won't
start.

daevid# /etc/init.d/hostapd start
 * Starting wlan0
 *   Bringing up wlan0
 *     10.10.10.1/24
         wlan0 does not exist
 * ERROR:  Problem starting needed services.
 *         "hostapd" was not started.

I used to do this after each kernel compile:

emerge -v  net-wireless/hostap-driver \
	     net-wireless/hostap-utils \
	     net-wireless/hostapd

And previously I loaded the modules via /etc/modules.autoload.d/kernel-2.6

#hostap
#hostap_crypt_wep
#hostap_crypt_ccmp
#hostap_crypt_tkip
#hostap_cs

The driver now mentions I should use the newer one in the 2.6.15 kernel.
Therefore I've commented out the above, and did not use the
net-wireless/hostap-driver. I compiled the driver directly into the kernel,
NOT as a module this time either.

This shows in dmesg, so it appears to be loaded:

orinoco 0.15rc3 (David Gibson <hermes@gibson.dropbear.id.au>, Pavel Roskin
<proski@gnu.org>, et al)
orinoco_pci 0.15rc3 (Pavel Roskin <proski@gnu.org>, David Gibson
<hermes@gibson.dropbear.id.au> & Jean Tourrilhes <jt@hpl.hp.com>)
Loaded prism54 driver, version 1.2
hostap_plx: 0.4.4-kernel (Jouni Malinen <jkmaline@cc.hut.fi>)
hostap_pci: 0.4.4-kernel (Jouni Malinen <jkmaline@cc.hut.fi>)

/dev has 1490 entries, but none of them look useful here. I saw some folks
mentioning /dev/wifi0 or /dev/eth* but I don't have either of them showing.

daevid# iwconfig
eth0      no wireless extensions.
eth1      no wireless extensions.
lo        no wireless extensions.

eth0 is my outside network (ie. Cable company) and eth1 is my inside LAN --
both of them are working fine.

I saw this:
http://www.mail-archive.com/debian-laptop@lists.debian.org/msg46547.html
But I don't know what to look for in /dev that would show upon plug/unplug.
Do I really even need to "program" a script like this? 

I see there is net-wireless/linux-wlan-ng, but I'm pretty sure I don't need
that, as that's what hostap does right?

So, what am I missing or not doing right?

-- 
gentoo-user@gentoo.org mailing list



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

* RE: [gentoo-user] Switched to UDEV and now I have lost wlan0 and hostapd won't work...
  2006-02-06  3:40 [gentoo-user] Switched to UDEV and now I have lost wlan0 and hostapd won't work Daevid Vincent
@ 2006-02-06  4:04 ` Daevid Vincent
  2006-02-06  4:32   ` Richard Fish
  2006-02-06  5:47   ` Stroller
  0 siblings, 2 replies; 4+ messages in thread
From: Daevid Vincent @ 2006-02-06  4:04 UTC (permalink / raw
  To: gentoo-user

So after dicking with this some more, I'm noticing this:

daevid ~ # ls /sys/class/net/
eth0  eth1  lo

shouldn't there be something else in there for my wifi card?

And would it show up here or not?


> -----Original Message-----
> From: Daevid Vincent [mailto:daevid@daevid.com] 
> Sent: Sunday, February 05, 2006 7:40 PM
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] Switched to UDEV and now I have lost 
> wlan0 and hostapd won't work...
> 
> After the essentially forced upgrade, I'm now running kernel
> 2.6.15-gentoo-r1 (udev) from 2.6.9 (devfs). 
> 
> I have a Senao Engenius 200 mW PCMCIA card in a PCMCIA/PCI 
> adapter in my
> server -- this card is then the wireless AP for my network.
> 
> I can't get my wlan0 to show up like it used to, therefore 
> hostapd won't
> start.
> 
> daevid# /etc/init.d/hostapd start
>  * Starting wlan0
>  *   Bringing up wlan0
>  *     10.10.10.1/24
>          wlan0 does not exist
>  * ERROR:  Problem starting needed services.
>  *         "hostapd" was not started.
> 
> I used to do this after each kernel compile:
> 
> emerge -v  net-wireless/hostap-driver \
> 	     net-wireless/hostap-utils \
> 	     net-wireless/hostapd
> 
> And previously I loaded the modules via 
> /etc/modules.autoload.d/kernel-2.6
> 
> #hostap
> #hostap_crypt_wep
> #hostap_crypt_ccmp
> #hostap_crypt_tkip
> #hostap_cs
> 
> The driver now mentions I should use the newer one in the 
> 2.6.15 kernel.
> Therefore I've commented out the above, and did not use the
> net-wireless/hostap-driver. I compiled the driver directly 
> into the kernel,
> NOT as a module this time either.
> 
> This shows in dmesg, so it appears to be loaded:
> 
> orinoco 0.15rc3 (David Gibson <hermes@gibson.dropbear.id.au>, 
> Pavel Roskin
> <proski@gnu.org>, et al)
> orinoco_pci 0.15rc3 (Pavel Roskin <proski@gnu.org>, David Gibson
> <hermes@gibson.dropbear.id.au> & Jean Tourrilhes <jt@hpl.hp.com>)
> Loaded prism54 driver, version 1.2
> hostap_plx: 0.4.4-kernel (Jouni Malinen <jkmaline@cc.hut.fi>)
> hostap_pci: 0.4.4-kernel (Jouni Malinen <jkmaline@cc.hut.fi>)
> 
> /dev has 1490 entries, but none of them look useful here. I 
> saw some folks
> mentioning /dev/wifi0 or /dev/eth* but I don't have either of 
> them showing.
> 
> daevid# iwconfig
> eth0      no wireless extensions.
> eth1      no wireless extensions.
> lo        no wireless extensions.
> 
> eth0 is my outside network (ie. Cable company) and eth1 is my 
> inside LAN --
> both of them are working fine.
> 
> I saw this:
> http://www.mail-archive.com/debian-laptop@lists.debian.org/msg
> 46547.html
> But I don't know what to look for in /dev that would show 
> upon plug/unplug.
> Do I really even need to "program" a script like this? 
> 
> I see there is net-wireless/linux-wlan-ng, but I'm pretty 
> sure I don't need
> that, as that's what hostap does right?
> 
> So, what am I missing or not doing right?
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Switched to UDEV and now I have lost wlan0 and hostapd won't work...
  2006-02-06  4:04 ` Daevid Vincent
@ 2006-02-06  4:32   ` Richard Fish
  2006-02-06  5:47   ` Stroller
  1 sibling, 0 replies; 4+ messages in thread
From: Richard Fish @ 2006-02-06  4:32 UTC (permalink / raw
  To: gentoo-user

On 2/5/06, Daevid Vincent <daevid@daevid.com> wrote:
> So after dicking with this some more, I'm noticing this:
>
> daevid ~ # ls /sys/class/net/
> eth0  eth1  lo
>
> shouldn't there be something else in there for my wifi card?
>
> And would it show up here or not?

Yes, it would.  Looks like whatever driver(s) you are loading are not
recognizing the card.  Can you provide the lspci -nv output for that
card?

-Richard

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Switched to UDEV and now I have lost wlan0 and hostapd won't work...
  2006-02-06  4:04 ` Daevid Vincent
  2006-02-06  4:32   ` Richard Fish
@ 2006-02-06  5:47   ` Stroller
  1 sibling, 0 replies; 4+ messages in thread
From: Stroller @ 2006-02-06  5:47 UTC (permalink / raw
  To: gentoo-user

Your card is a 802.11b Prism card, right? The mention of orinoco &  
prism54 in your `dmesg` is confusing me.

Do you have hotplug / coldplug installed? I think you may need to  
install one of these to deal with PCMCIA (well, probably Cardbus,  
really) cards.

I don't use hostapd - have you tried configuring the card in /etc/ 
conf.d/net ? Or does hostapd give additional facilities?

I use:
   modules_eth2=( "iwconfig" )
   mode_eth2="Master"
   essid_eth2="WirelessNet"
   channel_eth2="7"
   key_NedNet="aaaaaaaaaaaa"

Stroller.


On 6 Feb 2006, at 04:04, Daevid Vincent wrote:

> So after dicking with this some more, I'm noticing this:
>
> daevid ~ # ls /sys/class/net/
> eth0  eth1  lo
>
> shouldn't there be something else in there for my wifi card?
>
> And would it show up here or not?
>
>> After the essentially forced upgrade, I'm now running kernel
>> 2.6.15-gentoo-r1 (udev) from 2.6.9 (devfs).
>>
>> I have a Senao Engenius 200 mW PCMCIA card in a PCMCIA/PCI
>> adapter in my
>> server -- this card is then the wireless AP for my network.
>> ...
>> orinoco 0.15rc3 (David Gibson <hermes@gibson.dropbear.id.au>,
>> Pavel Roskin
>> <proski@gnu.org>, et al)
>> orinoco_pci 0.15rc3 (Pavel Roskin <proski@gnu.org>, David Gibson
>> <hermes@gibson.dropbear.id.au> & Jean Tourrilhes <jt@hpl.hp.com>)
>> Loaded prism54 driver, version 1.2
>> hostap_plx: 0.4.4-kernel (Jouni Malinen <jkmaline@cc.hut.fi>)
>> hostap_pci: 0.4.4-kernel (Jouni Malinen <jkmaline@cc.hut.fi>)

-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-02-06  5:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-06  3:40 [gentoo-user] Switched to UDEV and now I have lost wlan0 and hostapd won't work Daevid Vincent
2006-02-06  4:04 ` Daevid Vincent
2006-02-06  4:32   ` Richard Fish
2006-02-06  5:47   ` Stroller

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