Re: eth2: unknown interface: No such device

"Fabio Antonini" <[email protected]>
Newsgroups gmane.linux.drivers.atmel-wlan
Message-ID <[email protected]>
Fabio Antonini writes: 

> Oliver Kurth writes:  
> 
>> On Mon, Jul 28, 2003 at 02:14:28PM +0200, Fabio Antonini wrote:
>>> Hello all
>>> I'testing the at76c503 driver on a WUSB11 v.2.6 connected (via USB) on a 
>>> PPC based board. The setup is the following:   
>>> 
>>> the file /etc/network/interfaces contain the following lines to set the 
>>> wireless network interface:   
>>> 
>>> auto eth2
>>> iface eth2 inet static
>> 
>>> 
>>> If I try to configure eth2 by hand with iwconfig
>>> I receive the following message
>>> eth2:   no such device
>>> The eth2 interface is unknown. Probably I haven't set up correctly the 
>>> eth2 and this is a "absolute beginner" question and this isn't the most 
>>> right place where to ask for help about this item, but I hope that 
>>> anyone could help me. Any suggest will be appreciated.
>>> Thank you for your attention.
>> 
>> The device gets the name wlan%d, ie. the first one gets the name wlan0 - 
>> not
>> eth%d.  
>> 
>> Unless you used the 'netdev_name' module parameter.  
>> 
>> Greetings,
>> oliver  
>> 
>> -- 
>>   .''`.
>>  : :' :    Oliver Kurth [email protected]
>>  `. `'           Debian GNU/Linux maintainer - www.debian.org
>>    `-
> 
> The problem appears also with wlan0. I've changed everywhere eth2 with 
> wlan0 but the problem is present yet. Can be a problem that my board has 
> already two ethernet devices configured??? how many network adapter can 
> the linux handle??? is a silly question??
> greetings
> Fabio  
> 
> Fabio Antonini
> Kasko Networks S.r.l.
> Via Patini 46 67100 L'Aquila - Italy
> Ph/Fax +3986265562
> e-mail: [email protected] 
> _______________________________________________
> Atmel-wlan-usb mailing list
> Atmel-wlan-usb-ikZNBd7uB5wQUIZIPwn63sWURRETrGNnG9Ur7JDdleE@public.gmane.org
> https://iprserv.jura.uni-leipzig.de/mailman/listinfo/atmel-wlan-usb

Okay now it works: the wlan0 interface has been recognized.
but some problem still arises.
if I get the command iwconfig to configure I read strange values for the bit 
rate and the channel!!
take a look: 

sh-2.04# iwconfig wlan0 channel 6 mode ad-hoc essid linksys
sh-2.04# iwconfig wlan0
wlan0     IEEE 802.11-DS  ESSID:"linksys"  Nickname:"okuwlan"
         Mode:Ad-Hoc  Channel:2.11367e-314  Cell: 00:00:00:00:00:00
         Bit Rate:1.89593e-77Mb/s
         RTS thr=1536 B   Fragment thr=1536 B
         Encryption key:off
         Power Management:off
         Link Quality:0  Signal level:50  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 

sh-2.04# cat /proc/net/wireless
Inter-| sta-|   Quality        |   Discarded packets               | Missed
face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon
wlan0: 0000    0    50     0        0      0      0      0      0        0
sh-2.04# cat /proc/bus/usb/devices
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB PHCI Root Hub
S:  SerialNumber=c37bb400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=fe(app. ) Sub=01 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=077b ProdID=2219 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=ff Driver=at76c503-rfmd
E:  Ad=85(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
sh-2.04# s 

The good news is that at76c503-rfmd driver has been detected the ATmel chip 
inside the Lynksys WUSB11 network adapter ( Vendor=077b ProdID=2219).
How can I set the IP address for this interface??
than you a lot!
fabio 

Fabio Antonini
Kasko Networks S.r.l.
Via Patini 46 67100 L'Aquila - Italy
Ph/Fax +3986265562
e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.