Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in 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.
Okay... I am new to Linux. Xompletely new. And I ahve also never used DOS or anything like netstat... So I am completely lost as to how to set my card up. So main things are. I know it's on Channel 11(I'm looking at it right now), It has a Network Key... and... yea. I have no idea what to do. If I'm breaking the rules of the forum or anything, I'm really sorry. But I tried having two of my friends help me, and they couldn't figure it out either. So yea, can anybody help me start to finish with this?
Welcome to LQ. You're not breaking any rules, but more info would help us help you.
Can you post the output of three commands:
lsmod, iwconfig and ifconfig?
Run as root from a terminal, these will list the device drivers loaded and in use, the wireless configuration settings and the network settings.
If the machine in question has Internet connectivity, highlight the lines spit out by those commands by clicking the mouse and dragging it over the desired text. A middle-click will paste it into another window.
If you have no connectivity, you can direct the output of the commands to a file.
lsmod > lsmod.txt
In that example, a file called "lsmod.txt" will be created that contains the needed info and save it to whatever directory you're in. You can then move the files to another machine that has a connection via a USB drive, CD ROM (although burning a CD for such small files is overkill).
If it's a dual-boot machine, you can save the files to a FAT32 partition and read them in Windows, but let's save that for now and hope that you have a wired connection working.
I just installed a Belkin Wireless card. I see on the CD the part number matches yours. I have it working perfectly using madwifi drivers. I have a script that starts it all up, but I have to do so manually. I was just going to post a question about where to put the script to auto start this at boot.
Here is the script I use. ap hardware address must change to what you have, key must be set to what you have and ip address.
There are varaiation son this. Now to just get thi sto go automatically!
Dang, I guess more information would help. I'm sorry for not stating before. I am running dual-boot with Ubuntu and Windows XP. Ummm... I will first try what you said to do, 2Gnu, and if that doesn't help, I will use a flashdrive or something to boot fromusing your method, and if that doesn't work, then I'll try your method, enlight1. Thank much you two. I'm hoping that one of your posts will be effective into solving my problem. Also, thanks for the wlecome.
Also, enlight1, do I need to install that driver you spoke about? The madwifi dirver? Also, if not and I just need to use those commands to boot, how would I boot it using a dual-boot pc? Or can I just type those into the command prompt thing in Ubuntu? Thanks for your help, and sorry for being so... "childish"(?) about this... I know a lot about Windows, just not Dos or anything about Linux. It took me three tries to install Ubuntu correctly. xD
Great. I solved my other question. Once you find the set of commands you need to bring up your network, edit the file /etc/rc.local and insert the commands at the end of that file. This is a script that executes after all else is set up and is for the user to customize.
I think I may need some more info... I downloaded that madwifi driver and put it on an RW so I didn't have to waste space or find my dad's flashdrive or whatever... but when I opened it up in Ubuntu... it was really strange... Also, directions said something about compiling it.... I may need a bit more help than all that... Like I said above, I'm completely new to Linux. =\ Sorry...
To turn source code into an executable binary that will run on your machine, it needs to be compiled. The typical steps are, using a command line, unzip the archive file: tar zxvf file_name.tar.gz, run the configure script: ./configure, compile: make, install the compiled binaries: change to root and make install.
There is almost always a README and/or INSTALL file in the archive with more specific instructions.
Alternatively, and especially with a distro like Ubuntu which is very GUI-fied, install a pre-compiled binary - a file that someone else has already baked for you and is ready to install. You'll find those in Ubuntu repositories - sites that host official or unofficial programs for your distro. Use the apt-get package manager to install, after making sure your apt-get configuration contains the repositories you need.
All of this probably sounds like gobbletygook, even though I'm trying my best to make it understandable. Read a bunch about apt-get, look at the LinuxQuestions Ubuntu forum, check out the "official" Ubuntu forums and hang out in some IRC Ubuntu channels. Eventually, it will make more sense.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.