PDA

View Full Version : Fedora 8 wireless WG511v2


lambcutlet
2007-12-27, 01:51 PM CST
How do i gain access to my wireless router (DG834G)?

Using these commands I have managed to install the drivers for the wireless card WG511v2 'made in china', marvell chipset.
Commands

load ndiswrapper kmod-ndiswrapper from yum via livna

install windows driver

lspci -v : verbose, lots of details
lspci -n : show PCI vendor and device codes

ndiswrapper -i filename.inf : install windows driver, preferably XP version
ndiswrapper -l : lists installed drivers, check to see drivers have been installed

Load Module

depmod -a : ensure no errors
modprobe ndiswrapper : load module, activates device, LEDs flash

ndiswrapper -ma
echo "alias wlan0 ndiswrapper" >> /etc/modprobe.conf : automatically loads driver after reboot
Configure device
system-config-network ; to configure device

system-config-network allows configuration of the wireless card unfortunately it does not allow me to connect to the dhcp router.

Alternative method tried

To manually configure the card i have used these commands
Configure Interface

iwconfig : check if wlan0 is available
iwconfig wlan0 essid NAME : change NAME to routers name
iwconfig wlan0 mode XXXX : XXXX either 'Managed' or 'Ad-hoc'
iwlist wlan0 scan : scans for active routers


[root@laptop ~]# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: XX:XX:XX:XX:XX:XX
ESSID:"router"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:65/100 Signal level:-54 dBm Noise level:-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Extra:atim=0
Cell 02 - Address: XX:XX:XX:XX:XX:XX
ESSID:"router"
Protocol:IEEE 802.11b
Mode:Ad-Hoc
Frequency:2.462 GHz (Channel 11)
Quality:40/100 Signal level:-70 dBm Noise level:-96 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Extra:bcn_int=100
Extra:atim=0



To activate the card I tried this
ifconfig wlan0 up : this works ok
dhclient wlan0 : search for dhcp offers

[root@laptop ~]# dhclient wlan0
Internet Systems Consortium DHCP Client V3.0.6-Fedora
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/wlan0/00:18:4d:77:49:81
Sending on LPF/wlan0/00:18:4d:77:49:81
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Unfortunately it doesn't discover the router

What am i doing wrong?

lambcutlet
2007-12-30, 02:30 PM CST
Fedora9 - Update 13-06-08
these instructions also work for f9.
this time i used the XP drivers and as yet no problems.

Fedora8
I have resolved my problem. I found that the problems i had encountered where due to the XP drivers
after removing them and redoing the install with the win2000 drivers everything worked.

Hopefully these instructions below will help others to configure this device. at the very least it is a reminder to myself

Commands

load ndiswrapper kmod-ndiswrapper from yum, livna

install windows driver

lspci -v : verbose, lots of details
lspci -n : show PCI vendor and device codes, checks to see if device is on the bus

ndiswrapper -i filename.inf : install windows2000 driver (in my case from the CD)
ndiswrapper -l : lists installed drivers, check to see drivers have been installed

Note: the location of the *.inf file must also include the *.sys file

Load Module

depmod -a : ensure no errors
modprobe ndiswrapper : load module, activates device, LEDs flash

ndiswrapper -ma
echo "alias wlan0 ndiswrapper" >> /etc/modprobe.conf : automatically loads driver after reboot

Configure device
system-config-network ; to configure device
Devices -> New -> Wireless connection -> Forward
Select the ndiswrapper device
Save the settings
reboot

Use device
NetworkManager should then pick up your new device

Falconeer
2008-03-25, 11:59 AM CDT
Great instructions!

Thanks to you I was finally able to wireless going on my laptop.

For anyone else who is working on this, here's a link to an image of the WG511v2 install CD-ROM:

<http://www.parseerror.com/cache/drivers/WG511v2/WG511v2-cd/Driver/Windows%202000/>

Thanks again!

lambcutlet
2008-03-30, 09:07 AM CDT
glad the instructions have helped
thanks for the kind words