public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] ipw2100 problems - ieee80211?
@ 2006-10-12  4:00 Lord Sauron
  2006-10-12  4:11 ` Bo Ørsted Andresen
  2006-10-12  7:14 ` Alan McKinnon
  0 siblings, 2 replies; 10+ messages in thread
From: Lord Sauron @ 2006-10-12  4:00 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 900 bytes --]

They're going to install wireless in my school so I guess I better get 
this working sometime soon : )

I isolated my problem to this:

emerge ipw2100 ties in ieee80211, and that fails to compile because it 
says that the current kernel cannot have the option IEEE80211 in either 
module or enabled.  It needs it disabled.

I tried to use menuconfig and disable it, however, the only way I can do 
that is by literally disabling ALL networking - drivers and all.

Kernel is kernel 2.6.17-gentoo-r8.

I'm considering editing the makefile and removing its dependency on that 
blasted kernel configuration setting!

If anyone knows a better/easier way, please help!  I read all the docs 
on ieee80211.sf.net and ipw2100.sf.net but nothing there that I could 
find helped.

Thanks in advance for any help - I really appreciate it!

-- 
http://lordsauronthegreat.googlepages.com/

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] ipw2100 problems - ieee80211?
  2006-10-12  4:00 [gentoo-user] ipw2100 problems - ieee80211? Lord Sauron
@ 2006-10-12  4:11 ` Bo Ørsted Andresen
  2006-10-12  4:39   ` Lord Sauron
  2006-10-12  7:14 ` Alan McKinnon
  1 sibling, 1 reply; 10+ messages in thread
From: Bo Ørsted Andresen @ 2006-10-12  4:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1190 bytes --]

On Thursday 12 October 2006 06:00, Lord Sauron wrote:
[SNIP]
> I isolated my problem to this:
>
> emerge ipw2100 ties in ieee80211, and that fails to compile because it
> says that the current kernel cannot have the option IEEE80211 in either
> module or enabled.  It needs it disabled.
>
> I tried to use menuconfig and disable it, however, the only way I can do
> that is by literally disabling ALL networking - drivers and all.
>
> Kernel is kernel 2.6.17-gentoo-r8.
[SNIP]
> If anyone knows a better/easier way, please help!
[SNIP] 

As of kernel 2.6.17 ipw2100 has been included in the kernel. Hence you 
shouldn't install either of net-wireless/ieee80211 or net-wireless/ipw2100. 
You still need to have net-wireless/ipw2100-firmware emerged though. I 
believe these are the kernel options you need (it works for me):

$ zgrep IPW2100\\\|IEEE80211 /proc/config.gz
CONFIG_IEEE80211=m
# CONFIG_IEEE80211_DEBUG is not set
CONFIG_IEEE80211_CRYPT_WEP=m
CONFIG_IEEE80211_CRYPT_CCMP=m
CONFIG_IEEE80211_CRYPT_TKIP=m
# CONFIG_IEEE80211_SOFTMAC is not set
CONFIG_IPW2100=m
# CONFIG_IPW2100_MONITOR is not set
# CONFIG_IPW2100_DEBUG is not set

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] ipw2100 problems - ieee80211?
  2006-10-12  4:11 ` Bo Ørsted Andresen
@ 2006-10-12  4:39   ` Lord Sauron
  2006-10-12  4:45     ` Trenton Adams
  2006-10-12  6:04     ` Bo Ørsted Andresen
  0 siblings, 2 replies; 10+ messages in thread
From: Lord Sauron @ 2006-10-12  4:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2089 bytes --]

On Wednesday 11 October 2006 21:11, Bo Ørsted Andresen wrote:
> On Thursday 12 October 2006 06:00, Lord Sauron wrote:
> [SNIP]
>
> > I isolated my problem to this:
> >
> > emerge ipw2100 ties in ieee80211, and that fails to compile because
> > it says that the current kernel cannot have the option IEEE80211 in
> > either module or enabled.  It needs it disabled.
> >
> > I tried to use menuconfig and disable it, however, the only way I
> > can do that is by literally disabling ALL networking - drivers and
> > all.
> >
> > Kernel is kernel 2.6.17-gentoo-r8.
>
> [SNIP]
>
> > If anyone knows a better/easier way, please help!
>
> [SNIP]
>
> As of kernel 2.6.17 ipw2100 has been included in the kernel. Hence
> you shouldn't install either of net-wireless/ieee80211 or
> net-wireless/ipw2100. You still need to have
> net-wireless/ipw2100-firmware emerged though. I believe these are the
> kernel options you need (it works for me):
>
> $ zgrep IPW2100\\\|IEEE80211 /proc/config.gz
> CONFIG_IEEE80211=m
> # CONFIG_IEEE80211_DEBUG is not set
> CONFIG_IEEE80211_CRYPT_WEP=m
> CONFIG_IEEE80211_CRYPT_CCMP=m
> CONFIG_IEEE80211_CRYPT_TKIP=m
> # CONFIG_IEEE80211_SOFTMAC is not set
> CONFIG_IPW2100=m
> # CONFIG_IPW2100_MONITOR is not set
> # CONFIG_IPW2100_DEBUG is not set

The curious thing is that the firmware is installed.

I'm trying those exact configuration settings now.  I hope that works, 
otherwise I'm really in for quite a mess!


Is it at all possible that the driver is installed and working, and that 
I don't have whatever it takes to activate and use it?  For my wired 
ethernet card, there's a thing called net.eth0 and all that rot.  When 
I get the wireless driver working, how will I create net.wlan0 or 
net.eth1 or whatever it is?  I've not no experience there, and I've 
been searching rather diligently for a how-to or instruction set to 
help me with that.  I find it hard to think that something like that 
will generate itself ex nihlo, to say the least : )

-- 
http://lordsauronthegreat.googlepages.com/

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] ipw2100 problems - ieee80211?
  2006-10-12  4:39   ` Lord Sauron
@ 2006-10-12  4:45     ` Trenton Adams
  2006-10-12  4:53       ` Lord Sauron
  2006-10-12  6:04     ` Bo Ørsted Andresen
  1 sibling, 1 reply; 10+ messages in thread
From: Trenton Adams @ 2006-10-12  4:45 UTC (permalink / raw
  To: gentoo-user

You create net.eth0, or whatever, by linking /etc/init.d/net.ethX to
/etc/init.d/net.lo  The driver will create the actual kernel device
name of eth0, ath0, or whatever, and then your link will make it work.

On 10/11/06, Lord Sauron <lordsauronthegreat@gmail.com> wrote:
> On Wednesday 11 October 2006 21:11, Bo Ørsted Andresen wrote:
> > On Thursday 12 October 2006 06:00, Lord Sauron wrote:
> > [SNIP]
> >
> > > I isolated my problem to this:
> > >
> > > emerge ipw2100 ties in ieee80211, and that fails to compile because
> > > it says that the current kernel cannot have the option IEEE80211 in
> > > either module or enabled.  It needs it disabled.
> > >
> > > I tried to use menuconfig and disable it, however, the only way I
> > > can do that is by literally disabling ALL networking - drivers and
> > > all.
> > >
> > > Kernel is kernel 2.6.17-gentoo-r8.
> >
> > [SNIP]
> >
> > > If anyone knows a better/easier way, please help!
> >
> > [SNIP]
> >
> > As of kernel 2.6.17 ipw2100 has been included in the kernel. Hence
> > you shouldn't install either of net-wireless/ieee80211 or
> > net-wireless/ipw2100. You still need to have
> > net-wireless/ipw2100-firmware emerged though. I believe these are the
> > kernel options you need (it works for me):
> >
> > $ zgrep IPW2100\\\|IEEE80211 /proc/config.gz
> > CONFIG_IEEE80211=m
> > # CONFIG_IEEE80211_DEBUG is not set
> > CONFIG_IEEE80211_CRYPT_WEP=m
> > CONFIG_IEEE80211_CRYPT_CCMP=m
> > CONFIG_IEEE80211_CRYPT_TKIP=m
> > # CONFIG_IEEE80211_SOFTMAC is not set
> > CONFIG_IPW2100=m
> > # CONFIG_IPW2100_MONITOR is not set
> > # CONFIG_IPW2100_DEBUG is not set
>
> The curious thing is that the firmware is installed.
>
> I'm trying those exact configuration settings now.  I hope that works,
> otherwise I'm really in for quite a mess!
>
>
> Is it at all possible that the driver is installed and working, and that
> I don't have whatever it takes to activate and use it?  For my wired
> ethernet card, there's a thing called net.eth0 and all that rot.  When
> I get the wireless driver working, how will I create net.wlan0 or
> net.eth1 or whatever it is?  I've not no experience there, and I've
> been searching rather diligently for a how-to or instruction set to
> help me with that.  I find it hard to think that something like that
> will generate itself ex nihlo, to say the least : )
>
> --
> http://lordsauronthegreat.googlepages.com/
>
>
>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] ipw2100 problems - ieee80211?
  2006-10-12  4:45     ` Trenton Adams
@ 2006-10-12  4:53       ` Lord Sauron
  2006-10-12  5:06         ` Neil Hodges
  0 siblings, 1 reply; 10+ messages in thread
From: Lord Sauron @ 2006-10-12  4:53 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 832 bytes --]

On Wednesday 11 October 2006 21:45, Trenton Adams wrote:
> You create net.eth0, or whatever, by linking /etc/init.d/net.ethX to
> /etc/init.d/net.lo  The driver will create the actual kernel device
> name of eth0, ath0, or whatever, and then your link will make it
> work.

Makes sense.  How do I do that?

I'm a little dense here: how would I do that?  Is there some special 
command?  Do I copy the thing and rename it?  Do I do the funky Gentoo 
dance and burn a sacrificial hard drive to the gods of the IBM 
DeathStar hard drives and hope it'll work in a week?

Just kidding about that last one, but I'm know where you're going, just 
not how to get there ; )

Thanks for your help, by the way - wouldn't have gotten past the funky 
Gentoo dance w/o you : )

-- 
http://lordsauronthegreat.googlepages.com/

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] ipw2100 problems - ieee80211?
  2006-10-12  4:53       ` Lord Sauron
@ 2006-10-12  5:06         ` Neil Hodges
  2006-10-12  5:21           ` Daniel Barkalow
  0 siblings, 1 reply; 10+ messages in thread
From: Neil Hodges @ 2006-10-12  5:06 UTC (permalink / raw
  To: gentoo-user

Hello,

You would run the command:
# ln -s /etc/init.d/net.{lo,ethX}

However, "ethX" would refer to the device name of your network card,
which you should be able to find out via a search on Google.

- Neil
On 21:53 Wed 11 Oct     , Lord Sauron wrote:
> On Wednesday 11 October 2006 21:45, Trenton Adams wrote:
> > You create net.eth0, or whatever, by linking /etc/init.d/net.ethX to
> > /etc/init.d/net.lo  The driver will create the actual kernel device
> > name of eth0, ath0, or whatever, and then your link will make it
> > work.
> 
> Makes sense.  How do I do that?
> 
> I'm a little dense here: how would I do that?  Is there some special 
> command?  Do I copy the thing and rename it?  Do I do the funky Gentoo 
> dance and burn a sacrificial hard drive to the gods of the IBM 
> DeathStar hard drives and hope it'll work in a week?
> 
> Just kidding about that last one, but I'm know where you're going, just 
> not how to get there ; )
> 
> Thanks for your help, by the way - wouldn't have gotten past the funky 
> Gentoo dance w/o you : )
> 
> -- 
> http://lordsauronthegreat.googlepages.com/



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] ipw2100 problems - ieee80211?
  2006-10-12  5:06         ` Neil Hodges
@ 2006-10-12  5:21           ` Daniel Barkalow
  0 siblings, 0 replies; 10+ messages in thread
From: Daniel Barkalow @ 2006-10-12  5:21 UTC (permalink / raw
  To: gentoo-user

On Wed, 11 Oct 2006, Neil Hodges wrote:

> Hello,
> 
> You would run the command:
> # ln -s /etc/init.d/net.{lo,ethX}
> 
> However, "ethX" would refer to the device name of your network card,
> which you should be able to find out via a search on Google.

You can also do "ls /sys/class/net" to get a list of the network devices 
the kernel currently has, and do the above ln command for anything that 
doesn't already have an init script.

	-Daniel
*This .sig left intentionally blank*
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] ipw2100 problems - ieee80211?
  2006-10-12  4:39   ` Lord Sauron
  2006-10-12  4:45     ` Trenton Adams
@ 2006-10-12  6:04     ` Bo Ørsted Andresen
  2006-10-13  0:34       ` Lord Sauron
  1 sibling, 1 reply; 10+ messages in thread
From: Bo Ørsted Andresen @ 2006-10-12  6:04 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1077 bytes --]

On Thursday 12 October 2006 06:39, Lord Sauron wrote:
> > $ zgrep IPW2100\\\|IEEE80211 /proc/config.gz
> > CONFIG_IEEE80211=m
> > # CONFIG_IEEE80211_DEBUG is not set
> > CONFIG_IEEE80211_CRYPT_WEP=m
> > CONFIG_IEEE80211_CRYPT_CCMP=m
> > CONFIG_IEEE80211_CRYPT_TKIP=m
> > # CONFIG_IEEE80211_SOFTMAC is not set
> > CONFIG_IPW2100=m
> > # CONFIG_IPW2100_MONITOR is not set
> > # CONFIG_IPW2100_DEBUG is not set

According to [1] I forgot a few (at least those):

CONFIG_FW_LOADER=m
CONFIG_NET_RADIO=y
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ARC4=m
CONFIG_CRC32=y

[SNIP]
> Is it at all possible that the driver is installed and working, and that
> I don't have whatever it takes to activate and use it?
[SNIP]

# lsmod | grep ipw2100

If that doesn't show anything then you need to load the module

# modprobe ipw2100

Then see if it works:

# dmesg | grep ipw2100

If it works then that should also show the name of the device. If it is e.g. 
eth1:

# ln -s /etc/init.d/net.{lo,eth1}

[1] http://ipw2100.sourceforge.net/INSTALL

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] ipw2100 problems - ieee80211?
  2006-10-12  4:00 [gentoo-user] ipw2100 problems - ieee80211? Lord Sauron
  2006-10-12  4:11 ` Bo Ørsted Andresen
@ 2006-10-12  7:14 ` Alan McKinnon
  1 sibling, 0 replies; 10+ messages in thread
From: Alan McKinnon @ 2006-10-12  7:14 UTC (permalink / raw
  To: gentoo-user

On Thursday 12 October 2006 06:00, Lord Sauron wrote:
> They're going to install wireless in my school so I guess I better
> get this working sometime soon : )

Several people responded to your request so far, and maybe that has 
solved your problem. But no-one fully answered your original question, 
so fwiw here's my answer. You may not need this info if the standard 
driver in the kernel works for you.

> I isolated my problem to this:
>
> emerge ipw2100 ties in ieee80211, and that fails to compile because
> it says that the current kernel cannot have the option IEEE80211 in
> either module or enabled.  It needs it disabled.

Yes, you can't have a module in the kernel code-tree and another 
external module emerged at the same time - you end up with two 
different modules with the same name and that's a conflict

> I tried to use menuconfig and disable it, however, the only way I can
> do that is by literally disabling ALL networking - drivers and all.
>
> Kernel is kernel 2.6.17-gentoo-r8.

As Bo said, that kernel comes with ipw2100 drivers and they might suit 
your needs. But I have an ipw2200 card and the kernel tree modules 
don't work well for me, so I have to emerge ipw2200. You might find the 
same.

> I'm considering editing the makefile and removing its dependency on
> that blasted kernel configuration setting!

No, don't do that. Instead read the emerge messages and do what they 
say.

You first have to disable ipw2100 in menuconfig. It's one of the 
networking device drivers, so just unselect it.

ipw2100 also comes with it's own ieee80211 which must also replace the 
existing code in the kernel. In menuconfig, go to Networking and 
there's a section called Wirelss (non ham radio) or similar. Enable it, 
and press enter. Now the config knows about wireless, but deselect the 
ieee80211 and ieee80211crypt stuff at the bottom of the list.

Exit save and compile.

Then emerge ipw2100 and ieee80211. You may get a message that you have 
to remove code files from the kernel tree, with a command supplied that 
you have to run. That's OK, just run it (the files that get deleted are 
replaced with the out-of-tree modules you are about to merge.

Then read up everything you can on the new baselayout networking 
configuration. There's info on the gentoo docs, the wiki and it's been 
beaten to death on this list, so no need for me to repeat all that now

Continue, share, enjoy

alan
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] ipw2100 problems - ieee80211?
  2006-10-12  6:04     ` Bo Ørsted Andresen
@ 2006-10-13  0:34       ` Lord Sauron
  0 siblings, 0 replies; 10+ messages in thread
From: Lord Sauron @ 2006-10-13  0:34 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]

On Wednesday 11 October 2006 23:04, Bo Ørsted Andresen wrote:
> On Thursday 12 October 2006 06:39, Lord Sauron wrote:
> > > $ zgrep IPW2100\\\|IEEE80211 /proc/config.gz
> > > CONFIG_IEEE80211=m
> > > # CONFIG_IEEE80211_DEBUG is not set
> > > CONFIG_IEEE80211_CRYPT_WEP=m
> > > CONFIG_IEEE80211_CRYPT_CCMP=m
> > > CONFIG_IEEE80211_CRYPT_TKIP=m
> > > # CONFIG_IEEE80211_SOFTMAC is not set
> > > CONFIG_IPW2100=m
> > > # CONFIG_IPW2100_MONITOR is not set
> > > # CONFIG_IPW2100_DEBUG is not set
>
> According to [1] I forgot a few (at least those):
>
> CONFIG_FW_LOADER=m
> CONFIG_NET_RADIO=y
> CONFIG_CRYPTO=y
> CONFIG_CRYPTO_ARC4=m
> CONFIG_CRC32=y

I'll look for those as well.

I tried the first part and it works now.  It decided to work as eth1 I 
think.  No, I need to create the symlink.  That's funny, I never 
noticed eth0 was a link to net.lo...  learn new things every day.

> # ln -s /etc/init.d/net.{lo,eth1}
>
> [1] http://ipw2100.sourceforge.net/INSTALL

-- 
http://lordsauronthegreat.googlepages.com/

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-10-13  0:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-12  4:00 [gentoo-user] ipw2100 problems - ieee80211? Lord Sauron
2006-10-12  4:11 ` Bo Ørsted Andresen
2006-10-12  4:39   ` Lord Sauron
2006-10-12  4:45     ` Trenton Adams
2006-10-12  4:53       ` Lord Sauron
2006-10-12  5:06         ` Neil Hodges
2006-10-12  5:21           ` Daniel Barkalow
2006-10-12  6:04     ` Bo Ørsted Andresen
2006-10-13  0:34       ` Lord Sauron
2006-10-12  7:14 ` Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox