Mailing List os2-wireless_users@2rosenthals.com Archived Message #2297

From: "Chris Clayton" <os2-wireless_users@2rosenthals.com> Full Headers
Undecoded message
Sender: os2-wireless_users-owner <os2-wireless_users-owner@2rosenthals.com>
Subject: [OS2Wireless] Wlan, wired and wireless connections
Date: Mon, 14 Nov 2005 19:16:41 -0700 (MST)
To: "os2-wireless_users@2rosenthals.com" <os2-wireless_users@2rosenthals.com>

Until the 'IP disabled' problem is resolved, the best approach is to
remark out all ifconfig statements but the localhost configuration from
d:\mptn\bin\setup.cmd.  The manually run scripts to setup/.change
between the wired and wireless nics.  The following are the scripts I
use:

fixdwifi.cmd (using fixed ip & the wifi card is mapped to lan 0 in
MPTS):
net stop req /y
ifconfig lan0 down
ifconfig lan0 delete
ifconfig lan1 down
ifconfig lan1 delete
route -fh
arp -f
ifconfig lan0 192.168.2.55 netmask 255.255.255.0 metric 0 mtu 1500
route add default 192.168.2.1 -hopcount 1
echo Changed to wifi at %_TIME on %_DATE >> g:\utility\netchang.txt

fixdwird (using fixed ip & the wifi card is mapped to lan 1 in MPTS):
net stop req /y
ifconfig lan0 down
ifconfig lan0 delete
ifconfig lan1 down
ifconfig lan1 delete
route -fh
arp -f
ifconfig lan1 192.168.2.55 netmask 255.255.255.0 metric 0 mtu 1500
route add default 192.168.2.1 -hopcount 1
echo Changed to wired at %_TIME on %_DATE >> g:\utility\netchang.txt

for dhcp the following are used:

dhcpwird.cmd:
net stop req /y
ifconfig lan0 down
ifconfig lan0 delete
ifconfig lan1 down
ifconfig lan1 delete
dhcpmon -t
route -fh
arp -f
dhcpstrt -i lan0 -d 0
echo Changed to dhcp wifi at %_TIME on %_DATE >>
g:\utility\netchang.txt

and finally dhcpwird.cmd:
net stop req /y
ifconfig lan0 down
ifconfig lan0 delete
ifconfig lan1 down
ifconfig lan1 delete
dhcpmon -t
route -fh
arp -f
dhcpstrt -i lan1 -d 0
echo Changed to dhcp wired at %_TIME on %_DATE >>
g:\utility\netchang.txt

I have both a wired nic and wireless nic in my notebook. For the
longest
time I had used only the wired nic as I couldn't determine a driver for
the wireless nic. Now that I have a driver for the wireless nic
(IBMPRISM) and can get it connected, I'd like to use Wlan/xWlan to
select which nic I use after booting up.

I installed Wlan 2.0, but have the IP Disabled problem, so I then
installed the 1.20 version. Now I need to know what needs to be set
where so that I don't get error messages during boot if my wired nic is
uncabled and how to activate the wireless nic and be able to switch
between them.

When tcpcfg2 has "not enabled" and "DHCP" set for the wired lan and the
nic is uncabled, the command run during boot for dhcpstrt fails.

Both nics have tcpip and netbios over tcpip in MPTS, as I have a peer
network.

What I really want to do is have a clean boot with no network active,
then select which I will use for that session, either wired, wireless
at
home, or a hotspot.

Thanks.

--
Jim Showalter

I am a Veteran, and I voted for one.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

To unsubscribe from this list, send a message to
steward@2rosenthals.com with the command
"unsubscribe os2-wireless_users" in the body
(omit the quotes).

For help with other commands, send a message
to steward@2rosenthals.com with the command
"help" in the body (omit the quotes).

This list is hosted by Rosenthal & Rosenthal
P.O. Box 281, Deer Park, NY 11729-0281. Non-
electronic communications related to content
contained in these messages should be directed
to the above address. (CAN-SPAM Act of 2003)


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

To unsubscribe from this list, send a message to
steward@2rosenthals.com with the command
"unsubscribe os2-wireless_users" in the body
(omit the quotes).

For help with other commands, send a message
to steward@2rosenthals.com with the command
"help" in the body (omit the quotes).

This list is hosted by Rosenthal & Rosenthal
P.O. Box 281, Deer Park, NY 11729-0281. Non-
electronic communications related to content
contained in these messages should be directed
to the above address. (CAN-SPAM Act of 2003)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




Subscribe: Feed, Digest, Index.
Unsubscribe
Mail to ListMaster