LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-22-2006, 12:34 PM   #16
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62

Quote:
Originally Posted by bsurfin
I opened kinfo center, it lists my linksys after installing Slackware 11.0, but under network it still does not show it, but shows my other slow lan card, is there a way to get it to show ?
Do you mean that you have "more" than "one" network card, and that Slackware only shows you "one" of "two" network cards on your pc?

I run into this on all of my pc's using linux.

If so,

As root:

"ifconfig"

That shows what network cards are up and running at the time.

It should have a "lo" device you need that one.

It should show an "eth0", but it may have "eth1" instead.

If you have an "eth0" then as root "ifconfig eth1 up"

or if you have an "eth1" then try "ifconfig eth0 up"

then assuming that your 'router' or 'gateway/dns' is set up to assign ip addresses, as root: "dhcpcd eth0" or "dhcpdc eth1" depending on which interface you just brough online.

also there is 'ethtool' as well in linux . check 'man ethtool' as well.

Remember the "netconfig" tool is part of "pkgtool". The netconfig tool let's you do your network settings in slackware,but it only works for the eth0 device. The settings for netconfig go to: /etc/rc.d/rc.inet1.conf, /etc/resolv.conf

check those files and see what they say.

you may have to just manually move the settings for eth0 to eth1.

Also, slackware 11 is different know than all other slack versions as it uses udev.

Udev will on the fly for whatever reason, change a network card from running as 'eth0' to 'eth1' even when your using the pc. So you need to create a 'udev' rule.

Pat V of Slackware has more info on this in the "tips and help" readme file that's in the root directory of the slackware 11.0 install cd 1.

Remember making changes to udev should always be confirmed by rebooting the pc and seeing if your changes are actually hard coded.

As always make a backup of your config's before doing anything.
 
Old 10-22-2006, 01:01 PM   #17
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,259

Rep: Reputation: Disabled
Quote:
Originally Posted by Old_Fogie
Also, slackware 11 is different know than all other slack versions as it uses udev.

Udev will on the fly for whatever reason, change a network card from running as 'eth0' to 'eth1' even when your using the pc. So you need to create a 'udev' rule.
Actually, Slackware creates the udev rules for you. If you have multiple network cards, and they keep swapping names, check out /etc/udev/rules.d/network-devices.rules and remove the comment characters (#) from the lines that tie the interface names (eth0, eth1) to your network interfaces. Mine for instance has:
Code:
KERNEL=="eth?", SYSFS{address}=="00:11:09:8c:88:25", NAME="eth0"
KERNEL=="eth?", SYSFS{address}=="00:11:09:8c:88:6e", NAME="eth1"
#KERNEL=="ra?", SYSFS{address}=="00:11:09:9c:05:c6", NAME="ra0"
Eric
 
  


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
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 07:32 AM
How to force kernel to use a USB 2.0-compatible device (ehci_hcd) as a USB 1.1 device eze Linux - Hardware 0 05-16-2006 05:24 AM
Trying to setup printer, what is Device and device URI ? M$ISBS Linux - Hardware 1 07-20-2005 11:44 AM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM
USB compactflash device setup woes. BBlalock Linux - Newbie 1 08-15-2002 06:58 AM


All times are GMT -5. The time now is 01:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration