LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-23-2005, 12:52 AM   #1
movanns
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: redhat 9
Posts: 33

Rep: Reputation: 15
SMARTLink 56k External Modem Problem!!


Hello there,
i'v bought a new modem for my pc and it seems to work well with my XP box.But there is a problem with my RH9. I use the modem conf wizard n the device is active n i can see the LED on the modem blinking(In Use).the problem is i cannot browse the internet n and even ping out to other network.i'm not on a LAN but i'm connected directly to modem n telephone line.The driver is succesfuly installed n the services already run.plz help me to browse the internet...
thanks
 
Old 04-23-2005, 01:15 AM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Do you have the nameservers in your /etc/resolv.conf file? Mine for a sample:
Code:
domain infoave.net
nameserver 206.74.254.2
nameserver 204.116.57.2
Is that a serial port modem or USB (some winmodems in that situation)?

Serial ports:
Com1 in Windows = /dev/ttyS0 in most distros of Linux
Com2 in Windows = /dev/ttyS1 in most distros of Linux

If so, make a link as root:

ln -sf <device where you have the serial port modem connected> /dev/modem

# Modem and connection troubleshooting
WinModems and Linux
Modem HOWTO
Modem NHFs
Linmodems.org
Conexant/Rockwell modem HOWTO
The Unofficial PCTel Linux Driver page
I finaly got my PcTel hsp56 mr modem to work
PcTel PCT789 Compilation in Fedora Core 1
Linux driver for Winmodems with Lucent Apollo (ISA) and Mars (PCI) chipsets
Lucent AMR modem listed as an Intel AC'97 - Smart Link Modems
The kppp Handbook
Dial-up Networking Configuration Using KDE's Kppp
Troubleshooting ISP Connection Problems

I have a win<something> or some other kernel module driver I have to install.
# Compiling/installing kernel modules
You will need to have installed:
1. The developmental packages (compiler)
2. The kernel-source code that matches your running kernel
3. The module source or install code

Check out your system and look under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed:
Code:
[fancy@tinwhistle fancy]$ su -
Password:
[root@tinwhistle root]# uname -r
2.4.20-28.7
I am running kernel version 2.4.20-28.7. Do I have the proper source code?
Code:
[root@tinwhistle root]# cd /usr/src
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          136 Jun 12 14:53 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.20-28.7
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.20-28.7
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
I do have the same kernel version source code installed in the directory /usr/src/linux-2.4.20-28.7 and there is a symbolic link named linux-2.4 pointing to it.

If you don't see something similiar to this (but in color), you will need to install the kernel source.

NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need. I may as well make one now to save editing the files in the source code every time I need to compile anything concerning the kernel. So, I'll make that link just now:
Code:
[root@tinwhistle src]# ln -s linux-2.4.20-28.7 linux         
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          160 Jun 12 15:46 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun 12 15:46 linux -> linux-2.4.20-28.7
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.20-28.7
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.20-28.7
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
Ah, there it is, so that's done.

Next, did I install the compiler?
Code:
[root@tinwhistle src]# gcc -v          
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
[root@tinwhistle src]#
Yes, I have a compiler installed.

If you don't have those two things installed, you have to install them first off your install CD.

If they are installed, download the source and happy compiling. Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing.

Last edited by fancypiper; 04-23-2005 at 01:27 AM.
 
Old 04-23-2005, 01:31 AM   #3
movanns
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: redhat 9
Posts: 33

Original Poster
Rep: Reputation: 15
mine is USB modem..and i use /dev/ttySL0 as the device which is emulates from /dev/tty0..i've follow all the instruction on compiling the kernel n it seem working.the modem application is working perfectly.nway, how to check wether my modem is connected to my ISP? and how to check the given IP address from my isp?
 
Old 04-23-2005, 01:35 AM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Is the Troubleshooting ISP Connection Problems link I previously posted of no help?

What are the results of these commands?:

ping <IP of ISP>
ping <name of ISP>
ping yahoo.com
traceroute yahoo.com

Last edited by fancypiper; 04-23-2005 at 01:39 AM.
 
Old 04-23-2005, 01:39 AM   #5
movanns
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: redhat 9
Posts: 33

Original Poster
Rep: Reputation: 15
ok..
let me try first
nway thanks
 
Old 04-23-2005, 01:41 AM   #6
movanns
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: redhat 9
Posts: 33

Original Poster
Rep: Reputation: 15
for the ping and tracerout command, both doesn't produce any result..(unable to resolve host)..i cant go out from my machine
 
Old 04-23-2005, 01:44 AM   #7
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Is your /etc/resolv.conf file correct for your ISP?
 
Old 04-23-2005, 01:48 AM   #8
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
In RedHat, the file you tail to watch for the error messages in the troubleshooting link is /var/log/messages.
 
Old 04-23-2005, 01:51 AM   #9
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Also, either use /dev/ttySL0 as the modem, or, as root,:

ln -sf /dev/ttySL0 /dev/modem
 
Old 04-23-2005, 04:08 AM   #10
movanns
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: redhat 9
Posts: 33

Original Poster
Rep: Reputation: 15
ok..
i've check the resolv.conf..and it's blank.nothing inside it...

i use wvdial n below is the example result:

[root@Cygnus root]# wvdial TMNET
--> WvDial: Internet dialer version 1.53
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT1515
--> Waiting for carrier.
ATDT1515
NO CARRIER
--> No Carrier! Trying again.
--> Sending: ATDT1515
--> Waiting for carrier.
ATDT1515
Caught signal #2! Attempting to exit gracefully...
--> Disconnecting at Sat Apr 23 15:57:19 2005
[root@Cygnus root]#


this is my wvdial.conf file:

[Modem0]
Modem = /dev/ttySL0
Baud = 115200
SetVolume = 2
Dial Command = ATDT
Init1 = ATZ
FlowControl = NOFLOW
[Dialer TMNET]
Username = xxxxxxxx
Password = xxxxxxxx
Phone = 1515
Stupid Mode = 1
Inherits = Modem0


i try to dial my h/p number (change the 1515 to my h/p number) and it's working.that's mean my modem is properly setup.the problem is the configuration to the ISP.
 
Old 04-23-2005, 04:56 AM   #11
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Place your ISP nameserver numbers in your /etc/resolv.conf file and try again.
 
Old 04-24-2005, 05:15 AM   #12
movanns
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: redhat 9
Posts: 33

Original Poster
Rep: Reputation: 15
fancypiper..
i'v tried key in the domain and nameserver address for my isp (resolv.conf) but it still the same problem occured..this time i try to use kppp..the modem AT string query semms to be ok and my rh can communicate with the modem..when i try to connect, it still cannot find the carrier..

The error msg/warning : No Carrier!

what i should do next?
 
Old 04-24-2005, 05:34 AM   #13
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Make sure you read through the README and INSTALL files in the driver tarball after you extract the driver to install. You must have missed something on your first read.

Will your modem work in Linux?
The kppp Handbook
Dial-up Networking Configuration Using KDE's Kppp

Personally, because of the winmodem headaches I had, I tossed my winmodem piece of junk into the trash and went for an external serial port modem.

For a little money, it saves a lot of headaches because they will work with all computers. These have the real hardwardware that don't need propriatory drivers in order to make the CPU pretend to be a modem and they will work with all operating systems with little configuration.

Keep an eye on these places. I picked my modem up for around $14. Remember, you want a serial port modem for the easiest, fastest and best dial up modems. As you have discovered, USB can also have winmodems (no modem hardware, the CPU has to emulate it) and be practically useless unless you run a Windows version that will support it.

Price Watch
Computer Geeks
New Egg Serial port modems

Last edited by fancypiper; 04-24-2005 at 05:46 AM.
 
Old 04-25-2005, 02:50 AM   #14
movanns
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: redhat 9
Posts: 33

Original Poster
Rep: Reputation: 15
emmmm...i almost dead fancypiper..i still cant connect to internet.i've installed all over again.but still the same problem occured.i've no idea how to deal with it..nway thanks alot for your help
 
Old 04-25-2005, 02:59 AM   #15
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
I'm out of ideas.

Are external serial port modems very expensive there? That is really the best modem you can get and it will work with all operating systems.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing SmartLink 56.6k External USB Modem on SuSE 9.2 Jongi SUSE / openSUSE 18 06-10-2005 03:04 AM
External 56k Modem Kruncher Linux - Hardware 3 03-16-2005 11:25 PM
CenDyne external 56k modem z-lite Linux - Hardware 7 06-29-2004 08:21 AM
Best external 56k modem for fedora? jupi8 Linux - Newbie 6 03-22-2004 07:22 AM
Wierd problem with external USR 56k modem not connecting Cage47 Linux - Hardware 3 01-28-2004 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration