I've had problems with this, so maybe my experiences will help.
Look in the /etc/init.d/network file. This is the one that loops around,
reading
/etc/sysconfig/network_cfg and ifcfg-XXX files.
If there isn't one there, create a file ifcfg_wlan0, using ifcfg_eth0 as
inspiration. All you
should need is
DEVICE=wlan0
BOOTPROTO=dhcp
ENABLE=yes
As you can see from the script 'network', it will use /sbin/udhcp to get an IP
address is the
BOOTPROTO variable is set to dhcp.
But the problem I had was that it didn't work. It seemed to take too long to
get the
interface up so that udhcp timed out. I inserted 'sleep 5' delays after
'ifip_function' and
although it slowed down boot times by 10 seconds (there are two interfaces -
eth0 and
wlan0) it now worked.
Hope this helps,
Martin
--- In "osmicadu" <> wrote:
>
> --- In Triffid Hunter <triffid_hunter@> wrote:
> >
> > On Sat, 8 Mar 2008, osmicadu wrote:
> >
> > > Hello,
> > >
> > > Can somebody tell me how to setup dhcp on my wlan0 device. I am using
> > > TS-7250 with Iogear stick the driver I am using is zd_b.o and I have
> > > no problems with it.
> > >
> > > The problem is that after I get the wlan0 up with:
> > >
> > > ifconfig wlan0 up
> > >
> > > it does not get an IP address over dhcp. Now how do I start the dhcp.
> >
> > you need a dhcp client. ifconfig and friends have nothing to do with
> dhcp.
> >
> > I've had trouble compiling dhcp clients for my ts-7250, so I went with
> > static settings.
> >
>
>
> but dhcp works ok with eth0 network interface so what is the problem
> with wireless it is simply a different interface wlano?
>
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/
|