Hey I am not so sure of your problem as I am not a geek myself, but I too faced a problem with Huwei USB modem as Linux Kernel 2.6.28 in opensuse 11.1 did not support USB modem. I had to manually enter a list of commands to make system recognized it as a USB modem. But, that problem was solved in Kernel 2.6.30 and opensuse 11.2 is having Kernel 2.6.31. My Huwei USB modem is working fine in suse 11.2. Are you also using 11.2 or some previous version?
oh… then are you sure that your USB modem is not working before you execute these commands? In the Knetworkmanager configuration panel there is a tab for “Mobile Broadband” where you have to enter your modem details. Is it not there, or is it not working?
Knetworkmanager shows no available connections, even when I am actually connected.
However, I am getting closer:
I edited sudoers as follows:
ALL ALL = NOPASSWD:/sbin/mount /cdrom,/sbin/umount /cdrom,/usr/sbin/pppoe-start,/usr/sbin/pppoe-stop,/usr/sbin/pppoe-connect,/sbin/modprobe br2684,/usr/sbin/br2684ctl,/sbin/ifconfig nas0 up,/usr/sbin/pppd call adsl
I created an alias in ~/.bashrc:
alias CON='sudo /sbin/modprobe br2684 ; sudo /usr/sbin/br2684ctl -c 0 -b -a 0.33 ; sudo /sbin/ifconfig nas0 up ; sudo /usr/sbin/pppd call adsl'
I created a panel icon with the above command.
That way I can either type CON or click the icon to connect.
I also tried creating an executable bash script with those commands and placing it in the autostart folder, but it didn’t work. My guess is that the boot time of this beautiful distro is (unfortunately) too fast, and it executes the script before the modem becomes operational (about 15 seconds).
Thanks for your replies, by the way.
If you have any more ideas, please let me know.
After you restart the system, plug in your USB modem. After
some 15-20 secs, you will get the kde pop up saying that the USB
device has been mounted. Now you will be able to see a “Mobile”
kind of icon in the system tray which is knetworkmanager.
Here hit the “Add” buttion present on the right side. There are
two options there: CDMA and GSM. Mine is CDMA, so I will
proceed with its configuration here.
If you select CDMA, you will get a window like this: Picasa Web Albums - Vivek - knetworkmanag…. Fill anything in
“Connection Name”. And you will be knowing the details of
“Number”, Username and Password fields :).
After filling in all the details, hit OK, hit OK again in the next
window. Now, when you click again the knetworkmanager icon in
the system tray, it will have the name of connection you have
configured. Click it, and wait for it to say “Active”. You are ready
to go now, you are connected to the Internet.
Please let me know if I have totally misunderstood you… Hope I am helping you…
Unfortunately, when I plug in the usb modem, nothing happens with knetworkmanager (it is running).
Fortunately, I have solved the problem:
I placed the script in the kde autostart folder and then went to System Preferences … Autostart.
There I chose “kde prestart” (my system is in Spanish, so I’m just guessing the English version).
This moved the script out of ~/.kde4/Autostart/ to ???.
I don’t know where it landed, but NOW IT WORKS.
I think I’m beginning to fall for SUSE. (I hope my wife doesn’t read this).
A million thanks again for your time.
I’ll go back to trace the whereabouts of my script.
Congrats!!! That calls for a celebration This is the beauty of Linux… You can do a thing in ten different ways… All that matters is that it works for you now… and no, the threads can not be marked as “Solved” here…