[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Tue Dec 7 12:32:36 2004 -->
- <!--x-from-r13: Dboreg.Z.Vneevf ng eqyt.arg (Dboreg Z. Vneevf) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: 1102439159.2471.16.camel@blue --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Script won't assosciate my wireless? -->
- <li><em>date</em>: Tue Dec 7 12:32:36 2004</li>
- <li><em>from</em>: Robert.L.Harris at rdlg.net (Robert L. Harris)</li>
- <li><em>in-reply-to</em>: <1102439159.2471.16.camel@blue></li>
- <li><em>references</em>: <<a href="msg00257.html">[email protected]</a>> <<a href="msg00259.html">[email protected]</a>> <1102439159.2471.16.camel@blue></li>
- <li><em>subject</em>: [ale] Script won't assosciate my wireless?</li>
I split it up into 3 lines, and ran it. Failed the first time, but did
work the second. I'll keep mucking with it. Thanks.
Thus spake Jim Popovitch (jimpop at yahoo.com):
> Hi Rob,
>
> I have a near identical setup, what you need to do is break the iwconfig
> commands up into multiple steps. I also have to rmmod and insmod the
> ipw2100 module when switching between WEB and t-mobile. Basically what
> to make life easy I just wrote a bunch of short scripts to use sudo and
> manually config the correct network. Linux sucks when it comes to
> wireless auto config.
>
> Here's my ifup-home script
>
> -------------
> # reset networking....
> sudo ifconfig eth0 down > /dev/null 2>&1
> sudo ifconfig eth1 down > /dev/null 2>&1
> sudo iwconfig eth1 essid any > /dev/null 2>&1
> sudo modprobe -r e1000
> sudo modprobe -r ipw2100
> sudo modprobe -r ieee80211_crypt_wep
> sudo modprobe -r ieee80211_crypt
> sudo modprobe -r ieee80211
>
> # load network modules
> sudo modprobe e1000
> sudo modprobe ipw2100
>
> # config home network
> sudo iwconfig eth1 essid home-net
> sudo iwconfig eth1 key ****************************
> sudo ifup eth1
> ---------------------------
>
> hth,
>
> -Jim P.
>
> On Tue, 2004-12-07 at 09:05 -0500, Robert L. Harris wrote:
> >
> > Sorry, wanted to send before I forgot :>
> >
> > Linux, Debian unstable
> > 2.6.9 Kernel
> > Latest KDE
> > Centrino Drive ipw2100-0.55
> >
> > The exact command line is:
> >
> > /sbin/iwconfig eth1 mode Managed essid wepkey key 66796fad63387358696e6e6763
> > (Obviously a diff key and SID)
> >
> > If I put that command in a bash script it won't associate. If I run it
> > by hand it works fine.
> >
> >
> >
> >
> > Thus spake Jerald Sheets (jsheets at yahoo.com):
> >
> > > Platform?
> > > Distro?
> > > Version?
> > > Boot Loader?
> > >
> > > --jms
> > >
> > > -----Original Message-----
> > > From: ale-bounces at ale.org [<a rel="nofollow" href="mailto:ale-bounces">mailto:ale-bounces</a> at ale.org] On Behalf Of Robert
> > > L. Harris
> > > Sent: Tuesday, December 07, 2004 8:55 AM
> > > To: Atlanta Linux Enthusiasts
> > > Subject: [ale] Script won't assosciate my wireless?
> > >
> > >
> > >
> > > I've recently gotten wireless access in my office. I'm trying to script the
> > > association to the AP. I've created a short bash script which reloads the
> > > drivers (Centrino in an IBM Laptop), downs the interface, and then runs the
> > > association. If I run the script it never associates.
> > > If I put an echo of the exact iwconfig command into the script and run the
> > > command by hand it comes up fine.
> > >
> > > Any one have any ideas?
> > >
> > >
> > > :wq!
> > > ---------------------------------------------------------------------------
> > > Robert L. Harris | GPG Key ID: E344DA3B
> > > @ x-hkp://pgp.mit.edu
> > > DISCLAIMER:
> > > These are MY OPINIONS With Dreams To Be A King,
> > > ALONE. I speak for First One Should Be A Man
> > > no-one else. - Manowar
> > >
> > >
> > > ---
> > > Incoming mail is certified Virus Free.
> > > Checked by AVG anti-virus system (<a rel="nofollow" href="http://www.grisoft.com">http://www.grisoft.com</a>).
> > > Version: 6.0.804 / Virus Database: 546 - Release Date: 11/30/2004
> > >
> > >
> > >
> > > ---
> > > Outgoing mail is certified Virus Free.
> > > Checked by AVG anti-virus system (<a rel="nofollow" href="http://www.grisoft.com">http://www.grisoft.com</a>).
> > > Version: 6.0.804 / Virus Database: 546 - Release Date: 11/30/2004
> > >
> > >
> > > _______________________________________________
> > > Ale mailing list
> > > Ale at ale.org
> > > <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
> > >
> > > ** CRM114 Whitelisted by: mit.edu **
> >
> > :wq!
> > ---------------------------------------------------------------------------
> > Robert L. Harris | GPG Key ID: E344DA3B
> > @ x-hkp://pgp.mit.edu
> > DISCLAIMER:
> > These are MY OPINIONS With Dreams To Be A King,
> > ALONE. I speak for First One Should Be A Man
> > no-one else. - Manowar
> >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
:wq!
---------------------------------------------------------------------------
Robert L. Harris | GPG Key ID: E344DA3B
@ x-hkp://pgp.mit.edu
DISCLAIMER:
These are MY OPINIONS With Dreams To Be A King,
ALONE. I speak for First One Should Be A Man
no-one else. - Manowar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00257" href="msg00257.html">[ale] Script won't assosciate my wireless?</a></strong>
<ul><li><em>From:</em> Robert.L.Harris at rdlg.net (Robert L. Harris)</li></ul></li>
<li><strong><a name="00259" href="msg00259.html">[ale] Script won't assosciate my wireless?</a></strong>
<ul><li><em>From:</em> Robert.L.Harris at rdlg.net (Robert L. Harris)</li></ul></li>
<li><strong><a name="00276" href="msg00276.html">[ale] Script won't assosciate my wireless?</a></strong>
<ul><li><em>From:</em> jimpop at yahoo.com (Jim Popovitch)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00279.html">[ale] WPS Format documents</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00281.html">[ale] WPS Format documents</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00276.html">[ale] Script won't assosciate my wireless?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00261.html">[ale] december NW ALE meeting</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00280"><strong>Date</strong></a></li>
<li><a href="threads.html#00280"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>