Klaus Knopper answers your Linux questions
Vodacom Modem Driver
Good Day, Sir: I'm very new to the Linux platform, coming from "Windoze," not realising really how unique a person can make his own Linux. Being new to the Linux platform gave me loads of entertainment so far, but now I've hit a brick wall.
At home, I'm running CentOS. On my work laptop I'm running it through Oracle and have been able to keep it fully updated, but at home I don't have ADSL or WiFi; I use a USB modem from Vodacom and a South African service provider that supplies me with Internet.
Now here is the issue: On my Windows PC it works perfectly, but when I plug it in to my spare Linux PC at home, my modem doesn't detect or allow me to install. The modem model is a K3772-Z. I have searched all over the Internet for drivers that will allow me to install it. Can you please assist in helping me with a solution?
Thanks a lot if you can help me.
Groete/Regards, Jaco
Answer: Many modems identify themselves to Linux as a "serial device" (or serial terminal); these can be used with desktop software like KPPP or the modem part of network manager using the standard "AT" protocol and PPP for dialup. However, some other modems require special drivers to even operate as modems, and in some cases, these drives are only provided for one or the other Windows version. Your modem seems to be one of those that incorrectly identify itself as a CD-ROM (allowing a Windows driver installation, then resetting itself to become a serial device) or (incorrectly) wired network device. The package and command usb_modeswitch
, available for many Linux distributions can take care of switching the device back to serial mode: However, it does not work for every case.
I found a how-to for fixing the modem under Ubuntu [1], but it requires some administrative commands. The command reported as working for a Huawei E220 HSDPA Modem is:
sudo usb_modeswitch -v 0x12d1 -p 0x1003 -V 0x12d1 -P 1003 -R
The numbers 0x12d1
and 1003
are taken from the output of command lsusb
, where your modem should be listed; they are the modem's vendor and device ID.
Another option could be:
sudo ifconfig usb0 -arp
which can change the mode of a USB modem+network device just by disabling the ARP protocol.
Sudo will ask for the root password on Ubuntu. If you add one or both of these lines to a startup file like /etc/rc.local
, they will be called as root automatically, and the "sudo" can be left out.
Time Issues: Linux vs. Windows
I noticed that the time displayed on a dual-boot machine differs between Knoppix/Linux and Windows. Is there a way to synchronize both?
Answer: A Desktop PC or Notebook has two clocks: the built-in real-time (or "BIOS") clock, which is read during boot, and the system time, which is used during normal operation.
Although it is common under Unix/Linux always to leave the BIOS/real-time clock in Universal time (UTC) and let the system time be set by time zone settings automatically during boot, under Windows, it seems to be common instead to have the real-time clock in "local time" and even rewrite the real-time clocks time during the daylight savings time switch. It is possible for both operating systems to change the default "BIOS" time interpretation to either "localtime" or UTC; however, it's probably easier to do this under Linux than search for an appropriate setting or registry patch in Windows.
When Knoppix reads the time from the real-time clock, it honors the file /etc/adjtime
, which contains UTC
in the last line, if the BIOS time is expected in universal time, or LOCAL
, if the BIOS time is "local time" (or rather "local time difference from UTC").
Changing this file will change Linux behavior when reading the real-time clock with hwclock -s
during system start.
However, a GNU/Linux system will not write back its own system time to the BIOS automatically unless instructed to do so during system shutdown, whereas Windows will do this frequently, so you might still experience differences when switching to and from daylight savings time.
Infos
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.