In <0I8I00M9XMP0JB@mxout4.netvision.net.il>, on 12/10/04
at 06:48 PM, Stan Goodman <sgood@hashkedim.com> typed:
>I am in the early throes of setting up my Thinkpad for wireless service
>with a Cisco 352. I envision needing also to continue to make wired
>connections. I'd therefore like to see these scripts, which have been
>mentioned previously here. I'd look for them in the archives of this
>group, but the archives are not searchable, and searching the
>unsearchable is a daunting idea.
Better yet, I'll paste them in here. wireless.cmd and wired.cmd do the
obvious things. wired is lan0; cisco is lan1.
------- wireless.cmd ----------
/* turn on the radio
* This command activates the 802.11b interface
*
* The wireless NIC should be inserted in the PC Card slot
*/
say "Activating the wireless network card"
'ifconfig lan0 down'
'ifconfig lan0 delete'
'ifconfig lan1 down'
'ifconfig lan1 delete'
'dhcpmon -l' /* release lease */
'dhcpmon -t' /* terminate dhcp */
'route -fh'
'arp -f'
'dhcpstrt -i lan1 -d 10'
'start dhcpmon'
say "Wireless networking enabled"
return
---------------------------
------wired.cmd ---------
/* turn off the radio
* This command deactivates the 802.11b interface
*/
say "Deactivating the wireless network card"
'killem dhcpmon.exe'
'ifconfig lan1 down'
'ifconfig lan1 delete'
'dhcpmon -l' /* release lease */
'dhcpmon -t' /* terminate dhcp */
'route -fh'
'arp -f'
'dhcpstrt -i lan0 -d 10'
say "Wired Lan networking enabled"
----------------
config.sys has both drivers, and otherwise the usual stuff for lan0 which
is the default.
I don't know how important this is; I'd seen some discussion that it might
work better to uninstall (in mptn setup, not physically :-) the wired
interface, and then install wireless (you can select it as lan1 there, I
think), getting it working, and finally reinstalling the wired on top of
the wireless. It's worth keeping note of:
ibmcom\protocol,ine - which should have sections for both adapters.
Here's mine: [PROT_MAN]
DriverName = CWL350$
DESIRED_SSID = "mywap"
STA_MODE = "INFRASTRUCTURE"
PREAMBLE = "BOTH"
PSP_MODE = "CAM"
AUTH_TYPE = "OPEN_SYSTEM"
WEP = "DISABLED"
SUPPLY_VOLTAGE = "5.0V"
DEBUG_LEVEL = 0xFFDF
-------------
mptn\bin\setup.cmd - for both the wired only and wireless only configs.
These are the basis for the scripts that I'm using (adapted from someone
else - Neil?).
I've set up for dhcp on both lans. If you want to use fixed ip address
for either or both, it shouldn't be too hard to adapt the scripts.
Good luck. If you need specific help, don't hesitate to ask me either on
the list or by private email - bt this may be of interest to others.
--
Julian Thomas: jt@jt-mj.net http://jt-mj.net
In the beautiful Finger Lakes Wine Country of New York State!
Boardmember of POSSI.org - Phoenix OS/2 Society, Inc http://www.possi.org
-- --
The cost of feathers has risen... Now even DOWN is up!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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)