Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-18-2008, 10:43 PM
|
#1
|
Member
Registered: May 2005
Location: Sunshine Coast Australia
Distribution: Mageia 5
Posts: 82
Rep:
|
How do I get wireless setting to stick with 8.04
When the computer is rebooted I need to run sudo modprobe ndiswrapper everytime to restore my wlan0, how do I automate the process. The card is a WG311v3 BTW. Thanks
|
|
|
05-18-2008, 10:47 PM
|
#2
|
Senior Member
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853
Rep:
|
It depends on which distribution you are running, as different distributions have their sysvinit scripts set up differently. In the title of your post, though, I'm seeing "8.04" which makes me think it's a *buntu of some sort. Since *buntus are branched off of Debian, try the following:
Code:
$ sudo echo "modprobe ndiswrapper" >> /etc/modules
|
|
|
05-19-2008, 12:43 AM
|
#3
|
Member
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558
Rep:
|
Quote:
Originally Posted by indienick
It depends on which distribution you are running, as different distributions have their sysvinit scripts set up differently. In the title of your post, though, I'm seeing "8.04" which makes me think it's a *buntu of some sort. Since *buntus are branched off of Debian, try the following:
Code:
$ sudo echo "modprobe ndiswrapper" >> /etc/modules
|
Actually, for Ubuntu, it should be
Code:
$ sudo echo "ndiswrapper" >> /etc/modules
https://help.ubuntu.com/community/Wi...tgear_WG311_v3
|
|
|
05-19-2008, 01:26 AM
|
#4
|
Member
Registered: May 2005
Location: Sunshine Coast Australia
Distribution: Mageia 5
Posts: 82
Original Poster
Rep:
|
Thanks for the replies, Ill give it a try.
|
|
|
05-19-2008, 01:42 AM
|
#5
|
Member
Registered: May 2005
Location: Sunshine Coast Australia
Distribution: Mageia 5
Posts: 82
Original Poster
Rep:
|
That did not work,
ian@IansIntel:~$ sudo modprobe ndiswrapper
[sudo] password for ian:
ian@IansIntel:~$ sudo echo "ndiswrapper" >> /etc/modules
bash: /etc/modules: Permission denied
ian@IansIntel:~$
The first instruction got the wlan0 functioning, BTW I tried ndiswrapper with the -m switch and that did not work either. Where am I going wrong with this!
|
|
|
05-19-2008, 08:10 AM
|
#6
|
Senior Member
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853
Rep:
|
Sorry about that.
I ran into the same problem as before. It's easier to just do it as root:
Code:
$ su
Password: [type in the root password]
# echo "ndiswrapper" >> /etc/modules
|
|
|
05-19-2008, 04:20 PM
|
#7
|
Member
Registered: May 2005
Location: Sunshine Coast Australia
Distribution: Mageia 5
Posts: 82
Original Poster
Rep:
|
The su command does not work with Kubuntu, Ive tried the ndiswrapper switches again,
ian@IansIntel:~$ sudo ndiswrapper -m
module configuration already contains alias directive
ian@IansIntel:~$ sudo ndiswrapper -mi
module configuration information is stored in /etc/modprobe.d/ndiswrapper
ian@IansIntel:~$ sudo ndiswrapper -v
utils version: '1.9', utils version needed by module: '1.9'
module details:
filename: /lib/modules/2.6.24-16-generic/ubuntu/misc/ndiswrapper/ndiswrapper.ko
version: 1.52
vermagic: 2.6.24-16-generic SMP mod_unload 586
Ill see if it works better this time.
|
|
|
05-19-2008, 11:03 PM
|
#8
|
Member
Registered: May 2005
Location: Sunshine Coast Australia
Distribution: Mageia 5
Posts: 82
Original Poster
Rep:
|
Solved
I think the ndiswrapper -mi switch did the trick.
|
|
|
All times are GMT -5. The time now is 02:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|