Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


cannot get slackware NIC working

Posted on 2014-07-20
Medium Priority
Last Modified: 2014-07-21
I've been using slackware for at least 10 years, but today I feel like a complete newbie! I've installed a fresh Slackware 14.1, kernel 3.10.17. I cannot get eth0 working!!

I've connected to this same IP/netmask etc. using the same physical connection from Windows workstations.

I just removed a Debian hard-drive from this very same computer using the identical network settings that had no connection problem, and I had a Slackware 14.1 distro installed in this very same computer a month ago using this same NIC, but different physical connection to a different LAN.

All the hardware and downstream connections must be OK or all these other things wouldn't work. I must be doing something wrong in the config. What?

Here is my ifconfig output:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet  netmask  broadcast
        inet6 fe80::ca9c:dcff:fea4:7910  prefixlen 64  scopeid 0x20<link>
        ether c8:9c:dc:a4:79:10  txqueuelen 1000  (Ethernet)
        RX packets 145  bytes 18041 (17.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 11  bytes 768 (768.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet  netmask
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 1  bytes 83 (83.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1  bytes 83 (83.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Open in new window

# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").

# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth<interface>.

# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.

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

# Config information for eth0:

# Config information for eth1:

# /etc/rc.d/rc.inet1.conf
# Config information for eth2:

# Config information for eth3:

# Default gateway IP address:

# Change this to "yes" for debugging output to stdout.  Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.

# Example of how to configure a bridge:
# Note the added "BRNICS" variable which contains a space-separated list
# of the physical network interfaces you want to add to the bridge.

## Example config information for wlan0.  Uncomment the lines you need and fill
## in your info.  (You may not need all of these for your wireless network)
##WLAN_RATE[4]="54M auto"
##WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=96389dc66eaf7e6efd5b5523ae43c7925ff4df2f8b7099495192d44a774fda16"

## Some examples of additional network parameters that you can use.
## Config information for wlan0:
#IFNAME[4]="wlan0"              # Use a different interface name instead of
                                # the default 'eth4'
#HWADDR[4]="00:01:23:45:67:89"  # Overrule the card's hardware MAC address
#MTU[4]=""                      # The default MTU is 1500, but you might need
                                # 1360 when you use NAT'ed IPSec traffic.
#DHCP_KEEPRESOLV[4]="yes"       # If you don't want /etc/resolv.conf overwritten
#DHCP_KEEPNTP[4]="yes"          # If you don't want ntp.conf overwritten
#DHCP_KEEPGW[4]="yes"           # If you don't want the DHCP server to change
                                # your default gateway
#DHCP_IPADDR[4]=""              # Request a specific IP address from the DHCP
                                # server
#WLAN_ESSID[4]=DARKSTAR         # Here, you can override _any_ parameter
                                # defined in rc.wireless.conf, by prepending
                                # 'WLAN_' to the parameter's name. Useful for
                                # those with multiple wireless interfaces.
#WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=thekey"
                                # Some drivers require a private ioctl to be
                                # set through the iwpriv command. If more than
                                # one is required, you can place them in the
                                # IWPRIV parameter (separated with the pipe (|)
                                # character, see the example).

Open in new window


Open in new window

# hosts		This file describes a number of hostname-to-address
#		mappings for the TCP/IP subsystem.  It is mostly
#		used at boot time, when no name servers are running.
#		On small systems, this file can be used instead of a
#		"named" name server.  Just add the names, addresses
#		and any aliases to this file...
# By the way, Arnt Gulbrandsen <agulbra@nvg.unit.no> says that
# should NEVER be named with the name of the machine.  It causes problems
# for some (stupid) programs, irc and reputedly talk. :^)

# For loopbacking.		localhost		mail.hprs.local mail

# End of hosts.

Open in new window

What am I missing?
Question by:jmarkfoley
LVL 40

Accepted Solution

omarfarid earned 2000 total points
ID: 40208202
What is not working?

Are you able to ping ip from the same system?

I you run

netstat -rn

Do you get routing table? Is default gateway set?

Are you able to ping default gateway?

Author Comment

ID: 40209622
I'm an idiot. I had mistyped *both* DNS addresses! I looked and looked but for whatever reason it just wasn't jumping out at me yesterday. Thanks for your response!

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Integration Management Part 2
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses
Course of the Month14 days, 9 hours left to enroll

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question