| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Originally posted to OS2Wireless |
In , on 12/10/04
at 06:48 PM, Stan Goodman 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 = PROTMAN$
[IBMLXCFG]
tcpip_nif = tcpip.nif
E100BEO2_nif = E100BEO2.nif
CISCOPCM_nif = ciscopcm.nif
[tcpip_nif]
DriverName = TCPIP$
Bindings = E100BEO2_nif,CISCOPCM_nif
[E100BEO2_nif]
DriverName = E100B$
SPEED = 0
FORCEDUPLEX = 0
TRANSMITBUFFERS = 20
RECEIVEBUFFERS = 20
[CISCOPCM_nif]
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{at}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!
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/E8folB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/os2user/
To unsubscribe from this group, send an email to:
os2user-unsubscribe{at}yahoogroups.com
Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
---
* Origin: Waldo's Place USA Internet Gateway (1:3634/1000)SEEN-BY: 633/267 270 5030/786 @PATH: 3634/1000 12 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.