View previous topic :: View next topic |
Author |
Message |
bosele Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 02 Apr 2005 Posts: 90
|
Posted: Mon Apr 04, 2005 2:45 pm Post subject: [solved]progress! please wpc54g wireless help |
|
|
lynksys wpc54g pcmcia card
eth0 wired works /wlan0 does not
fresh install 2005.0 2.6.11-gentoo-r3 (havn't changed anything)
what i've done:
emerge wireless-tools
emerge ndiswrapper
installed driver bcmwl5 (for bcmwl5a everyting is the same)
ndiswrapper -l
installed ndis drivers:
bcmwl5 driver present, hardware present
dmesg
ndiswrapper: using irq 11
wlan0: ndiswrapper ethernet divice 00:12:17:41:93:9f using driver bcmwl5
wlan0: encryption modes supported : WEP, WPA with TKIP, WPA with AES/CCMP
ndiswrapper: driver bcmwl5 (Broadcom,10/28/2003, 3.40.25.3) added
ndiswrapper (iw_set_encr:699): adding encryption key 1 failed (C0010015)
<changing order mode> "i've tried all commands from
https://forums.gentoo.org/viewtopic-t-125627-postdays-0-postorder-asc-highlight-bcmwl5-start-0.h
tml but in don't remember the order in which i've tried them, never had any results"
ifconfig wlan0 up
iwconfig wlan0 key 1996166911 essid Miless
iwconfig wlan0 channel 13
dhcpcd wlan 0
</changing order mode>
wlan0 IEEE 809.11g ESSID:off/any
Mode:Managed Frequency:2.472 GHZ Access Point 00:00:00:00:00:00
Bit Rate:54 Mb/s Tx-power:25 dBm
RTS thr:2347 B Fragment thr:1346 B
Encryption key:1996-1669-19 Security mode:restricted
Power Management:off
Link Quality:100/100 Signal level:-10 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:13778 Missed beacon:0
i cannot get the essid to change or find an access point
scanning for one never produces any result
my wireless card is on judging by the lights (both lights are on--link never flashes or
anything so, i'm afraid, no link)--. without modprobe ndiswrapperonly the power light comes on
now for my question
basically what do i have to do to get this to work?
:HOWTO: Ndiswrapper Wireless Setup" warned it was outdated so i have not (yet)DISABLED support
for SMP in kernel.do i still have to do this with my kernel and latest ndiswrapper?
can i get it working without editing /etc/modules or /etc/init.d or anything (i want to test
first before i loose track of everyting i've edited)
in what order do i have to use the commands for iwconfig?
would setting my ap to allow everyone without encryption, default essid make any difference?
(hasn't in the past btw)
any other thoughts?
and one more thing, since i use modprobe my system doesn't reboot correctly anymore.
root
reboot
system turns off
restarts but nothing happens (exept for a fan that goes nuts)
have to kill the power to boot correctly
and i can't seem to open teh wireless wiki page, which doesn't help
Last edited by bosele on Tue Apr 05, 2005 2:25 pm; edited 3 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
golgo13 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/309629628422ab8c9a4528.jpg)
Joined: 24 Nov 2004 Posts: 158
|
Posted: Mon Apr 04, 2005 6:23 pm Post subject: |
|
|
As root, after you type in and see if you get something like : Code: | wlan0 Link encap:Ethernet HWaddr 00:06:25:42:BA:D8
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2585060 errors:0 dropped:0 overruns:0 frame:0
TX packets:5048305 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:183448011 (174.9 Mb) TX bytes:2914700838 (2779.6 Mb)
Memory:30800000-30801fff |
This shouldn't matter but try stopping eth0 first with I also noticed that you didn't put your essid in quotes. Here's the set of commands I normally use in order Code: |
ifconfig wlan0 up
iwconfig wlan0 essid "your ap here" key HEX KEY WITHOUT QUOTES HERE
dhcpcd -k wlan0
dhcpcd -n wlan0
|
In very simple terms "dhcpcd -k wlan0" clears any ip address already assigned and -n queries the dhcp server for a new ip address. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bosele Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 02 Apr 2005 Posts: 90
|
Posted: Mon Apr 04, 2005 9:40 pm Post subject: |
|
|
thanks for your reply, i've tried to find the source of my misery by reading about 85 pages of wireless related stuff, and now i'm about ready to get clinically depressed.
Right now im seeing stars so the descriptions that follow might be a bit unclear.
1 for the life of me i cannot get ndiswrapper to start on boot anymore (idiots guide please)
2might something like "pcmcia-cs vs. hotplug" be at the root of my troubles *i think i've read something to this effect, but i can't be sure anymore* -my pcmcia card starts but doesn't seem to do anything productive, drivers are loaded hardware found- but it looks like something is "in between the two"
3 against my initial better judgement i've edited just about any file mentioned in any post and i've lost track.
What is the best way to just tear out everything network related, so i can start over.
4 what and in what order (and how if you have time) should i emerge to start correctly after "default" 2.6.11-gentoo-r3 setup (handbook 2005.0)
obviously i need help, so please |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
golgo13 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/309629628422ab8c9a4528.jpg)
Joined: 24 Nov 2004 Posts: 158
|
Posted: Tue Apr 05, 2005 12:02 am Post subject: |
|
|
I've emerged the following programs in order coldplug, hotplug, wireless-tools, and ndiswrapper.
Just for testing you might also want to turn encryption of at the AP and start from there.
I've just recently managed to get my Linksys card working so by no means am I an expert. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bosele Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 02 Apr 2005 Posts: 90
|
Posted: Tue Apr 05, 2005 8:41 am Post subject: |
|
|
could you please tell me:
-IRQ your card uses
-Does card manager start when you boot? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bosele Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 02 Apr 2005 Posts: 90
|
Posted: Tue Apr 05, 2005 9:30 am Post subject: |
|
|
after removing pcmcia-cs and some other stuff
iwconfig:
wlan0 IEEE 802.11g ESSID: "Hello"
so progress at last
ah it even pings my router so i guess im good to go here
last question: please tell me from start to finish how to get ndwrapper to load on boot, i'm at a loss here. i just can't get it to work |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bosele Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 02 Apr 2005 Posts: 90
|
Posted: Tue Apr 05, 2005 9:35 am Post subject: |
|
|
i do not have /etc/module.autoload.d/ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Rad Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 11 Feb 2004 Posts: 401 Location: Bern, Switzerland
|
Posted: Tue Apr 05, 2005 9:44 am Post subject: |
|
|
bosele wrote: | i do not have /etc/module.autoload.d/ |
/etc/modules.autoload.d/kernel-2.6 belongs to sys-apps/baselayout... now if you don't have it, either backup /etc (use cp -rfpv) and re-emerge baselayout or just create the directory (mkdir) and file (nano/vim/touch) manually. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|