LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 02-19-2008, 12:39 PM   #1
thaynej
LQ Newbie
 
Registered: Feb 2008
Posts: 3

Rep: Reputation: 0
Unhappy ubuntu studio no wireless connection


i'm currently able to be online with the ubuntu live cd. i had it installed and working beautifully; then i found out there was the studio add on that looks good and comes with a bunch to play with....i ran the installer in the terminal, just copied/pasted the instructions. however, after the reboot, i tried using firefox, it pulled up my homepage, then i couldn't go anywhere from there. after reboots it will either not recognize a connection, or it will say i'm connected and not actually let me online. it's not the service to the house; my roommates don't have any problems. is there something i should try, or would it be best to just reinstall standard ubuntu? as user friendly as the standard version is, i would guess i might have done something wrong installing studio.

Last edited by thaynej; 02-19-2008 at 09:26 PM. Reason: noticed typos.
 
Old 02-20-2008, 09:32 PM   #2
JoeyAdams
Member
 
Registered: Jun 2006
Distribution: Kubuntu Hardy
Posts: 94

Rep: Reputation: 15
I recommend learning a few terminal commands to troubleshoot your wireless problems:

sudo ifconfig #lists network devices

#I will assume from here on that your wireless device is 'wlan0'. For some people, it might be something different, like eth1.

sudo iwlist wlan0 scan #scans the wireless routers detected by the card
sudo iwconfig wlan0 essid any #unmasks all the routers so a scan will show all the ones detected
sudo iwconfig wlan0 essid Name #sets the wireless device to use only the SSID specified (you can get the SSID from the scan)
sudo dhclient #Attempts to reestablish the network with whatever network devices are found and work. May require an abort (Ctrl+C) and rerun if eth0 stalls, for instance.

I don't know how to work with routers that use a passphrase; shooting the above commands methodically should give you more power in debugging if you have the encryption key on your router off (meaning no passphrase needed).

You'll also want to Google your wireless device's model (you can run lspci to find them) and see if anything pertaining to Linux comes up. You may need to modprobe modules that don't automatically get loaded.

If you learn all these commands and still find yourself going around in circles, perhaps you should try cycling power to the router (meaning, unplug the router, waiting about 10 or 20 seconds [the waiting is IMPORTANT], then plug it back in and apologize to other users). Sometimes the router likes to be stupid, too.
 
Old 02-20-2008, 11:04 PM   #3
thaynej
LQ Newbie
 
Registered: Feb 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by JoeyAdams View Post
I recommend learning a few terminal commands to troubleshoot your wireless problems:

sudo ifconfig #lists network devices

#I will assume from here on that your wireless device is 'wlan0'. For some people, it might be something different, like eth1.

sudo iwlist wlan0 scan #scans the wireless routers detected by the card
sudo iwconfig wlan0 essid any #unmasks all the routers so a scan will show all the ones detected
sudo iwconfig wlan0 essid Name #sets the wireless device to use only the SSID specified (you can get the SSID from the scan)
sudo dhclient #Attempts to reestablish the network with whatever network devices are found and work. May require an abort (Ctrl+C) and rerun if eth0 stalls, for instance.

I don't know how to work with routers that use a passphrase; shooting the above commands methodically should give you more power in debugging if you have the encryption key on your router off (meaning no passphrase needed).

You'll also want to Google your wireless device's model (you can run lspci to find them) and see if anything pertaining to Linux comes up. You may need to modprobe modules that don't automatically get loaded.

If you learn all these commands and still find yourself going around in circles, perhaps you should try cycling power to the router (meaning, unplug the router, waiting about 10 or 20 seconds [the waiting is IMPORTANT], then plug it back in and apologize to other users). Sometimes the router likes to be stupid, too.
i did some troubleshooting using the ubuntu help and ran some things in terminal; basically sometimes it would pull up the essid as "hug" (which is the name of the router connection; that is what's supposed to show, right?) however, i just couldn't ping anything. also, when it WAS recognized, i could go to google, search for a page, but after that, without fail, i couldn't go to any link that came up. after that happened, checking up on the wireless in the terminal would show no essid. i suppose it could be the router, but i wouldn't think i would get such regular results if something wasn't fishy in my software. PS, i am TOTALLY new to linux, ie, i installed ubuntu too quickly and accidentally told it to use the whole disk as a partition, so no more windows, it's sink or swim. (unless i find the backup disks somewhere.) point being, the last time i used command line was in ms-dos around '94 or so to play doom i had installed so my dad didn't see it from the desktop.....it'll be slow going for me for awhile.
 
Old 02-22-2008, 11:21 PM   #4
JoeyAdams
Member
 
Registered: Jun 2006
Distribution: Kubuntu Hardy
Posts: 94

Rep: Reputation: 15
Quote:
PS, i am TOTALLY new to linux, ie, i installed ubuntu too quickly and accidentally told it to use the whole disk as a partition, so no more windows
Are you so sure you intentionally selected the 2nd option in the installer? Type sudo fdisk -l to see. If you see any HPFS/NTFS partitions, you may still have Windows, just without the bootloader setup (though I'm guessing you already checked the disk size )

As for the networking problems, I recommend consistently Google searching your wireless device's name [e.g. Netgear MA111] (and please post it here so we can provide more information). By doing this, you will find out more commands you can shoot at that thing until it works (which it likely will, it just takes persistence). At the same time, you'll be learning more.

I'll go ahead and post a few more useful general purpose commands:

Code:
lsmod #lists loaded kernel modules
#by extension:
lsmod | grep usbcore
  #see if module usbcore is installed (the | is a pipe, meaning the
  #output of lsmod is fed, or "piped", into grep, which is a text searching utility)
sudo modprobe usbcore #loads module 'usbcore' if it isn't already

man grep #displays a manual page for "grep"
#there is an enormous number of man pages.  Virtually all general-use commands are
#documented in the manpages, so saying `man ls' or `man ifconfig' will display a
#documentation.

lsusb #lists present USB devices; can be used to find out model information for
  #your wireless device
lspcmcia #does the same for PCMCIA cards
lspci #lists devices connected to your PCI bus

Last edited by JoeyAdams; 02-22-2008 at 11:23 PM. Reason: (Tried to) get rid of lines making browser window excessively wide
 
Old 01-01-2009, 11:08 PM   #5
JoeHowell
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
Ditto

I'm having the same problem. I entered the commands into the terminal but they don't seem to be recognizing "eth0" or "wlan0". (I also gave "eth1" and "wlan1" a shot) It says my interface does not support scanning and the devices do not exist. Again, we have several computers running off this router.
 
Old 01-02-2009, 01:23 AM   #6
JoeHowell
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
Also

Also it goes under "wifi0".
 
  


Reply

Tags
network, studio, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Ubuntu newb: How do I get my wireless connection working with Ubuntu? devilgates Linux - Newbie 12 02-21-2008 07:05 PM
Wireless connection and update to Ubuntu 7.10 problems kaspin6.75 Linux - Newbie 3 02-08-2008 03:10 AM
No more wireless connection in mn-applet - Ubuntu 7.10 caezar Linux - Newbie 2 11-14-2007 11:18 PM
No Sound No Wireless Ubuntu Studio evilelviss Linux - Newbie 12 09-01-2007 07:18 PM
Ubuntu Wireless connection problem wmo Ubuntu 1 04-24-2006 06:54 PM


All times are GMT -5. The time now is 10:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration