[prev in list] [next in list] [prev in thread] [next in thread] 

List:       suse-linux-e
Subject:    Re: [SLE] pcmcia nic & pci nic in same machine ?
From:       Steven Augart <steve () augart ! com>
Date:       2002-03-03 10:00:32
[Download RAW message or body]

I have a similar setup on my central server (running SuSE 7.2):
1 wireless pcmcia nic, and two PCI ethernet cards (LAN and WAN).

I handled it with a manually edited /etc/route.conf.

Note these items in /etc/init.d/rc3.d (my machine boots up in runlevel 3):

  arcadia:/etc/init.d # dir rc3.d/*pcmcia*
    0 lrwxrwxrwx    1 root     root            9 mag  2  2001 rc3.d/K17pcmcia -> ../pcmcia*
    0 lrwxrwxrwx    1 root     root            9 mar 19  2001 rc3.d/S06pcmcia -> ../pcmcia*
  arcadia:/etc/init.d # dir rc3.d/*route*
    0 lrwxrwxrwx    1 root     root            8 mag  2  2001 rc3.d/K16route -> ../route*
    0 lrwxrwxrwx    1 root     root            8 mar 19  2001 rc3.d/S07route -> ../route*

The point here is that pcmcia is started up before route, so route can use route.conf to
overwrite anything that happens when the pcmcia starts up.  I assume you leave the
PCMCIA wireless card in your machine all the time, so that it'll be there when the
machine boots up, right?

(Although actually I've had no trouble making the card freely insertable too):


arcadia:/etc/init.d # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
netquest-segmen *               255.255.255.192 U     0      0        0 eth1
our-lan         *               255.255.255.0   U     0      0        0 eth0
our-wireless-la *               255.255.255.0   U     0      0        0 eth3
default         dsl-nexthop.aug 0.0.0.0         UG    0      0        0 eth1
default         dsl-nexthop.aug 0.0.0.0         UG    1      0        0 eth1
arcadia:/etc/init.d # cardctl eject
arcadia:/etc/init.d # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
netquest-segmen *               255.255.255.192 U     0      0        0 eth1
our-lan         *               255.255.255.0   U     0      0        0 eth0
default         dsl-nexthop.aug 0.0.0.0         UG    0      0        0 eth1
default         dsl-nexthop.aug 0.0.0.0         UG    1      0        0 eth1
arcadia:/etc/init.d # cardctl insert
arcadia:/etc/init.d # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
netquest-segmen *               255.255.255.192 U     0      0        0 eth1
our-lan         *               255.255.255.0   U     0      0        0 eth0
our-wireless-la *               255.255.255.0   U     0      0        0 eth3
default         dsl-nexthop.aug 0.0.0.0         UG    0      0        0 eth1
default         dsl-nexthop.aug 0.0.0.0         UG    1      0        0 eth1

(The second route to dsl-nexthop is inserted automatically when the PCMCIA card starts
up.)

--Steven Augart

dids wrote:
> no no :)
> I wanted 
> 1 x pcmcia - wireless -> server ( internet )
> 1 x pci -> win2k pc under desk ( for dreamweaver )
> 
> The pcmcia settings turn off the routing of the pci card,
> in the end I just set it by hand using route add.
> 
> and after all that, I found that vnc was too slow to use for dreamweaver.
> I guess I'll reinvestigate vmware and win4lin
> 
> dids
> 
> 
>>On Sat, Mar 02, 2002 at 09:21:08PM +0000, dids wrote:
>>
>>>I've had my pcmcia orinoco card working fine for a while.
>>>I'm trying to put a second pci nic in the machine
>>>i can get either working
>>>but when both are setup. I cant ping the machine at the pci card side.
>>>everything gets routed through the pcmcia one.
>>>
>>>any ideas ?
>>>
>>>dids
>>>
>>Check your routing table with either netstat -r or route.
>>
>>Check your default gateway and any other routes that are set.  You might
>>have to set some manually to get the network the way you want.
>>
>>It is a bit odd to want two PCMCIA net cards going at once unless you
>>want to set up a router.
>>
>>Regards,
>>Keith
>>
> 
> 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic