On Tuesday 25 November 2008 08:33, Manuel Sahm wrote:
> I`m using the AT91SAM9260 ARM9 microcontroller with linux kernel 2.6.27.
> For the usb device port I use gadgetfs.
>  
> My dhcp client program is udhcpc.
>  
> I have two questions:
>  
> 1.)
> I start the udhcpc when I recognize a connection with the tool ifpludg. Then 
> I make a system call:
> "udhcpc --interface=wlan0 --now --quit -s /etc/init.d/simple.script"
> Is it a problem to use the parameter "--quit" concerning the lease time ?
> I have to use the paramter because of a problem with my usb device ??? (look 
> at question 2.)

Instead of adding --quit you need to look into the problem.

> 2.)
> I plug in my usb wlan stick in my usb host port - enumeration is successful.
> I start udhcpc (without the --quit paramter) - Request is successful - got ip 
> address - process udhcpc is running in background (daemon ?!).
> Now I insert my usb device cable and now I am not abel to open the EP1 ?

You insert what? Above you said you already detected the connection
using ifplugd. I'm confused. I'm also confused by "not abel to open the EP1".
what is "EP1"?

> If I kill udhcpc, all works fine.
>  
> Any ideas ?

Write up more coherent problem description.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to