LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-20-2008, 08:21 PM   #1
themanwhowas
Member
 
Registered: Nov 2005
Distribution: CentOS 5, Fedora 23
Posts: 218

Rep: Reputation: 29
eth0 connectivity


hi guys

I have used slackware a few times before but have just installed 12.2 on a really old machine. I installed a us.robotics ethernet card and assigned it a static ip, correct default gateway etc.

i can ping localhost and my ip but i cant ping the router or any other machine on the network. i tried using dhcp but during boot no dhcp server is discovered (my router is also a dhcp server).

Is there a way for me to check if my ethernet card was detected properly? im sure it has been otherwise i couldnt ping myself right?
 
Old 12-20-2008, 08:30 PM   #2
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
What does `dmesg` say about a NIC or ethernet controller?

Also, what does `ifconfig -a` return?
 
Old 12-21-2008, 05:15 AM   #3
themanwhowas
Member
 
Registered: Nov 2005
Distribution: CentOS 5, Fedora 23
Posts: 218

Original Poster
Rep: Reputation: 29
ifconfig -a looks ok. displays the ip address, netmask, mac address etc

dmesg has the following:

eth0: DSPCFG accepted after 0 usec
eth0: link up
eth0: setting full-duplex based on negotiated linkcapability
NET: registered protocol family 10
lo: disabled privacy extensions
eth0: no ipv6 routers present

is this even what i should be looking at? i have no idea.

also whilst playing with ping i noticed that i can ping 'localhost', 127.0.0.1, my ip address (192.168.1.7), my hostname(chicken) and my fqdn(chicken.soup.local) all of which work ok. as soon as i ping anything else by ip address, ie my router, i get 'destination host unreachable'.


Thanks for looking
 
Old 12-21-2008, 01:31 PM   #4
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Check /etc/resolv.conf. Mine looks like this:

Code:
# /etc/resolv.conf
# used to resolve DNS server look-ups

# first query this computer's hosts file
search localhost

# next search this computer for a caching nameserver (e.g., dnsmasq)
nameserver 127.0.0.1

# next query a local network nameserver
nameserver 192.168.1.1

# next query outside DNS servers (e.g., ISP servers)
search isp.isp.net # change this to the URL of your ISP
 
Old 12-21-2008, 06:33 PM   #5
themanwhowas
Member
 
Registered: Nov 2005
Distribution: CentOS 5, Fedora 23
Posts: 218

Original Poster
Rep: Reputation: 29
resolv.conf is ok, using opendns. as i can't ping the router by ip address it can't be a dns problem. i guess it's either an ARP issue or a firewall one. is there a default firewall or some other packet filter in slackware?
 
Old 12-21-2008, 06:54 PM   #6
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
is there a default firewall or some other packet filter in slackware?
No there is no such default. What does:
Code:
/sbin/route -n
return ?
 
Old 12-21-2008, 06:58 PM   #7
tux_dude
Member
 
Registered: Dec 2008
Distribution: Slackware64 Current
Posts: 277

Rep: Reputation: 41
Have you tried updating your routing table?

as root:

Code:
route add default gw <router ip>
 
Old 01-02-2009, 12:08 PM   #8
themanwhowas
Member
 
Registered: Nov 2005
Distribution: CentOS 5, Fedora 23
Posts: 218

Original Poster
Rep: Reputation: 29
Sorry, i totally forgot about this thread.

The routes were all ok, the default gw was fine, i just couldnt use tcp/ip. I reinstalled 12.0 and it works fine so im sticking with that for a while. Mind boggling though why it wouldnt work. I was in the #slackware irc channel for about 4 hours with people trying to help me.

Thanks
 
  


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
Outgoing Connectivity problems. Incoming connectivity fine Fionnbharr Linux - Newbie 1 10-02-2008 12:51 PM
Eth0 connectivity problems gastondip Linux - Newbie 5 05-01-2006 05:59 AM
Wireless network on eth1 diabled Ethernet eth0 and eth0 never comes back tadatoshi Linux - Wireless Networking 4 09-23-2004 05:57 PM
Firewall WAN eth0 LAN eth1 self-bridges, eth0 does all routeing. Nichole_knc Linux - Networking 5 07-29-2004 02:33 PM
no connectivity despite eth0 up & running Reba Linux - Networking 1 06-06-2004 12:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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