[ltp] Kernel 2.4.20 and PCMCIA

Kang Tin LAI linux-thinkpad@linux-thinkpad.org
Fri, 06 Jun 2003 10:59:58 +0800


I don't know how to set eth0 to use 8139, anyway, if you have only one 8139 or 
other LAN card installed, then this 8139 is set to eth0.

Suppose hardware of eth0 (8139) already working, and the IP is: 192.168.1.2 and 
gateway is: 192.168.1.254 for your TP.

Shell command to set up eth0:

ifconfig eth0 192.168.1.2
route add default gw 192.168.1.254

Netmask will set to 255.255.255.0 automatically.

Hope Help.

Kang Tin LAI <ktlai@hk.net>

Adam Southerland wrote:
> Thanks... =)
> 
> Is there another group or a howto that explains how I can setup my 
> network and pcmcia entirely from the shell/console/bash?
> 
> Ex. set eth0 to use 8139too    and properly run through ifconfig eth0 
> up, dhcpcd -a <something> eth0
> 
> I'm learning a lot and it's cool, but I am finding it hard to find this 
> type of information... The scripts are sometimes cryptic with the way it 
> works...
> 
> I think I have it figured out enough to just find networking but not 
> entirely sure...
> 
> Adam
> 
> ----Original Message Follows----
> From: Tino Keitel <tino.keitel@web.de>
> Reply-To: linux-thinkpad@linux-thinkpad.org
> To: linux-thinkpad@linux-thinkpad.org
> Subject: Re: [ltp] Kernel 2.4.20 and PCMCIA
> Date: Thu, 5 Jun 2003 20:27:48 +0200
> 
> On Thu, Jun 05, 2003 at 15:10:37 -0300, Adam Southerland wrote:
>  > Ok, I finally got my kernel working again... On fresh source tree run 
> make
>  > config before make menuconfig -- If I didn't it failed to boot - 
> something
>  > didn't get setup =(
>  >
>  > Anyhow...
>  > I Loaded PCMCIA as a module... I think I have loaded it manually 
> piece by
>  > piece but I don't get info like the kernel gives...
>  >
>  > Ex.
>  > insmod pcmcia_core
>  > insmod yenta_socket
>  > insmod ds
>  > cardmgr
>  > insmod mii
>  > insmod 8139too
>  >
>  > my lsmod looks ok, but for the 8139 it says (unused)
> 
> "unused" just means that there is no other module loaded that depends
> on the 8139too module. It is no indication whether the device is
> working or not.
> 
> Regards,
> Tino
> -- 
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
> 
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*. 
> http://join.msn.com/?page=features/featuredemail
>