Re: config info location in Mandrake

2003-01-03 Thread Keith Morse
On Thu, 2 Jan 2003, David A. Bandel wrote:

 On Thu, 2 Jan 2003 16:31:50 -0800 (PST)
 begin  Keith Morse [EMAIL PROTECTED] spewed forth:
  
  
  To Bill, I've done different permutations of find and grep with no luck
  so far.  I've keyed in on using ESSID and am trying understand how ifup
  gets the parameter to pass to iwconfig.  But I still don't know where
  ifup gets those parameters from.
 
 I'll stick my $.02 in here.  I'm not sure what Mandrake does w/ their ifup
 script, but if the pcmcia stuff sources /etc/pcmcia at all, you should
 edit /etc/pcmcia/wireless.opts for this configuration option.
 
 If you have a /etc/pcmcia/wireless.opts file, somewhere around line 44
 you'll need to comment out two lines that look like:
 *,*,*,*)
;;
 
 Then find your particular card and farther down and uncomment and edit the
 appropriate options (like ESSID, MODE, KEY, etc.).
 
 Then let the ifup script handle the IP stuff.
 


Since all the work I have done with Linux and wireless cards has been in 
the pcmcia realm, that's what I would have expected too.  In fact, the 
first place I checked was /etc/pcmcia/wireless.opts.  No go.   The file's 
date stamped matched with when the system was originally installed with 
Mandrake.  The wireless card though is not a pcmcia device, but rather a 
pci card.  Linksys WMP11, IIRC.  Based on that, I don't think pcmcia 
is/was used to support this card.

It's just plain weird.

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users



Re: config info location in Mandrake

2003-01-03 Thread Net Llama!
On Fri, 3 Jan 2003, Keith Morse wrote:
 On Thu, 2 Jan 2003, David A. Bandel wrote:

  On Thu, 2 Jan 2003 16:31:50 -0800 (PST)
  begin  Keith Morse [EMAIL PROTECTED] spewed forth:
  
  
   To Bill, I've done different permutations of find and grep with no luck
   so far.  I've keyed in on using ESSID and am trying understand how ifup
   gets the parameter to pass to iwconfig.  But I still don't know where
   ifup gets those parameters from.
 
  I'll stick my $.02 in here.  I'm not sure what Mandrake does w/ their ifup
  script, but if the pcmcia stuff sources /etc/pcmcia at all, you should
  edit /etc/pcmcia/wireless.opts for this configuration option.
 
  If you have a /etc/pcmcia/wireless.opts file, somewhere around line 44
  you'll need to comment out two lines that look like:
  *,*,*,*)
 ;;
 
  Then find your particular card and farther down and uncomment and edit the
  appropriate options (like ESSID, MODE, KEY, etc.).
 
  Then let the ifup script handle the IP stuff.
 


 Since all the work I have done with Linux and wireless cards has been in
 the pcmcia realm, that's what I would have expected too.  In fact, the
 first place I checked was /etc/pcmcia/wireless.opts.  No go.   The file's
 date stamped matched with when the system was originally installed with
 Mandrake.  The wireless card though is not a pcmcia device, but rather a
 pci card.  Linksys WMP11, IIRC.  Based on that, I don't think pcmcia
 is/was used to support this card.

Perhaps the module that supports the card has options where you can pass
the ESSID etc?

-- 
~~
Lonni J Friedman[EMAIL PROTECTED]
Linux Step-by-step  TyGeMo  http://netllama.ipfox.com
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users



Re: config info location in Mandrake

2003-01-03 Thread Andrew Mathews
Net Llama! wrote:
snip
Have you looked at (if it exists in MDK) 
/etc/sysconfig/network-scripts/ifup-wireless?
snip
At the very least, you can append the commands to your rc.local file.

--
Andrew Mathews
-
  1:23pm  up 3 days, 20:49,  7 users,  load average: 1.15, 1.31, 1.66
-
An exotic journey in downtown Newark is in your future.

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: config info location in Mandrake

2003-01-03 Thread Net Llama!
On Fri, 3 Jan 2003, Andrew Mathews wrote:
 Net Llama! wrote:
 snip
 Have you looked at (if it exists in MDK)
 /etc/sysconfig/network-scripts/ifup-wireless?
 snip

I didn't write that.

-- 
~~
Lonni J Friedman[EMAIL PROTECTED]
Linux Step-by-step  TyGeMo  http://netllama.ipfox.com
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users



Re: config info location in Mandrake

2003-01-03 Thread Andrew Mathews
Net Llama! wrote:

On Fri, 3 Jan 2003, Andrew Mathews wrote:


Net Llama! wrote:
snip
Have you looked at (if it exists in MDK)
/etc/sysconfig/network-scripts/ifup-wireless?
snip



I didn't write that.



It was simply snipped for brevity. Maybe a bit *too* much. g

--
Andrew Mathews
-
  5:04pm  up 4 days, 30 min,  5 users,  load average: 1.49, 1.69, 1.67
-
nesting roaches shorted out the ether cable

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users



Re: config info location in Mandrake

2003-01-02 Thread Bill Campbell
On Thu, Jan 02, 2003 at 12:04:42AM -0800, Keith Morse wrote:

Speaking of Mandrake, where does config info normally get stored.  
Specifically I'm trying to find wireless data such as ESSID, mode and 
others.   This is off the remanents of an 8.2 install.  The card used is a 
WMP11  which is a direct pci interface.

http://www.linksys.com/products/product.asp?grid=33scid=36prid=196

I've looked in the usual places /etc/pcmcia /etc/sysconfig but am not 
finding the files those configs are stored in.  Ideas?

Not offhand, having only run Mandrake 8.2 for a couple of days, but the way
I usually find things like this is to touch a file, make a change using the
vendor's GUI, then run find to get anything newer than the touched file:

touch /tmp/timestamp
# edit using GUI
find / -xdev -type f -newer /tmp/timestamp

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Guns are no more responsible for killing people than the spoon is
responsible for making Rosie O'Donnell fat.''
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users



Re: config info location in Mandrake

2003-01-02 Thread kwall
Feigning erudition, Bill Campbell wrote:
% 
% Not offhand, having only run Mandrake 8.2 for a couple of days, but the way
% I usually find things like this is to touch a file, make a change using the
% vendor's GUI, then run find to get anything newer than the touched file:
% 
%   touch /tmp/timestamp
%   # edit using GUI
%   find / -xdev -type f -newer /tmp/timestamp

Say, now *there's* a handy guru trick!

Kurt
-- 
I gained nothing at all from Supreme Enlightenment, and for that very
reason it is called Supreme Enlightenment.
-- Gotama Buddha
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users



Re: config info location in Mandrake

2003-01-02 Thread Bill Campbell
On Thu, Jan 02, 2003 at 04:31:50PM -0800, Keith Morse wrote:
On Thu, 2 Jan 2003 [EMAIL PROTECTED] wrote:

 Feigning erudition, Bill Campbell wrote:
 % 
 % Not offhand, having only run Mandrake 8.2 for a couple of days, but the way
 % I usually find things like this is to touch a file, make a change using the
 % vendor's GUI, then run find to get anything newer than the touched file:
 % 
 %touch /tmp/timestamp
 %# edit using GUI
 %find / -xdev -type f -newer /tmp/timestamp
 
 Say, now *there's* a handy guru trick!

I can't tell you how many times I've used that to figure out what changes
when some program's been run.  The ``lsof'' program is also useful, but
sometimes it's difficult to catch things at the exact moment.

 Kurt

AFAIC, this is one of the best reasons to be on this list.  All sorts of 
guru gems get bandied about.

To Bill, I've done different permutations of find and grep with no luck so 
far.  I've keyed in on using ESSID and am trying understand how ifup gets 
the parameter to pass to iwconfig.  But I still don't know where ifup gets 
those parameters from.

On Caldera systems, it gets it from files in /etc/sysconfig/network-scripts,
one per interface.

If you know the IP address assigned, (and it's not being assigned by dhcp),
you can usually find things like that using (the -follow isn't usually
necessary, but is handy on things like SCO OpenServer with its symlink hell
:-).

find /etc -follow -type f | xargs grep -l $ipaddress

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

The very powerful and the very stupid have one thing in common.
Instead of altering their views to fit the facts, they alter the facts
to fit their views ... which can be very uncomfortable if you happen to
be one of the facts that needs altering.
-- Doctor Who, Face of Evil
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users



Re: config info location in Mandrake

2003-01-02 Thread Keith Morse
On Thu, 2 Jan 2003, Bill Campbell wrote:

 On Caldera systems, it gets it from files in /etc/sysconfig/network-scripts,
 one per interface.
 
 If you know the IP address assigned, (and it's not being assigned by dhcp),
 you can usually find things like that using (the -follow isn't usually
 necessary, but is handy on things like SCO OpenServer with its symlink hell
 :-).
 
   find /etc -follow -type f | xargs grep -l $ipaddress
 


In this setup, what's odd to me is that the interface is defined as 
ifcfg-wlan0 and contains the ip address info.  Yet, the wireless info that 
I would expect to be there isn't.  Very odd.  I'm assuming it's a 
Mandrakism.  I don't have the ability to run the Mandrake install right 
now as the box is remote and is serving in a firewall capacity using a 
parallel install of RedHat.  Again, thanks for the above.

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users



Re: config info location in Mandrake

2003-01-02 Thread David A. Bandel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 2 Jan 2003 16:31:50 -0800 (PST)
begin  Keith Morse [EMAIL PROTECTED] spewed forth:



[snip]

 
 
 To Bill, I've done different permutations of find and grep with no luck
 so far.  I've keyed in on using ESSID and am trying understand how ifup
 gets the parameter to pass to iwconfig.  But I still don't know where
 ifup gets those parameters from.

I'll stick my $.02 in here.  I'm not sure what Mandrake does w/ their ifup
script, but if the pcmcia stuff sources /etc/pcmcia at all, you should
edit /etc/pcmcia/wireless.opts for this configuration option.

If you have a /etc/pcmcia/wireless.opts file, somewhere around line 44
you'll need to comment out two lines that look like:
*,*,*,*)
   ;;

Then find your particular card and farther down and uncomment and edit the
appropriate options (like ESSID, MODE, KEY, etc.).

Then let the ifup script handle the IP stuff.

Ciao,

David A. Bandel
- -- 
Focus on the dream, not the competition.
-- Nemesis Racing Team motto
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+FO403uVcotqGMQcRAkrPAJwJkHQYLFq+Zgv4g0GJPU4Im5xuOwCgv6OI
ixcMxeMultBA/ynACNsGAwU=
=qgdV
-END PGP SIGNATURE-
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users



Re: config info location in Mandrake

2003-01-02 Thread Keith Morse
On Thu, 2 Jan 2003 [EMAIL PROTECTED] wrote:

 Feigning erudition, Bill Campbell wrote:
 % 
 % Not offhand, having only run Mandrake 8.2 for a couple of days, but the way
 % I usually find things like this is to touch a file, make a change using the
 % vendor's GUI, then run find to get anything newer than the touched file:
 % 
 % touch /tmp/timestamp
 % # edit using GUI
 % find / -xdev -type f -newer /tmp/timestamp
 
 Say, now *there's* a handy guru trick!
 
 Kurt


AFAIC, this is one of the best reasons to be on this list.  All sorts of 
guru gems get bandied about.


To Bill, I've done different permutations of find and grep with no luck so 
far.  I've keyed in on using ESSID and am trying understand how ifup gets 
the parameter to pass to iwconfig.  But I still don't know where ifup gets 
those parameters from.

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users



config info location in Mandrake

2003-01-01 Thread Keith Morse

Speaking of Mandrake, where does config info normally get stored.  
Specifically I'm trying to find wireless data such as ESSID, mode and 
others.   This is off the remanents of an 8.2 install.  The card used is a 
WMP11  which is a direct pci interface.

http://www.linksys.com/products/product.asp?grid=33scid=36prid=196

I've looked in the usual places /etc/pcmcia /etc/sysconfig but am not 
finding the files those configs are stored in.  Ideas?

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users