[lwlan-devel] linux-wlan won't work on kernel 2.6.22 (John)
richard kennedy
richard at rsk.demon.co.uk
Wed Sep 19 04:55:15 EDT 2007
that sounds like the routing got setup ok, does the output
from /sbin/route look reasonable?
I think dns didn't get setup. what does dig say?
If you're using a static IP you'll need to set the nameserver entry
in /etc/resolv.conf too.
I would expect dhcp to work and it will set all that for you, so you
could try that instead.
are you see any useful/informative messages in the log ?
Richard
On Tue, 2007-09-18 at 18:36 -0700, John wrote:
> Thanks for the help.
>
> I was able to connect to the local network but I was
> unable to get a connection to the internet. I could
> ping other computers on the network but no internet
> also I had to do this with WEP encryption turned off.
>
> I tried with WEP on and I got a wlan0 listed when I
> did ifconfig wlan0 <I.P.> but I couldn't ping the
> network nor could I get an internet connection. When I
> brought the network up, I did the wlanctl-ng with
> authtype set to sharedkey instead of opensystem. They
> must've made big changes to the kernel because I got
> the other kernel to work fairly quickly.
>
> Thanks again,
> John
>
> --- richard kennedy <richard at rsk.demon.co.uk> wrote:
>
> > Oh sorry about that! it must be the change in udevd
> > version.
> > the rules file contains 2 versions of the rule :-
> >
> > #ACTION=="add",BUS=="usb",DRIVER=="prism2_usb"
> > ,RUN+="/etc/wlan/wlan-udev.sh %k"
> > KERNEL="wlan*",ACTION=="add",DRIVERS=="prism2_usb"
> > ,RUN+="/etc/wlan/wlan-udev.sh %k"
> >
> > You could try using the ACTION== one instead -- just
> > uncomment it and
> > comment out the KERNEL== line. udevd should spot
> > that the rules file has
> > changed and reload it immediately.
> >
> > Richard
> >
> >
> > On Tue, 2007-09-18 at 10:03 -0700, John wrote:
> > > Thanks for the help. I get an error with the udev
> > > rules on boot as it says.
> > >
> > > add_rules invalid kernel operation.
> > >
> > >
> > > --- richard kennedy <richard at rsk.demon.co.uk>
> > wrote:
> > >
> > > > On Sat, 2007-09-15 at 11:04 -0700, John wrote:
> > > > > I narrowed down the issue to DHCP. In the
> > > > ifcfg-wlan0,
> > > > > I changed the bootproto to static and added
> > the ip
> > > > > netmask, etc and the device at least connected
> > to
> > > > the
> > > > > local area network but I couldn't get it to
> > share
> > > > the
> > > > > internet. I figured the device couldn't see
> > the
> > > > dhcp
> > > > > server so I did a dhcping when I connected the
> > > > device
> > > > > via the static IP and I got an answer. I do
> > not
> > > > know
> > > > > if it's a linux-wlan driver issue or a kernel
> > > > issue.
> > > > >
> > > > > > Date: Tue, 11 Sep 2007 09:44:28 -0700 (PDT)
> > > > > > From: John <jharitos at yahoo.com>
> > > > > > Subject: Re: [lwlan-devel] linux-wlan won't
> > work
> > > > on
> > > > > > kernel 2.6.22
> > > > > > To: linux-wlan-devel at lists.linux-wlan.com
> > > > > > Message-ID:
> > > > > >
> > <256272.41175.qm at web51007.mail.re2.yahoo.com>
> > > > > > Content-Type: text/plain; charset=iso-8859-1
> > > > > >
> > > > > > Thanks for the help. I saw on the Gentoo
> > Wiki
> > > > (I'm
> > > > > > using Fedora Core 6) that the hostapd won't
> > work
> > > > so
> > > > > > I'll have to use linux-wlan in order for my
> > > > MA111
> > > > > > card
> > > > > > to work.
> > > > > >
> > > > > > I looked at the ifup script and I noticed it
> > has
> > > > a
> > > > > > call to ifup-pre-local with the statement.
> > > > > >
> > > > > > if [-x /sbin/ifup-pre-local ]; then
> > > > > > /sbin/ifup-pre-local ${CONFIG} $2
> > > > > > fi
> > > > > >
> > > > > > I looked in my sbin and I didn't see a
> > > > > > ifup-pre-local
> > > > > > bin file.
> > > > > >
> > > > > > I also noticed in my ifcfg-wlan0 file I have
> > > > type as
> > > > > > ethernet. I wonder if this should be
> > wireless.
> > > > > >
> > > > > > John
> > > >
> > > > Hi John,
> > > > I never saw any lockups when running FC6, but is
> > > > udev seeing the card
> > > > insert? you can turn on more logging using
> > > > udevcontrol.
> > > >
> > > > udev by default will run ifup on a network
> > interface
> > > > if the right ifcfg
> > > > script exists.
> > > > (/etc/sysconfig/network-scripts/ifcfg-wlan0 ?)
> > > > I wonder if that is causing your problem ? it
> > > > shouldn't lock up but it
> > > > may be calling dhcp before the card gets fully
> > > > enabled.
> > > >
> > > > You should be able to use udev to get the card
> > > > configured -- I wrote a
> > > > udev script for this and it's in
> > > > <wlan_src>/etc/udev/rules.d. copy it
> > > > to /etc/usev/rules.d and it should call the
> > standard
> > > > /etc/wlan config
> > > > scripts. I did test it when I wrote it so it
> > should
> > > > still work, but now
> > > > I use NetworkManager to control the card.
> > > >
> > > > if you want to try NM
> > > >
> > > > * remove (or rename) the ifcfg-wlan0 script.
> > > >
> > > > * add "options p80211 wlan_wext_write=1" to
> > > > /etc/modprobe.conf
> > > >
> > > > * copy the udev rules file from
> > > > <src>/etc/udev/rules.d/40-prism2.rules
> > > > to /etc/udev/rules.d
> > > >
> > > > * enable the NetworkManager &
> > NetworkManagerDispatch
> > > > services
> > > >
> > > > Then NetworkManger will be able to control and
> > > > configure your card.
> > > >
> > > > NM will not automatically reconnect to a network
> > > > with a hidden ssid,
> > > > because the prism2 card doesn't report them in
> > the
> > > > scan list. But you
> > > > can access them with the "connect to other
> > wireless
> > > > network" you just
> > > > have to fill in the details every time. and WEP
> > > > works OK.
> > > >
> > > > I'm currently running fedora 7 on 2.6.22.5 and
> > it
> > > > all works, WEP, dhcp,
> > > > routing etc all setup correctly.
> > > > My card is built into the laptop so I don't know
> > how
> > > > NM handles card
> > > > insert & removal, I think it should be OK but it
> > may
> > > > be interesting to
> > > > find out :)
> > > > HTH
> > > > cheers
> > > > Richard
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> >
> ____________________________________________________________________________________
> > > Fussy? Opinionated? Impossible to please? Perfect.
> > Join Yahoo!'s user panel and lay it on us.
> >
> http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
> >
> > >
> >
> >
>
>
>
>
> ____________________________________________________________________________________
> Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
> http://sims.yahoo.com/
More information about the Linux-wlan-devel
mailing list