LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-18-2015, 05:49 PM   #1
sirabhorn
Member
 
Registered: Jan 2012
Distribution: Debian, Slackware, CentOS
Posts: 45

Rep: Reputation: Disabled
Internet connection not working - ZyXEL AMG1202-T, Debian Jessie


Thunder destroyed my old modem (ZyXEL Prestige 600) and I bought a new one, ZyXEL AMG1202-T.

It works fine on my old laptop which has Ubuntu 11.04. It did not require any configuration with that computer.

But it does not work on my desktop computer which has Debian Jessie. Trying to ping URL-addresses on terminal gives this: "connect: Network is unreachable"

It does not get to modem's configuration with a web browser.

Command "dhclient" gives this output: "irs_resconf_load failed: 59. unable to set resolver from resolv.conf; startup continuing but DDNS support may be affected"

At the computer's side of ethernet cable the upper light is blinking and yellow, the lower light is stable and green. AFAIK this suggests that the ethernet card is OK.

I wonder what might be wrong. All suggestions are welcome

Last edited by sirabhorn; 07-18-2015 at 05:51 PM.
 
Old 07-18-2015, 05:56 PM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by sirabhorn View Post
I wonder what might be wrong.
Hi...

While I doubt it's the same problem, does any of the information in this thread help?

Regards...
 
Old 07-18-2015, 09:27 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,465
Blog Entries: 28

Rep: Reputation: 6177Reputation: 6177Reputation: 6177Reputation: 6177Reputation: 6177Reputation: 6177Reputation: 6177Reputation: 6177Reputation: 6177Reputation: 6177Reputation: 6177
Is the new device just a modem or a modem/router?

A while ago, I had to replace my router. The old router defaulted to 192.168.1.xxx; the new one defaulted to 192.168.2.xxx. I had a couple of devices with static ip addresses; I had to change them to match the new router's defaults (I could have changed the router, but changing the devices was easier).

Please post the output of these commands:

Code:
ifconfig -a
cat /etc/resolv.conf
cat /etc/network/interfaces
on the machine that isn't connecting, being sure to surround it with "Code" tags which become available when you click the "Go Advanced" button at the bottom of the "compose post" window.

You might also run

Code:
ifconfig -a
on the device that is connecting and look for discrepancies between it and the other device.

Last edited by frankbell; 07-18-2015 at 09:29 PM.
 
Old 07-19-2015, 12:03 AM   #4
sirabhorn
Member
 
Registered: Jan 2012
Distribution: Debian, Slackware, CentOS
Posts: 45

Original Poster
Rep: Reputation: Disabled
It's router

ifconfig -a:

Code:
eth1      Link encap:Ethernet  HWaddr 00:15:58:e1:71:1a  
          inet6 addr: fe80::215:58ff:fee1:711a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:29 errors:142 dropped:0 overruns:0 frame:213
          TX packets:212 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3229 (3.1 KiB)  TX bytes:25467 (24.8 KiB)
          Interrupt:17
 
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:65536  Metric:1
          RX packets:19 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1373 (1.3 KiB)  TX bytes:1373 (1.3 KiB)
cat /etc/resolv.conf
Code:
# Generated by NetworkManager
nameserver fe80::1%eth1

cat /etc/network/interfaces

Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

ifconfig -a from the machine in which the internet connection is working:
Code:
eth0      Link encap:Ethernet  HWaddr 00:03:0d:1e:80:54  
          inet addr:192.168.1.34  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::203:dff:fe1e:8054/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1932 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1857 errors:0 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1494570 (1.4 MB)  TX bytes:315885 (315.8 KB)
          Interrupt:19 Base address:0xd800 

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:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:960 (960.0 B)  TX bytes:960 (960.0 B)
 
Old 07-19-2015, 05:44 AM   #5
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Can you ping IPs directly?
Code:
ping -c3 8.8.8.8
 
Old 07-19-2015, 08:19 AM   #6
sirabhorn
Member
 
Registered: Jan 2012
Distribution: Debian, Slackware, CentOS
Posts: 45

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Head_on_a_Stick View Post
Can you ping IPs directly?
Code:
ping -c3 8.8.8.8
When I type that command you gave it says "connect:Network is unreachable"
If I try to ping some website's server, it says "ping: unknown host [address]"

Last edited by sirabhorn; 07-19-2015 at 09:59 AM.
 
Old 07-19-2015, 09:20 AM   #7
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
What is the output of:
Code:
ip r
If there is no output, can you assign the IPs statically?
https://wiki.debian.org/NetworkConfi...rface_manually
 
Old 07-19-2015, 10:15 AM   #8
sirabhorn
Member
 
Registered: Jan 2012
Distribution: Debian, Slackware, CentOS
Posts: 45

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Head_on_a_Stick View Post
What is the output of:
Code:
ip r
It gives no output. No nothing.

Quote:
If there is no output, can you assign the IPs statically?
https://wiki.debian.org/NetworkConfi...rface_manually
I tried that suggested default manual configuration text for /etc/network/interfaces from that linked page but I don't notice any difference
 
Old 07-19-2015, 11:42 AM   #9
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Quote:
Originally Posted by sirabhorn View Post
I tried that suggested default manual configuration text for /etc/network/interfaces from that linked page but I don't notice any difference
Please post exactly what you tried and indicate whether the IP addresses were assigned successfully (ie, post the output of `ip r` again).

Did you use IP addresses appropriate for your network or did you just copy the examples given on the wiki page?

Just to note: when using /etc/network/interfaces, the `ifup ethX` command must be used after configuring the file (replace "X" with the number assigned to the active interface); alternatively, reboot the machine.

EDIT: See interfaces() for more details on configuring the file.
 
Old 07-19-2015, 02:31 PM   #10
sirabhorn
Member
 
Registered: Jan 2012
Distribution: Debian, Slackware, CentOS
Posts: 45

Original Poster
Rep: Reputation: Disabled
Ok, I changed the ethernet card and now it's working. So thunder destroyed the integrated ethernet card but probably not anything else from this computer.

I was fooled by a guy who told me that the card must be OK since lights are flashing in an appropriate way. Well, that apparently wasn't true.

Thanks for help to everyone in any case.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Debian 8.1 (Jessie) problem with remote connection (xrdp, rstudio-server) camsique Debian 1 07-13-2015 06:09 AM
[SOLVED] debian 8 jessie no sound,no wireless connection, how to do it? andrew86576 Debian 19 07-12-2015 07:12 AM
wifi printer, wired internet debian jessie setup lenberman Linux - Networking 1 05-01-2015 10:18 AM
KDE/NetworkManager connection issue (Debian Jessie) TheCobra Linux - Software 4 07-07-2014 05:33 PM
Zyxel modem keeps dropping internet connection Joe Soap Linux - Hardware 5 01-21-2009 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration