You are not logged in.

#1 2012-08-21 07:26:36

real
Member
Registered: 2012-07-18
Posts: 31

Re-Connection of Internet - Connected but No Access.

After Starting the system, first- time connection of internet works/access  the net-works(updating, browsing, etc.).
but if, internet is disconnected, manually by me or automatically by any reason. Re-connection of internet does'nt work (connected, but no access).
Only reboot & fresh first connection brings the network access again.
I noticed this problem & want to fix it (i am using mobile broadband Usb-modem for internet connection).
please reply (any idea/ own experience).

Offline

#2 2012-08-21 11:20:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,493
Website

Re: Re-Connection of Internet - Connected but No Access.

You'll have to be much more specific to get help.

What does reconnection doesn't work mean?  How do you reconnect - what commands do you use?  What does doesn't work mean - what error messages or output do you get?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-08-21 12:33:23

hussam
Member
Registered: 2006-03-26
Posts: 572
Website

Re: Re-Connection of Internet - Connected but No Access.

How are you connecting to the internet?
After you disconnect and reconnect, try the following:
ping google.com
then
ping 173.194.34.78
if the first doesn't work but second does then it could be a DNS issue. check /etc/resolv.conf

Offline

#4 2012-08-21 19:16:53

real
Member
Registered: 2012-07-18
Posts: 31

Re: Re-Connection of Internet - Connected but No Access.

@Trilby @ hussam......
I use  wvdial  & ppp  to connect internet.
Generally,  i  use the command   #pon m  (to connect) ,  #poff m (to disconnect)   [' m '  is   ppp- ispname].
when i start the system,  i  do in terminal

[real@real ~]$ su
Password:
[root@real real]# pon m                                                                <------------------------------------------------------------------(First time connection).
[root@real real]#

now ,everything  access the  network , " #pacman -Sy  "  ,  chromium , IDM(Wine)  , all  internet-based  programme  works.
And " /etc/resolve.conf"  is  also  OK.
See  the  /etc/resolve.conf 

#nano /etc/resolve.conf
GNU nano 2.2.6            File: /etc/resolv.conf                             

nameserver 208.67.220.220
nameserver 27.251.58.194

Now, i disconnect  the internet, i do in terminal

[root@real real]# poff m
[root@real real]#

Now, i reconnect  the internet,

[root@real real]# pon m                                                                  <------------------------------------------------(2nd time connection / Re-connection)
[root@real real]#

this  time , 3G usb-modem shows  connected ,  but  no  internet access..

"ping google.com"  doesn't work but "ping 173.194.34.78"   works.
this time, " /etc/resolve.conf   does'nt  shows  the above 'nameservers'.

The problem persists with all the connection methods ,wvdial, ppp, network-manager.
So , i think ,it is 'dns'/resolve.conf  related  problem...please  reply ..... how to fix it ?

Last edited by real (2012-08-21 19:25:34)

Offline

#5 2012-08-21 19:32:31

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,493
Website

Re: Re-Connection of Internet - Connected but No Access.

Ah, I haven't had to use wvdial or much of this.  But I found this which looks like the same issue.

Note the solution(s) proposed there are ubuntu(?) specific.  To do the equivalent with arch, you should be able to create a file named /etc/resolve.conf.head in which you include nameserver lines like "nameserver 8.8.8.8" to use googles dns.  Or use a suitable alternative to 8.8.8.8.

Edit: Note - again this is a bit of guesswork as I don't use such a setup - but this is where I'd start.

Last edited by Trilby (2012-08-21 19:33:48)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2012-08-22 06:18:55

real
Member
Registered: 2012-07-18
Posts: 31

Re: Re-Connection of Internet - Connected but No Access.

Trilby wrote:

Ah, I haven't had to use wvdial or much of this.  But I found this which looks like the same issue.

Note the solution(s) proposed there are ubuntu(?) specific.  To do the equivalent with arch, you should be able to create a file named /etc/resolve.conf.head in which you include nameserver lines like "nameserver 8.8.8.8" to use googles dns.  Or use a suitable alternative to 8.8.8.8.

Edit: Note - again this is a bit of guesswork as I don't use such a setup - but this is where I'd start.

Thanx for your link, i have read the ubuntu-specific link.
i think, first solution of the link is not practical, because file-system of Arch & Ubuntu does'nt coincide.
And the 2nd solution of the link is doubtful , because according to solution , the package "resolveconf" is necessary to install.
and the package "resolveconf" is not available in Arch-repository.

So, editing of resolve.conf/dns  files without appropriate  knowledge, may corrupt the network-settings .
but i will do it with more knowledge of resolve.conf/dns settings.

Last edited by real (2012-08-22 06:21:29)

Offline

#7 2012-08-22 12:51:14

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,491

Re: Re-Connection of Internet - Connected but No Access.

The Arch solution referred to by Trilby is explained here also.

Offline

#8 2012-08-23 19:06:35

real
Member
Registered: 2012-07-18
Posts: 31

Re: Re-Connection of Internet - Connected but No Access.

Strike0 wrote:

The Arch solution referred to by Trilby is explained here also.

thanx for the link....
I did, which is described  in the above link,
but it did'nt work in my case.
i think , the description of the above link is for any another settings.

Offline

Board footer

Powered by FluxBB