LinuxQuestions.org
Help answer threads with 0 replies.
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, 05: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 01:20 PM. Reason: can't copy data from terminal?
 
Old 06-03-2014, 06: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, 01: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 01:26 PM.
 
Old 06-04-2014, 08:43 PM   #4
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
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, 09:49 PM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 2,317
Blog Entries: 1

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
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, 09:56 PM   #6
l33y
Member
 
Registered: Jan 2014
Location: Gulf Coast, USA
Distribution: Xubuntu
Posts: 50
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 10:05 PM.
 
  


Reply


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


All times are GMT -5. The time now is 08:41 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