Huawei E1762 USB modem on Fedora 12
Installing Huawei E1762 USB mobile broadband modem in Fedora Linux is not easy. The problem arises because Fedora Linux detected this E1762 as a storage device instead of a modem.
Plug the E1762 into the USB port, run lsusb -vvv | less command and scroll down to the Huawei Device Descriptor, check its “Interface Descriptor” sections, you’ll will see the entry of “bInterfaceClass” showing “Mass Storage”.
I tried out quite couple of ways to make it work, and finally success.
Step 1: How to switch from storage mode to modem mode?
You need the usb_modeswitch utility, to make it switch from storage to modem mode. Install usb_modeswitch using yum.
After usb_modeswitch is installed, vi the file /etc/usb_modeswitch.conf and add the following:
#####################
;DefaultVendor= 0x12d1
;DefaultProduct= 0×1446
MessageEndpoint = 0×01
MessageContent = “55534243000000000000000000000011060000000000000000000000000000″
#####################
Now, try to switch to the modem mode manually
Run the command: lsusb, to see the USB device has changed.
You can verify using lsusb -vvv | less command, the entry of “bInterfaceClass” should not show as Mass Storage now.
Step 2: Configure auto switch to modem mode
Now is to setup auto switching to modem mode whenever the Huawei E1762 modem is plug-in.
Add a udev rule that will trigger usb_modeswitch, open the file /etc/udev/rules.d/70-persistent-cd.rules and append the following lines:
Reload the internal state of the running udev daemon
Lastly, use NetworkManager Applet to add new Mobile Broadband connection.
Popularity: 8% [?]
GIMP hangs on startup
Recently, whenever I attempt to start GIMP 2.6 on my Fedora 12 system, GIMP always failed to launch.
These are the error while starting the GIMP.
(gimp:3428): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0′ failed
(gimp:3428): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0′ failed
(gimp:3428): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0′ failed
(gimp:3428): GLib-GObject-WARNING **: cannot retrieve class for invalid (unclassed) type `’
Anyone could led me to solve this problem?
Popularity: 2% [?]
SciTE Text Editor for Linux
I used Notepad++ text editor at work, which running on Windows XP. Notepad++ has lots of advanced features, like edit multiple documents at the same time, auto-detection of file changes while opening the file, tabbed document interface, also support syntax highlighting and many more.
I was looking for similar text editor for my Fedora 12 machine, though it can run on Linux using WINE environment. But I don’t like too much WINE.
Just come across this open source editor:SciTE, which based on the Scintilla editor component. Notepad++ is also using the Scintilla editing component.

Using SciTE to edit PHP files of WordPress theme.
SciTE is a powerful text editor, there are extra configuration files that can enhance SciTE for various languages and APIs. Also, Scintilla includes many useful features when editing and debugging source code. These include support for syntax styling, error indicators, code completion and call tips, etc …
Download SciTE
Popularity: 2% [?]
Install Chromium Web browser on Fedora 12
Google has released Chromium Web browser sometimes ago. I wanted to install on my Fedora 12 system.
Install Chromium Web browser from http://spot.fedorapeople.org/chromium/F12/
The installation may failed due to dependencies of libicu libraries.
libicudata.so.40 is needed by chromium-4.0.252.0-0.1.20091119svn32498.fc11.i586
libicui18n.so.40 is needed by chromium-4.0.252.0-0.1.20091119svn32498.fc11.i586
libicuuc.so.40 is needed by chromium-4.0.252.0-0.1.20091119svn32498.fc11.i586
My Fedora 12 system already has the International Components for Unicode libraries 4.2.1 (libicuuc.so.4.2.1) which were not supported by Chromium Web browser.
So, to resolves the libicu 4.0 dependencies, first remove the newer version from my system.
Then get the libicu 4.0 from RPM search and install using rpm command.
The short-cut icon would appear in Applications, Internet.


Popularity: 13% [?]
Multihomed Windows Server vs Multihomed Linux Server
I was tasked to setup multihomed Active Directory servers, connecting internal network and external network.
The external network interface causes numerous problems for external servers to communicates with the multihomed Active Directory servers. This is because network interfaces on the multihomed DCs are registering both the internal and external IP with the DNS server. DNS name resolution lookup requests return records in a “round robin” method. That means, half of the DNS lookup requests return an IP address that cannot be reached.
Windows Server 2003
Basically, four steps to resolve these multihomed Windows servers issue:
1) Disable registration on the external network interface on the multihomed domain controller.
2) Disable the round robin functionality on the DNS server.
3) Remove the existing entries in DNS.
4) Change the binding order of the network interfaces so that the internal interface is the first bound adapter.
Refer to Microsoft support for detail steps.
Linux server
Configure multi-home in Linux environment is so much easy.
Just assign each interface IP address using ifconfig command line.
# ifconfig eth1 7.72.1.254 up
Once two IP assigned the Linux system. No special configuration needed. The Linux multi-homing is up and running in just 3 minutes.
Popularity: 2% [?]
