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 12-12-2012, 11:42 AM   #1
sanjayagayan
Member
 
Registered: Feb 2010
Location: Sri Lanka
Posts: 59

Rep: Reputation: 15
Can't Connect To Internet In Linux Mint 14


I had install Linux mint 14 mate desktop to my laptop few days back.After that i connect to internet using my USB mobile broadband dongle and update the OS.Then i install few software's and drivers.After restart when i try to connect to internet using same usb dongle it connected.Network manager applet shows that it connect to the internet.But when i try to open Firefox it says 'server not found'.I had tried with opera and Google chrome and got the same results.I tried several times after restart the computer and got the same results.
My firewall settings are turnoff.I can connect to internet using same dongle in windows 7.What should i do.How can i correct that error.
 
Old 12-12-2012, 11:46 AM   #2
kedarp
Member
 
Registered: Jul 2012
Distribution: Ubuntu
Posts: 198
Blog Entries: 3

Rep: Reputation: 23
Try to ping www.google.com through the terminal and see if it is connected.

Or try traceroute.

#traceroute www.google.com
 
Old 12-12-2012, 11:49 AM   #3
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hi,

please post the output of
Code:
ifconfig
and
Code:
cat /etc/resolv.conf
Markus
 
Old 12-13-2012, 11:17 PM   #4
sanjayagayan
Member
 
Registered: Feb 2010
Location: Sri Lanka
Posts: 59

Original Poster
Rep: Reputation: 15
Output to ping command

ping www.google.com ping: unknown host www.google.com
 
Old 12-13-2012, 11:19 PM   #5
sanjayagayan
Member
 
Registered: Feb 2010
Location: Sri Lanka
Posts: 59

Original Poster
Rep: Reputation: 15
Output to traceroute

traceroute www.google.com
The program 'traceroute' can be found in the following packages:
* inetutils-traceroute
* traceroute
Try: apt-get install <selected package>
 
Old 12-13-2012, 11:21 PM   #6
sanjayagayan
Member
 
Registered: Feb 2010
Location: Sri Lanka
Posts: 59

Original Poster
Rep: Reputation: 15
Output to ifconfig

eth0 Link encap:Ethernet HWaddr c8:0a:a9:39:30:e1
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3772 errors:0 dropped:0 overruns:0 frame:0
TX packets:3772 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:297544 (297.5 KB) TX bytes:297544 (297.5 KB)

ppp0 Link encap:Point-to-Point Protocol
inet addr:10.225.53.232 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:326 (326.0 B) TX bytes:601 (601.0 B)

wlan0 Link encap:Ethernet HWaddr 00:26:82:69:ea:9c
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
 
Old 12-13-2012, 11:22 PM   #7
sanjayagayan
Member
 
Registered: Feb 2010
Location: Sri Lanka
Posts: 59

Original Poster
Rep: Reputation: 15
Out put to cat /etc/resolv.conf

cat /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory
 
Old 12-13-2012, 11:28 PM   #8
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Ask your ISP's technician what is the Domain Name Server IP. He will certainly give you that ip number, it is a must under the contract. Then, for example, you are given such number as: 88.888.888.88 and your ISP's domain, say, is called forsale.corporation.com you will simply do this in the terminal:

Quote:
echo "88.888.888.88 forsale.corporation.com" >> /etc/resolv.conf
Then restart the internet protocol or network manager.

Launch firefox and see if it can travel now from west to east .

HOpe that helps.

Good luck.
 
1 members found this post helpful.
Old 12-13-2012, 11:40 PM   #9
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Quote:
cat /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory
You may create the file. The command I gave above will automatically create the file if it did not exist:

Quote:
echo "88.888.888.88 forsale.corporation.com" > /etc/resolv.conf
Use only one (1) of this " > " it creates a fresh file at the /etc directory.

Good luck.
 
1 members found this post helpful.
Old 12-14-2012, 01:26 AM   #10
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
You could easily
Code:
echo "nameserver ip-of-the-nameserver" > /etc/resolv.conf
And you can check this ip-adress when you have your Windows-box connected to the internet with the same device, execute on the Windowscomputer in the dosshell (cmd)
Code:
ipconfig /all
there will also the DNS-server(s) be listed.
The syntax for /etc/resolv.conf is
Code:
nameserver xxx.xxx.xxx.xxx
nameserver yyy.yyy.yyy.yyy
and so on.

Markus
 
1 members found this post helpful.
Old 12-14-2012, 11:19 AM   #11
sanjayagayan
Member
 
Registered: Feb 2010
Location: Sri Lanka
Posts: 59

Original Poster
Rep: Reputation: 15
Thumbs up

Above posts work on me.Now i can connect to internet in linux mint.Thank you very much for all.
 
  


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 13 maya cannot connect to internet! pablo.b Linux - Newbie 4 05-28-2012 04:51 PM
Connect to internet using nokia C5 in linux-mint yash0307 Linux - Newbie 6 03-23-2012 03:33 PM
Linux Mint 8 how do I actually connect to internet. auntie_biotic Linux - Newbie 2 02-08-2010 07:37 PM
Unable to Connect to Internet using Linux Mint. MexDeath Linux - Networking 8 08-12-2009 11:04 PM
Linux mint can't connect to the internet UbuntuIdiot Linux - Newbie 1 06-17-2009 09:23 AM

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

All times are GMT -5. The time now is 05:08 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
Open Source Consulting | Domain Registration