views:

71

answers:

0

I'm running Sidux, Linux 2.6.25-2.slh.1-sidux-686 i686 [ sidux 2008-01 Νυξ - kde-lite - (200804112323)]. My net connection is through Digi Net Mobil, modem ZTE MF110.

I couldn't make it run through it's own application Join Air (I tried all kind of settings, but at its best it answers with: "Fail to connect! Link ppp0 wasn't built !")

After some search, I guessed the required settings and put them in the files:
/etc/udev/rules.d/digi.rules
/etc/ppp/chap-secrets
/etc/ppp/peers/chats/digi
/etc/ppp/peers/digi

Now it works with a pppd connection, with by the following comand given from a terminal: pppd call digi

I needed /etc/udev/rules.d/digi.rules in order to eject the modem, which is recognized as a cdrom when it is pluged in. Its content is:

# udev rules file
SUBSYSTEM=="block", \
SYSFS{idVendor}=="19d2", \
SYSFS{idProduct}=="2000", \
SYMLINK+="ZTECdrom",\
RUN+="/usr/bin/eject /dev/ZTECdrom"

#RUN+="/usr/bin/eject /dev/ZTECdrom; /usr/sbin/pppd call digi"
#RUN+="/usr/bin/eject /dev/ZTECdrom; echo AnyTraceOfAction > /tmp/file"
#RUN+="/usr/bin/eject /dev/ZTECdrom; sleep 42s; /usr/bin/digi_start"
#RUN+="/bin/echo AnyTraceOfAction > /tmp/file"
#RUN+="sleep 40s; /bin/echo AnyTraceOfAction > /tmp/file"

LABEL="phone_rules_end"

I would also like to start the connection directly (without the terminal command), by a command given in digi.rules, but it refuses any other action except the eject command.

I tried one by one different commands. Some of them are written and commented on separated lines in digi.rules, see above.

Any ideea about what is going on would be kindly appreciated.

Thank you.