Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hello everyone: I am real new at this Linux OS, I was able to install Ubuntu along with my old windows XP and I am ready to go in this new adventure, but when I try to install my wireless network adapter, my system can't find the adapter even though it is there physically inserted in one of the USB drives, why? The other question is that I went to the Network column on the top right side of the screen and try to edit the networks, when it asked me about my authentication password, it just won't accept my input. I am the only one using this computer, I know what the password for root and for the user account that has my first name on it are, so why is not letting me get in my own system? There is no one else here and there shouldn't be any other passwords.
Please anyone help. I am going to college to see if I can complete my technical degree training and even though is not a requirement, Linux is something I want to deal with if I want to call myself a real geek.
Was the wireless adapter working fine under Windows?
Windows XP is not brand new, therefore this computer is a few years old, but not ancient.
You are sure of the credentials to attach to your wireless network? Passphrase or key, you have that information, correct?
To start with, you can open a terminal to see if the wireless device is even detected.
Typing all of those and showing the output here either via attachment or in a code block will be helpful.
uname -a gives the kernel version which can be tied to the Ubuntu distribution. Sorry, but many times people say "I installed <blah-blah> when ... they really didn't"
lsusb gives a listing of detected USB devices; the network adapter should show in this list along with other USB devices.
iwconfig gives a listing of wireless adapters, it will also show your wired networks. eth0, eth1 are examples of wired network interfaces (not necessarily hooked up, but your system may have them). wlan0, wlan1 are examples of wireless network adapter interfaces. This would be what you'd be looking/hoping to see.
ifconfig gives a listing of network adapters and if the wlan# network is actually attached, I believe it will show up here.
Note that in both cases of iwconfig and ifconfig, you can add as an argument, the name of the adapter to see more details. Mainly I'm concerned here that "a" wireless adapter is seen at all, before proceeding to the "why nothing is working" part of this.
rtmistler: Okay, I hooked up my wire but still I am going to go the linux way and try to find my wireless adapter drive. I notice that it didn't work in Windows XP either, very strange because it was recognizing any adapter I hooked up on my pc so I thought that this started happening right after I installed my Ubuntu. I enter the codes you suggested and I am trying to send you the block of the entire code, maybe there's something in there you may see that is not right.
Thank you very much, I really appreciate your help
Here is the code block for your review, I know it is a long list of code in there, I was going to send it little by little but then it would take me a long time to do that, so here it is:
jose@ubuntu:~$ uname -a
Linux ubuntu 3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 17:33:45 UTC 2013 i686 i686 i386 GNU/Linux
Bus 002 Device 016: ID 0461:4e22 Primax Electronics, Ltd
Bus 002 Device 017: ID 413c:2111 Dell Computer Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
lo no wireless extensions.
What I think is that the network adapter is not detected at all. The Primax device is likely a webcam, but could be a mouse. The Dell device is likely a keyboard. You said it didn't work in XP. I'd find a wireless adapter which at least works for sure. If you end up purchasing one, then just make sure it advertises Linux and Windows compatibility, most of them will.
There's a small handful of things you can do; however if the hardware isn't even being detect in Windows, it may not be working.
I agree with the assessment that if this network adapter is not working in XP that it may not be working at all. Many times one can plus a USB device into a USB port when running Windows, you hear the "device inserted" sound, but that doesn't mean that it detected the device properly, or had a driver for it.
A thing to do under Linux is to look at your system log, by using the dmesg command.
My way of doing this is (1) to start without that device plugged in, issue the dmesg command, sending the output to a local file, this gets a baseline of where my system log was for starters. (2) Now insert my USB device (your network adapter) and then issue the dmesg command again and sending the output to a different local file. (3) observing the differences between the two files.
And then to go further, unplug the USB device and get another system log copy.
(from your home directory)
dmesg > temp1.log
(insert the network adapter)
dmesg > temp2.log
(observe the new lines at the end of your log and see what they're saying, if anything)
(remove the network adapter)
dmesg > temp3.log
(observe the differences between temp2.log and temp3.log to see if there was any information, but really the information you're looking for is what happens when you insert that device.)
Last edited by rtmistler; 09-13-2013 at 12:19 PM.
Reason: make instructions more clear, fix typo
There is a lot of code in those files, really but the messages are all the same and they only refer to the keyboard and the optical mouse, so I assume that the system just simply can't detect the wireless adaptor, which probably means that the driver is not there anymore. I will keep trying until I get it right, since I am not working due to being incapacitated because of a work injury, so I have all the time in the world.
If you plug in any working USB device, results will show in the system log, at the end of the log.
You can literally be at a command prompt, type dmesg<RET> and see the dump of the system log, take note of the last time entry in there, then plug in something valid and enter dmesg again and see new events beyond what you had in there. Sounds like you've tried it by unplugging and replugging your mouse/keyboard. Same for a USB thumbstick by the way. So, whatever network adapter it is that you're using, it's dead and dead enough that it's not even producing ID information to the host operating system, be that Windows or Linux. This is an electrical behavior. Pretty much most of those devices receive power from the host computer, that power is used in signaling back to the host to present credentials to identify the device so that the host OS can then properly load drivers. It has nothing to do with drivers, if the system log shows no events when you insert your network adapter to the USB. What that tells me is that the network adapter is no good, period. Like I say, unplug your mouse, plug it back in, view the system events you see. Or same with a thumbstick. If it can't even detect that a device was plugged in, then whatever device that is, it is not working properly.
To organize those thoughts, since you stated that you wanted to head to college with some systems understanding:
- A device gets plugged in to a USB slot.
- That device becomes part of an electrical connection, the presence of current flowing tells the computer that something has been plugged into that USB slot.
- The computer identifies that device by the use of a signaling protocol that it performs between itself and the inserted USB device.
I don't know the Windows system log forms, but clearly the Linux system log which you view by the dmesg command will show you system changes such as: network up/down, USB device inserted/removed, USB device identified/not identifiable and so forth.
So if you're saying that you dump your system log. Plug in this network adapter, and then dump your system log again and there are absolutely no new events; that network adapter is not working at all. Forget whether or not it's working as a network adapter, it's not even working as a proper USB slave device.
Well, I guess this experience will make me go further down the road with Linux until I am able to just get rid of the Windows OS for good. I read that Windows 8 does not allow you to create a Linux bootable USB stick and that users can no longer have Linux and Windows 8 running in the same pc and that's why I could not install it in my newer PC, that's really bad, don't you think?
your last message is really enlightening, I am really learning a great deal from this, I will keep all this on a separate folder to use it as reference whenever I needed. I believe you are absolutely right, that the culprit is the adapter itself. As the process of elimination shows, everything that is hooked up, is being detected by the messages log files, except of course the adapter.
I read that Windows 8 does not allow you to create a Linux bootable USB
Not true. You can use software downloaded to windows such as unetbootin or pendrivelinux to create a bootable flash drive.
users can no longer have Linux and Windows 8 running in the same pc
Not true either. You can probably find numerous posts here at LQ about people who have dual-booted windows 8 and some Linux distribution. It may be a little more difficult now with Secure Boot. I have only used windows 8 on VirtualBox so haven't had to deal with it.