Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-09-2006, 12:38 AM
|
#1
|
Member
Registered: Oct 2003
Location: NYC
Distribution: Slackware
Posts: 37
Rep:
|
Switching From Wireless to Plugged Problem.
I'm running Slackware 10.1 (2.4.29) on an IBM T21. I usually connect to my home network via a wireless card. I decided to plug in an ethernet cable into the back and I don't know what to do from there.
ifconfig just gives me the loopback network.
Code:
lo Link encap:Local Network
innet addr:127.0.0.1 Mask:255.0.0.0
UP LOOKBACK RUNNING MTU:16436 Metric:1
...
when i connect wirelessly it is on eth0.
Any ideas?
|
|
|
02-09-2006, 01:16 AM
|
#2
|
Member
Registered: Oct 2005
Distribution: Slackware
Posts: 228
Rep:
|
To get linux to show you all interfaces (even the ones that are not configured), run:
Have you ever used your ethernet plug on that laptop? Maybe the drivers aren't loaded for it.
If you have, and the command above revealed your ethernet card is visible, then you just need to assign it an ip address , like this:
Code:
ifconfig eth1 192.168.1.50
(assuming it's detected as eth1)
then 'ifconfig' should show it, along with it's new ip address you gave it.
If that works, just add a default route, and set it to your router:
Code:
route add default gw 192.168.1.1
|
|
|
02-09-2006, 01:20 AM
|
#3
|
Member
Registered: Oct 2003
Location: NYC
Distribution: Slackware
Posts: 37
Original Poster
Rep:
|
I used it before but I reinstalled linux since then. When i installed slackware on it (the 2nd time) I had the wireless card plugged in. So maybe the drivers didn't get installed the 2nd time around?
ifconfig -a still only shows up loopback.
|
|
|
02-09-2006, 03:35 AM
|
#4
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
If you have activated hotplug, then the network card drivers would have loaded automatically. If not, look at the output of and try to determine what type of card you have, then add "modprobe" commands like this
Code:
/sbin/modprobe <your_card_module>
to the end of /etc/rc.d/rc.modules script, so that the drivers for your cards are loaded by Slackware when it boots
Eric
|
|
|
02-09-2006, 02:32 PM
|
#5
|
Member
Registered: Oct 2003
Location: NYC
Distribution: Slackware
Posts: 37
Original Poster
Rep:
|
lspci -v gives
Code:
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
Flags: bus master, medium devsel, latency 64
Memory at f8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 1.0
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 128
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
Memory behind bridge: f0000000-f7ffffff
00:02.0 CardBus bridge: Texas Instruments PCI1450 (rev 03)
Subsystem: IBM: Unknown device 0130
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at 50000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=02, subordinate=04, sec-latency=176
Memory window 0: 18000000-183ff000 (prefetchable)
Memory window 1: 18400000-187ff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
16-bit legacy interface ports at 0001
00:02.1 CardBus bridge: Texas Instruments PCI1450 (rev 03)
Subsystem: IBM: Unknown device 0130
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at 50100000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=05, subordinate=07, sec-latency=176
Memory window 0: 18800000-18bff000 (prefetchable)
Memory window 1: 18c00000-18fff000
I/O window 0: 00004800-000048ff
I/O window 1: 00004c00-00004cff
16-bit legacy interface ports at 0001
00:03.0 Communication controller: Lucent Microelectronics WinModem 56k (rev 01)
Subsystem: IBM: Unknown device 018c
Flags: medium devsel, IRQ 11
Memory at e8101000 (32-bit, non-prefetchable) [size=256]
I/O ports at 1c00 [size=8]
I/O ports at 1800 [size=256]
Capabilities: [f8] Power Management version 2
00:05.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
Subsystem: IBM: Unknown device 0153
Flags: bus master, slow devsel, latency 64, IRQ 11
Memory at e8100000 (32-bit, non-prefetchable) [size=4K]
Memory at e8000000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [40] Power Management version 2
00:07.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
Flags: bus master, medium devsel, latency 0
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])
Flags: bus master, medium devsel, latency 64
I/O ports at 1c10 [size=16]
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at 1c20 [size=32]
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 03)
Flags: medium devsel, IRQ 9
01:00.0 VGA compatible controller: S3 Inc. 86C270-294 Savage/IX-MV (rev 13) (prog-if 00 [VGA])
Subsystem: IBM ThinkPad T20
Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 11
Memory at f0000000 (32-bit, non-prefetchable) [size=128M]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: [dc] Power Management version 1
Capabilities: [80] AGP version 1.0
i can see the 56k modem. but not the ethernet.
|
|
|
02-09-2006, 03:24 PM
|
#6
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
If that is all "lspci -v" gave you, are you certain there actually is a network card in that T20?
I owned a T20 a couple of years back, and I remember that it originally had just a winmodem chip on it's mini-pci card. Even though there is a RJ45 jack on the back, that does not necessarily mean it is connected to anything :-)
I had it swapped for a 3Com network/modem combi card eventually so I could get rid of the cardbus ethernet card I had been using until then.
So - you might want to check what's actually in there by turning the T20 over and remove the small cover plate, after unscrewing the single screw (might be hidden under a wad of rubber). The mini-pci card underneath will either have one cable leading to the phone jack on the back, or two cables - the second running to the adjacent RJ45 network jack.
In case you are using a Cardbus/PCMCIA card - I don't think that would show up in a "lspci" listing.
Eric
|
|
|
All times are GMT -5. The time now is 08:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|