LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-23-2005, 11:44 PM   #1
eddy98
LQ Newbie
 
Registered: Feb 2005
Posts: 28

Rep: Reputation: 15
NIC configuration


hi good day.can anyone help me how to configure NIC in slackware10.1 because its absolutely cant find the driver.by the my NIC is D-Link.thanks
 
Old 04-24-2005, 12:00 AM   #2
amos
Member
 
Registered: Dec 2002
Location: Bolton, UK
Distribution: Kubuntu
Posts: 224

Rep: Reputation: 30
Post the results of running ifconfig as root from the command line.

Cheers
Amos
 
Old 04-24-2005, 03:29 AM   #3
richikiki
Member
 
Registered: Mar 2005
Location: Montréal, Québec, Canada
Distribution: Slackware 12.1 x32, 13.1 x64
Posts: 90

Rep: Reputation: 15
hi eddy,

1) run this 'lspci' and posted it also
2) 'ifconfig -a'
3) 'dmesg'

I guess these should be enough for now.
 
Old 04-24-2005, 08:36 AM   #4
eddy98
LQ Newbie
 
Registered: Feb 2005
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by amos
Post the results of running ifconfig as root from the command line.

Cheers
Amos

amos..

this is the configuration..

Code:
eth0      Link encap:Ethernet  HWaddr 00:0D:88:B3:07:1D
          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)
          Interrupt:10 Base address:0xb400

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:64 errors:0 dropped:0 overruns:0 frame:0
          TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4800 (4.6 Kb)  TX bytes:4800 (4.6 Kb)
 
Old 04-24-2005, 09:14 AM   #5
richikiki
Member
 
Registered: Mar 2005
Location: Montréal, Québec, Canada
Distribution: Slackware 12.1 x32, 13.1 x64
Posts: 90

Rep: Reputation: 15
Talking

Well eddy your card is working so your system is using the driver lol.

Good, your network card is working so if you are conected to a router if can easily get the address, usually you just need to run this command:

'dhcpcd eth0'

That it's, if you run againg:

'ifconfig -a'

Your NIC now must have an ip address.
 
Old 04-24-2005, 09:55 AM   #6
eddy98
LQ Newbie
 
Registered: Feb 2005
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by richikiki
Well eddy your card is working so your system is using the driver lol.

Good, your network card is working so if you are conected to a router if can easily get the address, usually you just need to run this command:

'dhcpcd eth0'

That it's, if you run againg:

'ifconfig -a'

Your NIC now must have an ip address.
richikiki..still cant work.

Actually i use broadband to connect to internet.Usually i use pppoe as a terminal to connect.DNS1 202.188.0.133
DNS2:202.188.1.5.i dont know why this time cant go through
 
Old 04-24-2005, 10:22 AM   #7
richikiki
Member
 
Registered: Mar 2005
Location: Montréal, Québec, Canada
Distribution: Slackware 12.1 x32, 13.1 x64
Posts: 90

Rep: Reputation: 15
Ok please post the message results from the 3 command that I told you in my firts poste,

now if Im not wrong use:

'dhcpcd pppoe'

In order to get an ip address for you ISP (interner service provider).

and if you use again the command:

'ifconfig -a'

You should be able to get somenthing like:

root@phoenix:# ifconfig -a
eth0 Link encap:Ethernet HWaddr AA:50:56:58:79:8F
inet addr:210.237.97.154 Bcast:210.237.97.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:73329 errors:0 dropped:0 overruns:0 frame:0
TX packets:29437 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:61594407 (58.7 Mb) TX bytes:3107286 (2.9 Mb)
Interrupt:9 Base address:0x1080

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:3412 errors:0 dropped:0 overruns:0 frame:0
TX packets:3412 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1357896 (1.2 Mb) TX bytes:1357896 (1.2 Mb)
 
Old 04-24-2005, 10:51 AM   #8
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
To get pppoe working in Linux/Slackware. You do not configure your NIC network settings. Leave it blank.

/etc/rc.d/rc.inet1.conf
Should read:
Code:
# /etc/rc.d/rc.inet1.conf
#
# 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 ("").

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

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

# Default gateway IP address:
GATEWAY=""

# 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.
DEBUG_ETH_UP="no"
You need to configure your adsl account information using
Code:
adsl-setup
Answer the question given, pretty straight forward.

To connect issue the command:
Code:
adsl-start
To disconnect:
Code:
adsl-stop
And adsl-status is equivalent to ifconfig ppp0

To have your adsl connection switch on when booting Slackware.

Put the following command into /etc/rc.d/rc.local
Code:
/usr/sbin/adsl-start
I did it slightly different.
I added
Code:
if [ -x /etc/rc.d/rc.adsl ]; then
  /etc/rc.d/rc.adsl start
fi
At the beginning of /etc/rc.d/rc.inet2
Why? Cause rc.inet2 is starting my network services/servers. It only make sense if I have my connection up first before doing that.

And /etc/rc.d/rc.adsl contains:
Code:
#!/bin/bash
#
case "$1" in
   'start')
      /usr/sbin/adsl-start 
      /usr/sbin/adsl-status ;;
   'stop')
      /usr/sbin/adsl-stop 
      /usr/sbin/adsl-status ;;
   'restart')
      /usr/sbin/adsl-stop 
      /usr/sbin/adsl-start
      /usr/sbin/adsl-status ;;
   *)
      echo "usage $0 start|stop|restart" ;;
esac
 
Old 04-24-2005, 11:15 AM   #9
eddy98
LQ Newbie
 
Registered: Feb 2005
Posts: 28

Original Poster
Rep: Reputation: 15
arghhh...so stressfull..still cannot work
 
  


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
NIC Configuration venky_2_2000 Linux - Networking 1 08-22-2005 11:22 PM
NIC configuration tran_colin Linux - Networking 3 12-21-2004 07:38 AM
nic/dhcp configuration humvee Linux - Newbie 4 10-07-2003 03:51 AM
NE2000 NIC configuration GrandTheft *BSD 2 07-12-2003 07:04 PM
NIC Configuration firestorm2123 Slackware 6 04-21-2003 08:54 AM

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

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