cant access internet

hey guys am using opensuse 12.1 kde version and i created a dial up DSL connection and it created the connection successfully no error but even then its not connected networking is also enabled in the network manager please help me out cant me why my internet is not working
well i also added connection in linux mint and ubuntu and they successfully created connection and they also worked don’t know why its not working in opensuse.

On 11/22/2012 11:56 AM, yasirassassin wrote:
> don’t know why its not working in opensuse.

we can’t tell either, until we have some more info, so please show us
the terminal output and input from each of these inputs


/sbin/ifconfig -a
ping <your-router-IP-address>
/sbin/route -n
ping 8.8.8.8
nslookup forums.opensuse.org
ip addr
ip route
ip -s link
grep '^^#]' /etc/resolv.conf

copy/paste the in/output back to this thread using the instructions
here: http://goo.gl/i3wnr

and, please tell us if you are using NetworkManager or ifup to control
your networking…oh! you say have a dial up, are you using PPP or kppp
and have you provided the dialer the correct telephone number, and
entered your access name/password…


dd http://goo.gl/PUjnL
http://tinyurl.com/DD-Caveat http://tinyurl.com/DD-Hardware
http://tinyurl.com/DD-Software

ya i am using network manager and qinternet as it was recommended
well i entered correct user name and pass for dialup connection

in qinternet log file first it was written that connection established and after few seconds it says ppd[0] died link idle etc
ok these are results

  1. /sbin/ifconfig -a
 :
eth0 Link encap:Ethernet HWaddr 00:27:0E:09:AE:00
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::227:eff:fe09:ae00/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:147 errors:0 dropped:0 overruns:0 frame:0
TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14724 (14.3 Kb) TX bytes:13073 (12.7 Kb)
Interrupt:44 Base address:0x2000
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:152 errors:0 dropped:0 overruns:0 frame:0
TX packets:152 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10381 (10.1 Kb) TX bytes:10381 (10.1 Kb)

2)/sbin/route -n

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0

3)ping 8.8.8.8

it just keep on printing this
64 bytes from 8.8.8.8: icmp_seq=87 ttl=47 time=180 ms
64 bytes from 8.8.8.8: icmp_seq=88 ttl=47 time=180 ms
64 bytes from 8.8.8.8: icmp_seq=89 ttl=47 time=179 ms
64 bytes from 8.8.8.8: icmp_seq=90 ttl=47 time=179 ms
64 bytes from 8.8.8.8: icmp_seq=91 ttl=47 time=179 ms
64 bytes from 8.8.8.8: icmp_seq=92 ttl=47 time=180 ms
64 bytes from 8.8.8.8: icmp_seq=93 ttl=47 time=179 ms
64 bytes from 8.8.8.8: icmp_seq=94 ttl=47 time=179 ms
64 bytes from 8.8.8.8: icmp_seq=95 ttl=47 time=179 ms
64 bytes from 8.8.8.8: icmp_seq=96 ttl=47 time=179 ms

4)ip addr

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:27:0e:09:ae:00 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.2/24 brd 192.168.1.255 scope global eth0
inet6 fe80::227:eff:fe09:ae00/64 scope link
valid_lft forever preferred_lft forever
7: dsl0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc pfifo_fast state
UNKNOWN qlen 3
link/ppp
inet 116.71.182.11 peer 116.71.176.1/32 scope global dsl0

5)ip route

default via 192.168.1.1 dev eth0
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.2 metric 1

6)ip -s link

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
RX: bytes packets errors dropped overrun mcast
10381 152 0 0 0 0
TX: bytes packets errors dropped carrier collsns
10381 152 0 0 0 0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:27:0e:09:ae:00 brd ff:ff:ff:ff:ff:ff
RX: bytes packets errors dropped overrun mcast
260984 2989 0 0 0 0
TX: bytes packets errors dropped carrier collsns
32802 313 0 0 0 0

7)grep ‘^^#]’ /etc/resolv.conf

nameserver 192.168.1.1

On 11/22/2012 03:36 PM, yasirassassin wrote:
> 7)grep ‘^^#]’ /etc/resolv.conf
>
> Code:
> --------------------
> nameserver 192.168.1.1
> --------------------

your isp should provide you with a nameserver…the one you are using is
not right…if you can’t get one from your isp then use the free one
from google 8.8.8.8

then try to access the net again…and, show us the log from ppp, BUT
take a few moments and MAKE SURE the log does not show your
ID/Password…most won’t, but check…

anyone else looking in on this thread–if you can help, PLEASE do so…i
am about at my limit…


dd

What I would like to add is please yasirassassin,

It is fine when you post computer output between CODE tags, but you should then copy/paste from the terminal window in between the tags. I do not know how you did it, but you completely lost the layout and thus half of the gain of the CODE tags is lost.

Also please copy/paste including the prompt and the command. Then there is no need to type separatly the commands you did. Like:

henk@boven:~> /sbin/ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:1B:FC:7F:C1:EF  
          inet addr:10.0.0.154  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: 2001:980:91a0:1:21b:fcff:fe7f:c1ef/64 Scope:Global
          inet6 addr: fe80::21b:fcff:fe7f:c1ef/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20076 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21761 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:12107632 (11.5 Mb)  TX bytes:3763803 (3.5 Mb)

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:2527 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2527 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:4777565 (4.5 Mb)  TX bytes:4777565 (4.5 Mb)

wlan0     Link encap:Ethernet  HWaddr 00:C0:A8:EE:DE:B9  
          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)

henk@boven:~> 

Look at the difference (in layout, not in contents of course).

On 2012-11-22 15:56, dd wrote:
> On 11/22/2012 03:36 PM, yasirassassin wrote:
>> 7)grep ‘^^#]’ /etc/resolv.conf
>>
>> Code:
>> --------------------
>> nameserver 192.168.1.1
>> --------------------
>
> your isp should provide you with a nameserver…the one you are using is
> not right…if you can’t get one from your isp then use the free one
> from google 8.8.8.8

It may be the router and then it is correct.
Besides that the connection is working as ping demonstrates. I don’t see
the nslookup result, though.

OP, try “ping google.com”, and put it complete, not edited, like this:


> cer@minas-tirith:~> ping -c 3 google.com
> PING google.com (74.125.136.101) 56(84) bytes of data.
> 64 bytes from ea-in-f101.1e100.net (74.125.136.101): icmp_req=1 ttl=46 time=127 ms
> 64 bytes from ea-in-f101.1e100.net (74.125.136.101): icmp_req=2 ttl=46 time=125 ms
> 64 bytes from ea-in-f101.1e100.net (74.125.136.101): icmp_req=3 ttl=46 time=134 ms
>
> --- google.com ping statistics ---
> 3 packets transmitted, 3 received, 0% packet loss, time 2003ms
> rtt min/avg/max/mdev = 125.729/128.984/134.034/3.643 ms
> cer@minas-tirith:~>



Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))

From the ouput you provided we can learn that:

  1. your cabled connection (eth0) is up and running using IP address 192.168.1.2.

  2. your default router ia 192.168.1.1 and that looks fine.

  3. you can ping 8.8.8.8 and thus you have internet access despite from what you say.

  4. your DNS server is the same as your router (192.168.1.1) which should probably be OK, as your ISP should have configured your router to ask further down the line. You could change this to 8.8.8.8 but you could also test if your router can resolve correct with

nslookup forums.opensuse.org

And finaly, (but that should have been asked first!) you say that you have no internet access, but you did not tell us why you think that. This is the more because you do have internet access (you can ping 8.8.8.8 and that is definitely on the internet).

Thus please tell us what you did, what you expected to happen and what happened instead that you jumped to the conclusion that you have no internet access.

Carlos E. R. wrote:
> OP, try “ping google.com”, and put it complete, not edited, like this:

perhaps also worth trying “nslookup www.google.com

mmmm thanks for reply
well i say that because in Qinternet log it says that connection disconnected and also i tried to open google on firefox and it says connection timed out which means my net is down and i dont have access to internet… my final conclusion to my post is the question that if i have access to internet than why i cant open any web page whats wrong…also network manager shows that no internet connection
if i talk about Qinternet what it actually does is that on the usual bases it shows message that internet connected etc…and when it says connnected icon changes to something showing like data is coming or wire is connected but in few seconds it turn to normal that is if i check in log there i get message net dissconcted so i click again or qinternet to reconnect to internet it again connects and after few seconds 3 or 4 perhaps again dissconeected
hope this detailed description gives u idea what i want to say
again thanks for replies guys really appreciate that

On 11/22/2012 06:36 PM, yasirassassin wrote:
> if i check in log there i get message net dissconcted

please show us the logs…well, we don’t need to see it all (and we sure
do not need to see a password), but is there a reason given for the
disconnect? like, does it say “Connection timed out.” or “Connection
closed by host.” or what?

and, what kind of modem are you driving and have you tuned the
initialization string to what the modem and your isp expect, or did you
go with whatever the default is for the dialer? now, i’ve not use a dial
up in about six years or so, but i remember that every modem and every
ISP had particular ideas on how the hand shake should go and what
parameters needed to be negotiated between the modem and the ISP’s
servers–and, if those were not set up right then you could expect slow
speeds, irritating re-negotiations, abrupt disconnects and worse…

so, do you have the owners manual for the modem? well, is it provided by
the ISP? and did they give you the magic set up info, or did they give
you a CD with all that info on it? and, maybe the modem is born knowing
exactly how to hook to its owing ISP, but something is wrong and it
might be the hayes initialization string (probably in Qinternet) has
to be hand tuned…

you might reach out to the ISP and see if they don’t have a linux guru
who can help you…

note: this is NOT a brush off…let us know how you get on…


dd

This when I understand you correct, the problem is notthat youhave no connection to th Internet, but that the connection comes and breaks unpredictable.

That is different. When you do not (never) have conncetion there can be a configuration error. But when it stops and comes back then it is more difficult because it can be due to many thinhs, like bad cable, bad modem, bad telephone line, etc.

On 2012-11-22 19:26, hcvv wrote:
>
> This when I understand you correct, the problem is notthat youhave no
> connection to th Internet, but that the connection comes and breaks
> unpredictable.

I don’t know about that (I have difficulty in reading and understanding
what he says). What I know is that he still has not shown proof of name
resolution with ping or nslookup. If he has ping and routing working but
not names, that would explain why firefox fails.

On the other hand he has an eth0 port, but not a ppp0 which should come
from a dialup connection. I have the doubt that he already has a
connection and he tries to activate a second one.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))

You are correct. There is still no prove of DNS functiing.

But from what he says about the error in FF (connection timeout), I decided that FF is talking to a HTTPP server, but times out.
I may be wrong here, it can be that the connection to the DNS server times out, but IIRC FF then uses another error message.

In any case yasirassassin, I asked fot the output of

nslookup forums.opensuse.org

and you did not post that.

i tried hey nslookup forums.opensuse.org and it said connection timed out no server was found
this is my Qineternet log

https://www.dropbox.com/s/gttujnyzcfcvflf/1.jpg

>
> https://www.dropbox.com/s/gttujnyzcfcvflf/1.jpg

see where it says:
Status is: connected
ppp[0]: Terminating connection due to lack of activity.
The connection was idle and shut down.
Status is: disconnecting
ppp[0]: Connect time 0.5 minutes

that means you had a good connection for 30 seconds but there was
nothing coming in or going out so the modem (or the distant server)
disconnected because the line was not in use…

such is usually done because each minute connected cost the ISP money
and equipment tied up, whether you are moving data or not! and, they may
be charging you either per connection minute, or per MB of data moved…

this is NOT an openSUSE problem!

instead the connection is being purposefully disconnected by one of the
the two parties involved, due to:

  • your modem initialization string (causing YOUR modem to terminate the
    connection after 30 seconds of inactivity)

or

  • ISP connection timing settings (causing THEIR receiving modem/server
    to terminate the connection after 30 seconds of inactivity)

review my #10 post above and either contact your ISP and/or modem
manufacturer for assistance…this is probably your fastest route to a smile

alternately you might answer every question i asked in #10

well, you could force the connection to remain established by
immediately starting a ping and letting it run continuously

HOWEVER depending on your ISP’s pricing you might very soon find
yourself owing them a LOT of money…so, you might want to allow the
connection to disconnect after 30 seconds of inactivity as long as it
will automatically re-initiate the connection when there is a new demand…

i ran for years with a setting that automatically shut down after so
many seconds and then automatically dialed and established a new
connection when i (say, for example) clicked to change pages in my
browser, or clicked to check email, etc…

yes, it meant i had to wait for the connection to be established each
time i needed it, BUT it cost me far less per month to have it that way…


dd http://tinyurl.com/DD-Caveat

On 2012-11-25 12:07, dd wrote:
>>
>> https://www.dropbox.com/s/gttujnyzcfcvflf/1.jpg
>
> see where it says:
> Status is: connected
> ppp[0]: Terminating connection due to lack of activity.
> The connection was idle and shut down.
> Status is: disconnecting
> ppp[0]: Connect time 0.5 minutes
>
> that means you had a good connection for 30 seconds but there was
> nothing coming in or going out so the modem (or the distant server)
> disconnected because the line was not in use…

That’s a configuration setting, probably.

However, if ppp goes down, how can it be that ping works? It is not
clear at all.

nslookup failed, so I would try first to change the name server of the
eth connection that was working to 8.8.8.8

And I will not explain how till he describes his real setup.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))

hey guys thanks alot for your replies yeah you were right actually problem was with my modem setting i changed it from yast and set the idle time out to zero now my internet is connected and never shuts down am happy with that but cant open any website in firefox or other browser it says server not found or server timed out why is that happening ?

again thanks alot for your replies ;):shame:

I understand you, but please next time you must copy/paste that from your terminal window into the post between CODE tags (which you get by clicking the # button in the tool bar. Like this:

henk@boven:~>  nslookup forums.opensuse.org
Server:         194.109.6.66
Address:        194.109.6.66#53

Non-authoritative answer:
Name:   forums.opensuse.org
Address: 130.57.66.6

henk@boven:~>

And the link you provide above should NOT ve between CODE tags, but you should use the Link button (that is the one with the Globe). Like this: Dropbox - Error - Simplify your life

On Thu, 22 Nov 2012 17:36:01 GMT, yasirassassin
<yasirassassin@no-mx.forums.opensuse.org> wrote:

>
>> Thus please tell us what you did, what you expected to happen and
>> what happened instead that you jumped to the conclusion that you have
>> no internet access.
>
>mmmm thanks for reply
>well i say that because in Qinternet log it says that connection
>disconnected and also i tried to open google on firefox and it says
>connection timed out which means my net is down and i dont have access
>to internet… my final conclusion to my post is the question that if i
>have access to internet than why i cant open any web page whats
>wrong…also network manager shows that no internet connection
>if i talk about Qinternet what it actually does is that on the usual
>bases it shows message that internet connected etc…and when it says
>connnected icon changes to something showing like data is coming or wire
>is connected but in few seconds it turn to normal that is if i check in
>log there i get message net dissconcted so i click again or qinternet to
>reconnect to internet it again connects and after few seconds 3 or 4
>perhaps again dissconeected
>hope this detailed description gives u idea what i want to say
>again thanks for replies guys really appreciate that
>
I have seen plenty of that. What is timing out is DNS lookup. I
recommend that in openSuse networking that OP add h’s ISP provided DNS
address and one of the following:

8.8.8.8
8.8.4.4
4.4.2.2

?-)

On Sun, 25 Nov 2012 11:07:35 GMT, “dd” <dd@home.dk> wrote:

>>
>> https://www.dropbox.com/s/gttujnyzcfcvflf/1.jpg
>
>see where it says:
>Status is: connected
>ppp[0]: Terminating connection due to lack of activity.
>The connection was idle and shut down.
>Status is: disconnecting
>ppp[0]: Connect time 0.5 minutes
>
>that means you had a good connection for 30 seconds but there was
>nothing coming in or going out so the modem (or the distant server)
>disconnected because the line was not in use…
>
>such is usually done because each minute connected cost the ISP money
>and equipment tied up, whether you are moving data or not! and, they may
>be charging you either per connection minute, or per MB of data moved…
>
>this is NOT an openSUSE problem!

Maybe, maybe not. Bad DNS entries in openSuse can be at cause.
>
>instead the connection is being purposefully disconnected by one of the
>the two parties involved, due to:
>
>- your modem initialization string (causing YOUR modem to terminate the
>connection after 30 seconds of inactivity)
>
>or
>
>- ISP connection timing settings (causing THEIR receiving modem/server
>to terminate the connection after 30 seconds of inactivity)
>
>review my #10 post above and either contact your ISP and/or modem
>manufacturer for assistance…this is probably your fastest route to a smile
>
>alternately you might answer every question i asked in #10
>
>well, you could force the connection to remain established by
>immediately starting a ping and letting it run continuously
>
>HOWEVER depending on your ISP’s pricing you might very soon find
>yourself owing them a LOT of money…so, you might want to allow the
>connection to disconnect after 30 seconds of inactivity as long as it
>will automatically re-initiate the connection when there is a new demand…
>
>i ran for years with a setting that automatically shut down after so
>many seconds and then automatically dialed and established a new
>connection when i (say, for example) clicked to change pages in my
>browser, or clicked to check email, etc…
>
>yes, it meant i had to wait for the connection to be established each
>time i needed it, BUT it cost me far less per month to have it that way…

Maybe, maybe not.

?-)