You are not logged in.
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
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
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
@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
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
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
The Arch solution referred to by Trilby is explained here also.
Offline
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