LinuxQuestions.org
Help answer threads with 0 replies.
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 04-19-2009, 10:10 AM   #1
nirmalya2006
LQ Newbie
 
Registered: Apr 2009
Location: Kolkata,India
Distribution: Fedora 10
Posts: 23

Rep: Reputation: 16
Unable to connect to internet !!!


Hi friends,
This is a very peculiar problem I am facing.
I am using Fedora 10. I use my mobile phone Nokia 5300 as a modem for surfing the internet. I had edited the wvdial.conf file to have my mobile configured as a modem using data cable.
Now when I am dialing for internet access, my mobile phone shows that internet is connected. But when I am launching Firefox, it is showing "Firefox is offline". Again when I am trying a system update,it shows "No network connection". I even tried to install RPMFusion trough the terminal, yet the message was "Unable to connect".
Please help me connect to the internet.
Thanks in advance.
 
Old 04-19-2009, 10:22 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Check your firewall ... install Guarddog for GUI configuration of the same.

If your connection keeps fluctuating then
this may be due to the way Fedora 10 handles CPU scaling on some systems.
 
Old 04-19-2009, 10:28 AM   #3
nirmalya2006
LQ Newbie
 
Registered: Apr 2009
Location: Kolkata,India
Distribution: Fedora 10
Posts: 23

Original Poster
Rep: Reputation: 16
But the connection is all along steady, I am getting an "E" on my mobile showing edge connectivity all along. Firefox has not been able to connect for once.
And about the firewall, how can I disable it.
 
Old 04-19-2009, 10:31 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
what is the output from
ifconfig
route -n

Last edited by repo; 04-19-2009 at 10:32 AM.
 
Old 04-19-2009, 10:35 AM   #5
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Is firefox in offline mode ... check?

First you need to stop SELinux with

#su
#setenforce 0

then you can configure your firewall (but usually it is not essential)

Try

#ping www.google.com

Post output of

#ifconfig -a

#netstat (relevant portion)
 
Old 04-19-2009, 10:42 AM   #6
nirmalya2006
LQ Newbie
 
Registered: Apr 2009
Location: Kolkata,India
Distribution: Fedora 10
Posts: 23

Original Poster
Rep: Reputation: 16
My machine is connected to the "Students Network" in my hostel through 100 Mbps LAN, so I have an ip 192.168.0.240, netmask 255.255.255.0 and a default gateway 1.1.1.1 .
But ethernet won't affect the dial up internet through mobile phone...will it? (Well I am new to this system, I am not sure).
 
Old 04-19-2009, 10:46 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
disable the Lan interface
connect and give the output from
ifconfig and route -n
 
Old 04-20-2009, 09:43 AM   #8
nirmalya2006
LQ Newbie
 
Registered: Apr 2009
Location: Kolkata,India
Distribution: Fedora 10
Posts: 23

Original Poster
Rep: Reputation: 16
Output of ifconfig -a is as follows, I could not make a head or tail out of it...


[Nirmalya@Trinity ~]$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1B:38:92:E52
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)
Interrupt:16 Base address:0xe000

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:76 errors:0 dropped:0 overruns:0 frame:0
TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5392 (5.2 KiB) TX bytes:5392 (5.2 KiB)

pan0 Link encap:Ethernet HWaddr 4E:42:EB:1D:5E:8F
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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

ppp0 Link encap:Point-to-Point Protocol
inet addr:10.230.166.223 P-t-P:10.6.6.6 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:64 (64.0 b) TX bytes:94 (94.0 b)

wlan0 Link encap:Ethernet HWaddr 00:14:A5:CE:6D:27
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)

wmaster0 Link encap:UNSPEC HWaddr 00-14-A5-CE-6D-27-F4-5F-00-00-00-00-00-00-00-00
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)

[Nirmalya@Trinity ~]$
 
Old 04-20-2009, 09:45 AM   #9
nirmalya2006
LQ Newbie
 
Registered: Apr 2009
Location: Kolkata,India
Distribution: Fedora 10
Posts: 23

Original Poster
Rep: Reputation: 16
The output of route -n is as follwos. I dont know what this all signifies...


[root@Trinity Nirmalya]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.6.6.6 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
[root@Trinity Nirmalya]#
 
Old 04-20-2009, 09:46 AM   #10
nirmalya2006
LQ Newbie
 
Registered: Apr 2009
Location: Kolkata,India
Distribution: Fedora 10
Posts: 23

Original Poster
Rep: Reputation: 16
And about pinging the www.google.com after stopping SELinux is


[root@Trinity Nirmalya]# ping www.google.com
ping: unknown host www.google.com
[root@Trinity Nirmalya]#
 
Old 04-20-2009, 10:19 AM   #11
nirmalya2006
LQ Newbie
 
Registered: Apr 2009
Location: Kolkata,India
Distribution: Fedora 10
Posts: 23

Original Poster
Rep: Reputation: 16
Some new developments I found out :

this command "curl http://74.125.77.103" provided me a html code.
the ip is of www.google.com.

When I gave this command "ping 74.125.77.103" pinging was successful.

When I put "http://74.125.77.103" in Firefox browser the google homepage opened up. But if I typed www.google.com in the firefox browser it shows "Address Not Found".

Please help me connect to the internet....
 
Old 04-20-2009, 11:17 AM   #12
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
then you need to add the DNS from your provider in
/etc/resolv.conf

nameserver xxx.xxx.xxx

Ifyo don't know the DNS from your provider, you can use openDNS

nameserver 208.67.222.222
nameserver 208.67.220.220
 
Old 04-20-2009, 11:50 AM   #13
nirmalya2006
LQ Newbie
 
Registered: Apr 2009
Location: Kolkata,India
Distribution: Fedora 10
Posts: 23

Original Poster
Rep: Reputation: 16
Dear Repo I tried out the open DNS, it didn't work. Firefox says "Address Not Found"
I got the DNS of my service provider,but it didn't work either.
I am just providing the terminal results after I connected by wvdial. See if that contains any info.

[root@Trinity Nirmalya]# sudo wvdial DATA
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","www.e.pr"
AT+CGDCONT=1,"IP","www.e.pr"
OK
--> Modem initialized.
--> Idle Seconds = 3600, disabling automatic reconnect.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Apr 20 22:13:17 2009
--> Pid of pppd: 3375
--> Using interface ppp0
--> pppd: p[19]w
--> pppd: p[19]w
--> pppd: p[19]w
--> local IP address 10.230.241.179
--> pppd: p[19]w
--> remote IP address 10.6.6.6
--> pppd: p[19]w
--> primary DNS address 218.248.240.208
--> pppd: p[19]w
--> secondary DNS address 218.248.240.135
--> pppd: p[19]w
 
Old 04-20-2009, 11:53 AM   #14
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
what is the output from
Code:
nslookup www.google.com
 
Old 04-20-2009, 12:07 PM   #15
nirmalya2006
LQ Newbie
 
Registered: Apr 2009
Location: Kolkata,India
Distribution: Fedora 10
Posts: 23

Original Poster
Rep: Reputation: 16
That thing gives "Connection timed out:No servers could be reached"
 
  


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
Able to connect to default Gateway, Unable to connect to internet Dumb.Coder Linux - Newbie 11 04-14-2009 04:22 AM
unable to connect to internet symb0lism SUSE / openSUSE 8 06-17-2006 06:24 AM
Unable to connect to the Internet Melanieb Linux - Newbie 1 08-15-2005 05:52 PM
Unable to connect to the internet bear2x Linux - Networking 6 07-22-2005 08:42 AM
unable to connect to the internet shaahul Linux - Newbie 1 09-15-2003 06:59 AM

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

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