Networking Forums

Networking Forums > Computer Networking > Linux Networking > Home Wireless Router auto-choosing

Reply
Thread Tools Display Modes

Home Wireless Router auto-choosing

 
 
Hank
Guest
Posts: n/a

 
      01-01-2004, 01:29 AM
I would first like to thank anyone how reads this, and I would further
like to thank anyone who responds - even if it is just to say "Read
the man page again Dumb-ass!"

My wireless problem is:

My Neighbor has a router that is unencrypted. I have an encrypted
router. My Slackware 9.1 on my laptop automatically uses his on boot
up. I have to use iwconfig to set my key and essid, then I have to
release the old IP from his router and Obtain one from mine. I have
set all of the same info that I use with iwconfig into my
/etc/PCMCIA/wireless.opts, but this does nothing for me. I know there
is a way to use my router automatically, because I have read that
other people do it, I just don't know how.
 
Reply With Quote
 
 
 
 
Carl
Guest
Posts: n/a

 
      01-08-2004, 05:54 PM


Hank wrote:
> I would first like to thank anyone how reads this, and I would further
> like to thank anyone who responds - even if it is just to say "Read
> the man page again Dumb-ass!"
>
> My wireless problem is:
>
> My Neighbor has a router that is unencrypted. I have an encrypted
> router. My Slackware 9.1 on my laptop automatically uses his on boot
> up. I have to use iwconfig to set my key and essid, then I have to
> release the old IP from his router and Obtain one from mine. I have
> set all of the same info that I use with iwconfig into my
> /etc/PCMCIA/wireless.opts, but this does nothing for me. I know there
> is a way to use my router automatically, because I have read that
> other people do it, I just don't know how.


perhaps you need to get into the boot scripts that are running your
services and modify them.

do you always have to enter the key manually? if so perhaps your os does
not yet have automatic key entry. another opportunity to write a script.

cl

 
Reply With Quote
 
Hank
Guest
Posts: n/a

 
      01-14-2004, 08:05 AM
Carl <moc.erawtfosdigir@treblig_tnomal> wrote in message news:<3FFDA76C.1070302@treblig_tnomal>...
> Hank wrote:
> > I would first like to thank anyone how reads this, and I would further
> > like to thank anyone who responds - even if it is just to say "Read
> > the man page again Dumb-ass!"
> >
> > My wireless problem is:
> >
> > My Neighbor has a router that is unencrypted. I have an encrypted
> > router. My Slackware 9.1 on my laptop automatically uses his on boot
> > up. I have to use iwconfig to set my key and essid, then I have to
> > release the old IP from his router and Obtain one from mine. I have
> > set all of the same info that I use with iwconfig into my
> > /etc/PCMCIA/wireless.opts, but this does nothing for me. I know there
> > is a way to use my router automatically, because I have read that
> > other people do it, I just don't know how.

>
> perhaps you need to get into the boot scripts that are running your
> services and modify them.
>
> do you always have to enter the key manually? if so perhaps your os does
> not yet have automatic key entry. another opportunity to write a script.
>
> cl



Thank you for responding!

I have tried to edit some of them and had a little succeses. I can
get it to login to my router now automatically, but only after it logs
in to his first. I did indeed write an addition to a script to make
this happen. What I am still wondering is where in slackware is the
file or directory that tells the os what to start and when? I would
like to run iwconfig before pcmcia, but I cannot find where to do it.
It works for now, but I am just not comfortable logging on to someone
else's router, I know that it is still legal, but it is just bad
style.

Thank you again.
 
Reply With Quote
 
Cameron Kerr
Guest
Posts: n/a

 
      01-14-2004, 10:21 AM
Hank <(E-Mail Removed)> wrote:
> I would first like to thank anyone how reads this, and I would further
> like to thank anyone who responds - even if it is just to say "Read
> the man page again Dumb-ass!"
>
> My wireless problem is:
>
> My Neighbor has a router that is unencrypted. I have an encrypted
> router. My Slackware 9.1 on my laptop automatically uses his on boot
> up. I have to use iwconfig to set my key and essid, then I have to
> release the old IP from his router and Obtain one from mine. I have
> set all of the same info that I use with iwconfig into my
> /etc/PCMCIA/wireless.opts, but this does nothing for me. I know there
> is a way to use my router automatically, because I have read that
> other people do it, I just don't know how.


Pity you don't show us what's in you wireless.opts file.

First (this part is optional, but I recommend it for a laptop), change
the scheme. The change is persistent.

cardctl scheme home

Then put this in wireless.opts. Note there are parts that need to be
commented out.


case "$ADDRESS" in

# NOTE : Remove the following four lines to activate the samples below ...
# --------- START SECTION TO REMOVE -----------
#*,*,*,*)
# ;;
# ---------- END SECTION TO REMOVE ------------

home,*)
INFO="My home network"
MODE="Managed"
ESSID="cknet"
NICK="Orloc"
#IWCONFIG="power on"
#KEY="xxxx-xxxx-xx key on key restricted"
;;

It's the essid that needs to change. This way, any wireless pcmcia card
I plug in will (when scheme is home), will use my AP.

--
Cameron Kerr
(E-Mail Removed) : http://nzgeeks.org/cameron/
Empowered by Perl!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Choosing a Netgear Wireless router Michael Chare Broadband 22 11-27-2007 08:10 PM
XP won't Auto Connect to my Wireless Modem/Router Kirby P Wireless Networks 7 02-02-2007 08:49 PM
fixed ip address at home, auto elsewhere RaddMann Wireless Networks 1 10-16-2004 02:33 AM
Help! Choosing (or excluding) wireless router by MAC address. Loki Wireless Internet 2 07-23-2004 03:58 PM
Choosing a wireless router for BT Broadband? Bobby Broadband 11 12-11-2003 08:31 AM



1 2 3 4 5 6 7 8 9 10 11