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 ... 8, 9, 10, 11, 12, 13  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
ejedmonds
n00b
n00b


Joined: 20 Sep 2003
Posts: 53
Location: Offutt Air Force Base, Nebraska, United States

PostPosted: Wed Oct 13, 2004 4:44 pm    Post subject: lost Reply with quote

i've got everything working... but how the heck do you get the card to be recognized as wlan0 or is that something that you have todo manually?
_________________
My independent record label. And my band Grand Scheme of Things and Products of Pain... Check it out and send me some feedback please: Edward@cisnia.com

http://www.cisnia.com/
Back to top
View user's profile Send private message
Bushmann
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2002
Posts: 137
Location: Germany

PostPosted: Fri Oct 15, 2004 4:30 pm    Post subject: Reply with quote

success at last!
I got my Siemens Gigaset PC Card 54 (broadcom 4320) working with the ndiswrapper-0.11 ebuild...
Only problem left is now, my notebook hangs when I remove the card (which it didn't with the old 11mbit card)...
Back to top
View user's profile Send private message
ejedmonds
n00b
n00b


Joined: 20 Sep 2003
Posts: 53
Location: Offutt Air Force Base, Nebraska, United States

PostPosted: Mon Oct 18, 2004 1:06 am    Post subject: Worked like a charm... Reply with quote

Thanks for the guide I'm using a WN825G Motorola card on a Dell 600M and a 2.6 series kernel... everything worked like a charm...
_________________
My independent record label. And my band Grand Scheme of Things and Products of Pain... Check it out and send me some feedback please: Edward@cisnia.com

http://www.cisnia.com/
Back to top
View user's profile Send private message
psilo23
n00b
n00b


Joined: 28 Oct 2004
Posts: 7
Location: Purdue University

PostPosted: Thu Oct 28, 2004 6:11 pm    Post subject: Reply with quote

This was easier than I thought it was going to be, thanks to the guide and some serendipity.

Specs:
Dell Inspiron 8600
Dell Truemobile 1450 (Broadcom Corporation BCM4309 802.11a/b/g rev 3)
net-wireless/ndiswrapper-0.11
sys-apps/baselayout-1.11.4

ndiswrapper -l:
Quote:
Installed ndis drivers:
bcmwl5 driver present, hardware present
bcmwl5a driver present, hardware present


(At first I only installed the bcmwl5a, and that worked, but just to be safe I installed the bcmwl5).

I poked around with iwconfig, ifconfig, and otherwise manually setting up the wireless connection. I was looking for a way to automate the wireless setup as there is at least two APs I would be connecting two, one with WEP and one requiring a VPN client, plus sometimes using a wired connection. I looked into how /etc/init.d/net.eth0 setup the wired connection and found it is just symlinked to net.lo. So I tried and experiment. First, trying to connect to the VPN wrapped network:

Start the VPN client service (Cisco VPN client provided by my school, not a true init.d script):
Code:
/etc/init.d/vpnclient_init start

Create a symlink for a wlan0 init script and run it:
Code:
cd /etc/init.d
ln -s net.wlan0 net.lo
/etc/init.d/wlan0 start

Quote:
* Starting wlan0
* Configuring wireless network for wlan0
* Scanning for access points
* Found "PAL" at XX:XX:XX:XX:XX:XX
* Connecting to "PAL" (WEP Disabled) ... [ ok ]
* wlan0 connected to "PAL" at XX:XX:XX:XX:XX:XX
* in managed mode on channel 2 (WEP disabled)
* Bringing up wlan0
* Configuration not set for wlan0 - assuming dhcp
* wlan0 dhcp
* Running dhcpcd ... [ ok ]
* wlan0 received address XXX.XXX.XXX.XXX


Success! I then just need to run the VPN login client to get a working network.

For home, I have a Linksys router with WEP enabled. It's ESSID is the default ("linksys"), so I merely had to edit /etc/conf.d/wireless.example and uncomment/edit/add the line (where 000 is my hex WEP key):
Code:
key_linksys="0000000000"


Execute the net.wlan0 script and failure! After moving "wireless.example" to "wireless", success! Finds the WEP enabled router, negotiates the key, runs dhcpd and gets an IP.

Thanks for the guide and all the tips on here. Note, I didn't read all the replies in this thread, so this may have been covered previously. However I think this step (adding a net.wlan0 symlink and editing /etc/init.d/wireless) may be a good addition to the guide.

aloha
psilo


Last edited by psilo23 on Mon Nov 01, 2004 5:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
bvierra
n00b
n00b


Joined: 28 Oct 2004
Posts: 2

PostPosted: Thu Oct 28, 2004 6:57 pm    Post subject: Reply with quote

Thanks for the how-to worked great on both
HP zd7360 and the HP zd7000
Broadcom Corp BCM4306 802.11b/g
Back to top
View user's profile Send private message
PTGreg
n00b
n00b


Joined: 13 Oct 2004
Posts: 2

PostPosted: Sun Oct 31, 2004 11:00 pm    Post subject: Gentoo dev-source 2.6.9-r1 Reply with quote

I just installed Gentoo 2.6.9-r1.
Everything works find except that modprob doesn't want to load ndiswrapper 0.10:
when i do :
Code:

#modprobe ndiswrapper
FATAL:  Module ndiswapper  not found


I don't understand why.
when i do :

Code:

#ndiswrapper -l
Installed ndis drivers:
lsbcmnds hardware present

lspci shows good results too.. It's only when i want to load ndiswrapper on modprobe that it occurs this error.

It works find on the 2.6.8-r8. I checked my .configure whith the one i made to compile my 2.6.8 and they are the same..

Thx for your help and sorry for my terrible english

EDIT : I've got a linksys WPC54GS and the drivers are the last found on the linksys website.
--
PTGreg
Back to top
View user's profile Send private message
psilo23
n00b
n00b


Joined: 28 Oct 2004
Posts: 7
Location: Purdue University

PostPosted: Mon Nov 01, 2004 4:58 pm    Post subject: Reply with quote

Did you recompile the ndiswrapper module for your 2.6.9 kernel? Mine is in /lib/modules/2.6.9-gentoo-r1/misc/ndiswrapper.ko for what its worth.

aloha
psilo
Back to top
View user's profile Send private message
j3pup
n00b
n00b


Joined: 04 Nov 2004
Posts: 4

PostPosted: Thu Nov 04, 2004 7:13 am    Post subject: Reply with quote

While installing gentoo from the handbook, it said not to compile in support for pcmcia and I followed a howto on how to install it without the kernel support. I have now emerged ndiswrapper and am wondering if I have to unmerge it and the pcmcia-cs package and start over from scratch with last years versions of these programs?
Back to top
View user's profile Send private message
HogRider
Apprentice
Apprentice


Joined: 29 May 2002
Posts: 160

PostPosted: Thu Nov 04, 2004 12:31 pm    Post subject: Reply with quote

Couple of things to check...

Is the module under /lib/modules/`uname -r` ?
Have your run depmod -a ?
_________________
Mike

"Computers are like air conditioners, they stop working properly if you open Windows"
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
Back to top
View user's profile Send private message
Eve7698
n00b
n00b


Joined: 06 Feb 2004
Posts: 14
Location: York, PA

PostPosted: Mon Nov 08, 2004 12:32 am    Post subject: Realtek 8180 Issue Reply with quote

Hello,

I have a Realtek 8180 chipset (startech.com card). I have followed the steps in this thread pretty well. I have a problem... I can't connect to my essid! I can see the network by doing iwlist scanning, but when I do

Code:
iwconfig wlan0 essid <myessid>


it still yields something like

Code:
ESSID:""
... Access Point: FF:FF:FF:FF:FF:FF


This problem sounds kind of like throck's, a page or 2 back, except his problem was a matter of a WEP key. iwlist scanning tells me that the network has no encryption. Any ideas, or thing to try?

Let me know if you need more information... I am sort of a newb at wireless networking (completely newb at linux wireless networking). I think I may be missing something obvious here, so please say anything you think it could possibly be. Thanks alot guys!

Lewis
Back to top
View user's profile Send private message
Bohemian
Apprentice
Apprentice


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

PostPosted: Fri Nov 12, 2004 7:05 pm    Post subject: Reply with quote

Quote:
root@laptop AR # modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.9-gentoo-r1/misc/ndiswrapper.ko): Unknown symbol in module, or unknown parameter (see dmesg)


#dmesg
ndiswrapper: Unknown symbol wireless_send_event
ndiswrapper: Unknown symbol wireless_send_event
ndiswrapper: Unknown symbol wireless_send_event
ndiswrapper: Unknown symbol wireless_send_event


HELP!
_________________
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
-Rick-
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2004
Posts: 77
Location: Holland

PostPosted: Fri Nov 12, 2004 7:13 pm    Post subject: Reply with quote

christhelinuxguy wrote:
Quote:
root@laptop AR # modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.9-gentoo-r1/misc/ndiswrapper.ko): Unknown symbol in module, or unknown parameter (see dmesg)


#dmesg
ndiswrapper: Unknown symbol wireless_send_event
ndiswrapper: Unknown symbol wireless_send_event
ndiswrapper: Unknown symbol wireless_send_event
ndiswrapper: Unknown symbol wireless_send_event


HELP!


Try to enable "Wireless LAN drivers (non-hamradio) & Wireless Extensions" (you don't have to enable any other stuff there). Its in Device drivers --> Networking support --> Wireless LAN (non-hamradio) . Then recompile ndiswrapper.
HTH :)
Back to top
View user's profile Send private message
Bohemian
Apprentice
Apprentice


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

PostPosted: Fri Nov 12, 2004 8:09 pm    Post subject: Reply with quote

-Rick- wrote:
christhelinuxguy wrote:
Quote:
root@laptop AR # modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.9-gentoo-r1/misc/ndiswrapper.ko): Unknown symbol in module, or unknown parameter (see dmesg)


#dmesg
ndiswrapper: Unknown symbol wireless_send_event
ndiswrapper: Unknown symbol wireless_send_event
ndiswrapper: Unknown symbol wireless_send_event
ndiswrapper: Unknown symbol wireless_send_event


HELP!


Thanks, now I get this:

Quote:
dmesgndiswrapper version 0.10 loaded (preempt=yes,smp=no)
PCI: Enabling device 0000:07:00.0 (0000 -> 0002)
ACPI: PCI interrupt 0000:07:00.0[A] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:07:00.0 to 64
ndiswrapper: using irq 11
wlan0: ndiswrapper ethernet device 00:0f:66:45:4c:05 using driver bcmwl5.sys
ndiswrapper device wlan0 supports WPA with AES/CCMP and TKIP ciphers
ndiswrapper: driver bcmwl5.sys (The Linksys Group, Inc.,07/17/2003, 3.30.15.0) a dded
ndiswrapper: driver i2220ntx.sys (Cisco-Linksys, LLC.,01/05/2004,1.22.01.2004) a dded
ndiswrapper (add_driver:1867): Cannot add duplicate driver


Is this okay?






Try to enable "Wireless LAN drivers (non-hamradio) & Wireless Extensions" (you don't have to enable any other stuff there). Its in Device drivers --> Networking support --> Wireless LAN (non-hamradio) . Then recompile ndiswrapper.
HTH :)

_________________
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
-Rick-
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2004
Posts: 77
Location: Holland

PostPosted: Fri Nov 12, 2004 8:32 pm    Post subject: Reply with quote

Run "cardctl ident" and see if it recognize your card
Back to top
View user's profile Send private message
Eve7698
n00b
n00b


Joined: 06 Feb 2004
Posts: 14
Location: York, PA

PostPosted: Fri Nov 12, 2004 8:42 pm    Post subject: ...oops Reply with quote

working now... reinstalled gentoo (I screwed something else up anyway), emerged ndiswrapper, redid the instructions in this thread, success.
_________________
Athlon XP (Tt Volcano 11+) | Biostar M7VIT | 256MB DDR2100 | Radeon 7500 128MB DDR | 120GB WD / 20GB WD
Back to top
View user's profile Send private message
Bohemian
Apprentice
Apprentice


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

PostPosted: Fri Nov 12, 2004 8:59 pm    Post subject: Reply with quote

-Rick- wrote:
Run "cardctl ident" and see if it recognize your card
root@chris chris # cardctl ident
Socket 0:
no product info available
Socket 1:
no product info available
_________________
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
-Rick-
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2004
Posts: 77
Location: Holland

PostPosted: Fri Nov 12, 2004 10:22 pm    Post subject: Reply with quote

christhelinuxguy wrote:
-Rick- wrote:
Run "cardctl ident" and see if it recognize your card
root@chris chris # cardctl ident
Socket 0:
no product info available
Socket 1:
no product info available


hmm...
Are you sure your using the right .sys and .inf file? I copied mine from a directory somewhere in the main Windows dir...
Back to top
View user's profile Send private message
Bohemian
Apprentice
Apprentice


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

PostPosted: Fri Nov 12, 2004 10:24 pm    Post subject: Reply with quote

Eh, I think so...can you IM me?
_________________
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
Bohemian
Apprentice
Apprentice


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

PostPosted: Fri Nov 12, 2004 10:54 pm    Post subject: Reply with quote

#iwconfig wlan0 essid <essid>
#ifconfig wlan0 up
#dhcpcd wlan0

I got through the install, but I don´t know what my essid is and when I type:

dhcpcd wlan0 it gets hung up and does not move
_________________
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
-Rick-
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2004
Posts: 77
Location: Holland

PostPosted: Fri Nov 12, 2004 11:31 pm    Post subject: Reply with quote

christhelinuxguy wrote:
#iwconfig wlan0 essid <essid>
#ifconfig wlan0 up
#dhcpcd wlan0

I got through the install, but I don´t know what my essid is and when I type:

dhcpcd wlan0 it gets hung up and does not move

If you don't know your ESSID, but ESSID broadcasting is on you can simply run "/etc/init.d/net.wlan0". If that file doesn't exist, create a symlink to /etc/init.d/net.lo. When running it should scannig for networks. Note that i've got the latest baselayout installed, things may be different for older versions...
Also take a look at this thread: https://forums.gentoo.org/viewtopic.php?t=225871&postdays=0&postorder=asc&start=175
Back to top
View user's profile Send private message
Bohemian
Apprentice
Apprentice


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

PostPosted: Fri Nov 12, 2004 11:42 pm    Post subject: Reply with quote

I started the service but I still don´t get how I get my EESID and how to start wireless?
_________________
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
twan
n00b
n00b


Joined: 01 Jan 2004
Posts: 47
Location: Brasschaat, Belgium

PostPosted: Sat Nov 13, 2004 11:00 pm    Post subject: Reply with quote

Hi,

I've been busy to install it as well. I was almost there to get it working (i had the "wont set ESSID problem too") but now i'm having serious problems with my wireless card.

I recompiled my kernel a while ago because i forgot to set the speedstep technology for my centrino laptop.

Now, EVERY time i put my wireless card on, i get a kernel panic. It seems to be triggered by an event or something.

I can boot and work perfectly with the card off (i have a button at front), but when i boot with it on, it gives me a kernel panic.

When i am in X, it works too, but when, again, i click on the button, the system freezes.

Does anyone know what is going wrong 8O

I have tried to recompile my kernel (with the newer options left out again) but it still gives me the kernel panic.
Back to top
View user's profile Send private message
RustyF
n00b
n00b


Joined: 14 Nov 2004
Posts: 1

PostPosted: Mon Nov 15, 2004 12:02 am    Post subject: Another success - eventually Reply with quote

Gentoo 2.6 kernel on EPIA VIA Nehemiah 1000
Belkin FD7000 54g PCI (rev 2)
ndiswrapper 0.8

First tried ndiswrapper 0.11 but it kernel panicked when I did the modprobe step
Then tried 0.8 and it worked as suggested elsewhere.

Thanks for the guidelines!
Russ
Back to top
View user's profile Send private message
linux_on_the_brain
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 136

PostPosted: Sat Nov 20, 2004 6:00 am    Post subject: Reply with quote

Hello all, I am trying to get my netgear wg511 up and running I followed the howto elsewhere in the forums but my card wont accept the firmware. So I am trying ndiswrapper. And I have made progress. Since I am at work I cant test to see if I connect. But dmesg shows this

Code:
wlan0: ndiswrapper ethernet device 00:09:5b:ec:b8:18 using driver netwg511
wlan0: encryption modes supported: WEP, WPA with TKIP, AES/CCMP
ndiswrapper: driver netwg511 (NETGEAR,04/06/2004, 2.1.22.0) added
ndiswrapper (iw_set_tx_power:363): setting tx_power failed (C00000BB)
ndiswrapper (iw_set_tx_power:363): setting tx_power failed (C00000BB)
ndiswrapper (iw_set_tx_power:363): setting tx_power failed (C00000BB)
ndiswrapper (iw_set_tx_power:363): setting tx_power failed (C00000BB)


Is this going to be a problem? Would like to get things fixed before I get home.
Back to top
View user's profile Send private message
affan
n00b
n00b


Joined: 25 Mar 2004
Posts: 23
Location: Chicago

PostPosted: Wed Nov 24, 2004 9:55 am    Post subject: Failed to compile with 2.6.10_rc2 Reply with quote

Ndiswrapper used to work fine with previous kernel versions. I upgraded to 2.6.10_rc2 and it failed to compile. I am not sure if the kernel upgrade is the problem. I also tried to download and compile ndiswrapper without using emerge which gave me the same error.

Any clues? Thanks a lot.

Code:

 # ACCEPT_KEYWORDS="~x86" 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.10-rc2 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.10-rc2'
  CC [M]  /var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/wrapper.o
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/wrapper.c:63: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:562)
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/wrapper.c:65: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:562)
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/wrapper.c:67: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:562)
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/wrapper.c:69: warning: `MODULE_PARM_' is deprecated (declared at include/linux/module.h:562)
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/wrapper.c: In function `ndis_suspend_pci':
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/wrapper.c:930: error: too many arguments to function `pci_save_state'
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/wrapper.c: In function `ndis_resume_pci':
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/wrapper.c:957: error: too many arguments to function `pci_restore_state'
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/wrapper.c: In function `ndis_init_one_pci':
/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/wrapper.c:1525: error: too many arguments to function `pci_restore_state'
make[3]: *** [/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver/wrapper.o] Error 1
make[2]: *** [_module_/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.10-rc2'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/var/tmp/portage/ndiswrapper-0.11/work/ndiswrapper-0.11/driver'
make: *** [all] Error 2

!!! ERROR: net-wireless/ndiswrapper-0.11 failed.
!!! Function src_compile, Line 40, Exitcode 2
!!! Compile Failed!
!!! If you need support, post the topmost build error, NOT this status message.

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 ... 8, 9, 10, 11, 12, 13  Next
Page 9 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