LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-03-2014, 04:48 PM   #1
Millington
LQ Newbie
 
Registered: May 2014
Posts: 2

Rep: Reputation: Disabled
WIFI was working now can't connect.


I have disconnected and reconnected nothing happened. I have looked at setings. SSID set, don't know much about the rest. MTU: Automatic.IPv4: automatic. Wireless security WPA is set. What else do I need?
My WiFi adapter is a Linksys compact wireless G usb. my system is Ubuntu 12.04. I am writing this on my laptop, for some reason, I am unable to show the results because when I try to copy the results, I am unable to copy them to my finger drive.

Last edited by Millington; 06-04-2014 at 12:20 PM. Reason: can't copy data from terminal?
 
Old 06-03-2014, 05:59 PM   #2
soldersplash
LQ Newbie
 
Registered: May 2009
Location: England, UK
Distribution: Ubuntu 16.04
Posts: 21

Rep: Reputation: 0
Post

Hello Millington,
I see you're new around here so welcome aboard!

Your question doesn't give us much to go on. On my system (Currently Ubuntu 13.10) I can use dmesg to to see whats going on when I disconnect/re-connect to wifi. This may give us some clue as to what is going on for you.
Disconnect from WiFi then open up a terminal and use the foillowing command:
Code:
you@your_host:~$ dmesg | tail -n20
(the | aka 'pipe' redirects the dmesg output to the tail command which with the optional -n20 just shows us the last 20 lines of the dmesg output; we don't need to see it all)

Now attempt to re-connect to WiFi, give it 30seconds maybe then run the command again:
Code:
you@your_host:~$ dmesg | tail -n20
You should be able to see what messages spat out after the attempted re-connect by comparing before and after. Post the dmesg output back here and we'll try and help work out your problem

Best regards,
Soldersplash.
 
Old 06-04-2014, 12:21 PM   #3
Millington
LQ Newbie
 
Registered: May 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
My WiFi adapter is a Linksys compact wireless G usb. my system is Ubuntu 12.04. I am writing this on my laptop, for some reason, I am unable to show the results because when I try to copy the results, I am unable to copy them to my finger drive for transfer to laptop.I cold started my router and that didn't work. I am going to reload Ubuntu and start over from scratch. It worked when I first booted the system.

Thanks for your help.

Last edited by Millington; 06-04-2014 at 12:26 PM.
 
Old 06-04-2014, 07:43 PM   #4
Fred Caro
Senior Member
 
Registered: May 2007
Posts: 1,007

Rep: Reputation: 167Reputation: 167
Millington,
is your 'finger drive' a usb stick/pendrive/removable drive? Is it formated to fat, or some other file system or broke? Or are you copying incorrectly?
If wifi worked first time round after rebooting a new install it should continue to work but strengh of signal can be an issue.
From the signal icon you can click to see available 'networks' does yours show up?
Alternativly show the output of '/sbin/iwconfig' from a terminal no quotes.

Fred
 
Old 06-04-2014, 08:49 PM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
There's basically 3 things that make up a network connection. The device driver and configuration. The routing. And the firewall. Any of the three can disable your network.

# iptables-save

# route -n
$ netstat -r

# ifconfig
# iwconfig

You can pipe the output to files. 2>&1 redirects STDERR to STDOUT. Pipe "|" plus tee sends it to a file while letting you see the output. So:

# route -n 2>&1 | tee logfile.txt

or redirect it to a file and not see the output.

# route -n 2>&1 > logfile.txt
 
1 members found this post helpful.
Old 06-04-2014, 08:56 PM   #6
l33y
Member
 
Registered: Jan 2014
Location: Gulf Coast, USA
Distribution: Xubuntu
Posts: 51
Blog Entries: 1

Rep: Reputation: Disabled
Millington,

When you are logged into a command terminal in Ubuntu and have your memory stick plugged in, try the following commands.
Quote:
sudo fdisk -l
This will show you the device name of your memory stick. Then mount it
Quote:
sudo mount /dev/sdb1 /mnt
Quote:
cd /mnt
Then you can type in the commands soldiersplash and Shadow 7 were recommending, and pipe them out to a file on your memory stick.
Quote:
dmesg | tail -n20 >> tailer
Then try opening tailer as a text file in Windows, and posting the output here. You might also want to try the following:

Quote:
dmesg | grep wlan0
Quote:
iwlist wlan0 scanning

Last edited by l33y; 06-04-2014 at 09:05 PM.
 
  


Reply



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
Linux mint 12 will not connect to wifi internet or android wifi tethers wilspeak Linux - General 4 06-06-2012 12:40 AM
WiFi can't switch the connection to wifi hotspot when already connect to an AP pologuy Linux - Wireless Networking 2 08-02-2011 03:05 AM
wifi works:how to connect to hotspot,with console?alternative to wifi-wiz assistant? frenchn00b Debian 7 10-30-2009 12:31 PM
Ubuntu 9.04 can't connect to wifi with Intel Wireless WiFi Link 5100 Shinbatsu Linux - Networking 3 08-30-2009 12:55 AM
can't connect wifi at home, but can connect everywhere else Javi2 SUSE / openSUSE 1 08-25-2005 06:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:14 AM.

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
Open Source Consulting | Domain Registration