LinuxQuestions.org
Help answer threads with 0 replies.
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-20-2015, 12:33 PM   #16
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194

Quote:
Originally Posted by hiboy View Post
Thank you for your reply
I can ping myself and `ethtool eth0` says "Link detected: yes".
How to reboot the router? I can't access to the hardware router. Do you mean the router table or something software?
No I was meaning the router itself.

Have you tried setting your network to DHCP?
 
Old 07-20-2015, 09:12 PM   #17
hiboy
LQ Newbie
 
Registered: Jul 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lazydog View Post
No I was meaning the router itself.

Have you tried setting your network to DHCP?
All the computers under the LAN have a static IP, so I didn't and never setting to DHCP.
BTW, the computer also have a WIN8 system and its network is very fine!
 
Old 07-21-2015, 05:47 AM   #18
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
I mean the linux routing table of sorts.

# route -n
or
$ netstat -r -n

Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 wlan0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0
It should list TWO items. One for sending packets, one for recieving packets. The recieving one is basically there when you assign an IP to the device. For static setups it goes something like.

# ifconfig eth0 192.168.1.42 netmask 255.255.255.0 broadcast 192.168.1.255 mtu 1492 up
# route add default gw 192.168.1.1

If you were to do it the hard way and not use network-manager or other things. Where # means as root / administrator. I only mention it because your previous output had the IP for the interface, but gave you host unreachable errors. So routing is in question, or your cable isn't plugged in. Or invalid wifi credentials.
 
Old 07-21-2015, 07:15 AM   #19
hiboy
LQ Newbie
 
Registered: Jul 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Shadow_7 View Post
I mean the linux routing table of sorts.

# route -n
or
$ netstat -r -n

Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 wlan0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0
It should list TWO items. One for sending packets, one for recieving packets. The recieving one is basically there when you assign an IP to the device. For static setups it goes something like.

# ifconfig eth0 192.168.1.42 netmask 255.255.255.0 broadcast 192.168.1.255 mtu 1492 up
# route add default gw 192.168.1.1

If you were to do it the hard way and not use network-manager or other things. Where # means as root / administrator. I only mention it because your previous output had the IP for the interface, but gave you host unreachable errors. So routing is in question, or your cable isn't plugged in. Or invalid wifi credentials.
The output of
Code:
$sudo route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         10.214.52.1     0.0.0.0         UG    0      0        0 eth0
    10.214.52.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
seems OK.

Will it be the network-manager ? The network-manager(NM) is working and there may be some configure of NM mix up the network.
 
Old 07-21-2015, 08:04 AM   #20
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Do these work?

$ ping -c 2 10.214.52.112
(local machine)

$ ping -c 2 10.214.52.1
(gateway / router)

Assumes that the firewall doesn't block pings. How about:

$ ping -c 2 8.8.8.8
(one of googles DNS servers)

Meaning that the internet connection exists if you can get that one. So if there's an issue then it's DNS or stuff outside your control.
 
Old 07-21-2015, 08:32 AM   #21
hiboy
LQ Newbie
 
Registered: Jul 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Shadow_7 View Post
Do these work?

$ ping -c 2 10.214.52.112
(local machine)

$ ping -c 2 10.214.52.1
(gateway / router)

Assumes that the firewall doesn't block pings. How about:

$ ping -c 2 8.8.8.8
(one of googles DNS servers)

Meaning that the internet connection exists if you can get that one. So if there's an issue then it's DNS or stuff outside your control.
The output is here
Code:
jason@hiboy:glnxa64$ ping -c 10.214.52.112
Usage: ping [-LRUbdfnqrvVaAD] [-c count] [-i interval] [-w deadline]
            [-p pattern] [-s packetsize] [-t ttl] [-I interface]
            [-M pmtudisc-hint] [-m mark] [-S sndbuf]
            [-T tstamp-options] [-Q tos] [hop1 ...] destination
jason@hiboy:glnxa64$ ping -c 2 10.214.52.112
PING 10.214.52.112 (10.214.52.112) 56(84) bytes of data.
64 bytes from 10.214.52.112: icmp_req=1 ttl=64 time=0.016 ms
64 bytes from 10.214.52.112: icmp_req=2 ttl=64 time=0.012 ms

--- 10.214.52.112 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.012/0.014/0.016/0.002 ms
jason@hiboy:glnxa64$ ping -c 2 10.214.52.1
PING 10.214.52.1 (10.214.52.1) 56(84) bytes of data.
From 10.214.52.112 icmp_seq=1 Destination Host Unreachable
From 10.214.52.112 icmp_seq=2 Destination Host Unreachable

--- 10.214.52.1 ping statistics ---
2 packets transmitted, 0 received, +2 errors, 100% packet loss, time 999ms
pipe 2
jason@hiboy:glnxa64$ ping -c 2 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

--- 8.8.8.8 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 999ms
Since it can't get through the gateway, ping outside IP is useless.
 
Old 07-21-2015, 11:39 AM   #22
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Quote:
Originally Posted by hiboy View Post
Code:
jason@hiboy:glnxa64$ ping -c 2 10.214.52.1
PING 10.214.52.1 (10.214.52.1) 56(84) bytes of data.
From 10.214.52.112 icmp_seq=1 Destination Host Unreachable
From 10.214.52.112 icmp_seq=2 Destination Host Unreachable
Since it can't get through the gateway, ping outside IP is useless.
Still just guessing, but since you're making kernel updates, you may need to run $(depmod -a) and perhaps rebuild the initrd image if you use that kind of setup. Otherwise take note of the differences between lsmod output between a working and non working setup. Noticing the module names that might be missing from one or the other, and if the SIZE of the modules differ between the two (using different versions?).

$ lsmod
 
Old 07-21-2015, 12:24 PM   #23
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
Quote:
Originally Posted by hiboy View Post
The output of
Code:
$sudo route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         10.214.52.1     0.0.0.0         UG    0      0        0 eth0
    10.214.52.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
seems OK.

Will it be the network-manager ? The network-manager(NM) is working and there may be some configure of NM mix up the network.
How did you configure the network setting, through NM or another way?
 
Old 08-12-2015, 10:22 PM   #24
hiboy
LQ Newbie
 
Registered: Jul 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
I just do
Code:
$sudo ifdown eth0
$sudo rmmod e1000e
$sudo reboot
Then the network come back.

After rebooting. e1000e is still there.
Code:
$ lsmod | grep e100
e1000e                133833  0
 
  


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
network on reboot qwerty.yp Linux - Networking 2 12-02-2010 11:22 AM
Debian Lenny server, no connectivity to network after reboot neilgunton Linux - Networking 3 08-24-2010 10:04 AM
Reboot of Debian Lenny now Windows PCs cannot see Debian. sr_25 Debian 3 02-14-2009 02:03 PM
No Network after Reboot patisawsome Ubuntu 3 05-07-2006 10:42 PM
network down after reboot ZaphyR Linux - Networking 1 08-12-2004 09:00 AM

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

All times are GMT -5. The time now is 12:07 PM.

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