List Info

Thread: wifi0 exist but wlan0 no




wifi0 exist but wlan0 no
country flaguser name
Italy
2007-05-25 13:15:51
Hello everyone!

Why iwconfig tells me

wifi0     IEEE 802.11b  ESSID:"test"
           Mode:Master  Access Point: Not-Associated   Bit
Rate:11 Mb/s
           Sensitivity=1/3
           Retry min limit:8   RTS thr:off   Fragment
thr:off
           Encryption key:off
           Power Management:off

eth0      IEEE 802.11b  ESSID:"test"
           Mode:Master  Access Point: Not-Associated   Bit
Rate:11 Mb/s
           Sensitivity=1/3
           Retry min limit:8   RTS thr:off   Fragment
thr:off
           Encryption key:off
           Power Management:off
           Link Quality:0  Signal level:0  Noise level:0
           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid
frag:0
           Tx excessive retries:0  Invalid misc:0   Missed
beacon:0

but no wlan0 interfaces exist? i remember that the hostap
driver creates 
both wifi0 and wlan0, and then one have to configure wlan0
and forget 
about wifi0.. but now i don't have wlan0.. i've blacklisted
orinoco_pci, 
so now the only module that is loaded at boot is hostap (and

hostap_pci).. do i miss something? here is the output of
dmesg:

[rootPCGUEST9G9 ~]# dmesg | grep hostap
hostap_pci: 0.4.4-kernel (Jouni Malinen <jkmalinecc.hut.fi>)
hostap_pci: Registered netdevice wifi0

[rootPCGUEST9G9 ~]# dmesg | grep wifi0
hostap_pci: Registered netdevice wifi0
wifi0: Original COR value: 0x20
wifi0: NIC: id=0x8022 v1.0.0
wifi0: PRI: id=0x15 v1.1.1
wifi0: STA: id=0x1f v1.7.4
wifi0: Intersil Prism2.5 PCI: mem=0xe0500000, irq=11
wifi0: registered netdevice wlan0

what this last line means? and what is instead that eth0
that iwconfig 
shows?

thanx a lot
Rob

_______________________________________________
HostAP mailing list
HostAPshmoo.com
http:/
/lists.shmoo.com/mailman/listinfo/hostap

Re: wifi0 exist but wlan0 no
country flaguser name
United States
2007-05-25 13:53:50
On Fri, 2007-05-25 at 20:15 +0200, Roberto Guida wrote:
> what this last line means? and what is instead that
eth0 that
> iwconfig 
> shows?

Considering that it's in Master mode, it must be wlan0
renamed to eth0
by some userspace program.  In Fedora, interfaces are
matched by MAC
address, so if would happen if you have a file
matching /etc/sysconfig/network-scripts/ifcfg-* that
contains

HWADDR=your_mac
DEVICE=eth0

It may be different on other distros.  Check also /etc/iftab
- it's used
by ifrename for renaming the interfaces.

-- 
Regards,
Pavel Roskin

_______________________________________________
HostAP mailing list
HostAPshmoo.com
http:/
/lists.shmoo.com/mailman/listinfo/hostap

Re: wifi0 exist but wlan0 no
country flaguser name
Spain
2007-05-25 14:01:43
I'd say that your dmesg output is not enough detailed, you
filtered it too
much ;)

I would, in any case, also blacklist the orinoco module
(orinoco.ko), and
not only the orinoco_pci.
I guess that should then work (upon system restart)



> Hello everyone!
>
> Why iwconfig tells me
>
> wifi0     IEEE 802.11b  ESSID:"test"
>            Mode:Master  Access Point: Not-Associated  
Bit Rate:11 Mb/s
>            Sensitivity=1/3
>            Retry min limit:8   RTS thr:off   Fragment
thr:off
>            Encryption key:off
>            Power Management:off
>
> eth0      IEEE 802.11b  ESSID:"test"
>            Mode:Master  Access Point: Not-Associated  
Bit Rate:11 Mb/s
>            Sensitivity=1/3
>            Retry min limit:8   RTS thr:off   Fragment
thr:off
>            Encryption key:off
>            Power Management:off
>            Link Quality:0  Signal level:0  Noise
level:0
>            Rx invalid nwid:0  Rx invalid crypt:0  Rx
invalid frag:0
>            Tx excessive retries:0  Invalid misc:0  
Missed beacon:0
>
> but no wlan0 interfaces exist? i remember that the
hostap driver creates
> both wifi0 and wlan0, and then one have to configure
wlan0 and forget
> about wifi0.. but now i don't have wlan0.. i've
blacklisted orinoco_pci,
> so now the only module that is loaded at boot is hostap
(and
> hostap_pci).. do i miss something? here is the output
of dmesg:
>
> [rootPCGUEST9G9 ~]# dmesg | grep hostap
> hostap_pci: 0.4.4-kernel (Jouni Malinen
<jkmalinecc.hut.fi>)
> hostap_pci: Registered netdevice wifi0
>
> [rootPCGUEST9G9 ~]# dmesg | grep wifi0
> hostap_pci: Registered netdevice wifi0
> wifi0: Original COR value: 0x20
> wifi0: NIC: id=0x8022 v1.0.0
> wifi0: PRI: id=0x15 v1.1.1
> wifi0: STA: id=0x1f v1.7.4
> wifi0: Intersil Prism2.5 PCI: mem=0xe0500000, irq=11
> wifi0: registered netdevice wlan0
>
> what this last line means? and what is instead that
eth0 that iwconfig
> shows?
>
> thanx a lot
> Rob
>
> _______________________________________________
> HostAP mailing list
> HostAPshmoo.com
> http:/
/lists.shmoo.com/mailman/listinfo/hostap
>


_______________________________________________
HostAP mailing list
HostAPshmoo.com
http:/
/lists.shmoo.com/mailman/listinfo/hostap

Re: wifi0 exist but wlan0 no
country flaguser name
United States
2007-05-25 14:01:04
On Fri, 2007-05-25 at 21:01 +0200, ahuguetcttc.es
wrote:
> I'd say that your dmesg output is not enough detailed,
you filtered it too
> much ;)
> > eth0      IEEE 802.11b  ESSID:"test"
> >            Mode:Master

Please write below the quoted parts of the original e-mail
and don't
quote the whole message.  This way you may actually notice
something
interesting.  Such as the fact that eth0 is in Master mode,
which pretty
much exonerates the orinoco driver, unless the original
poster was using
HermesAP 

-- 
Regards,
Pavel Roskin

_______________________________________________
HostAP mailing list
HostAPshmoo.com
http:/
/lists.shmoo.com/mailman/listinfo/hostap

Re: wifi0 exist but wlan0 no
country flaguser name
Italy
2007-05-28 03:07:37
Pavel Roskin ha scritto:
> On Fri, 2007-05-25 at 20:15 +0200, Roberto Guida
wrote:
>> what this last line means? and what is instead that
eth0 that
>> iwconfig 
>> shows?
> 
> Considering that it's in Master mode, it must be wlan0
renamed to eth0
> by some userspace program.  In Fedora, interfaces are
matched by MAC
> address, so if would happen if you have a file
> matching /etc/sysconfig/network-scripts/ifcfg-* that
contains
> 
> HWADDR=your_mac
> DEVICE=eth0
> 
> It may be different on other distros.  Check also
/etc/iftab - it's used
> by ifrename for renaming the interfaces.

In fact in /etc/sysconfig/network-scripts/ there is the file
ifcfg-eth0
and there isn't any ifcfg-wlan0..
but in ifcfg-eth0 there isn't any line such
HWADDR=mac_address..

Moreover /etc/iftab reads
eth0 mac 00:02:8a:a0:83:d6
eth1 mac 00:0a:e4:48:42:7f

So I edit /etc/iftab in
wlan0 mac 00:02:8a:a0:83:d6
eth1 mac 00:0a:e4:48:42:7f

then i've renamed /etc/sysconfig/network-scripts/ifcfg-eth0
in
/etc/sysconfig/network-scripts/ifcfg-wlan0 adding also the
line
HWADDR=00:02:8a:a0:83:d6 in it.

Anyway nothing has changed...
Before I've tried to use the ifrename command but:
[rootPCGUEST9G9 rob]# ifrename -i 00:02:8a:a0:83:d6 -n
wlan0
Error: cannot change name of 00:02:8a:a0:83:d6 to wlan0: No
such device

Any idea of what i can try more?

Thanx
Rob

_______________________________________________
HostAP mailing list
HostAPshmoo.com
http:/
/lists.shmoo.com/mailman/listinfo/hostap

Re: wifi0 exist but wlan0 no
country flaguser name
Italy
2007-05-28 03:13:10
ahuguetcttc.es ha scritto:
> I'd say that your dmesg output is not enough detailed,
you filtered it too
> much ;)
> 
> I would, in any case, also blacklist the orinoco module
(orinoco.ko), and
> not only the orinoco_pci.
> I guess that should then work (upon system restart)
> 

I've added these lines to my /etc/modprobe.conf

blacklist orinoco
blacklist orinoco_pci

Do you think it's enough or should I move out the file
orinoco.ko ?

Thanx, Rob
_______________________________________________
HostAP mailing list
HostAPshmoo.com
http:/
/lists.shmoo.com/mailman/listinfo/hostap

Re: wifi0 exist but wlan0 no
user name
2007-05-28 06:42:55
If under debian you will have to change the name into: 

/etc/udev/rules.d/z25_persistent-net.rules

Hope it helps,
Sebastian

On Monday 28 May 2007 05:07, Roberto Guida wrote:
> Pavel Roskin ha scritto:
> > On Fri, 2007-05-25 at 20:15 +0200, Roberto Guida
wrote:
> >> what this last line means? and what is instead
that eth0 that
> >> iwconfig
> >> shows?
> >
> > Considering that it's in Master mode, it must be
wlan0 renamed to eth0
> > by some userspace program.  In Fedora, interfaces
are matched by MAC
> > address, so if would happen if you have a file
> > matching /etc/sysconfig/network-scripts/ifcfg-*
that contains
> >
> > HWADDR=your_mac
> > DEVICE=eth0
> >
> > It may be different on other distros.  Check also
/etc/iftab - it's used
> > by ifrename for renaming the interfaces.
>
> In fact in /etc/sysconfig/network-scripts/ there is the
file ifcfg-eth0
> and there isn't any ifcfg-wlan0..
> but in ifcfg-eth0 there isn't any line such
HWADDR=mac_address..
>
> Moreover /etc/iftab reads
> eth0 mac 00:02:8a:a0:83:d6
> eth1 mac 00:0a:e4:48:42:7f
>
> So I edit /etc/iftab in
> wlan0 mac 00:02:8a:a0:83:d6
> eth1 mac 00:0a:e4:48:42:7f
>
> then i've renamed
/etc/sysconfig/network-scripts/ifcfg-eth0 in
> /etc/sysconfig/network-scripts/ifcfg-wlan0 adding also
the line
> HWADDR=00:02:8a:a0:83:d6 in it.
>
> Anyway nothing has changed...
> Before I've tried to use the ifrename command but:
> [rootPCGUEST9G9 rob]# ifrename -i 00:02:8a:a0:83:d6 -n
wlan0
> Error: cannot change name of 00:02:8a:a0:83:d6 to
wlan0: No such device
>
> Any idea of what i can try more?
>
> Thanx
> Rob
>
> _______________________________________________
> HostAP mailing list
> HostAPshmoo.com
> http:/
/lists.shmoo.com/mailman/listinfo/hostap
_______________________________________________
HostAP mailing list
HostAPshmoo.com
http:/
/lists.shmoo.com/mailman/listinfo/hostap

Re: wifi0 exist but wlan0 no
country flaguser name
Spain
2007-05-28 06:51:19
> I've added these lines to my /etc/modprobe.conf
>
> blacklist orinoco
> blacklist orinoco_pci
>

Since I'm not an expert, I'm not sure that modprobe.conf is
the file to
put the blacklist commands, and have them working ok.

So far, I put the blacklist commands in the file blacklist,
to be found at
/etc/modprobe.d/blacklist

# Blacklisting orinoco since it's the one Ubuntu loads as
default
blacklist orinoco
blacklist orinoco_cs

Those are the lines I added there, to prevent Ubuntu from
loading orinoco
instead of HostAP on the wireless cards having Prism
chipset.

I hope this works for you, if not, I'm out of ideas.


_______________________________________________
HostAP mailing list
HostAPshmoo.com
http:/
/lists.shmoo.com/mailman/listinfo/hostap

[1-8]

about | contact  Other archives ( Real Estate discussion Medical topics )