LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-21-2007, 12:40 PM   #16
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,142

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783

/dev/modem would be a link to the actual serial port device i.e. /dev/ttyS0.
It isn't a major problem. You can create a link with the ln command:

ln -s /dev/ttyS0 /dev/modem
 
Old 03-21-2007, 12:44 PM   #17
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Hi Ron! I would like to think also we can get this working today Perhaps I have helped us take the scenic route a little, but MichaelK has pointed the way to the direct route, I think!

As for /dev/modem it may or may not exist, in your case it appears not to exist. However it is often just a 'symbolic link' (comparable to a windows desktop shortcut) which actually points to another /dev item, like /dev/ttys-something, or in some cases, for example my intel 536ep modem, /dev/modem points to a device called /dev/536ep. So, not to worry if /dev/modem isn't around. You can create it though, and maybe wvdial would then work??.
If you were to create it, and point it at /dev/ttys0, and then open wvdial, maybe wvdial would find the modem.

Yes, the terminal is the right tool for the echo statements. You might try using root-priveleges in the terminal, if you haven't yet. (Or using a root terminal, basically)

As for Gnomeppp, it is reading from a configuration file which either has not yet been configured, or is misconfigured. If you can locate the file it is reading from, and remove the line indicated as being 'malformed' it may help, but it says it's ignoring it anyways..

Last edited by GrapefruiTgirl; 03-21-2007 at 12:46 PM.
 
Old 03-21-2007, 02:40 PM   #18
RonKZ
LQ Newbie
 
Registered: Aug 2004
Location: SW New Mexico
Distribution: Ubuntu 6.10 x64
Posts: 26

Original Poster
Rep: Reputation: 15
ln -s /dev/ttyS0 /dev/modem

well it's painfully obvious to me that I need to work a lot on commandline knowledge

ran
ln -s /dev/ttyS0 /dev/modem ... and
ln -s /dev/ttyS1 /dev/modem

nothing was any better, guess it wasn't major lol

can't talk to my ISP until after 1 or 2 pm, for me that's an hour from now.

I do NOT want to give up on this modem; all signs are that it should work as well as any. Because I'm build a few computers for resale and want to set them up with Ubuntu, I have bought some PCI controller-based modems on ebay in the last couple of days. I'll be delighted if they work and I can get rid of the clutter of serial modem cables and box, but I still want this one 56sx92 to work in linux before I even try anything else.

I have rebooted a couple of times with different bios configs for serial port. As with all of today's computers there is but one physical connection but 2 ports are listed in bios. Beyond that device manager shows 2 16550 things, I don't really understand how or why they're there or what to do with them, oh well.

I suspect some part of the problem here may be because I'm using this box a) connected to the www via a networked windoze box vs. B) messing around with these linux tools directly. But I have tried safe-boot, running with the windoze box off, or it's dialup disable, or the linux network disabled, it seems the same no matter what.

I've also been thru kppp any number of times, with/wo following Best Data's instructions on their pdf. That's why I need to talk with my ISP, about ? DNS, and about PAP or other choices, seems it's gotta be something in that area. I cannot type in kppp's terminal box, assume that must require root but it doesn't ask for that so I'm a little lost there.

will be back after ISP chat. thanx to both
 
Old 03-21-2007, 05:13 PM   #19
RonKZ
LQ Newbie
 
Registered: Aug 2004
Location: SW New Mexico
Distribution: Ubuntu 6.10 x64
Posts: 26

Original Poster
Rep: Reputation: 15
ISP not much help

phoned my ISP, who did confirm my settings in kppp were okay.

The serial port seems a likely part of this problem. Ubuntu 6.10 doesn't have setserial, am downloading that now in hopes that'll help. That means working with tar.gz which has also been troublesome to me with Ubuntu, which opens it's Archive Manager which doesn't install anything. I think I've found tracks by which I can install, be finding out in a while.

Anyway, still needing advice here, thanx
 
Old 03-21-2007, 06:23 PM   #20
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,142

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Is this a dual boot PC? Did the serial cable come with the modem? There are two different kinds of cables. A straight through and a null modem. If not then this could be your problem. Also related to not seeing any lights when you tried the echo command. You need a null modem cable. It is similar to an ethernet crossover cable where pins 2 & 3 are crossed at one end.

Did you ever try the querymodem button in kppp. If so what happened?

I have a Zoom modem which has RD and TD lights. These flash when datat is being sent from/to the PC. When I try the
echo "atdt 555-1212" > /dev/ttyS0 command I do see these lights flicker.

You can try accessing your modem via minicom which is console aplication like hyperterminal. It might be a little much to figure out if you never have used command line stuff much.
 
Old 03-21-2007, 07:20 PM   #21
RonKZ
LQ Newbie
 
Registered: Aug 2004
Location: SW New Mexico
Distribution: Ubuntu 6.10 x64
Posts: 26

Original Poster
Rep: Reputation: 15
yes, dual boot pc, XPhome and ubuntu 6.10 x64. This 56SX92 worked from the git-go in XP, still does if I go back into XP.

in 20+ years I've never known what a null-modem cable might be. The modem serial connectors are 25-pin on the modem to 9-pin on the box, came with the (new) modem.

kppp Query Modem returns the 10(?) blank ATI things.

p.s. I missed something in that minicom thing

commandline echo "atdt 555-1212" > /dev/ttyS0 and echo "atdt 555-1212" > /dev/ttyS1 returned only the prompt
echo "atdt 555-1212" > /dev/ttyS2 & echo "atdt 555-1212" > /dev/ttyS3
had to go to root for S4 & S5, returned nothing, doubt that I'd have to go further with that. I have no clue what returning nothing might mean, dumb thing. Nothing made lights blink - again only PWR and DATA lights are on of the 4-5 lights on this modem. At the beginning of all this only the PWR light was on, is that progress LOL?

oh oh, minicom <!-- this file was installed to automatically upgrade your machine from using
mini-commander to using Deskbar.

If you wish to continue using mini-commander, please recompile
GNOME-Applets with -enable-minicommander and your mini-commander applets
should reappear.

then
ronkz@gb-server:~$ -enable -minicommander
bash: -enable: command not found
ronkz@gb-server:~$ -enable-minicommander
bash: -enable-minicommander: command not found
ronkz@gb-server:~$ enable minicommander
bash: enable: minicommander: not a shell builtin
ronkz@gb-server:~$


so for whatever reason it fell outta Ubuntu and the getback command doesn't work ??? So I'll be seeing what DeskCut is about I guess. .... well can't find that either

I downloaded the setmodem package today from sourceforge.net and next must fuss with trying to unravel a .tar.gz, sheez so later, thanx

Last edited by RonKZ; 03-21-2007 at 07:25 PM.
 
Old 03-21-2007, 07:58 PM   #22
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
As for the empty returnd from querying the modem, I've had PCI modems which worked fine, but returned empty query strings too. Modems can be pretty dumb. Particularly the software ones, unlike yours.

The tar.gz file you should be able to unzip from your desktop if you have any archive software like ARK installed. Just right clicking the file should give you an option like "Extract to.." or "Extract here..". For more info, read 'man tar' in a console.

A null modem cable (if you still don't know) is like a dummy-cable, like for connecting 2 computers directly together without a network or an 'internet' in between.

Sheesh is right.. For a modem that requires little or no software, this is ridiculous.
Michael, what do you suppose we could/should stick into kppp as far as some AT commands, to atleast maybe get this talking a bit, assuming the cable isn't an issue?
If it is... Well, it can't be the cable, if the modem works under Winduhs..

Last edited by GrapefruiTgirl; 03-21-2007 at 07:59 PM.
 
Old 03-21-2007, 09:17 PM   #23
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,142

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
minicom is a command line serial communications program. With minicom you can directly talk to the modem. minicom could be used as a diagnostic tool for the modem.

I am not familiar with this particular modem. I assume the data light illuminating is a good thing but do not know why kppp isn't working.

It could be a setup problem with serial port settings. The online manual is very basic.
 
Old 03-21-2007, 09:45 PM   #24
RonKZ
LQ Newbie
 
Registered: Aug 2004
Location: SW New Mexico
Distribution: Ubuntu 6.10 x64
Posts: 26

Original Poster
Rep: Reputation: 15
ARK and setserial

thanks for the link to ARK (I guess), so I installed that, but sorry, it's not about anything more than the whatever that came bundled in Ubuntu. Extract, big deal. Where the heck is Install? At best it seems back to the muddle of Terminal and trying to enter commands I don't understand. I can say this, if there's ANY other fileformat for downloading, forget tarballs, that's ancient history. I can't tell you how many of those I've downloaded and couldn't deal with, INCLUDING that every time I open LQ it wants me to download Adobe Flash Player, then have to do it manually, then can't get it installed, but must endure the message at LQ and elsewhere every time. guess I'm just dense.

No null-modem cable, I'm quite certain, that's not it at all -- I recall going thru the DOS days without one. I am feeling increasingly certain we need setserial, yet another mess because it's tar.gz.

Any way, the readme for setserial
The simplest way to configure the serial ports is to copy the provided
rc.serial file to the appropriate /etc/rc.d directory. For example,
to install rc.serial on a RedHat system, copy rc.serial to
/etc/rc.d/init.d/serial, and then run the command "chkconfig -add serial".

well I'm not using RedHat, and there's no /etc/rc.d/ and suddenly I would need to learn how to create that and find that one doesn't have that option in File Manager. Meanwhile there are many subs rc0.d...rc6.d but can't copy/paste into any such, and one can surmise that perhaps this paste needs to go into each of them, seems tedious and shaky to me, not even knowing if this'd work anyway.

surely I'm missing something to get this far off the mark?????????????????????? I do really think that we need to use setserial here but there must be some better/easier way to get that going. The download for that was kinda huge, we should make some use of it!

thanks, and sorry for that this sounds so bitchy, but it's been this entire week, c'mon!
 
Old 03-21-2007, 10:37 PM   #25
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
install basics

Gosh.. I'm starting to feel bad that you are having such a hard time here.
OK, well, I'm not using Ubuntu (I did briefly) but here is some general information about how to use tarballs, and about compiling and installing stuff, and about rc.d ...

1..A tarball is nothing more than a bunch of files, rolled into a package, and compressed.
2... There are other things to download besides tarballs. There are RPM's too, and probably a few other things. However, it always comes down to installing the thing after it is extracted.
3.. My system doesn't use RPM's. I use tarballs, like 'tarball.tgz' or 'tarball.tar.gz'. Some linux operating systems have a built in mechanism for installing stuff and removing stuff in a graphical environment, very much like windows. Double-click it and follow the instructions.
Ubuntu may have one of these, I don't know, but it is likely that if it does, it's not going to like a tarball, so here's what you would typically do with a tarball:
I'll assume based on your last post that extracting it is not the problem..
In the resulting folder created by extracting the package, there will be a bunch of files, and usually among them will be a README and/or an INSTALL file, which contain basic instructions for what to do with the package.
Typically there will be a file called 'Makefile', and often there is a file called 'configure'. The README/INSTALL should explain IF and WHY you should use either the Makefile, or the Configure file, to install the package.
To use either, open a console. If the package is going to be installed SYSTEM-WIDE, you will need root priveleges. Many things which install only for USERS can be installed WITHOUT root priveleges, but not all. You will find out soon enough if you need root to install, because it will return errors and stop.
SO:
in the console, to use a makefile, type: make
to use a configure file, type: ./configure
usually after running the configure file, you then need to run the makefile.
after doing the above, you typically type: make install
And presto! Now the package has been compiled, and installed to wherever it's supposed to be installed to. And to use it, check the readme file or other instructions which come with the file. For example, for help, if you are using something called 'setserial', then you can probably type: setserial --help or setserial -help or setserial help or man setserial or info setserial.
OK, now.....
Not all Linuxes use the rc.d init structure. Mine does, and many do, but I can't speak for Ubuntu.

I certainly feel for your frustration Ron, but here's an idea which may also get you much more accurate information relating to your specific Ubuntu system: Check out the Ubuntu Forum Put up some posts over there, as the Ubuntu users will surely be able to help you with the specifics of Ubuntu's ins and outs.
But of course, if I/we here can help you further, or I have missed or confused something in this post, please do come back and just ask I am as determined as you are to get that silly modem working!
Best wishes!
Sasha

Last edited by GrapefruiTgirl; 03-21-2007 at 10:41 PM.
 
Old 03-21-2007, 10:59 PM   #26
RonKZ
LQ Newbie
 
Registered: Aug 2004
Location: SW New Mexico
Distribution: Ubuntu 6.10 x64
Posts: 26

Original Poster
Rep: Reputation: 15
tarballs

dang, grapefruit, you are clear as a bell tonight!

it never occurred to me that maybe I also need to look at a couple of other files after "extract", but that 'readme' file via Ubundu sure left me out in the woods!

I don't know how much longer I'll keep going tonight, but you deserve a pat. so here'tis.
 
Old 03-21-2007, 11:07 PM   #27
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
That readme is indeed a bit vague. Infact, if I were to have followed the instructions there, it wouldn't have worked for me either, by default, because my system did not contain the 'chkconfig' function until I installed it!
As always, just post if ya need help
BTW - you say you have folders rc0.d to rc6.d ?? Those are usually inside the folder /etc/rc.d/ so perhaps Ubuntu actually DOES use the rc.init format. What is the name of the location where those rc0.d folders are located? That's most likely where you would put the rc.serial file, and then make sure it is CHMOD'd to executable (change the file's permissions by adding the 'executable' bit. You can either right-click the file from desktop, or use the console command chmod +x rc.serial)

Last edited by GrapefruiTgirl; 03-21-2007 at 11:28 PM.
 
Old 03-22-2007, 04:59 PM   #28
RonKZ
LQ Newbie
 
Registered: Aug 2004
Location: SW New Mexico
Distribution: Ubuntu 6.10 x64
Posts: 26

Original Poster
Rep: Reputation: 15
not home yet, but a bit of success here. minicom is reinstalled, and so is setserial, both by using get-app... a stroke of good luck. I will now be trying to use those tools to hunt down my stupid serial modem. I'm seeing some things I don't understand, so cross fingers for me. Later
 
Old 03-23-2007, 02:06 PM   #29
RonKZ
LQ Newbie
 
Registered: Aug 2004
Location: SW New Mexico
Distribution: Ubuntu 6.10 x64
Posts: 26

Original Poster
Rep: Reputation: 15
howto? minicom or setserial

grapefruitTgirl, now I'm stuck. I have found/installed both setserial and minicom. by:
http://www.linux.org/docs/ldp/howto/Modem-HOWTO-10.html#ss10.1
I'd say that setserial is a last resort, in how it works / what it does / unpredictable results / complexity.

So that leaves minicom, which I'm finding clumsy and incoherent. If you have some suggestion(s) they would be immensely appreciated.

A thought here... it seems that some/much of this stuff needs to be run in root but will run as user and then fail to stash needed changes. Seems that Ubuntu sometimes doesn't step in with root login. I just ran sudo kppp and wow were there errors! I could relay the output saved to a .txt file but don't find a link here to so that ??? Probably because Ubuntu is super-focused on it's gnome interface.

thank you again.
Ron
 
Old 03-23-2007, 04:40 PM   #30
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
OK, I will have a read thru that link where you got the install instructions and get an idea what the deal is. I haven't used either minicom OR setserial myself, so I'll look at minicom first..

Generally (again I dont know what these 2 tools really do yet) stuff like this is installed as root, run or configured as root, and then 'used' as root by a user. Simply running something should be kinda like kppp, where one just clicks and goes.
Some people disagree, depending on the OS in question, but it is sometimes easier to get something working by manually configuring it, as opposed to using a desktop config-tool with a GUI.
Anyway, I'm going to have a look at those tools at that link, maybe even install minicom myself, and see what I can learn. Ill get back to you.
 
  


Reply

Tags
best, com, data, ide, make, modem, port, scanmodem, serial, tar, tarball, tarballs, ttys0


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
Not receiving data from serial modem. ejoe Linux - Hardware 18 04-01-2007 01:35 PM
SUSE 10.0 Dial Up External 56K Serial Modem Setting Help. Data Halts at times/slow Balarabay1 Linux - Networking 3 08-04-2006 08:38 AM
External Serial Modem problem. Data flow halts or Balarabay1 Linux - Networking 0 05-03-2006 05:14 PM
Best Data 56K Serial Modem installation Viper168 Linux - Hardware 10 05-07-2005 04:32 PM
Best Data 56K External Serial Modem undetected on Fedora Core edeb Linux - Newbie 4 04-24-2005 12:48 PM


All times are GMT -5. The time now is 10:13 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration