RE: [gentoo-user] Re: rc-update net.wlan0?

2005-04-18 Thread Richard Watson
I'm attempting to get wireless up and running. First time on
 Gentoo. I have used ndiswrapper on FC2 which this machine used to run
 so I have ESSIDs, mac addresses and keys that are known good.
 
I've emerge the wireless-tools stuff and have an edited
 /etc/conf.d/wireless file with my values in it. ndiswrapper is
 modprobed and ready to go. Now I want to start net.wlan0 but I don't
 have a file in /etc/init.d and nothing shows up in rc-update.


I've been watching this thread with interest as I'm trying to do the same
thing with a PCMCIA wireless Belkin Card. I 'm just confused about a couple
of items.

What does ndiswrapper on FC2 mean? Also what wireless tools packages are
emerged?

Ironically I installed PCMCIA card services, put in the card, edited
/etc/conf.d/net to make eth0 go up on DHCP and it sort of works. By that I
mean everything runs OK but I notice an error on boot where there is an
obvious conflict with eth0.

Regards, Richard

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.15 - Release Date: 16/04/2005
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: rc-update net.wlan0?

2005-04-18 Thread Mark Knecht
On 4/18/05, Richard Watson [EMAIL PROTECTED] wrote:
 I'm attempting to get wireless up and running. First time on
  Gentoo. I have used ndiswrapper on FC2 which this machine used to run
  so I have ESSIDs, mac addresses and keys that are known good.
 
 I've emerge the wireless-tools stuff and have an edited
  /etc/conf.d/wireless file with my values in it. ndiswrapper is
  modprobed and ready to go. Now I want to start net.wlan0 but I don't
  have a file in /etc/init.d and nothing shows up in rc-update.
 
 
 I've been watching this thread with interest as I'm trying to do the same
 thing with a PCMCIA wireless Belkin Card. I 'm just confused about a couple
 of items.
 
 What does ndiswrapper on FC2 mean? Also what wireless tools packages are 
 emerged?

Hi,
   Sorry for any confusion. This is a box that was running Fedora Core
2 (FC2) taht I converted to running Gentoo. The box had been running
for a couple of months using FC2 and ndiswrapper-style wireless was
running fine. This was important since it gave me a baseline to work
from.

   I am not 100% sure but I believe that what I emerged on that box
was the current stable version of wireless-tools-27 and the ~x86
version of ndiswrapper-1.1.

   Other than that I copied net.eth0 to net.wlan0 ( and since tested
that creating a link as was suggested works fine so I'd suggest that
since it will be covered by updates) and edited the
/etc/conf.d/wireless file. In the wireless file there were only about
3 lines that I had to set up to get the network working. (ESSID_wlan0,
channel_wlan0, key_ESSID)

NOTE - It was not immediately obvious to me that where it says ESSID
in the wireless file you must replace the ESSID letters with your
ESSID. This is cool since it makes talking to multiple ESSID's well
documented on the wireless file itself.
 
 Ironically I installed PCMCIA card services, put in the card, edited
 /etc/conf.d/net to make eth0 go up on DHCP and it sort of works. By that I
 mean everything runs OK but I notice an error on boot where there is an
 obvious conflict with eth0.

I have two files, net.eth0 and net.wlan0, where net.wlan0 is a link. I then run

rc-update add net.wlan0 default
rc-update del net.eth0 default

when I want wireless and reverse the settings when I want wired. That
will completely address your boot problem.

If I want to change while the system is running then it's 

/etc/init.d/net.wlan0 stop
/etc/init.d/net.eth0 start.

Both eth0 and wlan0 are on the same 192.168.10.xxx network so my
gateway address doesn't change.

Very cool system these guys (and ladies possibly?) came up with.

HTH,
Mark

 
 Regards, Richard
 
 --
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.308 / Virus Database: 266.9.15 - Release Date: 16/04/2005
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list