You are not logged in.

#1 2010-03-09 14:40:01

phuongnguyen
Member
Registered: 2010-03-09
Posts: 16

Network Unreachable Host is Unknown

Hi,

I am a newbie to Linux. I got a brandnew desktop with i5-720 and have been trying to connect to Internet after installing ArchLinux by CD for 1 week without success. I have BIllion router and another laptop connect to the router too. I use my router LAN-ip as gateway and DNS server. When I try to ping my router it says network unreachable, when I try to ping google.com it says unknown host. I wonder if you can please help me.

Thanks and regards

Offline

#2 2010-03-09 18:49:22

tlvb
Member
From: Sweden
Registered: 2008-10-06
Posts: 297
Website

Re: Network Unreachable Host is Unknown

Sounds like you don't have an ip address, does the router have a dhcp server? (most home routers do).
You might have use for the following commands:
sudo dhcpcd eth0 - requests an ip address from a dhcp server on interface eth0
sudo dhcpcd -k eth0 - kills the current dhcpcd talking on eth0 (or someting like that)
sudo ifconfig eth0 up/down - activates/deactivates the eth0 interface.
man ifconfig \ _ more detailed info.
man dhcpcd /
Have you read the beginners' guide? -there are some networking tips there.
If this is a persistent problem it might help to supply the networking parts of rc.conf and the output of ifconfig.


I need a sorted list of all random numbers, so that I can retrieve a suitable one later with a binary search instead of having to iterate through the generation process every time.

Offline

#3 2010-03-11 02:20:46

phuongnguyen
Member
Registered: 2010-03-09
Posts: 16

Re: Network Unreachable Host is Unknown

HI tvlb,

THanks for your tips. I will try Arch Linux  again tonight and write down the content of rc.conf and resolv.conf. I followed the beginner's guide but no internet connection at all. I uninstalled Arch last night and tried Fedora 11, again no internet connection on Fedora too, no eth0 but only pan0 "inactive" and "never". I ran some command in Fedora (don't remember which one, got it from google) to list the network cards but the NIC was not detected. I am not sure if it has anything to do with my Intel motherboard DP55WB.

Last edited by phuongnguyen (2010-03-11 02:22:33)

Offline

#4 2010-03-13 06:02:12

phuongnguyen
Member
Registered: 2010-03-09
Posts: 16

Re: Network Unreachable Host is Unknown

HI tvlb,

I used the command you suggested: unknown interface: no such device. Looks like the problem lies in my ethernet controller Gigabit 82578DC. Other intel ethernet controllers have Linux drivers on intel support website, this one doesn't. Some drivers called e1000 or e1000e exist but this ethernet controller is not among the ethernet controllers supported.

Last edited by phuongnguyen (2010-03-13 06:04:44)

Offline

#5 2010-03-13 07:07:19

ploub
Member
Registered: 2007-05-16
Posts: 132

Re: Network Unreachable Host is Unknown

Web search indicates e1000e is the correct driver for your card. What is the output of

lsmod | grep e1000e
ifconfig -a

(as root)?

Offline

#6 2010-03-13 07:09:29

gtklocker
Member
Registered: 2009-09-01
Posts: 462

Re: Network Unreachable Host is Unknown

Try

modprobe e1000e

(also put "e1000e" *without the ""* to your MODULES section, at /etc/rc.conf).

Reboot and give us the output of

ifconfig

Last edited by gtklocker (2010-03-13 07:09:57)

Offline

#7 2010-03-13 11:14:00

phuongnguyen
Member
Registered: 2010-03-09
Posts: 16

Re: Network Unreachable Host is Unknown

Hi gtklocker and ploub,

THanks for your replies:

lsmod grep e1000e gives Usage lsmod then

ifconfig -a gives
*********
lo   Link encap: Local Loopback
     inet addr:127.0.0.1 Mask: 255.0.0.0
     UP LOOPBACK RUNNING MTU:16436 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 txqueulen: 0
     RX bytes: 0 (0.0 b)  TX Bytes: 0 (0,0 b)
*********
modprobe e1000e then add e1000e to modules() in rc.conf then reboot then ifconfig gives exactly the same outcome as above.

Offline

#8 2010-03-13 11:49:13

ploub
Member
Registered: 2007-05-16
Posts: 132

Re: Network Unreachable Host is Unknown

Please copy and paste the lsmod command (as root) given above - you are not typing it in correctly. If there is no output, modprobe e1000e as gtklocker suggests, then post the output from ifconfig -a  (no need to reboot).

Offline

#9 2010-03-13 11:54:36

phuongnguyen
Member
Registered: 2010-03-09
Posts: 16

Re: Network Unreachable Host is Unknown

HI ploub

lsmod | grep e1000e gives

e1000e 138176 0

SOrry I can't copy from my laptop, through which I am browsing this forum to my desktop because I still don't know how to copy to linux

ifconfig -a outcomes does not change

Last edited by phuongnguyen (2010-03-13 12:14:54)

Offline

#10 2010-03-13 12:29:04

gtklocker
Member
Registered: 2009-09-01
Posts: 462

Re: Network Unreachable Host is Unknown

Try to create a bug report. It'd be very good to see what's the problem. smile

Offline

#11 2010-03-13 13:18:51

phuongnguyen
Member
Registered: 2010-03-09
Posts: 16

Re: Network Unreachable Host is Unknown

JUst report it: http://bugs.archlinux.org/task/18665

Last edited by phuongnguyen (2010-03-13 13:19:23)

Offline

#12 2010-03-13 15:07:40

phuongnguyen
Member
Registered: 2010-03-09
Posts: 16

Re: Network Unreachable Host is Unknown

Hi, I copied the latest e1000e driver and installed it on my desktop. now I can ping the router and the other laptop, which is connected to the same router, however I can't ping www.google.com or www.yahoo.com: "connect: network is unreachable". ANy idea?

Offline

#13 2010-03-13 15:51:31

phuongnguyen
Member
Registered: 2010-03-09
Posts: 16

Re: Network Unreachable Host is Unknown

Dear All, I looked at 1sst suggestion from tlvb again and changed the rc.conf networking from static ip to dhcp, and I CAN PING Google now. Thank you very much all of you for your help. I am so excited.

Offline

#14 2010-04-17 19:34:24

Geass
Member
Registered: 2010-04-17
Posts: 3

Re: Network Unreachable Host is Unknown

I have the same network card and the same problem. I have read the thread carefully, and tried the suggestions but haven't been able to resolve it. I just installed using the installation disk. Please advise.

Last edited by Geass (2010-04-17 19:34:45)

Offline

#15 2010-04-18 00:43:59

phuongnguyen
Member
Registered: 2010-03-09
Posts: 16

Re: Network Unreachable Host is Unknown

Mate, if my poor memory does not betray me please try:

1- Donwload the e1000e from http://downloadcenter.intel.com/Detail_ … ldID=15817
then install it (please follow the readme.txt file http://downloadmirror.intel.com/15817/eng/README.txt)

Also put "e1000e" *without the ""* to your MODULES section, at /etc/rc.conf

2- Use dhcp in the rc.conf (and when you set up your adsl router) first to see if the whole thing works. I was struggling with static ip for 1 month with no result, when I changed to dhcp it worked instantly.

Good luck!

Offline

#16 2010-09-09 13:10:52

thibdb13
Member
From: Mechelen - Belgium
Registered: 2005-10-11
Posts: 114

Re: Network Unreachable Host is Unknown

As phuongnguyen, I bought yesterday a brandnew pc-desktop with i5-720. I tried to make a netinstall of archlinux (2010.05 i686) but it seems it does not recognize my ethernet card (e1000e) and so, when I want to set time up to ntp or to get the list of available packages, it cannot do and I must stop the installation.
Anyone any idea?

Offline

#17 2010-09-09 13:47:53

phuongnguyen
Member
Registered: 2010-03-09
Posts: 16

Re: Network Unreachable Host is Unknown

HI Mechelen, I never tried net install, only CD. I just installed arch on IBM thinkpad X31 without problems. May be you want to try CD installation to see if it will work? Cheers, Phuong.

Offline

#18 2010-09-11 12:21:32

thibdb13
Member
From: Mechelen - Belgium
Registered: 2005-10-11
Posts: 114

Re: Network Unreachable Host is Unknown

So, I solved the problem this way:
I installed arch via the archboot cd, went to VC2 and entered the following
#modprobe e1000e
#ifconfig eth0 mtu 576
After this I could make a netinstall without any problem.

Now, each time I start my pc, I have to make the following commands:
#ifconfig eth0 mtu 576
#/etc/rc.d/network restart
#/etc/rc.d/openntpd restart

I'd also like to know whether there exists a way NOT to do this after each start. Couldn't I create a daemon that I could put in my rc.conf? How should I do that?

Offline

#19 2010-09-11 12:28:29

thibdb13
Member
From: Mechelen - Belgium
Registered: 2005-10-11
Posts: 114

Re: Network Unreachable Host is Unknown

By does Archlinux have such problem with the e1000e module while OpenSuse, Fedora and mandriva don't? Is this a problem with the kernel? Or a (stupid) bug?...

Offline

#20 2010-09-11 18:01:59

phuongnguyen
Member
Registered: 2010-03-09
Posts: 16

Re: Network Unreachable Host is Unknown

Hi, my /etc/rc.conf has "MODULES=(e1000e)" and "DAEMONS=(syslog-ng network netfs crond)", which I guess is the way that module and the network services are always running in the back ground from start. Can you look to see if your rc.conf is the same?

Offline

#21 2010-09-11 18:39:38

thibdb13
Member
From: Mechelen - Belgium
Registered: 2005-10-11
Posts: 114

Re: Network Unreachable Host is Unknown

phuongnguyen wrote:

Hi, my /etc/rc.conf has "MODULES=(e1000e)" and "DAEMONS=(syslog-ng network netfs crond)", which I guess is the way that module and the network services are always running in the back ground from start. Can you look to see if your rc.conf is the same?

In my rc.conf is the field "modules" now empty, I tried to put e1000e in it but it did not change anything. So, now I am trying to make use of udev: I created a rule called 10-network.rules (under /etc/udev/rules.) with this in it:   SUBSYSTEM=="net", ATTR{address}=="90:fb:a6:49:58:40", NAME="eth0", but I don't think it helps much.
As for the daemons, I have it a bit fatter: DAEMONS=(syslog-ng dbus hal network netfs openntpd crond)

Offline

Board footer

Powered by FluxBB