Re: pcmcia, wireless and network problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Why isn't redhat doing anything about this. 
I also wrote many scripts but they are far from perfect and i want to be
able to boot and be online without having to run the various scripts
depending on where i am. I currently have to think where I am going to
go to modify which startup scripts i have to use to go online and it is
a pain.
I looked at rawhide but it doesn't appear that redhat have newer version
that fix these problems. 

On 水, 2003-04-23 at 14:25, Satish Balay wrote:
> I'm listing a few things I did to make networking painless on my
> laptop. This is probably not the best solution - but it works for me.
> 
> My current goal with networking is to be able to use a wired or
> wireless at home or at work, and switch between them with as little
> pain as possible.In case of wireless I have different encryption
> settings at either location. All configs use dhcp. My setup is as
> follows:
> 
>  - using neat - configure eth0 for the wireless card (with home
> wireless settings) - this is eth0-Home
>  - create a 'copy' of this interface (with work settings)- eth0-Work
>  - no interface is activated by default.
> 
> This creates ifcfg-Home, ifcfg-Work scripts in
> /etc/sysconfig/networking/devices
> 
> I normally don't use both wired/wireless cards at the same time. I
> remove one before inserting the other. With this - I can just use eth0
> config for both wired as well as wireless. The following things help
> here (with unloading the drivers cleanly when switching cards - using
> 'ifconfig eth0 down; cardctl eject' )
> 
>  - remove the eth0 bindings in /etc/modules.conf
>  - comment out HWADDR in /etc/sysconfig/networking/devices/*
>  - perhaps use ifconfig eth0 down (instead of ifdown eth0)
> 
> To activate wired interface I do:
> $ ifup eth0
> 
> To activate my wireless card at work - I run the following script (I
> have a similar script for home)
> 
> #!/bin/sh
> /sbin/ifconfig eth0 down
> /bin/rm -f /etc/sysconfig/network-scripts/ifcfg-eth0
> /bin/ln /etc/sysconfig/networking/devices/ifcfg-Work
> /etc/sysconfig/network-scripts/ifcfg-eth0
> /sbin/ifup eth0
> 
> 
> Note: it is easy to add in eth1 for a wired interface so that the
> following 3
> combinations work:
> eth0-wired
> eth0-wireless
> eth0-wireless, eth1-wired
> 
> Getting 'eth0-wired & eth1-wireless' ALSO working to the above
> combinations requres the same kind of setup as above for eth1 as well
> ( and some more scripts) - so I didn't bother with it.
> 
> Satish
> 
> On Wed, 2003-04-23 at 12:05, Eduardo Silva wrote:
> > >
> > >
> > >In redhat 9 i am not able to fix that and it is a big problem and major
> > >inconvenience because i use 9 different profiles. The problems i am
> > >having is that at boot the wrong modules are being loaded and when i
> > >access neat to configure networking i get error that eth0 has orinoco_cs
> > >loaded instead of 3c59x which is specified in /etc/modules.conf and most
> > >neat networking functionality is broken at that point..It doesn't allow
> > >to do anything other than delete the devices.  I tried to trace the bug
> > >but wasn't able to find it. 
> > >So i have to do the following every time I change my network settings. 
> > >ifdown eth0
> > >modprobe -d orinoco_cs
> > >modprobe -all
> > >edit the various scripts depending on my current network setup. or just
> > >use iwconfig to start eth1 
> > >ifup eth0 
> > >ifup eth1
> > >dhcclient
> > >
> > >Has anyone encountered these problems? 
> > >
> > >my /etc/modules.conf  has the following for the network interfaces
> > >alias eth0 3c59x
> > >alias eth1 orinoco_cs
> > >
> > >
> > >Regards,
> > >
> > >  
> > >
> > I have this same problem with RH9 I I only have two profiles. I have a 
> > laptop and use a PCMCIA Ethernet Card for when I am undocked. When I 
> > work from the office I use a docking station with a 3COM card 3C59x, as 
> > you do. And I face the same issue:
> > 
> > " So the cards are detected and named in the wrong order, eth0 for the 
> > 3COM and eth1 for the XIRCOM. This basically causes mayhem and RH will 
> > not activate them on boot or on redhat-config-network or ifconfig saying 
> > that /etc/modules.conf has incorrectly loaded eth0 with xircom_cb 
> > instead of the 3c9x it should, and so forth for eth 1.
> > 
> > Only way around this I've found (I'm a newbie) is to delete all net 
> > config using redhat network tool, and readd both NICs in the order of 
> > detection. This however causes problems when I use the laptop undocked, 
> > again because eth0 is detected as xircom_cb, although /etc/modules.conf 
> > (at this point) has it against 3c90x. "
> > 
> > I really have not found any answeres for this yet. The reason for this 
> > post is to say : "I feel you pain"
> > 
> > 
> > -- 
> > 
> > *Eduardo Silva*
> > Wireless Network Engineer
> > ESN 587 4664 PSTN - 91 709 4664
> > Mobile 600 595 219
> > e-mail: edusilva@xxxxxxxxxxxxxxxxxx <mailto:edusilva@xxxxxxxxxxxxxxxxxx>
> > 
> > 
> > 
> > 
> > 
-- 
Nadeem Bitar <nadiizu@xxxxxxxxxxxxx>





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux