LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Activating network card (https://www.linuxquestions.org/questions/linux-networking-3/activating-network-card-180381/)

B00ddha 05-11-2004 02:02 PM

Activating network card
 
I recently installed slackware on my computer. It will not allow me to go online or have any kind of networking. I had this problem when I was using FC1, but I was able to just activate the card. It shows that the card is there but I can't figure out how to activate it. In FC1 under the old KDE there was a simple utility in the menu that would do it. Now I can't find it and can't find the command line equivilant to activate it. Anyone know where the program is in kde 3.1 or the command for the command line to activate it?

david_ross 05-11-2004 02:06 PM

Try running:
ifconfig eth0 up
or
ifup eth0

To see if it is enabled and it's IP try:
ifconfig

Bean101 05-11-2004 06:11 PM

first see if its enabled by doing
ifconfig -a
if its not showing up then u will probably have to find the driver that your card uses and uncomment the line from /etc/rc.d/rc.modules
eg: my netgear FA311 uses natsemi driver, so in rc.modules it looks like
/sbin/modprobe natsemi
instead of
#/sbin/modprobe natsemi

if it is showing up in ifconfig
you could try putting this in /etc/rc.d/rc.inet1.conf

# Config information for eth0:
IPADDR[1]="10.0.0.1"
NETMASK[1]="255.255.255.0"
USE_DHCP[1]="no"
DHCP_HOSTNAME[1]=""

doing that should set the ip when the box boots.

or set it using netconfig, then reboot or run /etc/rc.d/rc.inet1

u could also try

ifconfig eth0 10.0.0.1 netmask 255.255.255.0 broadcast 10.0.0.0

those are the only ways i can think of how to set the ip, lemme know if it helped.


All times are GMT -5. The time now is 06:20 AM.