The init script use this line to send dsp top usb modem sagem fast 800 : ${EAGLECTRL} -w -o${OPTIONS} -d${DSP} -s${SYNCHRO_TIMEOUT} | \ ${LOGGERCMD} 1>/dev/null 2>&1 It doesn't work with my version of eagle-usb modem (net-dialup/eagle-usb 2.3.1). Reproducible: Always Steps to Reproduce: 1.plug the sagem 800 usb modem 2.execute /etc/init.d/eagle-usb start 3. Actual Results: The script waits for the timeout (which is 120s !!) and no firmware is loaded. It doesn't use no more exactly the same options. Expected Results: The script should have load the firmware and synchronized. I made this correction which works perfectly for my configuration but I don't konw for others: ${EAGLECTRL} -d 1>/dev/null 2>&1 ${EAGLECTRL} -s 1>/dev/null 2>&1 Just writing in two lines with the default options is OK.
So add the two lines before or after or replace the first line? What do you suggest? Can you please suggest a unified diff? diff -u oldfile newfile I added some people to CC who own the driver in case they want to test it.
Sorry I didn't keep the orginal eagle-usb script, so I am not sure the patch will work immediately. --- eagle-usb.ori 2005-06-28 23:06:45.000000000 +0200 +++ eagle-usb 2005-06-20 23:07:46.000000000 +0200 @@ -237,12 +237,14 @@ if modem_is_operational then einfo "Modem already operational" else einfo "Loading firmware, DSP and trying to sync ..." - ${EAGLECTRL} -w -o${OPTIONS} -d${DSP} -s${SYNCHRO_TIMEOUT} | \ - ${LOGGERCMD} 1>/dev/null 2>&1 + ${EAGLECTRL} -d 1>/dev/null 2>&1 + ${EAGLECTRL} -s 1>/dev/null 2>&1 + #${EAGLECTRL} -w -o${OPTIONS} -d${DSP} -s${SYNCHRO_TIMEOUT} | \ + # ${LOGGERCMD} 1>/dev/null 2>&1 fi return $? } (In reply to comment #1) > So add the two lines before or after or replace the first line? What do you suggest? > > Can you please suggest a unified diff? > diff -u oldfile newfile > > I added some people to CC who own the driver in case they want to test it.
The original ebuild works fine for me. Are you sure that you have configured your /etc/conf.d/eagle-usb file?. Check the option METHOD in this file; by default dchpip is set but if you use ppoa the init.d script fails as you say.
Daniel: Can you please attach a sane conf.d-script so that we have sane defaults and can solve the problem?
Created attachment 62175 [details] My /etc/conf.d/eagle-usb file As you requested, this is my /etc/conf.d/eagle-usb file. You should configure yours properly.
Here are my configuratio files. I use the dhcp configuration.
Created attachment 62610 [details] Hassler eagle-usb My eagle-usb file
Created attachment 62611 [details] Hassler eagle-usb.conf My eagle-usb conf file
Have you set the dhcp use flag when you emerge eagle-usb?
Also, make sure you have dhcpcd emerged.
(In reply to comment #10) > Also, make sure you have dhcpcd emerged. Here are my emerge answers : localhost ~ # emerge -pv eagle-usb These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] net-dialup/eagle-usb-2.3.1 0 kB localhost ~ # emerge -pv dhcp These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] net-misc/dhcp-3.0.1-r1 (-selinux) -static 0 kB Total size of downloads: 0 kB I would like to precise exactly my problem because maybe you're not looking at the good place. I can get my connection following these steps: 1- send dsp to sagem fast 800 modem (eaglectrl -d) 2- synchronise with sagem fast 800 modem (eaglectrl -s) 3- get ip adress dhclient eth1 (eaglectrl -i gives the interface name eth0 or eth1...) 4- that's it !! The bug that I report is during the first step, the init script /etc/init.d/eagle-usb try to do steps 1 & 2 at the same time and in my case it failed to load firmware and just qait for the timeout. I will try to re-emerge the package to get the original eagle-usb init script and find the bad option in thedsp/synchronisatin.
I've just installed eagle-usb in Poland, Szczecin.. using the Sagem f@st 800 from TPSA.. After installation, I ran 'eagleconfig' to select the DSP parameters. hotplug found the modem, loaded the kernel module and it initialised. /etc/conf.d/eagle-usb contains a METHOD, pppoa for Poland But incorrectly sets the DSP locations. It specifies a dsp/ sub directory which is not created by the ebuild. All files are in /etc/eagle-usb/ >>> Merging net-dialup/eagle-usb-2.3.1-r1 to / ... snip.. --- /etc/ >>> /etc/eagle-usb/ >>> /etc/eagle-usb/eagle-usb.conf.template >>> /etc/eagle-usb/CMVei.txt >>> /etc/eagle-usb/CMVeiWO.txt >>> /etc/eagle-usb/CMVepWO.txt >>> /etc/eagle-usb/CMVepES.txt >>> /etc/eagle-usb/CMVepFR.txt >>> /etc/eagle-usb/CMVepFR04.txt >>> /etc/eagle-usb/CMVepFR10.txt >>> /etc/eagle-usb/CMVepIT.txt >>> /etc/eagle-usb/CMVep.txt >>> /etc/eagle-usb/setvars >>> /etc/eagle-usb/ppp_options.template >>> /etc/eagle-usb/eagle-usb_must_be_configured Regards, Peter
(In addition to comment #12) The file /etc/conf.d/eagle-usb sets the DSP location as /etc/eagle-usb/dsp. But it should be /usr/share/eagle-usb/dsp Also on first installation, device /dev/ppp is not created. Could this be tested in the post-install script pls.. mknod /dev/ppp c 108 0 Regards, Peter
following changes have been made: - DSP var changed to /usr/share/eagle-usb/dsp - /dev/ppp is created in init script (if doesn't exist, of course)