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 01-15-2014, 11:24 PM   #1
JayReed
LQ Newbie
 
Registered: Jan 2014
Posts: 11

Rep: Reputation: Disabled
Cannot Connect to Wireless in Linux Mint


So this is a problem I've been having for awhile. first started with Ubuntu. I installed it on my new PC and the internet worked fine for awhile. Then suddenly one day it stopped. I couldn't connect anymore.

I didn't know what was wrong or what to do. Tried looking online for a solution but found none. I decided to try and install another OS thinking the problem would sort itself out. I installed Linux Mint (Cinnamon) only to run into the same problem.

On my desktop it says I have no connection. It still detects the house wireless and my neighbors networks. When I try and connect to the house network it says "Connecting to the wireless network..." for a few moments before a notification pops up that says "Disconnected - You are now offline." When I open up the browser it says "Server not found."

I read somewhere that when asking for help with problems like this it's best to go into the terminal, do some checks, and post the results. Since I can't get on the internet on my PC I just took some pics with my phone so I apologize for the quality:

"sudo /usr/lib/linuxmint/...":

http://i.imgur.com/78sHrpZ.jpg
http://i.imgur.com/pFadQiH.jpg
http://i.imgur.com/Xl2gbdZ.jpg

"lsmod":

http://i.imgur.com/wIdiqS7.jpg
http://i.imgur.com/WDQsmWK.jpg
http://i.imgur.com/sJLlFN7.jpg
http://i.imgur.com/bcI9CQu.jpg

If you need any other information just ask.
 
Old 01-16-2014, 07:49 AM   #2
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
Hi

so that also tells us you have no dual boot.

but there may still be options of loading a live cd/dvd, did you know that?


some observations first
########################

thanks for the images

we can see 2 main kernel modules that may interest you

wireless appears to be rtl8192ce

and altho I have a debian link
https://wiki.debian.org/rtl819x#supported-rtl8192ce

I would like you to open your terminal again as a local user (not root) and run this command pls

Code:
lspci -vvv
compare it to this snippet of ids for wifi device

Code:
PCI: 10EC:8176 Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter
PCI: 10EC:8177 Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter
PCI: 10EC:8178 Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter
PCI: 10EC:8191 Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter
alternatively you can name your exact motherboard make and model which should arrive at the same thing

look at the numbers to the left side 8176 to 91......tell us the number you see in your command

######################################

also we can see you have a wired kernel module called r8169

do you have a ethernet cable that will allow you to connect router to computer?

#####################################################

finally for now

open a terminal and run the command with root powers, LM I think uses sudo for that

so shortly you run (sudo command) and when prompted put in your local user password not the root password
-----confused yet?

here is the command

Code:
sudo ifconfig
now is ethernet showing as up and active as the same time as wireless?

if LM has a package manager such as aptitude or whatever

either open a terminal as a local user and type

Code:
wicd-
......and press the TAB bar to see what software options are available

hopefully you have installed wicd-gtk

http://community.linuxmint.com/software/view/wicd-gtk

and you can use it to scan wireless networks

good luck
 
Old 01-16-2014, 07:54 AM   #3
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
separate post

can you name the live cds or live dvds of linux you have pls?
 
Old 01-16-2014, 08:00 AM   #4
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,832

Rep: Reputation: 259Reputation: 259Reputation: 259
Mint is debian, so it should have aptitude (apt-get). I concur that the wicd package has the best probability of success.
 
Old 01-16-2014, 11:34 AM   #5
JayReed
LQ Newbie
 
Registered: Jan 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by aus9 View Post
Hi

so that also tells us you have no dual boot.

but there may still be options of loading a live cd/dvd, did you know that?


some observations first
########################

thanks for the images

we can see 2 main kernel modules that may interest you

wireless appears to be rtl8192ce

and altho I have a debian link
https://wiki.debian.org/rtl819x#supported-rtl8192ce

I would like you to open your terminal again as a local user (not root) and run this command pls

Code:
lspci -vvv
compare it to this snippet of ids for wifi device

Code:
PCI: 10EC:8176 Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter
PCI: 10EC:8177 Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter
PCI: 10EC:8178 Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter
PCI: 10EC:8191 Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter
alternatively you can name your exact motherboard make and model which should arrive at the same thing

look at the numbers to the left side 8176 to 91......tell us the number you see in your command

######################################

also we can see you have a wired kernel module called r8169

do you have a ethernet cable that will allow you to connect router to computer?

#####################################################

finally for now

open a terminal and run the command with root powers, LM I think uses sudo for that

so shortly you run (sudo command) and when prompted put in your local user password not the root password
-----confused yet?

here is the command

Code:
sudo ifconfig
now is ethernet showing as up and active as the same time as wireless?

if LM has a package manager such as aptitude or whatever

either open a terminal as a local user and type

Code:
wicd-
......and press the TAB bar to see what software options are available

hopefully you have installed wicd-gtk

http://community.linuxmint.com/software/view/wicd-gtk

and you can use it to scan wireless networks

good luck
Gonna try and take this step by step.

First off, I don't have any "live" cd's/dvd's. Don't really even know what those are. I don't even have a disc drive in my PC. I installed Linux Mint through a USB.

--------------------------------

When I put in that first command it gives me a long list of stuff but nothing arranged how it is in the quoted area. I do see mention of the kernal driver you mentioned (rtl8192ce) and "Realtek Semiconductor." Not sure if it's suppose to come out like you quoted it or if I'm suppose to sift through this information dump. I could do that but it'd take awhile.

Could also be because I'm not 100% sure I'm doing this as a local user or not. I'm just logging in and selecting the terminal icon. If I'm doing it wrong tell me.

I'l post a pic of what my screen looks like. Won't post the entire output unless needed because that'd be a lot of pictures.

http://i.imgur.com/P25sHOD.jpg

It's just a bunch of sections that look similar to that.

----------------------------------

The router is in another room and I can't move it as it doesn't belong to me (I'm a renter). I could possibly run a long ethernet cord to the next room where the router is but I'm pretty sure my landlord/s would have an issue with that.

----------------------------------

Posting a picture of what the ifconfig command gave me. I assume because there are so many 0's in "eth0" and "wlan0" sections that means they're not active right?

http://i.imgur.com/IpcRFZN.jpg

Sorry the image kind of cuts it off. First section is eth0, second is lo, third is wlan0.

----------------------------------

I tried the wicd- command and no command was found. This could also be because I'm just logging in and selecting terminal and I'm not sure if that's doing it as root or as a local user.

It did try and corrent me and ask if I meant "'wicd' from package 'wicd-daemon' (universe)." When I just type "wicd" it says the program wicd isn't installed and gives me a command to install it. Should I go ahead and try it?

Same goes for "wicd-gtk" which you mentioned.

I'm guessing even if I tried I couldn't install them because I'm not connected to the internet? Or am I wrong?
 
Old 01-16-2014, 07:19 PM   #6
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
hi

Quote:
I don't even have a disc drive in my PC.
so are you running LM off the usb or did you install LM off the usb onto to your internal drive

2) I am grateful you care about your landlord, you sound a nice person so I hope I hold my end of the bargain

3) how are you connecting to the internet on your replies please?

4) do you have spare USB stick

leaping ahead, pretending you do not have wicd-gtk installed, we could provide a link to it
you use (say) windows to download it to usb
use root powers to move it onto (say) linux usb or linux hard drive
and install it

----as you can tell, I live in australia so sorry for not instant replies

others feel free to offer advice please

5) ok so lets just confirm some things first ok?

no need to take photos just tell the results, if no hits you won't get a hit list like mine

run this command as a local user

Code:
dpkg -l | grep wicd

BELOW IS MY RESULTS NOT OP----ignore the version numbers we are interested in seeing the package hits ---the names, if any
ii  python-wicd                             1.7.2.4-4.1                    all          wired and wireless network manager - Python module
ii  wicd-daemon                             1.7.2.4-4.1                    all          wired and wireless network manager - daemon
ii  wicd-gtk                                1.7.2.4-4.1                    all          wired and wireless network manager - GTK+ client
pls report all package names you see on running that command

5) can you confirm you ran wicd-gtk and got pop up box = gui = executable

6) now the next a few steps to be done in order

first we need you to stop the ethernet from interfering with wifi

Code:
sudo ifconfig eth0 down
I am hoping LM has such a command so check if worked by running "sudo ifconfig"
----you want to see only lo (local) and wlan0

leaping ahead now we want to check what LM thinks, I googled this
http://forum.linuxmint.com/viewtopic.php?f=53&t=116943

don't get too excited about all the crap in there just run this command

Code:
sudo mintWifi
then compare it to link


depending on your answer or others dropping by to help

we may need to give you links to wicd-gtk?

good luck
 
Old 01-16-2014, 07:27 PM   #7
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
now as far as I can tell, LM is supposed to run a program called networkmanager

and its supposed to have an icon visible to you

can you confirm pls

is this what you used in the first post?

If it is, it sounds like you just need to give it the correct encryption passphrase and SSID stuff?

try right hand clicking it and looking for a settings option

good luck
 
Old 01-16-2014, 07:56 PM   #8
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 15 , Slackel 14.1, ChromeOS
Posts: 4,702
Blog Entries: 19

Rep: Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960
Hmm, Though I don't run Cinnamon. Maybe I can help.

My Laptop

Code:
$ inxi -Fxz
System:    Host: biker Kernel: 3.12.0-7-exton x86_64 (64 bit, gcc: 4.8.1) Desktop: MATE 1.4.2  Distro: Linux Mint 14 Nadia
Machine:   Mobo: SAMSUNG model: RV410/RV510/S3510/E3510 Bios: Phoenix version: 02UC.P026.20100916.LX date: 09/16/2010
CPU:       Dual core Pentium CPU T4500 (-MCP-) cache: 1024 KB flags: (lm nx sse sse2 sse3 ssse3) bmips: 9177.5 
           Clock Speeds: 1: 1200.00 MHz 2: 1200.00 MHz
Graphics:  Card: Intel Mobile 4 Series Integrated Graphics Controller bus-ID: 00:02.0 
           X.Org: 1.13.0 drivers: intel (unloaded: fbdev,vesa) Resolution: 1366x768@60.0hz 
           GLX Renderer: Mesa DRI Mobile Intel GM45 Express GLX Version: 2.1 Mesa 9.0.3 Direct Rendering: Yes
Audio:     Card: Intel 82801I (ICH9 Family) HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0 
           Sound: Advanced Linux Sound Architecture ver: k3.12.0-7-exton
Network:   Card-1: Atheros AR9285 Wireless Network Adapter (PCI-Express) driver: ath9k bus-ID: 06:00.0
           IF: wlan0 state: up mac: <filter>
           Card-2: Marvell 88E8040 PCI-E Fast Ethernet Controller driver: sky2 ver: 1.30 port: 3000 bus-ID: 04:00.0
           IF: eth0 state: down mac: <filter>
Drives:    HDD Total Size: 320.1GB (26.3% used) 1: id: /dev/sda model: SAMSUNG_HM321HI size: 320.1GB 
Partition: ID: / size: 18G used: 4.9G (30%) fs: ext4 ID: /home size: 163G used: 74G (48%) fs: btrfs 
           ID: swap-1 size: 4.19GB used: 0.00GB (0%) fs: swap 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 46.0C mobo: 46.0C 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 178 Uptime: 48 min Memory: 650.5/3886.6MB Runlevel: 2 Gcc sys: 4.7.2 
           Client: Shell (bash 4.2.37) inxi: 1.9.17
Code:
$ inxi -n
Network:   Card-1: Atheros AR9285 Wireless Network Adapter (PCI-Express) driver: ath9k 
           IF: wlan0 state: up mac: it's there, just edited by me
           Card-2: Marvell 88E8040 PCI-E Fast Ethernet Controller driver: sky2 
           IF: eth0 state: down mac: it's there, just edited by me
Those 2 will show most info needed in this thread. Using Mint. I use Mate instead of Cinnamon.
I am more of a minimalist and this is as blingy as I get. Besides XFCE.

http://askubuntu.com/questions/21630...s-to-reconnect

http://bbs.archbang.org/viewtopic.php?id=3163

Maybe but I really don't know

Quote:
I don't think it is a bug, but rather has to do with how routers in certain wi-fi networks are misconfigured. It is a difficult problem to troubleshoot, because if one cannot connect to the Internet and has no alternative connection available, then it is not possible to look up information. I have not had a chance to check whether the problem still exists for me, because I haven't been back to the location with the misconfigured wifi network.

A lot of techs have difficulty setting up routers. They just check one or two machines and if it works for those machines, they assume everything is ok. Many of the cheaper routers are not very user-friendly at all and just offer up a lot of gobbledygook in their config menus.
AND +1 from me on aus9 last post about passphrase and network manager.
 
Old 01-16-2014, 11:16 PM   #9
andy78
Member
 
Registered: Oct 2005
Location: Stockholm, Sweden
Distribution: Ubuntu
Posts: 78

Rep: Reputation: 18
This pic http://i.imgur.com/pFadQiH.jpg
shows that you are recieving a IPV6 adddress on your wlan interface.

You can easy check it at any time with the following command
ifconfig wlan0
Maby you must disable ipv6?

Log in to your router and chech that its set to auto and not a specific channel, my lubuntu did not want to recognize my ap after changing it to ch 11 but ubuntu 10.04 did, changed it to auto and there where no problem connection from both of them.
If its set to auto try changing a channel it could interfeer with one of you neighbours.

Before changing any settings check if you can ping a couple of hosts in the internet 8.8.8.8 for an example.
You can also share you internet from smartphone and connect via the phone to se if there is any difference if you have a smartphone or maybe that was what you intended to use as internet connection?

Last edited by andy78; 01-16-2014 at 11:20 PM.
 
Old 01-16-2014, 11:59 PM   #10
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
andy78

me thinks he can't log in to the router as its his landlord's

2) wicd-gtk is not an ipv6 daemon but OP has yet to reply

in the meantime, I am looking at the dependencies in debian for wicd-gtk
Depends: python, python-gtk2, python-glade2, wicd-daemon (without showing version numbers)

the OP could check all but wicd by

Code:
dpkg -l | grep python
and checking he gets the 3 python hits

and pretending he only needs, if networkmanager fails, wicd-gtk he could use windows to downloand 2 files

http://mirror.internode.on.net/pub/u....2.4-4_all.deb
http://mirror.internode.on.net/pub/u....2.4-4_all.deb

copy it onto usb stick
boot up LM
insert usb stick
check with a file manager where is file
-----eg /media/pathwayname/wicd-gtk*

try to install it with

Code:
sudo dpkg -i /media/pathwayname/wicd-gtk*
but it may report it needs more dependencies?

change pathwayname to real name, in debian its /media/yourname/nameofusbstick

if it works, do a full reboot

as a local user run wicd-gtk and input landlord's WPA2 passphrase into the appropiate settings in that gui, wicd-gtk


##############

according to distrowatch LM 16 has python pre-installed

Last edited by aus9; 01-17-2014 at 12:01 AM.
 
Old 01-17-2014, 07:13 AM   #11
andy78
Member
 
Registered: Oct 2005
Location: Stockholm, Sweden
Distribution: Ubuntu
Posts: 78

Rep: Reputation: 18
Aus9
Yes you are correct its his lanlords router.
Don't know what you mean by
2) wicd-gtk is not an ipv6 daemon but OP has yet to reply

But the check the pic i sent you and look at wlan0 "inet6 addr"
 
Old 01-17-2014, 08:58 AM   #12
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
andy78

see that #692490 bug is not fixed until version of link
https://launchpad.net/wicd/+milestone/1.7.3

my post 10 are versions 1.7.2 series
 
Old 01-17-2014, 10:31 AM   #13
andy78
Member
 
Registered: Oct 2005
Location: Stockholm, Sweden
Distribution: Ubuntu
Posts: 78

Rep: Reputation: 18
Make a small test using you phone as wireless accesspoint (i asume you have a iphone or android based phone).

Last edited by andy78; 01-17-2014 at 10:35 AM.
 
Old 01-17-2014, 07:41 PM   #14
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
offtopic

I am ordering a chinese android ETA 1-2 wks
but my router is only ipv4, so will need a wifi hotspot to confirm
 
Old 01-17-2014, 10:22 PM   #15
JayReed
LQ Newbie
 
Registered: Jan 2014
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by aus9 View Post
hi



so are you running LM off the usb or did you install LM off the usb onto to your internal drive

2) I am grateful you care about your landlord, you sound a nice person so I hope I hold my end of the bargain

3) how are you connecting to the internet on your replies please?

4) do you have spare USB stick

leaping ahead, pretending you do not have wicd-gtk installed, we could provide a link to it
you use (say) windows to download it to usb
use root powers to move it onto (say) linux usb or linux hard drive
and install it

----as you can tell, I live in australia so sorry for not instant replies

others feel free to offer advice please

5) ok so lets just confirm some things first ok?

no need to take photos just tell the results, if no hits you won't get a hit list like mine

run this command as a local user

Code:
dpkg -l | grep wicd

BELOW IS MY RESULTS NOT OP----ignore the version numbers we are interested in seeing the package hits ---the names, if any
ii  python-wicd                             1.7.2.4-4.1                    all          wired and wireless network manager - Python module
ii  wicd-daemon                             1.7.2.4-4.1                    all          wired and wireless network manager - daemon
ii  wicd-gtk                                1.7.2.4-4.1                    all          wired and wireless network manager - GTK+ client
pls report all package names you see on running that command

5) can you confirm you ran wicd-gtk and got pop up box = gui = executable

6) now the next a few steps to be done in order

first we need you to stop the ethernet from interfering with wifi

Code:
sudo ifconfig eth0 down
I am hoping LM has such a command so check if worked by running "sudo ifconfig"
----you want to see only lo (local) and wlan0

leaping ahead now we want to check what LM thinks, I googled this
http://forum.linuxmint.com/viewtopic.php?f=53&t=116943

don't get too excited about all the crap in there just run this command

Code:
sudo mintWifi
then compare it to link


depending on your answer or others dropping by to help

we may need to give you links to wicd-gtk?

good luck
First off, I'm using a netbook I own to view this forum. The internet on it and every other device in the house works fine.

Second, I do not currently own another USB stick save for the one. I plan on buying more in the future. If needed I can just reformat the one I currently own.

I did the "dpkg -l | grep wicd" command and didn't get anything back, just a message that reads "dpkg: error: unknown option -1." No idea if I did it wrong or not.

If you mean if I run the wicd-gtk command and get an install prompt I do. The prompt is in the terminal and doesn't come in a pop-up. If that isn't what mean than I'm sorry. Should I go ahead and try and install wicd-gtk just to see what happens?

I did the "sudo ifconfig eth0 down" and it seemed to work as when I put in "sudo ifconfig" I no longer see the "eth0" section.

Putting in "sudo mintWifi" doesn't seem to work. After a few moments it says "connection timed out: no servers could be reached." This is at section "VI." The section before that (V) just reads "querying DHCP..." and nothing else.

Is networkmanager the icon in the bottom right that usually has the lined wifi signal? Where that is there's just a "no connection" thing. If not where would it be?
 
  


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
[SOLVED] How to connect Mint Maya with Fios wireless susangh Linux - Newbie 2 08-09-2012 02:38 PM
Absolutely stymied trying to get L-Mint to connect to my Wireless jackiebaron Linux - Networking 2 06-30-2012 10:06 AM
[SOLVED] Unable to connect to wireless networks on HPG60 running Linux Mint 11 Micheil Linux - Wireless Networking 2 01-03-2012 08:35 AM
Cant connect to wireless modem on linux mint 9 katesfb Linux - Wireless Networking 5 12-06-2011 06:47 PM
Linux Mint 12: How to connect to internet with wireless network adapter? Macle Linux Mint 21 12-04-2011 03:01 PM


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