UbuntuThis 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.
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.
i have looked, browsed, etc. for a way to save my iwconfig settings after reboot. some specifics:
installed my windows driver for 1350 via ndiswrapper.
activated it w/ modprobe
configured it with iwconfig (ie wlan0 essid, wlan0 key)
ifdown wlan0
ifup wlan0
everything works great
ndiswrapper -m (but i added vi /etc/module)
so.... wlan0 is seen on reboot, BUT the settings from iwconfig is lost.
thus, i have to reconfig.
ok all of you guru kids. i want a clear answer. i am running kubuntu.
and, FYI i have tried to use the kiwconfig UI with no luck. i would
prefer to do backend. thanks.
You can always have a start up script to do this. I don't use Ubuntu, but the start up scripts should be inside a directory in /etc. All you have to do is add the iwconfig commands to one of the scripts. In Slackware I use /etc/rc.d/rc.local . Look for something like that, it may be in different directories like rc.0, rc.1, rc.2 etc, one for each runlevel.
it seems like scripts is all that i can find too.
i tried editing the wireless.opts file but i got nathin. this can't be that hard.
i will continue my search. once i get this done i am going to post
all of this, from ndiswrapper to saving saving config, on the forum and my
blog. i know someone has this all laid out.
anyway, thanks for your help and if anyone else knows where the golden
ticket is, please post!!
ok. true to my word.. here it is. this is a full description of how to configure a wireless card that is not supported by default.
NOTE: i am using Kubuntu (although it works with its base, Ubuntu) and a truemoble 1350 (broadcom).
ok.
#apt-get install ndiswrapper-utils
this will install ndiswrapper. the other vital component is the winXP driver. go to support.dell.com and find the driver for truemoble
1350 (if your using a different card just find the driver) -- you won't be able to use the newest driver. you will need to unpack it..
i used a windows system because fudge figuring out on linux. save the .inf file (in my case bcmwl5a.inf or bcmwl5.inf) to some removable
device and transfer to linux system.
#ndiswrapper -i /path/to/.inf
make sure installed
#ndiswrapper -l
should say it is installed and there is a device that works with it. if it doesn't, find a different driver.
#modprobe ndiswrapper
for linux to "see" the card/driver/ndiswrapper
#ndiswrapper -m
or
#nano /etc/modules
this is to add ndiswrapper to modules .... so, your card will be loaded on boot. if you choose the second option, as i did, 'nano' will
start up and you will be able to add 'ndiswrapper' to one of the lines. each module to its own line!! example:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
ide-cd
ide-disk
ide-generic
lp
mousedev
psmouse
ndiswrapper <---------WHAT I ADDED
you see i have added ndiswrapper. save this... directions are on the bottem of screen. now you must configure the network interfaces
#nano /etc/network/interfaces
you'll be presented with the following:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0
# The primary network interface
_______________________________________________________________________this is what you need to pay attention to______ADDED
the area with the lines are added, so don't get confused. what i have added under both 'iface eth0 inet dhcp' and 'ifance wlan0 inet dhcp' the option 'auto xxx'. under the wlan0 section you must add 'wireless-essid YOURESSID' and 'wireless-key YOURWEPKEY'. now save. restart. done. another note: i
use nano, but you may use kate, vi, etc. you can go through the process of iwconfig, but i don't think it will be needed since your system will look to this to get the neccessary info. goood'a'luucka!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.