Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

PCLinuxOS2007 & Huawei(Vodafone)E220 3G-Modem on TPi1200

Linux on ThinkPads
Post Reply
Message
Author
mactastic
Posts: 12
Joined: Tue Jan 30, 2007 5:29 am
Location: Singapore

PCLinuxOS2007 & Huawei(Vodafone)E220 3G-Modem on TPi1200

#1 Post by mactastic » Thu Feb 21, 2008 8:19 am

Last year, when I tried Fedora 6 on my i1200 ThinkPad, I had to disable USB before the OS could boot up. Without USB, it was too restrictive and not much of use.

Here is the good news second time round. Yesterday I managed to get PCLinuxOS 2007 LiveCD boot up OK on the ThinkPad i1200 series.

PCLOS2007 LiveCD hung initially during boot up using default boot parameters. The trick to get PCLOS 2007 to boot OK is to augment the default boot parameters with one extra parameter irqpoll.

I have also managed to get the Huawei E220 (also branded as Vodafone) usb-3G-modem up and running. I can now surf the web using a 516k mobile broadband plan which I subscribed from a local mobile telco.

I am a Linux newbie but now tempted to explore more with the Linux OS. I might install PCLOS 2007 on hard drive so that the i1200 ThinkPad may dual boot to Linux or Win2000.
Last edited by mactastic on Thu Feb 28, 2008 4:16 am, edited 4 times in total.
iSeries1200 (Type 1161-43A), Celeron 700MHz, 64Mb stock + 256Mb add-on, upgraded HD from 10Gb to 100Gb, Windows 2000 SP4 and PC Linux OS 2007 dual booting

rm
Freshman Member
Posts: 72
Joined: Thu Nov 08, 2007 1:56 pm
Location: Hamden, CT

Good to hear

#2 Post by rm » Thu Feb 21, 2008 9:21 am

Good to hear about your success. Did you tried the new version, PCLinuxOS MiniMe 2008? It is more up to date (sometimes this is not an advantage with old hardware) and seems to be a bit speedier. It would be a good thing to test.
-- Worst than not knowing is not wanting to know --

http://temporaryland.wordpress.com/

mactastic
Posts: 12
Joined: Tue Jan 30, 2007 5:29 am
Location: Singapore

Re: Good to hear

#3 Post by mactastic » Thu Feb 21, 2008 9:35 am

rm wrote:Did you tried the new version, PCLinuxOS MiniMe 2008?
Thanks for the heads up.

I have read a bit more about PCLOS MM 2008. It seems to be a trimmed down version compared to PCLOS 2007. Although the former uses a newer kernel, I value more the comprehensive apps that come with the latter. As a newbie, I am not yet confident enough to try one the MM version and customize it by adding more apps which suit my taste. An all-in-one 2007 version will suffice for the time being.

Nonetheless, I will watch out for the release of PCLOS 2008 full version. Thanks again!
iSeries1200 (Type 1161-43A), Celeron 700MHz, 64Mb stock + 256Mb add-on, upgraded HD from 10Gb to 100Gb, Windows 2000 SP4 and PC Linux OS 2007 dual booting

mactastic
Posts: 12
Joined: Tue Jan 30, 2007 5:29 am
Location: Singapore

Re: PCLinuxOS 2007 installed on HD & 3G Modem working

#4 Post by mactastic » Thu Feb 28, 2008 4:02 am

mactastic wrote:I might install PCLOS 2007 on hard drive so that the i1200 ThinkPad may dual boot to Linux or Win2000.
Done it.

The i1200 is now dual booting to Win2000Pro or PCLinuxOS2007.

The Linux installation was quite simple and uneventful.
(a) Boot up the PCLOS2007 LiveCD
(b) Log in as Root
(c) Click the Install Linux icon on desktop
(d) Choose the option to install Linux using available free space on HD.
That is all. Installed PCLOS2007 in less than 20 mins. Upon re-boot, GRUB offers Linux or Win2000 as options.

In the Grub screen, append Boot options with "irqpoll".

Once booted up, use kWrite to edit /boot/grub/menu.lst
Append "irqpoll" to the command line for Linux boot parameters so that it reads like this:
kernel (hd0,6)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/hda7 acpi=on resume=/dev/hda8 splash=silent vga=788 irqpoll
This is to ensure that next time boot-up will be automatic with no need to append "irqpoll" manually.

Next Task is to make the Huawei E220 (also branded as Vodafone) 3G modem to work.

I searched the web and obtained these two scripts:
mod.sh
#internet Dialer version 1.56
#created by Cyblade
#Written for the E220 usb modem

rmmod usb-storage
modprobe usbserial vendor=0x12d1 product=0x1003
mknod /dev/ttyUSBo c 188 0
mknod /dev/ttyUSB1 c 188 1
mknod /dev/ttyUSB2 c 188 2
wvdial 3g
wvdial.conf
#internet Dialer version 1.56
#created by Cyblade
#Written for the E220 usb modem

[Dialer 3g]

Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = Analog Modem
ISDN = 0
Phone = *99***1#
Modem = /dev/ttyUSB0
username = username
Password = password
Dial Command = ATDT
Baud =466600
Init4 = AT+CGDCONT=1,"IP","internet"
I put both scripts in /etc/ directory.

Reboot

In Konsole, entered "sh /etc/mod.sh"

Horay! I am now connected online.

Close Konsole to go off-line

Open Konsole and enter the above command to go online again.

Hope the above info is useful to other ThinkPad owners.
iSeries1200 (Type 1161-43A), Celeron 700MHz, 64Mb stock + 256Mb add-on, upgraded HD from 10Gb to 100Gb, Windows 2000 SP4 and PC Linux OS 2007 dual booting

johnmina
Posts: 1
Joined: Tue Mar 12, 2019 9:30 am
Location: Melbourne, Australia

Re: PCLinuxOS2007 & Huawei(Vodafone)E220 3G-Modem on TPi1200

#5 Post by johnmina » Tue Mar 12, 2019 9:58 am

I have installed Linux OS 2009 on the industrial 3G modem but it is not working, it is giving this error "Bug #43...."

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 9 guests