LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-18-2008, 10:43 PM   #1
sdrambo
Member
 
Registered: May 2005
Location: Sunshine Coast Australia
Distribution: Mageia 5
Posts: 82

Rep: Reputation: 16
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
 
Old 05-18-2008, 10:47 PM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
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
 
Old 05-19-2008, 12:43 AM   #3
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
Quote:
Originally Posted by indienick View Post
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
 
Old 05-19-2008, 01:26 AM   #4
sdrambo
Member
 
Registered: May 2005
Location: Sunshine Coast Australia
Distribution: Mageia 5
Posts: 82

Original Poster
Rep: Reputation: 16
Smile

Thanks for the replies, Ill give it a try.
 
Old 05-19-2008, 01:42 AM   #5
sdrambo
Member
 
Registered: May 2005
Location: Sunshine Coast Australia
Distribution: Mageia 5
Posts: 82

Original Poster
Rep: Reputation: 16
Unhappy

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!
 
Old 05-19-2008, 08:10 AM   #6
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
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
 
Old 05-19-2008, 04:20 PM   #7
sdrambo
Member
 
Registered: May 2005
Location: Sunshine Coast Australia
Distribution: Mageia 5
Posts: 82

Original Poster
Rep: Reputation: 16
Unhappy

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.
 
Old 05-19-2008, 11:03 PM   #8
sdrambo
Member
 
Registered: May 2005
Location: Sunshine Coast Australia
Distribution: Mageia 5
Posts: 82

Original Poster
Rep: Reputation: 16
Smile Solved

I think the ndiswrapper -mi switch did the trick.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setting up stick bit on file/directory bavondrake AIX 3 09-20-2007 02:27 PM
Setting up Freecom DV3 stick hey_joe Linux - Hardware 0 07-03-2007 03:40 AM
CUPS paper tray setting doesn't stick bluethumb Linux - Software 1 05-17-2007 01:58 PM
USB Wireless stick recommendations ZeroH Linux - Hardware 5 04-06-2006 05:03 PM
wireless usb stick firestomper41 SUSE / openSUSE 3 09-02-2005 05:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration