View Full Version : Wireless USB Adapter Questions / Help request
phree
2007-08-24, 11:28 AM CDT
Hi,
I have been configuring my wireless adapter since yesterday and am now in a position were i can see the adapter with ndiswrapper -l and iwconfig, also if i run iwlist wlan0 scan, I get a list of access points that it can pick up.
Unfortunately however my usb wlan adapter doesnt appear in the network configuration tool, so i am going to have to create 1 from scratch. -
First Question - Does anyone have an example ifcfg-eh1 for a wireless card connecting to a wireless dsl router? preferably one that uses WPA encrytion.
Also
when i reboot the system, I have to run modprobe ndiswrapper everttime before my usb card shows working.
Second question - Is there a way to insert this into one of the boot files and if so, which is the best file?
Rgds Phree
stevea
2007-08-24, 12:27 PM CDT
> when i reboot the system, I have to run modprobe ndiswrapper everttime before my usb card shows working.
To force a load on boot ...
1/ Add a line "alias eth1 ndiswrapper" to /etc/modprobe.conf
2/ Build a new mkinitrd like this
mv /boot/initrd-`uname -r`.img /boot/initrd-`uname -r`.img.old
mkinitrd --preload=ndiswrapper /boot/initrd-`uname -r`.img `uname -r`
reboot
--
As for the wireless config - I *STRONGLY* urge you to use NetworkManager/NetworkManagerDispatcher.
and to NOT try mucking the config by hand. The same is true of 802.3 wire networks.
chkconfig --level 345 NetworkManager
chkconfig --level 345 NetworkManagerDispatcher
service start NetworkManager
service start NetworkManagerDispatcher
An icon for NM will appear in the upper panel notification area.
Left clic kthe icon, select "connect to other Wireless network" and enter the ESSID/WPA authentication info.
The rest is obvious.
leigh123@linux
2007-08-24, 12:32 PM CDT
> when i reboot the system, I have to run modprobe ndiswrapper everttime before my usb card shows working.
To force a load on boot ...
1/ Add a line "alias eth1 ndiswrapper" to /etc/modprobe.conf
2/ Build a new mkinitrd like this
--
As for the wireless config - I *STRONGLY* urge you to use NetworkManager/NetworkManagerDispatcher.
and to NOT try mucking the config by hand. The same is true of 802.3 wire networks.
An icon for NM will appear in the upper panel notification area.
Left clic kthe icon, select "connect to other Wireless network" and enter the ESSID/WPA authentication info.
The rest is obvious.
These commands should be
su -
chkconfig --level 345 NetworkManager on
chkconfig --level 345 NetworkManagerDispatcher on
phree
2007-08-24, 01:43 PM CDT
Guys,
I did as you suggested but when i try to run the NetworkManager and NetworkManagerDispatcher it returns a unrecognized service error.yum install NetworkManager
Edit,
Actually I copied the commands straight of the page and they didnt work. Having re-read them I have now got them reworking. Apologies.
rgds Phree
leigh123@linux
2007-08-24, 01:48 PM CDT
Guys,
I did as you suggested but when i try to run the NetworkManager and NetworkManagerDispatcher it returns a unrecognized service error.yum install NetworkManager
Edit,
Actually I copied the commands straight of the page and they didnt work. Having re-read them I have now got them reworking. Apologies.
rgds Phree
More wrong commands ;)
try
su -
service NetworkManager start
service NetworkManagerDispatcher start
phree
2007-08-25, 09:25 AM CDT
Stevea / Leigh123, Thankyou for the suggestions and assistance, my apologies for the delay in posting further, I was trying to work out some issues that occured after I tried what you suggested.
NetworkManager and NMDispatcher I have never seen these before, excellent little utilities and work well.
I had some further issues with my card AND I also made the mistake of accepting the automated upgrades last night and the Kernel changes put me back a bit. However, having retraced my steps I now have a working wireless card.
I still have a line on boot, right after the starting red hat linux ......
The next line reads
sb 1-2: device descriptor read/all, error 71.
I have tried the various things found searching the forums but nothing seems to clear it. Any ideas
Also
Can you explain exactly what i am doing when i follow these commands?. I dont just want to copy and paste thing, I like to know the mechanics behind the commands.
1/ Add a line "alias eth1 ndiswrapper" to /etc/modprobe.conf
2/ Build a new mkinitrd like this
Quote:
mv /boot/initrd-`uname -r`.img /boot/initrd-`uname -r`.img.old
mkinitrd --preload=ndiswrapper /boot/initrd-`uname -r`.img `uname -r`
reboot
rgds Phree
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.