How to configure modem on IBM Thinkpad iSeries 1200?

Asked by rvec

Newbie here.
I haven't been able to configure my modem on my IBM iSeries 1200.
I've followed the other articles without any success.

I was able to detect my modem using GNOME-PPP but then lost it when I upgraded slmodemd from 2.9.9 to 2.9.11.

Using SLMODEMD I've found out that i'm using the following modem
The /proc/asound/pcm file reports:
00-01: Intel ICH - MIC ADC : Intel 440MX - MIC ADC : capture 1
00-00: Intel ICH : Intel 440MX : playback 1 : capture 1

I was able to dial out, but it would not auth with the ISP.
(ISP details are correct & have been checked on another computer)

I've tried uninstalling/reinstalling GNOME PPP to no avail.

Now GNOME PPP is not able to detect the modem & I'm completely lost & confused!

I can post my original GNOME PPP logs, but don't think it will do any good as my problem has changed directions.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu network-manager Edit question
Assignee:
No assignee Edit question
Solved by:
rvec
Solved:
Last query:
Last reply:
Revision history for this message
rvec (r-vecranges) said :
#1

Sorry forgot to mention that I'm using xbuntu 8.04

Revision history for this message
Shane Fagan (shanepatrickfagan) said :
#2

What kind of modem are you trying to install?

Revision history for this message
Tom (tom6) said :
#3

Errr, try going up to the top taskbar and click on

Applications - Accessories - Terminal

that should open a terminal/command window/console. In the terminal console type (or copy&paste) in

lsusb
lspci

Is your modem seen in either of those reports?

Good luck and regards from
Tom :)

Revision history for this message
rvec (r-vecranges) said :
#4

Here's the info

aneta@ubuntu:~$ lsusb
Bus 001 Device 003: ID 05b8:3021 Agiler, Inc.
Bus 001 Device 002: ID 9710:7830 MosChip Semiconductor
Bus 001 Device 001: ID 0000:0000
aneta@ubuntu:~$ lspci
00:00.0 Host bridge: Intel Corporation 82440MX Host Bridge (rev 01)
00:00.1 Multimedia audio controller: Intel Corporation 82440MX AC'97 Audio Controller
00:00.2 Modem: Intel Corporation 82440MX AC'97 Modem Controller
00:02.0 VGA compatible controller: Silicon Motion, Inc. SM712 LynxEM+ (rev a0)
00:03.0 CardBus bridge: O2 Micro, Inc. OZ6812 CardBus Controller (rev 05)
00:07.0 ISA bridge: Intel Corporation 82440MX ISA Bridge (rev 01)
00:07.1 IDE interface: Intel Corporation 82440MX EIDE Controller
00:07.2 USB Controller: Intel Corporation 82440MX USB Universal Host Controller
00:07.3 Bridge: Intel Corporation 82440MX Power Management Controller

Thanks for your help...

Revision history for this message
Shane Fagan (shanepatrickfagan) said :
#5

Can you post the ppp settings your trying to use.

Revision history for this message
Tom (tom6) said :
#6

Errr, i dunno how to do that one either
Good luck with this
Regards from
Tom :)

Revision history for this message
rvec (r-vecranges) said :
#7

Thanks for responding:

GNOME PPP is not picking up my modem...whereas it was before until I some how upgraded slmodemd from 2.9.9 to 2.9.11

The current settings in GNOME PPP that doesn't work.
Modem - /dev/ttyS0
Type - Analog Modem
Speed - 57600
Phone Line - Tone
init string - AT&F&C1&D2
(My ISP is TPG Soul, which is based in Australia.)
IP & DNS is set to DHCP from ISP
Settings that are enabled:
- Abort connecting if no dialtone
- Check carrier line
- Check default route.

Under Network Connections in the top right toolbar it's:
Connection type - Serial modem
Modem port - /dev/modem
Dial type - Tones
enabled:
- Set modem as default route to internet
- use the internet service provider nameservers

Before the upgrade when the modem was detectable in GNOME PPP, it was set to something like /dev/ttyS0

I hope this answers your question.

Thanks again.
Rick

Revision history for this message
rvec (r-vecranges) said :
#8

Any suggestions.....anyone......I really don't want to go back to "Windope" just to get internet access....... this is my last hurdle.

Any tips welcomed.

Hope I've provide the necessary info required.

Revision history for this message
Tom (tom6) said :
#9

It might be worth posting this as a new question and might also be worth trying other forums and places
https://help.ubuntu.com/community/HowToGetHelp

The best time to post is just before america gets home from work or school. Most of us have just about cleared our inbox and are ready waiting for the rush ;)

Also why not keep a dual-boot system? Most of us started with a dual-boot that we could use for increasingly less tasks as we found our way with Ubuntu more. It took years to learn how to use microsquish, so don't expect too much of yourself too early. Lol, most of us still have a working Windows we could boot back into although it's been quite a while for me now ;) I found with Office packages that it was faster for me to reboot into Ubuntu to do my work and save it to the Windows side and then reboot back into Windows to do printing & stuff that i hadn't figured out! Waiting for microsquish packages to open and load even light-weight documents was just taking tooo long, especially acrobat formats! Note this guide does actually help install Windows after Ubuntu even though it recommends against doing it this way. We just have to work with what we have and how it ends up is more the issue here and that's the same either way :)
https://help.ubuntu.com/community/WindowsDualBoot

Good luck nd regards from
Tom :)

Revision history for this message
Tom (tom6) said :
#10

Err it's worth keeping your question short but you can always paste this link into your question so people can see the info you've provided
https://answers.launchpad.net/ubuntu/+source/network-manager/+question/67722

Again, good luk and regards from
Tom :)

Revision history for this message
rvec (r-vecranges) said :
#11

Thanks for the suggestion.
I'm setting up the laptop for a friend & didn't want to reload Win98...... dual booting may be too inconvenient for her daily task.
Laptop works great using ethernet, but at this point the dialup solution is her only option.

I'll try to re-post on another forum as per your suggestion.

Thanks for replying and your help.....most appreciated.

R's
Rick

Revision history for this message
Tom (tom6) said :
#12

Dohh, reinstalling Windows is really tough. Even Win98 is quite tough. It doesn't take up much space but there's too much to do even after the basic install is done.

Good luck with this
Regards from
Tom :)

Revision history for this message
rvec (r-vecranges) said :
#13

Thanks to the guys at LinModem for helping me out...here's a summary how my dialup issue was fixed.
I've included a step by step instructions, to the best of my knowledge for the other Linux newbies just like myself.

Download from http://linmodems.technion.ac.il/packages/smartlink/ the package SLMODEMD.gcc4.2.tar.gz having a compiled slmodemd. Unpack under Linux with: $ tar zxf SLMODEMD.gcc4.2.tar.gz
and read instructions therein. But briefly, the modem is setup with command:
sudo slmodemd -c YOUR_COUNTRY --alsa modem:1
reporting dynamic creation of ports:
/dev/ttySL0 --> /dev/pts/N , with N some number

I had an error running “ sudo slmodemd -c YOUR_COUNTRY --alsa modem:1” so I was told to try and unloading and reloading the tryer
$ sudo modprobe -r snd-intel8x0m
$ sudo modprobe snd-intel8x0m
the rerun $ sudo slmodemd -c AUSTRALIA --alsa modem:1

If successful, the modem should be found by:
$ sudo wvdialconf  /etc/wvdial.conf

I still had an issue running “$ sudo slmodemd -c AUSTRALIA --alsa modem:1” and was told to try shutting down all audio functions using.
$ sudo /etc/init.d/sl-modem-daemon stop

Then I was able to locate my modem at:
`/dev/ttySL0' -> `/dev/pts/0'

Once the modem was located I had to edit the file /etc/wvdial.conf and update with the details of my ISP:
$ sudo gedit /etc/wvdial.conf
remove the ";" and "<", ">" and add your corresponding username,
password, ISP phone number , a line "Carrier Check = no", a line with a "#" or a ";" in front of another line "Stupid Mode = 1". Making your wvdial.conf look like:
> [Dialer Defaults]
> Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2 +MS=90 <--- X3 disables checking for dialtone, +MS=90 helps with stubborn ISP's, you can change to +MS=34 if needed.
> Modem Type = Analog Modem
> Phone = YOUR_ISP'S_PHONE_NUMBER_HERE
> ISDN = 0
> Username = YOUR_USERNAME
> Init1 = ATZ
> Password = YOUR_PASSWORD
> Modem = /dev/ttySL0
> Baud = 460800
> Carrier Check = No
> #Stupid Mode = 1

Then I could connect using wvdial
aneta@ubuntu:~$ sudo wvdial

If you have DNS issues, You can update resov.conf but your ISP DHCP should automatically allocate this info to you.
$ sudo gedit /etc/resolv.conf
and put the following in it
> nameserver 203.194.56.150
> nameserver 203.194.27.57

I was then able to connect using wvdial.
$ sudo  wvdial

I made a backup of wvdial by:
> $ sudo cp /etc/wvdial.conf /etc/wvdial.conf.bak

A script was created to restart wvdial should there be any issues.
>You can try putting this in a script mr (for modem retest)
>$ sudo gedit /usr/locl/bin/mr
>with the following  lines:
>#!/bin/sh
>killall wvdial
>modprobe -r snd-intel8x0m
>sleep 0.1
>modprobe snd-intel8x0m
>echo "Restarting slmodemd"
>/usr/sbin/slmodemd -c AUSTRALIA --alsa modem:1
>#end
>Make executable with
>$ sudo chmod +x  /usr/locl/bin/mr
>Use it with:
>$ sudo mr
>and then the usual:
>$ sudo wvdial

That's how my issue was resolved.

Thanks again to the guys at http://linmodems.technion.ac.il/ for helping me out.

Rick