Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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 am a linux newbie and i'm pretty sure this question has been asked before, however i do not really understand the instructions to connecting my wireless adapter to my network.
I am using a linksys wusb11 and installed knoppix to my harddrive.
I have altered my etc/network/interface to set it to the correct essid and mode.
But whenever i restart my computer and want to use the internet connection, I have to log on as root and type
man interfaces is the MANual for the interfaces configuration file. Almost all programs have a MANual PAGE as documentation, and any program or system config file you don't understand, you should always try typing man <program_name> into a terminal and see if you get some instructions. This is what we mean when we say "read the man page".
Secondly, I don't think you were supposed to change your current config and replace what was currently there with the three additional lines; I think you were supposed to add the additional lines to the end of the file. Since the last lines are already talking about wireless, adding the new lines after them seems reasonable enough. You definitely need "auto lo", and shouldn't remove it.
What distribution are you using (please fill in the "Distribution" field of your profile)? Does it by chance have a Control Center or system management tool that contains a network configuration utility?
And read man interfaces. It will probably be very technical, but it will probably also explain everything that is explainable about the file.
It will probably also tell you if you can add pump -i wlan0 to the interfaces file, so that it will be run automatically when you boot and the file is read.
after adding the 3 lines, and restarting my computer, i discovered that instead of just typing pump -i wlan0, i still have to change my essid and mode back to my original essid as it is no longer retained.
i have tried putting pump -i wlan0 at the end of my interfaces file before but it doesn't work. And my man interfaces doesnt have must to do with wireless devices. Do i have to set my device to static? and set my IP address too?
auto lo
iface lo inet loopback
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wireless_mode managed
wireless_essid mi_network
wireless_channel 11
as for changing to static IP addressing, it depends whether there's a dhcp server on your wireless network. A dhcp server is a machine (a router, or a PC, or lot's of other things) that will give your PC an IP configuration when it requests one (when your network interface comes up).
so if you have such a dhcp server, you can keep your config in dhcp, if not, you have to set it up statically...
but as you told that it worked through doing a pump -i wlan0, then you must have a dhcp server, since it worked without you configuring IP address & mask.
Take a look at the Knoppix docs about saving settings.
The menu option "Save Settings" places a copy of the settings on the local hard drive, or floppy or usb stick.
Booting with "knoppix home=scan" will search for them..
after changing the interfaces file and restarting the com, i discovered i have to type not onli the pump command but also change back my essid and mode because it has been reset. Any idea why this has happened?
using the knoppix save settings doesn't help either.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.