5

Huawei SmartAX MT810 connection at boot (arnet)

view full story
linux-howto

http://forums.opensuse.org – Suse was my first Linux choice five years ago. I was absolutely dazzled, but my wife made me drop it after 20 days of not being able to get an internet connection. I thought of trying again after so long to see if things had become easier for every Argentina user who has a Huawei connection (more than half of the country). Unfortunately not. The problem is the following: I have a Huawei SmartAX MT810 usb-modem/router. In order to establish a connection, I need to run the following commands AS ROOT (which is why I cannot use a simple kde autostart bash script) Code: modprobe br2684 ; br2684ctl -c 0 -b -a 0.33 ; ifconfig nas0 up ; pppd call adsl What's more, these commands cannot be run before the modem is operational, since they will end with an error. In other distros I used to place these commands in /etc/rc.local. I tried placing them in /etc/rc.d/boot.local , but with no success: they are executed before the modem is operational. In my complete ignorance of all things computer-related I thought it would be a good idea to place a caveat before the execution of the commands: Code: READYorNOT=$(dmesg | grep "modem operational") ; while [  "$READYorNOT" = "" ]  ; do echo "Modem not operational" ; done As a result the whole boot sequence gets stuck until I hit ctrl-c. Could anyone lend me a hand, please? By the way:: I'm not complaining about anything; I'm just asking for help. I would LOVE to be able to stick with openSUSE. (Distributions)