LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-03-2008, 03:52 AM   #1
JAnton
LQ Newbie
 
Registered: Jan 2008
Posts: 21

Rep: Reputation: 15
Can't ping router


Hi,
I have Compaq 6720s, installation of Slackware 12 was ok, but my network does not work. I can't ping my router (192.168.1.1) it says that Destination Host Unreachable.
Here is my ifconfig output :

eth0 Link encap:Ethernet HWaddr 00:1A:4B:75:06:31
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
UP 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)
Base address:0x4020 Memory:e4600000-e4620000

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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)



Also I have Windows Vista, and there everything works fine.

Also I've found this in dmesg output :

ADDRCONF(NETDEV_UP):eth0: link is not ready

I tried to install last e1000 driver, but result is the same
 
Old 01-03-2008, 03:57 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
What does ifup eth0 say?
How is eth0 getting it's IP?
 
Old 01-03-2008, 04:21 AM   #3
JAnton
LQ Newbie
 
Registered: Jan 2008
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Simon Bridge View Post
What does ifup eth0 say?
How is eth0 getting it's IP?
Unfortunately I can't find ifup script in my system (It should be in sbin as I know). I set static IP to my eth0 in rc.inet1.conf, no DHCP. If I set DHCP=yes and set router as DHCP server , then eth0 does not even start up.
 
Old 01-03-2008, 06:27 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
OK - try

ifconfig eth0 up

route

Odd you cannot use dhcp - this is the preferred method.

What's in
rc.inet1.conf
resolv.conf
 
Old 01-03-2008, 07:53 AM   #5
JAnton
LQ Newbie
 
Registered: Jan 2008
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Simon Bridge View Post
OK - try

ifconfig eth0 up

route

Odd you cannot use dhcp - this is the preferred method.

What's in
rc.inet1.conf
resolv.conf
My eth0 is already up, you can see ifconfig output in the first message.

Also I tried to add router as default gateway like this :

route add default gw 192.168.1.1

But it brings no effect.

So here is my rc.inet1.conf :


# =============================================================================

# Config information for eth0:
IPADDR[0]="192.168.1.2"
NETMASK[0]="255.255.255.0"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""


and resolv conf :

searh ant //domen
nameserver 192.168.1.1
 
Old 01-03-2008, 08:05 AM   #6
JAnton
LQ Newbie
 
Registered: Jan 2008
Posts: 21

Original Poster
Rep: Reputation: 15
I read some where that this message :

ADDRCONF(NETDEV_UP):eth0: link is not ready

means that something is wrong with hardware - network cable is unplugged e.t.c
But network works fine in Windows Vista. Also I heard that Windows can disable ethernet card after shutdown. Can I check network card somehow from slackware?
 
Old 01-03-2008, 08:05 AM   #7
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
All right - if there's something wrong an the linux end I can't see it.
What kind of router is this?

Check firewall - including the router. Turn SELinux off.

Oh yes - and check that Windows hasn't put the card to sleep... in bios, there may be a setting for saving power that can be disabled. May even be good enough to let you select by device. But you'll have to hunt for it.

http://www.howtogeek.com/howto/windo...id-sleep-mode/

Last edited by Simon Bridge; 01-03-2008 at 08:08 AM.
 
Old 01-03-2008, 09:13 AM   #8
schenke
LQ Newbie
 
Registered: Oct 2007
Location: Iowa
Distribution: Redhat EL 3
Posts: 27

Rep: Reputation: 15
Quote:
# Config information for eth0:
IPADDR[0]="192.168.1.2"
NETMASK[0]="255.255.255.0"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
The IP address is 192.168.1.2, but the ifconfig shows that's 192.168.1.10. Check your config.

To verify the hardware, the first is to see your LED light of eth0 is physically on. (green 10MB/orange 100MB)
 
Old 01-03-2008, 01:39 PM   #9
JAnton
LQ Newbie
 
Registered: Jan 2008
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by schenke View Post
The IP address is 192.168.1.2, but the ifconfig shows that's 192.168.1.10. Check your config.

To verify the hardware, the first is to see your LED light of eth0 is physically on. (green 10MB/orange 100MB)
Yes, but it's not mistake, I've changed IP, this logs from different time periods. Now I have netcard IP 192.168.1.2.
 
Old 01-03-2008, 01:57 PM   #10
JAnton
LQ Newbie
 
Registered: Jan 2008
Posts: 21

Original Poster
Rep: Reputation: 15
I have no firewall in the system but do not sure about SELinux, how can I check it?
I've found this in dmesg output :

Databook TCIC-2 PCMCIA probe: not found.
usbhid: exports duplicate symbol hiddev_hid_event (owned by kernel)
e1000: eth0: e1000_test_msi: MSI interrupt test failed, using legacy interrupt.
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ADDRCONF(NETDEV_UP): eth0: link is not ready
 
Old 01-04-2008, 07:37 AM   #11
JAnton
LQ Newbie
 
Registered: Jan 2008
Posts: 21

Original Poster
Rep: Reputation: 15
I've solved the problem by adding

append="acpi=noirq"

to boot parameters. Now everything is OK!
 
Old 01-04-2008, 11:06 AM   #12
schenke
LQ Newbie
 
Registered: Oct 2007
Location: Iowa
Distribution: Redhat EL 3
Posts: 27

Rep: Reputation: 15
so it's the power management problem?
 
Old 01-06-2008, 04:47 AM   #13
JAnton
LQ Newbie
 
Registered: Jan 2008
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by schenke View Post
so it's the power management problem?
I do not know, I even do not know what acpi is. However it works and I'm glad. So maybe someone will tell me what is this?
 
  


Reply



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
LAN/ADSL Router ping working but DNS ping fails R N Ghosh Linux - Networking 1 01-13-2006 07:44 AM
Can't even ping my router! krtaeous Linux - Networking 20 11-20-2005 03:07 PM
Cannot Ping a router atitsince82 Linux - Networking 2 05-10-2005 12:37 AM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
Can't ping router! kalleanka Linux - Networking 2 05-27-2004 01:50 AM

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

All times are GMT -5. The time now is 02:56 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