Internet stops while using mobile broadband. Only way out is restarting the PC.
Ping to google.com stops. After I reboot and reconnect it works for a while then
again the same thing.
How to fix this ?
Internet stops while using mobile broadband. Only way out is restarting the PC.
Ping to google.com stops. After I reboot and reconnect it works for a while then
again the same thing.
How to fix this ?
Bus 001 Device 007: ID 12d1:1436 Huawei Technologies Co., Ltd. Broadband stick
Now the connection is a bit stable but I cant download updates.
linux-zjjg:/home/suse # zypper up
Retrieving repository 'Packman Repository' metadata ------------------------------------------------------------------------------------------------------------------------------------------------------------\]
IT gets stuck ^^ here and retry and fail again.
It’s not clear from what you’ve posted so far what might the underlying cause here, but weak signal, interference, and congestion are factors that could cause intermittent issues like this.
You could watch the NetworkManager in a terminal window to capture what might be occurring when you can no longer reach the internet…
sudo journalctl -fu NetworkManager
When you encounter such an issue, what does the network layer look like?
ip a
ip r
There is also a chance that USB power management (Kernel autosuspend) is impacting here, and that can be investigated further if necessary.
# zypper up
Retrieving repository 'Packman Repository' metadata ------------------------------------------------------------------------------------------------------------------------------------------------------------/]^C
When it gets stuck at this point
I am getting this
# journalctl -fu NetworkManager
-- Logs begin at Sun 2018-12-02 19:17:50 IST. --
Dec 02 19:18:22 linux-zjjg NetworkManager[1026]: <info> [1543758502.4223] manager: NetworkManager state is now CONNECTED_LOCAL
Dec 02 19:18:22 linux-zjjg NetworkManager[1026]: <info> [1543758502.4248] manager: NetworkManager state is now CONNECTED_SITE
Dec 02 19:18:22 linux-zjjg NetworkManager[1026]: <info> [1543758502.4249] policy: set 'Airtel Default' (ppp0) as default for IPv4 routing and DNS
Dec 02 19:18:22 linux-zjjg ip-up.d/10-netconfig[1985]: nisdomainname: you must be root to change the domain name
Dec 02 19:18:22 linux-zjjg ip-up.d/10-netconfig[1985]: nisdomainname: you must be root to change the domain name
Dec 02 19:18:22 linux-zjjg pppd[1958]: Script /etc/ppp/ip-up finished (pid 1981), status = 0x0
Dec 02 19:18:22 linux-zjjg NetworkManager[1026]: Script /etc/ppp/ip-up finished (pid 1981), status = 0x0
Dec 02 19:18:22 linux-zjjg NetworkManager[1026]: nisdomainname: you must be root to change the domain name
Dec 02 19:18:22 linux-zjjg NetworkManager[1026]: <info> [1543758502.9384] device (ttyUSB2): Activation: successful, device activated.
Dec 02 19:18:27 linux-zjjg NetworkManager[1026]: <info> [1543758507.6612] manager: NetworkManager state is now CONNECTED_GLOBAL
There’s nothing in your NM log that suggests a connectivity problem.
ip address
ip route
grep name /etc/resolv.conf
With respect to your repos, show us
zypper lr -d
ip address
^^ Since I am using a ppp0 connection the above command reveals my global IP and I dont want to display that openly.
~> ip route
default dev ppp0 proto static scope link metric 700
~> zypper lr -d
Repository priorities are without effect. All enabled repositories share the same priority.
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
---+---------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------+--------
1 | openSUSE-Leap-15.0-1 | openSUSE-Leap-15.0-1 | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/oss |
2 | packman.inode.at-suse | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.0/ |
3 | repo-debug | openSUSE-Leap-15.0-Debug | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/15.0/repo/oss/ |
4 | repo-debug-non-oss | openSUSE-Leap-15.0-Debug-Non-Oss | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/15.0/repo/non-oss/ |
5 | repo-debug-update | openSUSE-Leap-15.0-Update-Debug | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.0/oss/ |
6 | repo-debug-update-non-oss | openSUSE-Leap-15.0-Update-Debug-Non-Oss | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.0/non-oss/ |
7 | repo-non-oss | openSUSE-Leap-15.0-Non-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/non-oss/ |
8 | repo-source | openSUSE-Leap-15.0-Source | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/15.0/repo/oss/ |
9 | repo-source-non-oss | openSUSE-Leap-15.0-Source-Non-Oss | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/15.0/repo/non-oss/ |
10 | repo-update | openSUSE-Leap-15.0-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.0/oss/ |
11 | repo-update-non-oss | openSUSE-Leap-15.0-Update-Non-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.0/non-oss/ |
I can’t tell from what you’ve posted so far what the problem might be. It appears that you’re getting connected, and you can browse ok? Is there a valid name server assigned?
grep name /etc/resolv.conf
FWIW, I have experienced “drops outs” when using mobile broadband on occasion (when connecting to a congested network). Not sure what else to advise here.
:~> grep name /etc/resolv.conf
nameserver 122.160.237.197
nameserver 59.144.127.117
nameserver 8.8.8.8
The first 2 is probably supplied by dhcp and the last one (Google) is added by me in network manager.
Ok, that checks out as expected.
When you feel that you’re not getting a response, try pinging a well known internet IP address
ping 8.8.8.8
Or even use tracepath to see where routing might be breaking etc
tracepath 8.8.8.8
tracepath 98.138.219.231
If it’s just a name resolving issue, you could try configuring /etc/resolv.conf manually with the google server first, your perhaps try using OpenDNS (208.67.222.222 and 208.67.220.220) instead.
I should have mentioned that while surfing (I have no issues with just surfing) I always keep a terminal window open with ping to google.com and the ping never stops. My problem is the fact that I am not able to update Leap 15.
Yes, that’s an entirely different issue - not likely network related. You should start a new thread with suitable title to attract the attention of those that can help with your updating problem.