Jump to content

FC5 Ndiswrapper difficulties [solved]


Recommended Posts

Ok, the FC fanatics got me excited about FC5, so I downloaded and installed it this weekend on my laptop. Installed without a hitch, and runs well. I have decided to make this my laptop os, that is, if I can get ndiswrapper running and my wireless working. I've had the wireless working on this laptop with Ubuntu, Mepis and PCLOS using ndiswrapper, so I know everything (ndiswrapper, bcmwl5 drivers, etc.) works.

 

Here's where I am: Ndiswrapper installed, driver installed and recognized, wlan0/ndiswrapper added as a device in network options.

Now the problem:

 

Attempting to activate both with gui and cl (ifup) results in this error:

Error for wireless request "Set Encode" (8B2A) :
SET failed on device wlan0; Invalid argument.

Determining IP information for wlan0... failed; no link present.  Check cable?

 

output of iwconfig:

[root@fedora ~]# iwconfig
lo		no wireless extensions.

eth0	  no wireless extensions.

sit0	  no wireless extensions.

wlan0	 IEEE 802.11g  ESSID:off/any  Nickname:"fedora.box.linux.com"
	  Mode:Auto  Frequency:2.412 GHz  Access Point: Not-Associated
	  Bit Rate=54 Mb/s   Tx-Power:16 dBm
	  RTS thr=2347 B   Fragment thr=2346 B
	  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

output of ifconfig:

[root@fedora ~]# ifconfig
eth0	  Link encap:Ethernet  HWaddr 00:03:25:08:6D:F2
	  inet addr:10.100.1.101  Bcast:10.100.1.255  Mask:255.255.255.0
	  inet6 addr: fe80::203:25ff:fe08:6df2/64 Scope:Link
	  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
	  RX packets:38380 errors:0 dropped:0 overruns:0 frame:0
	  TX packets:4142 errors:0 dropped:0 overruns:0 carrier:0
	  collisions:23 txqueuelen:1000
	  RX bytes:17775709 (16.9 MiB)  TX bytes:717826 (701.0 KiB)
	  Interrupt:11

lo		Link encap:Local Loopback
	  inet addr:127.0.0.1  Mask:255.0.0.0
	  inet6 addr: ::1/128 Scope:Host
	  UP LOOPBACK RUNNING  MTU:16436  Metric:1
	  RX packets:2339 errors:0 dropped:0 overruns:0 frame:0
	  TX packets:2339 errors:0 dropped:0 overruns:0 carrier:0
	  collisions:0 txqueuelen:0
	  RX bytes:3010283 (2.8 MiB)  TX bytes:3010283 (2.8 MiB)

Relevant bits of dmesg output:

ADDRCONF(NETDEV_UP): eth0: link is not ready
ndiswrapper version 1.10 loaded (preempt=no,smp=no)
ndiswrapper: driver bcmwl5 (Broadcom,06/13/2003, 3.20.23.0) loaded
ACPI: PCI Interrupt 0000:00:0c.0[A] -> Link [LNK2] -> GSI 10 (level, low) -> IRQ 10ADDRCONF(NETDEV_UP): eth0: link is not ready
ndiswrapper version 1.10 loaded (preempt=no,smp=no)
ndiswrapper: driver bcmwl5 (Broadcom,06/13/2003, 3.20.23.0) loaded
ACPI: PCI Interrupt 0000:00:0c.0[A] -> Link [LNK2] -> GSI 10 (level, low) -> IRQ 10
ndiswrapper: using irq 10
wlan0: vendor: ''
wlan0: ndiswrapper ethernet device 00:90:96:59:b3:86 using driver bcmwl5, 14E4:4320.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA; AES/CCMP with WPA
ndiswrapper (iw_set_encr:892): removing encryption key 0 failed (C0010015) 
ndiswrapper: using irq 10
wlan0: vendor: ''
wlan0: ndiswrapper ethernet device 00:90:96:59:b3:86 using driver bcmwl5, 14E4:4320.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA; AES/CCMP with WPA
ndiswrapper (iw_set_encr:892): removing encryption key 0 failed (C0010015)

 

Been following some guides/posts at fedoraforum.org with no luck. I'd like to keep FC5 on this laptop. Any help would be appreciated.

Link to comment
Share on other sites

I fixed it, but thanks for offer iph. Some weird issues with iwconfig and gui. Neither were actually configuring my options and ndiswraper -m wasn't correctly configuring an alias in modprobe. For any others who may experience this problem, here is how I was able to resolve the issue (I was able to piece the solution together, thanks to numerous post on fedoraforum.org)

 

Install ndiswrapper.

 

Once installed:

 

/usr/sbin/ndiswrapper -i /your/wireless/driver/location

/usr/sbin/ndiswrapper -l (to find out if file was loaded)

modprobe ndiswrapper

dmesg (see if there are any errors with your setup)

 

 

Edit /etc/modprobe.conf and add these lines

 

alias eth1 ndiswrapper

options ndiswrapper if_name=eth1

(or whatever you want your connection to be called. ((eth5, wlan1, etc.))

 

Create the file: /etc/sysconfig/network-scripts/ifcfg-eth1 and add these lines

 

IPV6INIT=no

ONBOOT=yes

USERCTL=yes

PEERDNS=yes

GATEWAY=

TYPE=wireless

DEVICE=eth1

HWADDR=

BOOTPROTO=dhcp

NETMASK=

DHCP_HOSTNAME=

IPADDR=

DOMAIN=

ESSID=(your essid)

CHANNEL=6

MODE=Managed

NETWORK_TYPE=g

#RATE=54Mb/s

RATE=Auto

(of course, change any of this to match your network setup)

 

Create the file: /etc/sysconfig/network-scripts/keys-eth1 and add this line (if your network has no password security, leave password blank)

 

KEY=(your key)

 

Then: ifup eth1

Link to comment
Share on other sites

Is the Network Manager now able to function correctly? That is, does the laptop attach to available networks correctly? I have several secure networks that I hook up to during the week, which Mandriva handles just fine.

Link to comment
Share on other sites

Is the Network Manager now able to function correctly? That is, does the laptop attach to available networks correctly? I have several secure networks that I hook up to during the week, which Mandriva handles just fine.

 

Mines been working since early on rawhide of fc5.

 

I'm at work, close my lid (suspend) go home, open the lid, laptop kicks on and my wireless site ask for the network.

 

/me whispers, rh started nm project :)

Link to comment
Share on other sites

Wifi manager sees the other networks without a problem, but my work network is WPA secured. I have a ethernet plug right next to my desk, so I typicaly just plug in, but since you asked, IX, I decided to give it a try. It's not accepting my WPA password. cyberjackle, do you have any suggestions?

Link to comment
Share on other sites

Wifi manager sees the other networks without a problem, but my work network is WPA secured. I have a ethernet plug right next to my desk, so I typicaly just plug in, but since you asked, IX, I decided to give it a try. It's not accepting my WPA password. cyberjackle, do you have any suggestions?

 

I have not used WPA my self so I couldn't tell you to much about it. I know they include wpa_supplicant/gui so maybe try

 

wpa_gui
man -k wpa

 

or our best friend !google wpa_supplicant +fedora

 

 

I fired up the gui and it looks pretty easy to use, but you never know with how cards/firmware/networks are setup how it will work.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...