Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
stuck with 3Com 3CRSHPW196 wlan card [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Seron
Apprentice
Apprentice


Joined: 31 Dec 2002
Posts: 293
Location: Malmö, Sweden

PostPosted: Fri Sep 16, 2005 7:52 pm    Post subject: stuck with 3Com 3CRSHPW196 wlan card [solved] Reply with quote

I been at this card for many hours but still can't quite get it running. Looks like I'm almost there but now I'm stuck. I hope someone here in the forum can help me. It seems to me that the PCMCIA part is working, I have another card, an IBM 10/100 EtherJet CardBus adapter which works. It is a 32-bit card whereas the 3Com card is 16-bit. Could it make a difference?

On to the problem. I get these errors when I try to start the card:
Code:
sterna ~ # atmel_fwl eth3 /lib/firmware/atmel_at76c502_3com.bin
atmel_fwl: eth3 is not an Atmel interface.

sterna ~ # /etc/init.d/net.eth3 start
 * Starting eth3
 *   Loading networking modules for eth3
 *     modules: wpa_supplicant essidnet iptunnel ifconfig dhcpcd apipa
 *       wpa_supplicant provides wireless
 *       ifconfig provides interface
 *       dhcpcd provides dhcp
 *   Bringing up eth3
 *     dhcp
 *       eth3 does not exist                                     [ !! ]
The reason i use eth3 is that I have other network cards configured for eth0-2, which all work, eth1 beeing a wlan card.

I have no idea what to do next. One thing that I don't understand is how the system knows which network card to map to which ethX. If I have more than one card active how does it know which one is eth0 and which one is eth2? The configuration for both of them look exactly the same (see /etc/conf.d/net below). It somehow magically seems to select the right one. I did configure them in the order eth0-eth2 but does that matter?

Any ideas?

Below are things that might be relevant.
Note
eth1 is not the 3Com card, it is the built in wireless card.
eth2 is not visible in the lists below because the card is not present.
Code:
sterna ~ # uname -pr
2.6.12-gentoo-r10 Intel(R) Pentium(R) M processor 1400MHz

sterna ~ # ifconfig -a
dummy0    Link encap:Ethernet  HWaddr F2:39:30:DA:E3:AF
          BROADCAST NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0      Link encap:Ethernet  HWaddr 00:BA:E4:39:36:A6
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:11 Base address:0x800

eth1      Link encap:Ethernet  HWaddr 00:0D:F5:AE:09:A0
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:11 Base address:0x2000 Memory:e0200000-e0200fff

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

sterna ~ # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

dummy0    no wireless extensions.

eth1      radio off  ESSID:"someessid"       # note this is not the 3Com card
          Mode:Managed  Channel:0  Access Point: 00:00:00:00:00:00
          Bit Rate=0 kb/s   Tx-Power=off
          Retry limit:7   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

sterna ~ # cardctl status                   # the card is detected
Socket 0:
  no card
Socket 1:
  3.3V 16-bit PC Card
  function 0: [ready]

sterna ~ # cardctl info
PRODID_1=""
PRODID_2=""
PRODID_3=""
PRODID_4=""
MANFID=0000,0000
FUNCID=255
PRODID_1="3Com"
PRODID_2="3CRSHPW_96 Wireless LAN PC Card"
PRODID_3=""
PRODID_4=""
MANFID=0101,0696
FUNCID=6

sterna ~ # cat /var/run/stab
Socket 0: empty
Socket 1: 3Com 3CRSHPW_96 Wireless LAN PC Card

sterna ~ # lsmod | grep atmel
atmel                  34436  0
firmware_class          7808  2 atmel,ipw2200

sterna ~ # lsmod | grep pcmcia
pcmcia                 21320  4

sterna ~ # ll /etc/init.d/net.*
lrwxrwxrwx  1 root   6 14 sep 13.29 /etc/init.d/net.eth0 -> net.lo*
lrwxrwxrwx  1 root   8 16 sep 01.31 /etc/init.d/net.eth1 -> net.eth0*
lrwxrwxrwx  1 root   8 16 sep 12.30 /etc/init.d/net.eth2 -> net.eth0*
lrwxrwxrwx  1 root   8 16 sep 13.10 /etc/init.d/net.eth3 -> net.eth0*
-rwxr-xr-x  1 root 24K 14 sep 13.29 /etc/init.d/net.lo*
/etc/conf.d/net
Code:
config_eth0=( "dhcp" )
dhcp_eth0="release nodns nontp nonis"

config_eth1=( "dhcp" )
dhcp_eth1="release nodns nontp nonis"
modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dipw"
wpa_timeout_eth1=60

config_eth2=( "dhcp" )
dhcp_eth0="release nodns nontp nonis"

config_eth3=( "dhcp" )
dhcp_eth3="release nodns nontp nonis"
modules=( "wpa_supplicant" )
wpa_supplicant_eth3="-Datmel"
wpa_timeout_eth3=60
/etc/wpa_supplicant.conf
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

network={
        ssid="myessid"
        priority=0
        key_mgmt=NONE
}
/etc/pcmcia/atmel.conf
Code:
device "atmel_cs"
  class "network" module "atmel_cs"

card "3Com 3CRSHPW_96 Wireless LAN PC Card"
  manfid 0x0101, 0x696
  bind "atmel_cs"


[solved:] there are two drivers for the Atmel at76c50x in the kernel. both must be selected.
_________________
man cannot be brave without being afraid


Last edited by Seron on Fri Sep 16, 2005 10:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54848
Location: 56N 3W

PostPosted: Fri Sep 16, 2005 8:14 pm    Post subject: Reply with quote

Seron,

The logical names eth0, eth1 ... are allocated in the order in which the interfaces are initialised.
When you remove the card that is usually eth2, eth3 will be discovered as eth2, unless you remove eth2 after all four interfaces have been configured,

Your
Code:
sterna ~ # atmel_fwl eth3 /lib/firmware/atmel_at76c502_3com.bin
atmel_fwl: eth3 is not an Atmel interface.
fails because there is no eth3.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Seron
Apprentice
Apprentice


Joined: 31 Dec 2002
Posts: 293
Location: Malmö, Sweden

PostPosted: Fri Sep 16, 2005 8:33 pm    Post subject: Reply with quote

I see. Then it must be that the card is not fully discovered. I write fully because it is discovered by cardctl but the interface is not listed by iwconfig. How can I know if eth2 is correct in
Code:
sterna ~ # atmel_fwl eth2 /lib/firmware/atmel_at76c502_3com.bin
Do I just pick the next free ethX in line listed by iwconfig or is there another way to find out the interface?

I don't understand the order in which these things should come. If I modprobe the nic driver should the interface become available even though the card firmware has not yet been loaded? Then it would be obvious which interface to use for the firmware. Or is it supposed to be the other way, to load the fw into the interface to make the interface available?

[EDIT: typo]
_________________
man cannot be brave without being afraid
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum