OS/2, eCS & ArcaOS - Technical > Networking

Dual Network adapters

(1/2) > >>

Martin Iturbide:
Hi

I guess this is a very basic thing that I don't know how to do on OS/2 and ArcaOS.

If you have two networks adapters configured in OS/2, one wired working and connected to an ethernet network, and one not working wifi (with a Genmac driver). How do you tell ArcaOS to use the Ethernet one for internet/network, without deinstalling the non-working wifi driver?

If I remove the non-working wifi  from the "adapter protocols" it will work, but I don't want to uninstall it for some testing that I'm doing with Genmac.

Regards

Dave Yeo:
One way, take one down? eg ifconfig lan1 down, then you can bring it back up with ifconfig lan1 up not sure what the wireless adapter is called. Maybe listed in \mptn\bin\setup.cmd or such.
Probably do it with a route command as well, but don't know how.

Andi B.:
Configure all adapters (wired and wireless) in MPTS/NAPS. I usually configure the wired adapter first. F.i.
- first adapter Intel(R) PRO.. - Protocols 0 - TCP/IP, 0 - NETBIOS (not over TCP/IP in this case, you would need a different number if you're using 'Netbios over TCP/IP')
- second adapter GenMac Wrapper... - Protocols 1 - TCP/IP, ...1|2|....

You need to use different protocol numbers if you have the same protocol bound to different interfaces though. Hence the 0 and 1 above for TCP/IP.

Usually I do not configured the wireless in TCPIP config. So \mptn\bin\setup.cmd has only one ifconfig lan0 ... statement (actually more in my case as I use alias addresses too. But that's a different story). If the wireless is up and running dhclient & xwlan/wlanstat does the TCP/IP reconfiguring (if needed).

But if you have a GenMac supported interface which is running at bootup you can also configure fixed TCP/IP if you like. You only need to use different networks for different adapters (f.i. 192.168.... / 10.0....). Probably this is not what you like so I do not explain more on this now. Ask again if you need more information.

Neil Waldhauer:
With a working GenMac WiFi driver, I just let xlan manage the two network adapters.

With a non-working GenMac WiFi driver, I found I did need to deinstall the GenMac driver for the wired Ethernet driver to function.

Martin Iturbide:
Thanks for the advice.

I tried what your suggestions and I think the behavior of a non working GenMac driver affects the first adapter.
- lan0 is the wired card
- lan1 is the wireless card (non working Genmac)

I removed the TCP/IP protocol from "Adapters and Networks" of the lan1 wireless card, and lan0 and TCPIP worked fine on the next reboot. (I even checked out the TCP from lan1 on the TCPIP configuration notebook and was not enough.)

With TCPIP installed on lan1, "ifconfig lan1 down" was supposed to do something but "ifconfig lan1 up" did not work showing an "up:Operastion not supported", the up command was not working even for lan0. That got fixed with I removed TCPIP from lan1.

Why I'm so stubborn to leave the GenMac non working driver there?, just because I want to test on that machine if I can make GenMU work for that adapter. After some tests, if I can not make it work, I will remove it.

Thanks.

Navigation

[0] Message Index

[#] Next page

Go to full version