View previous topic :: View next topic |
Author |
Message |
ElementCy n00b
Joined: 01 Apr 2003 Posts: 5
|
Posted: Wed Apr 02, 2003 4:15 pm Post subject: yet another wpc11 question. |
|
|
Ok. This is starting to make me go crazy. I have pcmcia-cs installed, runs at startup, but gets this msg every time:
modprobe: Can't locate module ds.
* Starting pcmcia... [ok]
cardmgr[5800]: watching 2 sockets.
when i do a /sbin/cardctl ident
it comes up with the correct information for my wpc11.
I'm trying to follow this site for section A: http://linux.oldcrank.com/tips/wpc11/
but when i do a /sbin/lsmod
orinoco_cs, orinoco, hermes do not show...in fact nothing shows.
and when i do a /sbin/modprobe for each one, it can't locate that module.
the .o files are in my /lib/modules/(kernel im using)/kernel/drivers/net/wireless
I'm at a lost on where to go next. My eth0 is a built in nic, and works fine. I just want to get this pcmcia wireless nic working...I hate cables. =)
Thanks in advance. |
|
Back to top |
|
|
spooon n00b
Joined: 18 Mar 2003 Posts: 71
|
Posted: Wed Apr 02, 2003 7:26 pm Post subject: |
|
|
If your wireless card is eth1, have you copied/created a net.eth1 script in /etc/init.d? Also, do you have your /etc/pcmcia/wireless.opts setup properly?
You might want to just try re-emerging pcmcia-cs for the sake of it. |
|
Back to top |
|
|
ElementCy n00b
Joined: 01 Apr 2003 Posts: 5
|
Posted: Wed Apr 02, 2003 7:51 pm Post subject: |
|
|
Ok, I re-emerged pcmcia-cs. I do not have an eth1 listed in my ifconfig. Even did ifconfig -a, and just eth0 and lo. Before doing a re-emerged, I recompiled kernel with no pcmcia support like I read in one of the posts on this forum, or was that not a good thing to do? I am either totally lost because of this lack of sleep, or I am just overlooking something that is completely simple.
I haven't made a net.eth1 script yet. Tried that before, and said it couldn't find eth1. If ya need more info, just tell me, I am still trying to get the hang of this... |
|
Back to top |
|
|
yokem55 Guru
Joined: 18 Apr 2002 Posts: 360 Location: Oregon
|
Posted: Thu Apr 03, 2003 7:00 am Post subject: |
|
|
If you are using a 2.4 series kernel you might want to try to emerge linux-wlan-ng and use the wlan drivers instead of the orinoco_cs drivers. These drivers will create a net device called wlan0, so you will want to copy your net.eth0 init script as net.wlan0 and have that start up.
Complete howto:
Build kernel with no pcmcia support, but include hotplug support, and under networking devices have support for "Wireless LAN (non-hamradio)" checked yes, but with no drivers built.
Then, emerge linux-wlan-ng. This should build pcmcia-cs as a dependency, so that will be installed as a dependency. Once this is done, copy your /etc/init.d/net.eth0 script as /etc/init.d/net.wlan0. Then edit you /etc/conf.d/net file and add a line for iface_wlan0="dhcp" if you use dhcp for that card. |
|
Back to top |
|
|
ElementCy n00b
Joined: 01 Apr 2003 Posts: 5
|
Posted: Thu Apr 03, 2003 1:57 pm Post subject: |
|
|
Ok. I recompiled kernel withought pcmcia, and added just the wireless lan (non-hamradio). I emerged pcmcia-cs and linux-wlan-ng. I started up pcmcia and the wlan. But the wlan0 is nowhere to be found. I figured it was because I didn't start /etc/init.d/wlan, but when I start that, says:
Starting WLAN Devices: modprob: Can't locate module p80211
Failed to load p80211.o.
I am trying to figure out why it is failing.
when i run the net.wlan0 i get:
*Bringing wlan0 up...
SIOCSIFADDR: No such device
wlan0: unknown interface: No such device
SIOCSIFBRADDR: No such device
wlan0: uknown inerface: No such device
SIOCSIFNETMASK: No such device
* Failed to bring up wlan0 up.
I am using the gentoo 2.4.20-r2 kernel btw. |
|
Back to top |
|
|
ElementCy n00b
Joined: 01 Apr 2003 Posts: 5
|
Posted: Thu Apr 03, 2003 2:29 pm Post subject: |
|
|
Ok..I might be on a lead here. My modprobe is still looking in my old kernel lib dir. I am going to re-emerge the kernel sources again and see if that fixes my problem. heh. |
|
Back to top |
|
|
ElementCy n00b
Joined: 01 Apr 2003 Posts: 5
|
Posted: Thu Apr 03, 2003 6:56 pm Post subject: |
|
|
Ok, I don't know how I did it, but I got it to work. For starters, I didn't mount boot before copying the new kernel image over (stupid mistake). I emerged pcmcia-cs and wlan. wlan wont start, pcmcia-cs did. Lo and behold, I now have eth1 in my ifconfig -a. edited the /etc/conf.d/net and made a /etc/init.d/net.eth1 and boom it is working. I still don't know how the hell it just worked...heh. Anyways, thanks for the help. Next time I gotta get some good sleep before doing this stuff. ^_^ |
|
Back to top |
|
|
|