Results 1 to 10 of 41
|
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
06-02-2017 #1Just Joined!
- Join Date
- May 2015
- Posts
- 38
Lubuntu 16.04 - no internet on the new ISP "Gateway/Cable modem/coax"
It is Lubuntu mini.iso with no desktop environment, only fvwm, so please, I can use only the terminal. I don't have any network manager installed.
There are two different routers:
On the sim router the wired internet connection works for the Lubuntu device.
Immediately as I change the Ethernet cable from the above SIM router, to the other provider(router) which has only tv cable/coax connection through only a cable model(Gateway), there is no more internet connection.
With the same network cable/router port(from the second tv cable/coax/Gateway ISP) the internet works on Windows 7 and 10.
From what I could see for the two different routers/connections the IPs are dynamically.
Tell me please what logs do you need from the working and no-working connections, in order to see the differences...
Thank you.Last edited by xpdin; 06-03-2017 at 10:20 AM.
-
06-02-2017 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
- Posts
- 14,038
Since you are only running in command-line mode, you need to manually configure your network connections in /etc/network. You might also be able to use ifconfig to do that. Post the output of the command "ifconfig -a" here. For WiFi connections you do need the connection IP address, SSID, and the password.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
-
06-02-2017 #3
If you have DHCP client available you can use it to set up your wired net. For example:
Code:dhcpcd eth0
-
06-02-2017 #4Just Joined!
- Join Date
- May 2015
- Posts
- 38
Thank you for your replies...
Working internet connection:
Non interet working connection(immediatelly after I only change the ethernet cable from a router to another)Code:~$ ifconfig -a eth0 Link encap:Ethernet HWaddr 68:f7:28:21:c8:85 inet addr:192.168.8.100 Bcast:192.168.8.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6773 errors:0 dropped:0 overruns:0 frame:0 TX packets:6029 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:5842607 (5.8 MB) TX bytes:1038943 (1.0 MB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:7609 errors:0 dropped:0 overruns:0 frame:0 TX packets:7609 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:766404 (766.4 KB) TX bytes:766404 (766.4 KB) wlan0 Link encap:Ethernet HWaddr ac:b5:7d:f2:ef:2f 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)
I am not interested in the WiFi connection.Code:~$ ifconfig -a eth0 Link encap:Ethernet HWaddr 68:f7:28:21:c8:85 inet addr:192.168.8.100 Bcast:192.168.8.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:15580 errors:0 dropped:0 overruns:0 frame:0 TX packets:14234 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:11441631 (11.4 MB) TX bytes:2455373 (2.4 MB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:8093 errors:0 dropped:0 overruns:0 frame:0 TX packets:8093 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:839056 (839.0 KB) TX bytes:839056 (839.0 KB) wlan0 Link encap:Ethernet HWaddr ac:b5:7d:f2:ef:2f 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)
Regards.
-
06-02-2017 #5
are we talking about 2 different routers here?
because i think this must be router specific; not ISP.I am not a "Linux Guru"! Get off me! The Forum software won't let me change it!
How to ask smart questions | Don't be a Help Vampire | How to Use Code Tags
You can post a link by removing "http://www." from it.
-
06-02-2017 #6Just Joined!
- Join Date
- May 2015
- Posts
- 38
Yes, two different routers...
One is connected to the internet through a sim card - one ISP (Linux has internet)
The second ISP is connected to the internet through a coaxial/tv cable/Gateway/Modem cable. (no internet on Linux for this one)
No configurations have been changed to any of the two routers or any machines Linux/Windows 7/Windows 10.
Only change the same cable for all the 3 difference devices from a router to another. Windows 10 and Windows 7 have internet connection on both routers.
Linux has internet only on the first SIM router.
-
06-02-2017 #7
check if it's a dns issue (dhcp):
on all possible combinations, try bothif the first command fails, but the second works, then you have a name resolving issue (DNS, usually the program used is dhcp or dhcpd).Code:ping google.com ping 8.8.8.8
I am not a "Linux Guru"! Get off me! The Forum software won't let me change it!
How to ask smart questions | Don't be a Help Vampire | How to Use Code Tags
You can post a link by removing "http://www." from it.
-
06-02-2017 #8Just Joined!
- Join Date
- May 2015
- Posts
- 38
For the non working internet connection to the link led from the router where is the Linux Ethernet cabled plugged, only the orange
led one blinks, but for the other internet working devices connected via Ethernet cable to the same router, blinks also the green led on the router.
Working internet connection:
Non working internet connection for ping google.com after pending/waiting a few minutes, it appears:Code:~$ ping google.com PING google.com (195.249.145.114) 56(84) bytes of data. 64 bytes from cache.google.com (195.249.145.114): icmp_seq=1 ttl=58 time=26.0 ms 64 bytes from cache.google.com (195.249.145.114): icmp_seq=2 ttl=58 time=35.6 ms 64 bytes from cache.google.com (195.249.145.114): icmp_seq=3 ttl=58 time=44.4 ms 64 bytes from cache.google.com (195.249.145.114): icmp_seq=4 ttl=58 time=43.2 ms 64 bytes from cache.google.com (195.249.145.114): icmp_seq=5 ttl=58 time=43.2 ms 64 bytes from cache.google.com (195.249.145.114): icmp_seq=6 ttl=58 time=39.4 ms ^C --- google.com ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 5008ms rtt min/avg/max/mdev = 26.059/38.670/44.463/6.378 ms ~$ ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=48.4 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=57 time=57.6 ms 64 bytes from 8.8.8.8: icmp_seq=3 ttl=57 time=56.1 ms ^C --- 8.8.8.8 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 48.494/54.102/57.670/4.023 ms
Code:~$ ping google.com ping: unknown host google.com ~$ ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. From 192.168.8.100 icmp_seq=1 Destination Host Unreachable From 192.168.8.100 icmp_seq=2 Destination Host Unreachable From 192.168.8.100 icmp_seq=3 Destination Host Unreachable From 192.168.8.100 icmp_seq=4 Destination Host Unreachable From 192.168.8.100 icmp_seq=5 Destination Host Unreachable From 192.168.8.100 icmp_seq=6 Destination Host Unreachable From 192.168.8.100 icmp_seq=7 Destination Host Unreachable From 192.168.8.100 icmp_seq=8 Destination Host Unreachable ^C --- 8.8.8.8 ping statistics --- 10 packets transmitted, 0 received, +8 errors, 100% packet loss, time 9026ms pipe 3
-
06-02-2017 #9
I find it hard to believe the second router is having the same IP range as the first 192.168.8.0/24. Thus my advice to use a DHCP client to obtain a new lease stands. But of course, it got ignored the first time, no reason you should follow it now.
-
06-02-2017 #10Just Joined!
- Join Date
- May 2015
- Posts
- 38
Excuse me please Segfault, I try to be as minimal as possible, without installing any more packages like would be "dhcpcd5", even it is extremely slim.
Sorry again, and indeed, I have to appreciate your advice I installed it, I runwith the working internet cabled in, and after it loaded everything, I plugged the cable in the non-working internet router, and it is true, it worked, maybe because dhcpcd was running.Code:dhcpcd eth0
I restarted to see if it will still work but when Linux loaded after restart it appeared in the console:
The last part "A start job is running..." where I have to wait 5 min and 7s it seams that appears every time that the internet doesn't work. It has never appeared when the internet worked, but it always appears when internet doesn't work...Code:Failed to start LSB: IPV4 DHCP client with IPV4ALL support. See 'systemctl status dhcpcd.service' for details 16.780656 usb 1-1.4.3: device descriptor read/64, error -110 A start job is running to Raise network interfaces ( ** min **s / 5min 7s)
After starting Linux with the non-working internet in, I also triedbut...Code:dhcpcd eth0
Do you have any idea please?Code:eth0: waiting for carrier timed out dhcpcd exited
Thank you.Last edited by xpdin; 06-02-2017 at 08:52 PM.


Reply With Quote