From: "Tom Fredrickson" Received: from mxout3.mailhop.org ([63.208.196.167] verified) by 2rosenthals.com (CommuniGate Pro SMTP 5.0.9) with ESMTP id 376212 for os2-wireless_users@2rosenthals.com; Sun, 24 Sep 2006 17:06:30 -0400 Received: from mxin1.mailhop.org ([63.208.196.175]) by mxout3.mailhop.org with esmtp (Exim 4.51) id 1GRbBB-000MjP-BE for os2-wireless_users@2rosenthals.com; Sun, 24 Sep 2006 17:06:26 -0400 Received: from sccrmhc12.comcast.net ([204.127.200.82]) by mxin1.mailhop.org with esmtp (Exim 4.51) id 1GRbB9-000Jxv-Pt for os2-wireless_users@2rosenthals.com; Sun, 24 Sep 2006 17:06:23 -0400 Received: from localhost (c-69-181-8-214.hsd1.ca.comcast.net[69.181.8.214]) by comcast.net (sccrmhc12) with SMTP id <20060924210603012002gio1e>; Sun, 24 Sep 2006 21:06:18 +0000 Date: Sun, 24 Sep 2006 14:03:14 -0700 To: Al Heath Subject: Re: [OS2Wireless]Re: T23 internal cards success Message-ID: <20060924210314.GB29554@Abit1> Mail-Followup-To: Al Heath References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i X-Mail-Handler: MailHop by DynDNS X-Spam-Score: -2.6 (--) On Sunday, 24 September 2006 at 13:39:52 -0500, Al Heath wrote: > > > > > > On Saturday, 23 September 2006 at 8:42:12 -0700, Tom Fredrickson wrote: > >...Wireless working I remed out dhcpstrt line in MPTN\BIN\SETUP.CMD > >added dhcpstrt -i lan1 in startup.cmd > >then called ssid from genmac/bin set ssid > >called xwlan and it connected > >now to setup encription... > > If you are using the Genmac command line utilities anyway, you don't need > to call xwlan. i.e. if you are already using the ssid utility instead of > xwlan for that part, you could just as well also use ssid to set the wep > before you set the ssid, and then link to connect and then do the dhcpstrt > (or manually assiged static ip/route) once the link command returns > connected.... etc. don't forget to flush the route & arp cache. In my > case I also toggle socks on/off, but that is probably pretty unique to how > I have to run. Also, for some reason, xwlan won't save my full wep key. > > IMHO, xwlan is a wrapper that does that, but if you like the command line > utilities, that is just as easy to have a couple custom rexx execs to do > the 'busy work' each time. > > FWIW, Al H I fixed the encryption. had to set the key and reboot? I tried 3 or 4 times to just set the key and connect but it never worked. I now have dhcpstrt -i lan0 in startup.cmd lan0 is wired nic so I can boot up and if the wire is plugged in it connects on lan0. Xwlan will connect lan1 wifi and bring down lan0. when I turn off wifi in Xwlan it brings down lan1 but fails to bring lan0 back up. I don't know relevant steps to bring down one network and bring up the other. DHCP won't reconnect on lan0 when I try setting route it says network unreachable. I saw a thread #5877 on the list that has xwlan_cmd file It shows the steps net stop req /y ifconfig lan0 down ifconfig lan0 delete route -fh arp -f ifconfig lan1 address netmask 225.225.225.0 metric 0 mtu 1500 route add default [router address] -hopcount 2 so how to get address from dhcp for ifconfig statement? the script uses a fixed ip address. I will try later I can fake it as the router is supposed to issue the same address to the mac address. I tried the steps above be form but not in that order and never "net stop" so maybe the order is important? Thanks, Tom