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?
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?