Manuel Sahm
2008-11-25 07:33:51 UTC
Hello,
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.)
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 ?
If I kill udhcpc, all works fine ?
Any ideas ?
Thank you very much
Best regards
Manuel Sahm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/busybox/attachments/20081125/79bb46c1/attachment.htm
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.)
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 ?
If I kill udhcpc, all works fine ?
Any ideas ?
Thank you very much
Best regards
Manuel Sahm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/busybox/attachments/20081125/79bb46c1/attachment.htm