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 02-08-2006, 11:38 PM   #1
eggman95
Member
 
Registered: Oct 2003
Location: NYC
Distribution: Slackware
Posts: 37

Rep: Reputation: 15
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?
 
Old 02-09-2006, 12:16 AM   #2
WindowBreaker
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 228

Rep: Reputation: 40
To get linux to show you all interfaces (even the ones that are not configured), run:
Code:
ifconfig -a
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
 
Old 02-09-2006, 12:20 AM   #3
eggman95
Member
 
Registered: Oct 2003
Location: NYC
Distribution: Slackware
Posts: 37

Original Poster
Rep: Reputation: 15
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.
 
Old 02-09-2006, 02:35 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105
If you have activated hotplug, then the network card drivers would have loaded automatically. If not, look at the output of
Code:
lspci -v
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
 
Old 02-09-2006, 01:32 PM   #5
eggman95
Member
 
Registered: Oct 2003
Location: NYC
Distribution: Slackware
Posts: 37

Original Poster
Rep: Reputation: 15
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.
 
Old 02-09-2006, 02:24 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105
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
 
  


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
WIreless won't surf internet unless wired card has IP even if not plugged in tuxkwb Linux - Wireless Networking 4 12-28-2006 01:07 AM
switching between 2 different wireless networks shadowsa SUSE / openSUSE 2 11-04-2005 09:48 PM
lspci -v not showing wireless card when plugged in. fader Linux - Laptop and Netbook 27 05-13-2005 05:00 PM
mandrake 10.1 fail to start when usb wireless mouse is plugged luigi_gr Linux - Hardware 0 02-08-2005 08:42 PM
Suse 9.1 switching between wired/wireless problem lhan Linux - Wireless Networking 1 08-17-2004 08:24 AM

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

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