- First, install the newest version of the following packages (search them om http://software.opensuse.org/search ):
- umtsmon
- usb-modeswitch
- huawei-umtsmodem
- Reboot the computer to ensure all modules are loaded
- Connect the usbstick
- Check lsusb is the Huawei stick is shown as a modem (instead of just a plain device without the mention of it being a modem)
- Edit /etc/sysconfig/network/config and change NETCONFIG_DNS_POLICY=”auto” to NETCONFIG_DNS_POLICY=”STATIC_FALLBACK ppp* NetworkManager”
- Start umtsmon once and create a profile, shut it down again
- Check if ls -l /dev/ttyUSB* results in /dev/ttyUSB0, /dev/ttyUSB1 and /dev/ttyUSB2
- Open /home/~user/.umtsmon/umtsmon.rc and set PPPPortName=/dev/ttyUSB0 instead of ttyUSB2 (which is only for monitoring purposes).
- Reboot again to make sure everything is loaded (die hard "no linux doesnt need to reboot"-fanboys can also relogin and perform a rcnetwork restart if they feel like it).
- Start umtsmon from Menu -> Internet -> Dialup -> umtsmon (or just Konsole umtsmon)
- Enter the pincode and connect the default profile
- And it SHOULD JUST WORK LIKE THAT
Took me just about 3 hours to find all this out, please, have fun with it!
====
ABSOLUTELY NO WARRENTY AT ALL, but these scripts seemed to have worked for me on openSUSE 11.2:
Install the packages:
zypper addrepo http://download.opensuse.org/repositories/home:/Freespacer:/huawei_umtsmodem/openSUSE_11.2/ home:Freespacer:huawei_umtsmodem &&
zypper addrepo http://download.opensuse.org/repositories/home:/tuoma/openSUSE_11.2/ home:tuoma &&
zypper update --recommends usb-modeswitch &&
zypper install --recommends umtsmon &&
zypper insatll --recommends huawei_umtsmodem
Editing DNS configuration:
sed 's/NETCONFIG_DNS_POLICY=”auto”/NETCONFIG_DNS_POLICY=”STATIC_FALLBACK ppp* NetworkManager”' /etc/sysconfig/network/config
Editing umtsmon userconfig:
sed 's/PPPPortName=//dev//ttyUSB2/PPPPortName=//dev//ttyUSB0' /home/$USER/.umtsmon/umtsmonrc
====
If connecting doesnt work (or on receiving DNS updating errors when running connect in umtsmon) try disabling all other network cards/connections before retrying.
Geen opmerkingen:
Een reactie posten