[3c509] 3Ó509 media type switching
Boris V. Guzhov
borg@int.spb.ru
Sun, 6 May 2001 12:11:29 +0400
Hi,
There are some questions about subj.
My system is Linux Redhat 6.2, kernel 2.2.14-6.1.1 on an i686,
driver version 3c509.c:1.16 (2.2) 2/3/98, only one ethernet card
(3COM EtherLink III 3c509B-TPC ISA).
With 3c5x9cfg.exe help I set:
PnP disable, FD disable, IRQ 5, I/O base 300h, Transceiver type On-board TP.
My final goal is the switching between two LAN's (TP and BNC)
without a system reboot.
For example:
1 LAN: TP, my IP address 192.168.1.3, no gateways, no DNS servers
2 LAN: BNS, my IP address 192.168.2.3, no gateways, no DNS servers
For LAN1->LAN2 purpose I launched the following commands:
>ifconfig eth0 down
>rmmod 3c509
>insmod 3c509 xcvr=3
>ifconfig eth0 up 192.168.2.3
But it not works. The computer does not see a network.
Then I did :
>ifconfig eth0 down
>rmmod 3c509
>3c5x9setup -F 10base2 -w -f
>insmod 3c509
>ifconfig eth0 up 192.168.2.3
But it also not works.
Then I have tried the followinf way :
>ifconfig eth0 down
>rmmod 3c509
>3c5x9setup -F 10base2 -w -f
>reboot
>insmod 3c509
>ifconfig eth0 up 192.168.2.3
And it works, but only after reboot :-(
Note: before each test the eth0 worked correctly in LAN1.
The LAN2->LAN1 tests results are equally.
Are there any way for the media type switching without reboot?
Thanks in advance,
--
Boris Guzhov,
St.Petersburg, Russia