Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Ndiswrapper Wireless Setup
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 9, 10, 11, 12, 13  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
dimopoulos
n00b
n00b


Joined: 17 Mar 2003
Posts: 64
Location: Vienna, Austria

PostPosted: Thu Nov 25, 2004 1:47 am    Post subject: Reply with quote

I reformatted my laptop recently and installed the dev-sources kernel 2.6.9-r4. When I tried to install the ndiswrapper
which used to work perfectly on the 2.6.8 but I get an error now. The kernel module for Wireless is enabled.

Here is what I get

Code:

delta nikos # emerge ndiswrapper
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/ndiswrapper-0.11 to /
>>> md5 src_uri ;-) ndiswrapper-0.11.tar.gz
>>> Unpacking source...
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 * Building for Linux 2.6.9-gentoo-r4 found in /usr/src/linux
>>> Unpacking ndiswrapper-0.11.tar.gz to /var/tmp/portage/ndiswrapper-0.11/work
>>> Source unpacked.
make -C driver
make[1]: Entering directory `/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make -C //usr/src/linux M=/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver \
        NDISWRAPPER_VERSION=0.11 \
        EXTRA_VERSION= modules
make[2]: Entering directory `/usr/src/linux-2.6.9-gentoo-r4'
  CC [M]  /var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/wrapper.o
  CC [M]  /var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/iw_ndis.o
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/iw_ndis.c: In function `wpa_set_key':
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/iw_ndis.c:1342: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/iw_ndis.c:1344: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/iw_ndis.c:1347: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/iw_ndis.c:1350: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/iw_ndis.c: In function `wpa_disassociate':
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/iw_ndis.c:1488: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/iw_ndis.c: In function `wpa_associate':
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/iw_ndis.c:1505: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/iw_ndis.c:1507: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/iw_ndis.c: In function `wpa_deauthenticate':
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/iw_ndis.c:1629: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
  CC [M]  /var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/pe_loader.o
  CC [M]  /var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/ntoskernel.o
  CC [M]  /var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/ndis.o
  CC [M]  /var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/misc_funcs.o
  CC [M]  /var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/proc.o
  CC [M]  /var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/divdi3.o
  CC [M]  /var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/hal.o
  CC [M]  /var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/usb.o
  LD [M]  /var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/ndiswrapper.o
  Building modules, stage 2.
  MODPOST
  CC      /var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/ndiswrapper.mod.o
  LD [M]  /var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/ndiswrapper.ko
make[2]: Leaving directory `/usr/src/linux-2.6.9-gentoo-r4'
make[1]: Leaving directory `/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver'
make -C utils
make[1]: Entering directory `/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/utils'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
cc -Wall -g -DNDISWRAPPER_VERSION=\"0.11\"    -c -o loadndisdriver.o loadndisdriver.c
gcc -o loadndisdriver loadndisdriver.o
make[1]: Leaving directory `/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/utils'
>>> Test phase [not enabled]: net-wireless/ndiswrapper-0.11
>>> Install ndiswrapper-0.11 into /var/tmp/portage/ndiswrapper-0.11/image/ category net-wireless
man:
prepallstrip:
strip:
strip:
   sbin/loadndisdriver
>>> Completed installing into /var/tmp/portage/ndiswrapper-0.11/image/
>>> Merging net-wireless/ndiswrapper-0.11 to /
--- /etc/
>>> /etc/ndiswrapper/
--- /etc/modules.d/
>>> /etc/modules.d/ndiswrapper
--- /lib/
--- /lib/modules/
--- /lib/modules/2.6.9-gentoo-r4/
--- /lib/modules/2.6.9-gentoo-r4/misc/
>>> /lib/modules/2.6.9-gentoo-r4/misc/ndiswrapper.ko
--- /usr/
--- /usr/sbin/
>>> /usr/sbin/ndiswrapper
>>> /usr/sbin/ndiswrapper-buginfo
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/ndiswrapper-0.11/
>>> /usr/share/doc/ndiswrapper-0.11/README.gz
>>> /usr/share/doc/ndiswrapper-0.11/INSTALL.gz
>>> /usr/share/doc/ndiswrapper-0.11/AUTHORS.gz
>>> /usr/share/doc/ndiswrapper-0.11/ChangeLog.gz
--- /usr/share/man/
--- /usr/share/man/man8/
>>> /usr/share/man/man8/ndiswrapper.8.gz
--- /sbin/
>>> /sbin/loadndisdriver
 * Checking kernel module dependencies
 *
 * ndiswrapper requires .inf and .sys files from a Windows(tm) driver
 * to function. Download these to /root for example, then
 * run 'ndiswrapper -i /root/foo.inf'. After that you can delete them.
 * They will be copied to the proper location.
 * Once done, please run 'update-modules'.
 *
 * As of release 0.9, you no longer have to call 'loadndiswrapper'
 * explicitly.  The module will handle it automatically.
 *
 * check http://ndiswrapper.sf.net/supported_chipsets.html for drivers
 * Look for the following on that page for your driver:
 * 14e4:4320 1106:3065
 *
 * Please have a look at http://ndiswrapper.sourceforge.net/wiki/
 * for the FAQ, HowTos, Tips, Configuration, and installation
 * information.
 *
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies ...                                                                            [ ok ]
>>> net-wireless/ndiswrapper-0.11 merged.
>>> Recording net-wireless/ndiswrapper in "world" favorites file...

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


lspci gives:

Code:

0000:00:09.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)


Installing the driver looks OK

Code:

delta nikos # ndiswrapper -l
Installed ndis drivers:
bcmwl5a driver present, hardware present


but when I try to load ndiswrapper it complains

Code:

delta nikos # modprobe ndiswrapper
FATAL: Module ndiswrapper not found.


depmode -a gives nothing and /lib/modules/`uname -r` gives

Code:

delta nikos # /lib/modules/`uname -r`
bash: /lib/modules/2.6.9-gentoo-r4-delta.niden.net: is a directory


Any help/pointers is more than welcome.
_________________
Custom PHP programming: http://niden.net
Back to top
View user's profile Send private message
affan
n00b
n00b


Joined: 25 Mar 2004
Posts: 23
Location: Chicago

PostPosted: Thu Nov 25, 2004 1:50 am    Post subject: Reply with quote

Are u sure u are pointing /usr/src/linux to the rite source dir?
Back to top
View user's profile Send private message
dimopoulos
n00b
n00b


Joined: 17 Mar 2003
Posts: 64
Location: Vienna, Austria

PostPosted: Thu Nov 25, 2004 1:59 am    Post subject: Reply with quote

Yep here is the ls of the folder

Code:

delta nikos # ls -la /usr/src/
total 3
drwxr-xr-x   6 root root  256 Nov 25 01:51 .
drwxr-xr-x  13 root root  448 Nov 10 12:52 ..
-rw-r--r--   1 root root    0 Nov  9 14:12 .keep
lrwxrwxrwx   1 root root   31 Nov 20 13:08 linux -> /usr/src/linux-2.6.9-gentoo-r4/
drwxr-xr-x  18 root root 1024 Nov 21 02:40 linux-2.6.9-gentoo-r2
drwxr-xr-x  19 root root 1312 Nov 22 18:06 linux-2.6.9-gentoo-r4
drwxr-xr-x  18 root root  664 Nov 24 03:21 linux-2.6.9-gentoo-r5
drwxr-xr-x  18 root root  664 Nov 25 01:51 linux-2.6.9-gentoo-r6

_________________
Custom PHP programming: http://niden.net
Back to top
View user's profile Send private message
boskone
n00b
n00b


Joined: 14 Jun 2004
Posts: 4

PostPosted: Thu Nov 25, 2004 7:06 am    Post subject: Reply with quote

Worked for a Dell 1000, Truemobile 1300. Had to extract the drivers from Dell's website (it also tries to install) and make sure that dhcpcd was installed. After that, pretty straightforward.

Nice.
Back to top
View user's profile Send private message
spott
n00b
n00b


Joined: 07 Mar 2004
Posts: 74

PostPosted: Sat Nov 27, 2004 7:33 am    Post subject: Reply with quote

I'm trying to boot up a dell latitude with a wireless notebook. Earlier today I emerged ndiswrapper and followed the guide, etc , untill I had "fully" installed it, but I couldn't get wlan0 to show up in ifconfig (just lo) and wasn't sure what to do from there. Since this was on .10, I reemerged with .11 and after some more screwing with it, it decided I couldn't modprobe it anymore. I now get the error

Code:
# modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.9-gentoo-r1/misc/ndiswrapper.ko): Invalid module format


my dmesg come up with:

Code:
ndiswrapper: version magic '2.6.9-gentoo-r1 PENTIUMII gcc-3.3' should be '2.6.9-gentoo-r1 486 gcc-3.3


It sounds like a compatibility thing, but the modprobe was working earlier, and now it won't work with eithor .10 or .11 version of the ndiswrapper. Modprobe does appear to work with other modules. I am currently running genkernel all due to suggestion by previous response, but being a relatively slow machine, it takes a while and since I didn't change anything to do with genkernel, it makes no sense why this would be a solution. Any other suggestions?
Back to top
View user's profile Send private message
davecs
Guru
Guru


Joined: 08 Nov 2003
Posts: 436
Location: Dagenham, GB

PostPosted: Fri Dec 03, 2004 12:59 pm    Post subject: Reply with quote

Lucifeer wrote:

One problem tho, ndiswrapper makes my system really unstable after I modprobe it. Keyboard hangs once a minute if Im writing, producing a long line of letters from the last letter I pressed (if I pressed one when it hangs). Then after it printed that letter 20-30 times I gain back control until it hangs again. Anyone experienced the same thing?


Er... yes I have more or less exactly. I am using ndiswrapper 0.12 with a Prism3 USB (but internal and hardwired) modem. I am going to start a new thread. If you are still following this you can post there. I will call it "Ndiswrapper makes Keyboard hang" and I will quote your post. I'll put it in the "Network and Security" forum.
_________________
Gentoo, PCLOS-pre-81a and Windows 98SE.
Shuttle SN41G2V2
Athlon XP2500+ o/c to 3200+, 2x256Mb Geil Value RAM, FX5200.
Ntlworld cable internet via ethernet
and PC-Chips Desknote Laptop (with PCLOS-pre-81a )
Back to top
View user's profile Send private message
gpetme
n00b
n00b


Joined: 26 Aug 2004
Posts: 27

PostPosted: Mon Dec 06, 2004 3:53 pm    Post subject: intermittent problem with ndiswrapper Reply with quote

I'm using ndiswrapper v0.10. I've got a Dell Latitude D600 with a Trumobile 1450:

abbeyroad ~ # lspci|grep BCM4309
0000:02:03.0 Network controller: Broadcom Corporation BCM4309 802.11a/b/g (rev 03)

I downloaded the driver recommended on the ndiswrapper Wiki for my card (directly from Dell's FTP site) and ndiswrapper sees the driver:

abbeyroad ~ # ndiswrapper -l
Installed ndis drivers:
bcmwl5a hardware present

I had a lot of problems using 0.6 so I waited a while and it seems the ndiswrapper team has fixed quite a few problems in 0.10 because it works a lot better. But, occasionally my system hangs when I boot it up - right at 'loading module ndiswrapper'. So, I have commented out ndiswrapper in /etc/modules.autoload.d/kernel-2.6 for now so it doesn't load the modules automatically. Sometimes if I manually 'modprobe ndiswrapper' my system will completely lock. I found something about this on the ndiswrapper Wiki, and it mentioned to recompile the kernel (i'm using 2.6.9) after disabling CONFIG_4KSTACKS. So, I did that but the problem remains. The ndiswrapper Wiki is currently down - does anyone have any suggestions on how to resolve this problem?

Thanks,

gpetme
Back to top
View user's profile Send private message
tgurr
Retired Dev
Retired Dev


Joined: 27 Jan 2004
Posts: 571
Location: germany

PostPosted: Wed Dec 08, 2004 10:49 pm    Post subject: Reply with quote

Great HOWTO, thanks!

net-wireless/ndiswrapper-0.12

Device: D-Link DWL-122
Chipset: Prism USB
USB-ID: 2001:3700
Driver used: ftp://ftp.dlink.com/Wireless/dwl122/Driver

Just as suggested on the ndiswrapper site, again thanks for the howto i spend ages trying to get the device working with linux-wlan-ng without success and had it working with ndiswrapper within 10minutes!

MfG. Psy
Back to top
View user's profile Send private message
Suicidal
l33t
l33t


Joined: 30 Jul 2003
Posts: 952
Location: /dev/null

PostPosted: Fri Dec 10, 2004 9:35 am    Post subject: Re: intermittent problem with ndiswrapper Reply with quote

gpetme wrote:
I'm using ndiswrapper v0.10. I've got a Dell Latitude D600 with a Trumobile 1450:

abbeyroad ~ # lspci|grep BCM4309
0000:02:03.0 Network controller: Broadcom Corporation BCM4309 802.11a/b/g (rev 03)

I downloaded the driver recommended on the ndiswrapper Wiki for my card (directly from Dell's FTP site) and ndiswrapper sees the driver:

abbeyroad ~ # ndiswrapper -l
Installed ndis drivers:
bcmwl5a hardware present

I had a lot of problems using 0.6 so I waited a while and it seems the ndiswrapper team has fixed quite a few problems in 0.10 because it works a lot better. But, occasionally my system hangs when I boot it up - right at 'loading module ndiswrapper'. So, I have commented out ndiswrapper in /etc/modules.autoload.d/kernel-2.6 for now so it doesn't load the modules automatically. Sometimes if I manually 'modprobe ndiswrapper' my system will completely lock. I found something about this on the ndiswrapper Wiki, and it mentioned to recompile the kernel (i'm using 2.6.9) after disabling CONFIG_4KSTACKS. So, I did that but the problem remains. The ndiswrapper Wiki is currently down - does anyone have any suggestions on how to resolve this problem?

Thanks,

gpetme


I had problems earlier tonight with gentoo-dev-sources-2.6.9-r4 upgraded to dentoo-dev-sources-2.6.9-r9 and it installed perfectly, it even detected someones linksys.
Back to top
View user's profile Send private message
Tankenator
n00b
n00b


Joined: 13 Nov 2004
Posts: 38

PostPosted: Fri Dec 10, 2004 4:09 pm    Post subject: Reply with quote

Works with generic Startek 802.11b w/ realtek 8189L chip, PCI version in desktop. Odd thing is, other computer on the wireless end of link sees it as a 3Com access point, but its not in ap mode......odd.
Back to top
View user's profile Send private message
gpetme
n00b
n00b


Joined: 26 Aug 2004
Posts: 27

PostPosted: Fri Dec 10, 2004 9:01 pm    Post subject: Reply with quote

Should I be using gentoo-dev-sources rather than development-sources? I may try that suggestion out, but I just want to be sure it's the right thing to do - switch kernel packages.

Thanks,

Greg
Back to top
View user's profile Send private message
Suicidal
l33t
l33t


Joined: 30 Jul 2003
Posts: 952
Location: /dev/null

PostPosted: Sat Dec 11, 2004 10:34 pm    Post subject: Reply with quote

gpetme wrote:
Should I be using gentoo-dev-sources rather than development-sources? I may try that suggestion out, but I just want to be sure it's the right thing to do - switch kernel packages.

Thanks,

Greg


Might help, gentoo-dev-sources usually has alot more patchsets for desktop systems not present in other kernels.

Also I re-compiled ndiswrapper with the new kernel, since I think it looked for the /usr/src/linux symlink if I remember correctly.
Back to top
View user's profile Send private message
kamina
Apprentice
Apprentice


Joined: 14 Jun 2004
Posts: 157
Location: Finland

PostPosted: Mon Dec 13, 2004 11:36 am    Post subject: Reply with quote

spott wrote:
I'm trying to boot up a dell latitude with a wireless notebook. Earlier today I emerged ndiswrapper and followed the guide, etc , untill I had "fully" installed it, but I couldn't get wlan0 to show up in ifconfig (just lo) and wasn't sure what to do from there. Since this was on .10, I reemerged with .11 and after some more screwing with it, it decided I couldn't modprobe it anymore. I now get the error

Code:
# modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.9-gentoo-r1/misc/ndiswrapper.ko): Invalid module format


my dmesg come up with:

Code:
ndiswrapper: version magic '2.6.9-gentoo-r1 PENTIUMII gcc-3.3' should be '2.6.9-gentoo-r1 486 gcc-3.3


It sounds like a compatibility thing, but the modprobe was working earlier, and now it won't work with eithor .10 or .11 version of the ndiswrapper. Modprobe does appear to work with other modules. I am currently running genkernel all due to suggestion by previous response, but being a relatively slow machine, it takes a while and since I didn't change anything to do with genkernel, it makes no sense why this would be a solution. Any other suggestions?


I got the same message untill I typed "update-modules"
Back to top
View user's profile Send private message
kamina
Apprentice
Apprentice


Joined: 14 Jun 2004
Posts: 157
Location: Finland

PostPosted: Mon Dec 13, 2004 11:53 am    Post subject: Reply with quote

I got ndiswrapper to seemingly work, but can't get an ip-address, or connect to an accesspoint. I have the RT2500 chipset on my card, and running ndiswrapper 0.10.

After modprobing ndiswrapper I can see wlan0 with iwconfig.

If I try to do iwconfig wlan0 essid my_AP it does not give errors. Still, it shows ESSID:off/any after. If I try iwlist wlan0 scanning (or scan) it does not find any accesspoints. (there's quite a few here on differant channels and none are encrypted). ifconfig wlan0 up does not give errors either, but does not change anything.
Back to top
View user's profile Send private message
JohnerH
Apprentice
Apprentice


Joined: 01 Mar 2004
Posts: 197
Location: Manchester,United Kingdom

PostPosted: Sun Dec 19, 2004 4:34 pm    Post subject: Reply with quote

Can I make a suggestion??

How about posting this how to on the gentoo wiki??

I\d do it but I think the creator should.....

J
_________________
------------------------------------------------------
I think I had a thought once but it Died of Lonelyness...
Back to top
View user's profile Send private message
akebono
n00b
n00b


Joined: 22 Dec 2004
Posts: 1

PostPosted: Wed Dec 22, 2004 9:58 pm    Post subject: Linksys WMP54G Reply with quote

Partial success using Linksys WMP54G v4!

lspci says:
Code:
Network controller: RaLink Ralink RT2500 802.11 Cardbus Reference Card (rev 01)


The ndiswrapper+linksys-windows driver works much better than the linux-native RT2500 (which doesn't even recognize the hardware!)

Now to the problem, I get frequent system freezes when the wireless connection is up in contrast to rock-solid performance when the connection is down.

I'm using gentoo with a 2.6.9 kernel. The driver is the latest available from linksys, other sources seem to produce the same results.

dmesg tells me
Code:
ndiswrapper version 0.10 loaded (preempt=yes,smp=yes)
This driver (rt2500.sys) is not for your hardware. It's likely to work anyway but have it in mind if you have problem.
ACPI: PCI interrupt 0000:01:01.0[A] -> GSI 22 (level, low) -> IRQ 22
ndiswrapper: using irq 22
wlan0: ndiswrapper ethernet device 00:0f:66:f2:3b:50 using driver rt2500.sys
ndiswrapper device wlan0 supports WPA with AES/CCMP and TKIP ciphers
ndiswrapper: driver rt2500.sys (Ralink Technology, Inc.,06/10/2004, 2.02.06.0000) added


getting dhcp to work is occasionally a problem

and the crux of the problem may be indicated here:
Code:
wlan0     IEEE 802.11g  ESSID:"StateSt"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:06:25:F6:90:04
          Bit Rate:11 Mb/s   Tx-Power:20 dBm   Sensitivity=-120 dBm
          RTS thr:2347 B   Fragment thr:2346 B
          Encryption key:off
          Power Management:off
          Link Quality:42/100  Signal level:-46 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:300  Invalid misc:411   Missed beacon:0


Does anyone have suggestions?

Thanks!
akebono
Back to top
View user's profile Send private message
cazze
Apprentice
Apprentice


Joined: 26 Mar 2003
Posts: 155
Location: Brussels - Belgium

PostPosted: Wed Dec 22, 2004 11:19 pm    Post subject: Reply with quote

I don't find it a good id to put it on the gentoo-wiki site, unless the poster got payed for it like the website owners. It is a pay per click site !!!
_________________
Required: Windows 95 or better, so i installed Linux!!!
Back to top
View user's profile Send private message
Bohemian
Apprentice
Apprentice


Joined: 21 Jun 2004
Posts: 255
Location: Deep Space

PostPosted: Thu Dec 23, 2004 4:43 am    Post subject: Reply with quote

UPDATE: I got it running, thanks.
_________________
By all means marry. If you get a good wife, you'll be happy. If you get a bad one, you'll become a philosopher. - Socrates
Back to top
View user's profile Send private message
JohnerH
Apprentice
Apprentice


Joined: 01 Mar 2004
Posts: 197
Location: Manchester,United Kingdom

PostPosted: Thu Dec 23, 2004 12:45 pm    Post subject: Reply with quote

kammicazze wrote:
I don't find it a good id to put it on the gentoo-wiki site, unless the poster got payed for it like the website owners. It is a pay per click site !!!


Pay per click???? Are you mad?? I've been using that site for months now and never had to pay anything, in fact Ive posted stuff in there as well... It's a good all round reference site for gentoo....

You sure we're talking about the same site here?

http://gentoo-wiki.com/

J
_________________
------------------------------------------------------
I think I had a thought once but it Died of Lonelyness...
Back to top
View user's profile Send private message
pilla
Administrator
Administrator


Joined: 07 Aug 2002
Posts: 7692
Location: Pelotas, BR

PostPosted: Mon Dec 27, 2004 12:06 pm    Post subject: Reply with quote

JohnerH wrote:
kammicazze wrote:
I don't find it a good id to put it on the gentoo-wiki site, unless the poster got payed for it like the website owners. It is a pay per click site !!!


Pay per click???? Are you mad?? I've been using that site for months now and never had to pay anything, in fact Ive posted stuff in there as well... It's a good all round reference site for gentoo....

You sure we're talking about the same site here?

http://gentoo-wiki.com/

J


Wierdly enough, I was trying to access the WLAN wiki on it and every time the site sent me to a different, random wiki... something seems to be borked.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
dik
n00b
n00b


Joined: 19 Jul 2003
Posts: 69
Location: London

PostPosted: Tue Jan 11, 2005 10:01 pm    Post subject: Reply with quote

Many thanks for the great guide. Managed to get my broadcom BCM4306 working fine using ndiswrapper.

Many many thanks :)

EDIT: I've merged the new baselayout in order to be able to store my configuration in /etc/conf.d/wireless and set the following

Quote:

essid_wlan0="homelan"
key_pagefault="s:HEX-KEY enc restricted"
preferred_aps=( "homelan" )


When I do:

Code:
/etc/init.d/net.wlan0 start


I get the following

Quote:

$/etc/init.d/net.wlan0 start
* Starting wlan0
* Configuring wireless network for wlan0
* Failed to configure wireless for wlan0


The output of dmesg indicates that the key is having trouble being set.

Quote:
wlan0: setting wep key failed (C0010015)


However, I can do the following manually:

Code:

iwconfig wlan0 key KEYHERE
iwconfig wlan0 essid homelan


Quote:

wlan0 IEEE 802.11g ESSID:"homelan" Nickname:"homelan"
Mode:Managed Frequency:2.462 GHz Access Point: 00:0F:C3:51:4E:AA
Bit Rate=54 Mb/s Tx-Power:14 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:KEY-HERE Security mode:restricted
Power Management:off
Link Quality:100/100 Signal level:-48 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:7 Invalid misc:9359 Missed beacon:0


Do ifconfig manually, and bring the card up with an IP, and it all works fine. So it seems to be revolving around the /etc/conf.d/wireless settings. No doubt the script works fine, I think it's just me not setting the right options.

The AP im connecting to, is not broadcasting its essid.

Anyone got any ideas?

EDIT AGAIN: :roll:

I managed to get it working, wireless comes up flawlessly on boot now.

I changed the:

Quote:

essid_wlan0="homelan"
key_pagefault="s:HEX-KEY enc restricted"
preferred_aps=( "homelan" )


to

Quote:

essid_wlan0="homelan"
key_pagefault="restricted HEX-KEY"
preferred_aps=( "homelan" )


Access point using 128bit WEP, No ESSID Broadcast. Just thought I'd share my success :D
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1109
Location: switzerland

PostPosted: Mon Jan 17, 2005 5:50 am    Post subject: Reply with quote

for those that have problem with essid configuration, I can tell that I resolved the problem by changing the driver to load from ndiswrapper (I tried to take the win driver from the original cd of my Linksys wireless card and all work correctly).
I don't set my access point to broadcasting essid!!!!

perhaps work for you too.
Back to top
View user's profile Send private message
narcis.gratianu
n00b
n00b


Joined: 21 Nov 2004
Posts: 60

PostPosted: Thu Jan 20, 2005 2:11 pm    Post subject: Belkin wireless Card not starting up Reply with quote

Hello !

I followed the instructions in this guide up to the point were the ndiswrapper module is loaded. I am using a Belkin Wireless Card, model F5D7010, and i installed with no problems the windows driver. But, i cannot make my card power up at all (the power LED on the card is switched off) all the time.

Any ideas ?

Thank you !
_________________
Best regards,
Narcis GRATIANU
Back to top
View user's profile Send private message
dik
n00b
n00b


Joined: 19 Jul 2003
Posts: 69
Location: London

PostPosted: Thu Jan 20, 2005 2:24 pm    Post subject: Reply with quote

Anything in dmesg or in the syslog after you

modprobe ndiswrapper. ?
_________________
Linux veritas 2.6.11-gentoo-r8 #4 Tue Jan 11 21:36:48 GMT 2005 i686 AMD Athlon(tm) XP 1800+ AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
narcis.gratianu
n00b
n00b


Joined: 21 Nov 2004
Posts: 60

PostPosted: Thu Jan 20, 2005 3:02 pm    Post subject: Reply with quote

dik wrote:
Anything in dmesg or in the syslog after you

modprobe ndiswrapper. ?



After i give the command: modprobe ndiswrapper i see in dmesg this:

Quote:
ndiswrapper version 1.0rc2 loaded (preempt=no,smp=no)
ndiswrapper: using irq 10
wlan0: ndiswrapper ethernet device 00:30:bd:f9:ea:98 using driver bcmwl5
wlan0: encryption modes supported: WEP
ndiswrapper: driver bcmwl5 (Broadcom,06/13/2003, 3.20.23.0) added


and in /var/log/everything/current:
Quote:
Jan 20 16:58:36 [kernel] ndiswrapper version 1.0rc2 loaded (preempt=no,smp=no)
Jan 20 16:58:36 [loadndisdriver] loadndisdriver: main(462): version 1.0rc2 started_
Jan 20 16:58:36 [devfsd] error calling: "unlink" in "GLOBAL"_
Jan 20 16:58:36 [loadndisdriver] loadndisdriver: load_all_drivers(387): directory .keep is not valid: Bad file descriptor_
Jan 20 16:58:36 [devfsd] error calling: "unlink" in "GLOBAL"_
Jan 20 16:58:36 [kernel] ndiswrapper: using irq 10
Jan 20 16:58:37 [kernel] wlan0: ndiswrapper ethernet device 00:30:bd:f9:ea:98 using driver bcmwl5
Jan 20 16:58:37 [net.agent] add event not handled

_________________
Best regards,
Narcis GRATIANU
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 9, 10, 11, 12, 13  Next
Page 10 of 13

 
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