--- In "Gonzalo A. de la Vega"
<> wrote:
>
> On Wed, Mar 12, 2008 at 10:36 AM, osmicadu <> wrote:
> > > >
> > > You should add the commands to /etc/sysconfig/ifcfg-wlan0
> > > The same commands you use to start wlan0
> > >
> >
> > Hello,
> >
> > I added the commands, and it works the driver gets loaded but the
> > interface wlan0 is not started, when I login I put
> > ifconfig wlan0 up
> >
> > and the interface starts but if I put the same line in
> > /etc/sysconfig/ifcfg-wlan0 nothing happends as if it simply skips it.
> > and then because wlan0 interface is not started dhcp does not work.
> >
> > Can I put ifconfig wlan0 up in my /etc/sysconfig/ifcfg-wlan0 file or
> > something else.
> >
> > Thanks :(
>
> I had a look to my /etc/sysconfig/ifcfg-wlan0 which I wrote about a
> year ago, and I found some "pause" statements... I don't remember why.
> You probably need to wait a little after loading the driver and
> bringing up the interface. Unfortunately, busyboxes pause supports
> only integer number of seconds.
>
> I suggest you try all in a shellscript which you can run and see when
> the interface comes up. Remember unloading the driver before retrying.
>
> To test DHCP you need to load af_packet driver first:
> insmod af_packet
> udhcpc -i wlan0
>
> So you can debug DHCP too.
>
IT WORKS when I put sleep 5 it works.
thanks 1000 times.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|