Solved

How can I resolve...(sound, modem and display)?

Posted on 2000-03-30
70
590 Views
Last Modified: 2013-12-15
I have installed Mandrake 7.0. I am using a notebook(see specs under 'Computer' below)and have three problems:

1.SOUND CARD
I am unable to load my sound card although it is included in the
/usr/sbin/sndconfig file. It is a Yamaha OPL-SAx. I have followed the
instructions in the manual.

under Win98)
I/O Range
x0100-x0101
x0220-x022F
x0300-x0301
x0388-x038F
x0530-x0537
DMA = O; 1
IRQ =5

2. MODEM
I am also unable to load my PCMCIA modem card (message is that it is 'busy'. The card is an Option International 56k V90 Rockwell chip) GSM.  I have used:
$ Ln-s /dev/ttyS2 (COM3) /dev/modem to load it, but no result, although the
boot log shows pcmcia as loaded.

under Win98)
I/O Range
x03E8 - x03F
IRQ = 9 (no conflicts)

3. DISPLAY
Although I have a 16bit display (works under wIN98), Mandrake only allows
for 8bit. The screen is Panasonic  EDTCB11QBF 13.3" XGA TFT LCD 1024x768, with C&T 65555 VGA chipset

COMPUTER:
PICO Desknote 979 notebook (Guildford,UK),manufactured by Chicony Electronics, Taipeh &Hamburg))
Pentium II, 300 MHz
HDD 4.2 GB
RAM 64MB
4MB Video DRAM
CDRom 24x
Keyboard Swiss French, Windows 95/98 compatible

CHIPSETS:
System- INTEL 430TX
VGA Chips & Technology C&T65555
PCMCIA 02Micro 0Z6836

Your information would be very much appreciated. I am, however, not a
programmer, but an end-user trying to move over from Microsoft to Linux.

Thank you,
Mark Braham
FIELD RESEARCH
Switzerland
0
Comment
Question by:mlbraham
  • 40
  • 30
70 Comments
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
On the sound card, my guess is that the sound support delivered with the OS doesn't support that variant. It appears that the ALSA drivers do support that card (http://www.alsa-project.org/) and I believe that the non-free OSS drivers also support the card (http://www.opensound.com/).

As to the modem, it looks to me like it ought to work, if it's actually been installed by the pcmcia drivers. I don't know what version is shipped with your OS, but the latest version is at ftp://sourceforge.org/pcmcia/ as is the pcmcia howto.

By saying that the display only allows 8bit, do you mean that you can't configure (Xconfigurator or xf86config) it for 16 bits, or that Mandrake defaulted to 8 bit mode?
0
 

Author Comment

by:mlbraham
Comment Utility
Thank you for your rapid response. I will try alsa-project. I downloaded the opensound, sourceforge and howto items after posting my questions, but still have to try them.  The display problem is in X which gives me an unusable gui with 16 bits (I suspect that the DAC level is too high). I haven't managed to get into xf86 from KDE, or through a console, and haven't worked out how to get to a non-Gui run level to do it directly. Possibly f86config will give me better control.

0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
You only want to run either of the X config tools from a console login without having X running. If the system is configured for graphical log in, the easiest way is to do the X config from a single user boot ("linux single" at the Lilo prompt).

A resource that you might find helpful is http://www.cs.utexas.edu/users/kharker/linux-laptop/.
0
 

Author Comment

by:mlbraham
Comment Utility
Thank you.  I wonder if the video problem relates to the boot-log error message: 'Hostbridge (AGP Disabled)', I understand that this indicates a failure in the PCI->ISA bridge. A motherboard problem?
0
 
LVL 40

Accepted Solution

by:
jlevie earned 200 total points
Comment Utility
Actually, I'm not so sure that is an error. It's simply stating that the OS can't talk to the AGP slot, and I wouldn't think a laptop would implement a video card attached to an AGP port. All the laptops I've seen use a "PCI interface" to the video chipset. You should be able to find out at least a little more about your laptop's internals from it's doc set or directly from the vendor.
0
 

Author Comment

by:mlbraham
Comment Utility
Thank you. I appreciate the courtesy of your rapid response, and for pointing me in the right directions.  I'll noew see what I can do with your information.

Mark Braham
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
Hang on to this question while you are poking about. I'm more than willing to continue to help, just post a comment.
0
 

Author Comment

by:mlbraham
Comment Utility
OK - thanks. I had to download the modem and soundcard files via Netscape into Windows98 as I have no comms in Mandrake (it lists the PCMCIA card, with modem in slot 1 - but does not install it. ). I then copied the files to a floppy, and have tried to install them in Mandrake - but no luck so far. Knowing nothing about Unix/Linux file systems and program installation I've still got far to go.  I have a related different  question that I shall post separately.

Thanks,
MB
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
Well we can work it here if you like. It seems to me that questions about getting the PCMCIA drivers or sound support working falls within the bounds of the original question.
0
 

Author Comment

by:mlbraham
Comment Utility
Yes, it is within the original question. I have downloaded, for example:

PCMCIA:  PCMCIA-CS_30Mar00_tar gz, but haven't finished looking for gz unzip it in KDE;

SOUND: OSS Linux 3g3h-2314-15mdk-UP_tar gz.  I have to deal with this one as well.

As soon as I have these unzipped and worked out where theya are to go, I'll come back.

My separately posted question is another topic. It concerns non-system software installation.  I figured I should not mix-up my requests.

Regards

mb.
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
Okay, that's easy. You are going to learn pretty quickly that basic system administration in Unix (or Linux in this case) is mostly done from a shell command line. And in this particular case it all has to be done from a shell.

The first step is to log in as root and open a terminal window. That should put you in root's home dir (/root) and you need to copy the downloads to root's dir if they aren't already there. Since you have them on floppy, simply copy them with "mcopy a:* .". The next step is to unpack the sources. You can unzip and unpack each in one step with:

tar xvzof PCMCIA-CS_30Mar00_tar.gz

Check the file names with "ls" after copying them from floppy so that you get it right. Okay, what did I just do there? The sources are packed in a tar archive, so I user "tar" to unpack them. The options to tar are:

  x - extract from archive
  v - be verbose so you see what's done
  z - use gzip to decompress input data
  o - take ownership of the extracted data
  f - use the first argument as the data source

That will create a dir containing the PCMCIA drivers. Inside that dir is a PCMCIA-HOWTO that contains the installation instructions (and a lot more). The process is pretty simple. You do a "make config" and answer the questions (the defaults are mostly okay), then a "make all" and finally a "make install". You do have to have the kernel sources installed and they should be on your OS CD and be installable via rpm or a Gui package manager (kpackage or gnorpm).

The process for the OSS drives will be similar.

0
 

Author Comment

by:mlbraham
Comment Utility
Excellent. Again, thanks. It's help like thus that makes the web worthwhile!

I'll let you know how I get on.


MB
0
 

Author Comment

by:mlbraham
Comment Utility
Excellent. Again, thanks. It's help like thus that makes the web worthwhile!

I'll let you know how I get on.


MB
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
Cool, If you run into a problem related to what we've been discussing her, just add a coment.
0
 

Author Comment

by:mlbraham
Comment Utility
I've been off-line for a few days having to complete various tasks. I now want to get the last two outstanding items taken care of - modem and sound; modem first as it is most essential.

1. Checking my Linux files, I find that there is already an active pcmcia installation. It loads at boot up, the card is recognised, and checking shows gives the system message: 'serial or modem in slot 1'.

2. This suggests that I should not start interfering with the pcmcia set-up.  The only question I have on this score is that the pcmcia files are installed under /(Root) /root/pcmcia-cs-, but the HOW TO file says they should be installed in /usr/src.  What do I do about this - leave well enough alone or reinstall?

3. If, as I assume, the pcmcia card is correctly installed, then the problem is only that Linux does not enable the modem to connect to the dialer. The dialer (or ATDT .... tells me 'modem is busy'.  Under Windows my pcmcia modem card is connected via COM 3. Under Linux this would be ttS2. Should I change these settings to ttS1 or ttS0?.  

Many thanks,

Mark Braham
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
Just because the card is being recognized doesn't mean that it's actually working unfortunately. As to where the sources are, well it doesn't really matter. It's where the modules that result from a build & install are that matters. What's the full name of your pcmcia source dir, i.e. what version do you have (it's part of the dir name)?

I'm not sure of a "sure fire" way to determine which ttyS? device the modem is at other than watching the boot process to see what got assigned. Typically, you'd expect to see ttyS0 be the first on-board serial port, ttyS1 being either the second (if there are two on-board serials) or the modem, and so forth.

The final issue is whether the PCMCIA drivers support that modem card. It's not specifically listed in the "Supported Cards" list on ftp://sourceforge.org/pcmcia/SUPPORTED.CARDS, but that doesn't necessarily mean that it can't be made to work. You may need to tell the PCMCIA stuff that the particular ID returned by the card indicates that it's a modem. All of that is covered in the howto (ftp://sourceforge.org/pcmcia/PCMCIA-HOWTO).

Okay, if it were me I'd start by installing the latest PCMCIA drivers(ftp://sourceforge.org/pcmcia/). If a ttyS? dev doesn't get bound to the card at boot, I'd add the card ID to /etc/pcmcia/config and bind it to serial_cs. If it still doesn't work I'd contact the PCMCIA folks and see what they say about that card.
0
 

Author Comment

by:mlbraham
Comment Utility
1. Source name:  /root /pcmcia-cs-3.1.4.  I also have the later PCMCIA-cs-30MAR_00_tar.gz which I opened up (it's offered, but not proven), and then no longer knowing where it should be installed, I didn't use it, particularly as I found the cs-3.1.4 already installed, which is the previous version.

2. Listing: I know it's not listed, but it's a Rockwell chip card, and I suspect pretty close to USRobotics/Megahertz standards and certainly Hayes compatible Data/Fax (TypeI) 56k v.90 GSM ready.

3. I'll try your suggestions.

4. I've spoken to the modem card manufacturers who tell me they have no LINUX experience. However one of their customers has told me he has no difficulties with it under SuSE 6.3 in his IBM ThinkPad.  He suggested "setserial /dev/ttyS0 autoconfig", but my reading of the 'HOWTO' is that use of 'setserial' is not recommended so I haven't tried it yet.

5. Yes, I have the (ftp://sourceforge.org/pcmcia/PCMCIA-HOWTO)--plus some 22 Laptop HOWTOs, but obviously haven't understood the mass of expert detail.

MB
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
As to (1), that's really pretty old. I know that I had a lot of trouble with anything less than 3.1.8. Again, it doesn't matter where you unpack the distribution. It'll make a pcmcia-cs-3.1.x dir and you go into that dir to configure, build, and install. The configure process normally can figure out where your modules install dir is and it'll install the the modules there (and in other normal places).

As to (2), I agree that it's very likely that it'll work. The question is whether the PCMCIA stuff will recognise it as a modem & bind cs_serial (I'll bet it does), but even if it doesn't it's pretty trivial to use the card id to get it bound.

As to (4), it doesn't seem to me that you'd need to use setserial if the PCMCIA stuff does the right thing.

Don't feel too bad about not understanding everthing that's in the public docs. I don't either and have had to dive into the sources on more than one occasion to try to figure out what the author was trying to say.
0
 

Author Comment

by:mlbraham
Comment Utility
I've installed and unzipped the psmcia-cs_30-Mar-00_tar.gaz file.

I've attempted a "make config", but each time get the response:
"The default response for each question are correct for most users..."

Hitting "enter" gets the message:
"Linux source director [/usr/src/linux]:
"Linux source teree /usr/src/linux  is incomplete or missing

"Configuration failed
"make: [config] Error"

I checked back in the "HOW TO" followed the instructions (same as yours)...

What is wrong, and what should I do about it?

Thanks,

MB

The zip file contains  pcmcia-cs-3.1.14
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
You've not installed the Linux sources. the PCMCIA build process needs to be able to find them to extract certain information from header files. I don't have a Mandrake 7 CD handy to check, but I think the rpm is on the installation CD, probably something like kernel-source-2.2.N-N.i386.rpm (that's what it would be on RedHat.
0
 

Author Comment

by:mlbraham
Comment Utility
Strange, since the Mandrake CD's Drake setup tool very smoothly runs the whole show - and the boot log registers the PCMCIA card.  Where do I install the file? In / ?.
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
The kernel source rpm knows where it's supposed to install the sources to. I haven't see a Linux yet that installs the kernel sources by default, I've always had to add them later. You can either use one of the GUI package management tools (kpackage, gnorpm), or (as I do) just invoke rpm directly. It's in fact in the RPMS dir of the CD as kernel-source-2.2.13-7mdk.i586.rpm according to what I see on a Mandrake download site. If the CD were mounted on /mnt/cdrom, the direct rpm command would probably look like "rpm -ivh /mnt/cdrom/RPMS/kernel-source-2.2.13-7mdk.i586.rpm".
0
 

Author Comment

by:mlbraham
Comment Utility
You are extremely helpful - particulalry as this is all new to me.

I have just checked and found 'kernel-source-2.2.14-15mdk.i586.rpm' is on the CD, although not installed.  But how is one to know of the need for the kernel source files, and why aren't they auto-loaded at installation time if the are so necessary?
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
They aren't necessary if you don't need to build a new kernel or some kernel related item, like the PCMCIA drivers. When running on a desktop box, most people never need the kernel sources. In the case of the PCMCIA drivers, it does say in the PCMCAI Howto that you'll need the kernel sources in the Installation section.
0
 

Author Comment

by:mlbraham
Comment Utility
OK I understand.  Yes, I saw that comment in the HOW TO, but, believe it or not, I had no idea what 'kernel sources' meant, as assumed that as the PCMCIA was recognized at boot-up, I could leave it alone. It was only late last night that I encountered the actual problem.  I'll try to sort it out to-day.

Thanks.

MB
0
 

Author Comment

by:mlbraham
Comment Utility
1. So far I've installed and unzipped the psmcia-cs_30-Mar-00_tar.gaz file.

2. As we know, the attempt to 'make config' resulted in

 "Linux source director [/usr/src/linux]:
 "Linux source teree /usr/src/linux  is incomplete or missing

  "Configuration failed
  "make: [config] Error"

3. I have loaded  "kernel-source-2.2.14-15mdk.i586.rpm'

I have tried to run:
"rpm -ivh /mnt/cdrom/RPMS/kernel-source-2.2.14-15mdk.i586.rpm"

4. And get the message:

[root@localhost SOURCES]# rpm -ivh /mnt/cdrom/Mandrake/RPMS/kernel-source-2.2.14-15mdk.i586.rpm

error: failed dependencies:
        kernel-headers = 2.2.14-15mdk is needed by         kernel-source-2.2.14-15mdk
        glibc-devel is needed by kernel-source-2.2.14-15mdk
        ncurses-devel is needed by kernel-source-2.2.14-15mdk

5. Thinking that perhaps I had lost some files in have deleted programmes I didn't feel are necessary, I have re-installed (again) from scratch, but get the same reply (4) above.  

6. At this point I'm in the midst of a forest without a compass nor even enough sunlight to get a bearing.  How do I deal with this?

Incidentally, shall we make this a new question so you can at least benefit from whatever points I've accumulated?

Regards,

MB






0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
The "failed dependencies" errors are easy to fix. The installation set you used simply doesn't include those (and probably a lot more) "optional packages". The cure, like that of not having the kernel sources installed, is simple. The error message gives you enough information to be able to add the missing packages. You can look on the CD and get the exact name, like I did for the kernel sources, or simply wildcard the rest of the name, like:

rpm -ivh kernel-headers*.rpm
rpm -ivh glibc-devel*.rpm

and so forth. In the process of installing the missing packages you may find that one of them needs another package. Eventually you'll get what you need off the CD and can build the PCMCIA drivers.
0
 

Author Comment

by:mlbraham
Comment Utility
Thanks for the above.  I've managed to install them, done the 'make config' etc, and all is loaded with no further error messages. All should work, but doesn't, as despite the pcmcia care being recognized and 'modem or serial' in slot 1, the modem does not connect, and the system gives me a 'modem is busy' message.

This has sent me back to the HOW TO, and dealing with sections 4.4 PCMCIA serial and modem devices, and 6. Dealing with unsupported cards...

HOWEVER, I've managed to lock myself out of Linux with an apparently corrupt password file, as it no longer accepts my root password, and although it permits me into my user directory, I can't deal with the root matters from there.  Is there a way in?

I  tried to do an upgrade installation so that I could avoid re-writing over my root partition, but Mandrake just skips the password segment with that. I then tried a re-installation without loading any new packages, but as I obviously didn't load any new packages/folders, it also skipped the password segment.

Would you know what might be the particular folder of what particular package I should reload that will enable me to re-define my password so I can get back in to the system?  

Thanks.
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
Yes, you can get in with a single user boot ("linux single" at the lilo prompt). You can then set a new root passsword.
0
 

Author Comment

by:mlbraham
Comment Utility
Thanks. I'll tryit. Incidetally, is there something wrong with the EE points accounting? I thought I had assigned 200 to the original questions (and anyway want to put the remaining 160 to your credit), but they show you got 20 ?.
0
 

Author Comment

by:mlbraham
Comment Utility
I used 'linux single',and this got me to the prompt, but I haven't any idea how to set a new root password. I tried the 'man' pages, but no pages for 'password' exist apparently. I tried to edit vi /etc/shadow, but this is a read only file, and all I got was 'you don't exist go away'!...


0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
Sorry, I tend to forget that lots of folks now aren't used to dealing with Linux/Unix from a command line. The Gui's make it easier, but they hide what they are doing. The command you want is "passwd". Simply type passwd at the prompt (you are always in root's account in single user mode) and it'll prompt for a new password.

One thing to check is to see that the first line in /etc/passwd & /etc/shadow respectively  looks very similar to:

root:x:0:0:root:/root:/bin/bash

root:$1$c.iMA9U4$XOOxlbOdFI6IiNAhi/pVU/:11063:0:99999:7:-1:-1:134549444

The shadow file line line won't be exactly the same as the passwords and date last changed will be different on your system. If those lines aren't ther, something else is wrong and we'll need to figure out what happened.

As to the points, once a question has been "answered", the points display changes to what it costs for others to see the answer. You had valued the question at 200 and graded it as an A answer. That resulted in my getting 4x200 (800) points. The cost for subsequent access to a an answered question (other than by you or I) is set at 10% of the original value.
0
 

Author Comment

by:mlbraham
Comment Utility
Thanks,

No, there was no entry for 'root... etc., in the shadow file, only for me, 'mlb'

As to the points - shall we start a further question in order to give you my current points balance (160)? or is there another way?

0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
Hmmm, I wonder how that happened. There should have been entries for root, bin, daemon, adm, etc. in both files. I don't know that I can say what went wrong as I don't know exactly what you've done and in what order. The system should have started fussing about the passwd file as soon as it was changed. Do you remember what you did just prior to finding out that root's account had vanished?

As to opening a new question. That's up to you. I'm quite willing to simply continue this thread, after all it is related to the question.
0
 

Author Comment

by:mlbraham
Comment Utility
Yes, I used vi (see Mandrakeuser.org) 'Dmaged Password-File...etc'

'reboot and type linux init 1

type vi /etc /shadow

--- in any case it is a 'read only' file and would not allow me to do anything.

Following your suggestions above, I arrived at:

PAM_pwdb [12] user (root/102) update failed; pwdb: another process has locked resource...

As I have not yet accumulated any files in Linux (except the installation of the pcmcia card sources), would it not be simpler (although time consuming) to re-install?
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 40

Expert Comment

by:jlevie
Comment Utility
You can edit the shadow file, by first changing it's permissions (chmod +w /etc/shadow). For security reasons, the shadow file is normally kept in a read-only state.

If the password & shadow files are trully screwed up, (i.e., no entries for anything but you) I think I'd go for the re-install. You've got a clearer idea now of what needs to be installed (and added after the install). It's all a part of the learning experience. I always plan on "throwing at least one away" whenever I play with some new OS.

Right now I'm learning the ins & outs of FreeBSD and am starting my third install. Perhaps this one will be close enough to what I'm trying to achive...
0
 

Author Comment

by:mlbraham
Comment Utility
Hi -

I've been out of touch as I had to re-install my Linux-Mandrake OS but found the CD was cracked and have had to wait for a new copy.  I would like to follow up again on the previous problems of pcmcia-modem and soundcard installation. FYI, in the meantime I re-installed SüSE-Linux 6.3, and found how to get the display to work at 16bits -- this is now working in Mandrake as well. Also under SüSE I got the modem to work under minicom and wvdial- although KPPP wouldn't connect and neither would Netscape. I had no luck with the soundcard.

Back in Mandrake, I have installed the latest pcmcia kernel, but have lost the thread of our discussion about getting the modem to connect -- Can we take this up again.  If so, I'll start it as a new topic...

As things now stand, all except the modem/comms and soundard problem have been resolved under Mandrake, and even StarOffice is configured properly and working.

Thanks,
Mark Braham
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
I think that the easiest way to get the soundcard to work is to get the OSS drivers from http://www.opensound.com/. They only cost $20, but you can have sound working with no fiddling around with config files or anything else about five minutes after you finish downloading them. If that sounds too expensive there's always the ALSA drivers at http://www.alsa-project.org/. They can probably be made to work, but it's not nearly as easy and can take quite a bit of fiddling around.

I take it that you've built & installed the current PCMCIA drivers, correct? Does PCMCIA services see the card ("cardctl status" and "cardctl info") and correctly ID it?
0
 

Author Comment

by:mlbraham
Comment Utility
Great to hear from you:

This is the PCMCIA CARD output:

Cardctl Status
Socket 0
5v 16bit PC Card
function 0 [ready] [reg.attn]

Cardctl Config
Socket 0
VCC 5.0v Vpp10.0V Vpp20.0V
Interface type "o" "memory and I/O"
IRQ IO [exclusive] [level]
Speaker output is enabled
function 0:
config base 0x0200
optiion 0x61 status 0x00
pin 0x00- ext -0x00
1v 0x0af8 - 0x0aff[8-bit]

Card ctl ident
Socket 0: Option International GSM Ready 56k & GSM
PC Card Modem
021 A
manfid: 0x0013,0x000
funct 2 (serial)

BUT - note that when I do an 'ifconfig'  for network devices, there is no 'ppp0'.

KPPP tells me 'modem ready' but doesn't do anything or go anywhere.

Can you tell me which log files I should upload to you in order to find out what's not working ... EXCEPT, this Experts Exchange system doesn't provide a space for sending files...!

Also, please tell me how to transfer my points to you - there some 260 odd to come your way.  If I start a new question, will someone else grab it?

Thanks,
Mark Braham
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
The card seems to ID properly and the system has assiged it an IO Port & IRQ. You won't see a ppp0 device until you establish a ppp session with pppd or kppp, so it's normal not to see eth0 in the ifconfig output when ppp isn't running.

In the Setup section of kppp there's a button that will do a Modem test. First you need to know what serial device the modem is using. If the laptop only has one on-board serial device it will be /dev/ttyS0 and the modem will the next (/dev/ttyS1). With two COM ports they'd be ttyS0 & ttyS1 and the modem would be ttyS2. So tell kppp to use the appropriate /dev/ttyS*, then try running the "Modem Query". If everything is working you'll see it send commands to the modem and get responses back. Assuming that works, you need to create a ppp "Account" in kppp and fill in the phone number of the ISP, the login name to the ISP, and the password. Typically you'll be using a dynamically assigned IP and you want kppp to set the default route. Most of the time you'll find that kppp needs to be configured with the domain & nameserver info for your ISP (and be told to use that when connected).

As to another question, yes if you simply open one someone else may grab it. You can, and people do on occassion, open a question with a title like "Points for jlevie" as a means of directing theaward of points to some expert. It's not done a lot, but it is the most appropriate means of handling a situation like this.
0
 

Author Comment

by:mlbraham
Comment Utility
All done and no luck several times. KPPP modem query gives a modem does not respond reply to ttyS0; it says modem ready.....on ttyS1 and modem busy on ttyS2. As the modem functions under dos/windows as on Com3, I thought ttyS2 would be correct for LINUX - but I guess the OS makes it own decisions.

I've filled in everything more tha once, which is why I get concerned when ifconfig shows no ppp0. To deal with this, I have even used Mandrake's 'Drake-X to set up the 'ppp0' and have finally gone into a Linux-Mandrake set of instructions (found through mandrake-user-org), called 'Dial-up Networking (PPP). whic starts with a test: /usr/sbin/pppd - which displays the code and then with /sbin/ifconfig gives 'lo' and 'UP LOOPBACK:

from there on, I have set up:

/etc/resolve.conf

/etc/ppp/peers

/etc/ppp/pap-secrets

/etc/ppp/options

but when I get to running /etc/ppp/peers, nothing happens, and I obviously do not know enough to find the error.

I will create a 'Points for jlevie' question

 
I
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
kppp is responding as I would expect. You get modem ready using ttyS1 and I assume that you see the query/response info in the "Modem query window".

Have you created a ppp account in kppp using /dev/ttyS1 as the device? What happens if you try to "Connect" in kppp?
0
 

Author Comment

by:mlbraham
Comment Utility
connect in kppp does nothing. But wait, I'll log back in to Linux and tell you once I have done it again.  My guess is that although KPPP has contacted the port (ttS1) it is not able to wake up the modem so there is some configuration failure somewhere. Do you know whicg logs I should be looking at?
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
Checking the modem is what "Modem query" is supposed to do. If it can successfully talk to the modem it will tell you so and it should then be able to dial what ever number you've set for that ppp account.
0
 

Author Comment

by:mlbraham
Comment Utility
'KPPP connect' >>> 'modem ready'  and then 'initializing modem'.  As I suspected, it cannot get the modem to initialize.

Under 'Query Modem', it returns
AT
AT 1 ____
AT 2_____
AT 3_____

all as blanks through AT7, so the query results are negative.

I've looked at the boot log:

pcmcia: starting pcmcia succeeded
pcmcia: modules
pcmcia: cardmgr
rc: Starting pcmcia succeeded

(So, no problem with the card. )

But:  

ifup SIOCADDRT: Network is unreachable  

( this may be ok as I am running a standalone non-networked machine)

ifup: Failed to activate ppp0 with error 2  

(WHAT does this mean, and what do I have to do?)

 
0
 

Author Comment

by:mlbraham
Comment Utility
Something strange - this comment to you just came back to me!!

MB.
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
I'm thinking about what to suggest as the next step in debugging the the modem.

The ifup error is because you've managed to create a ppp0 device and need to undo that. When we get the modem working, kppp will create ppp devices on-the-fly as needed.
0
 

Author Comment

by:mlbraham
Comment Utility
OK I'll wait for your furher  comments
0
 

Author Comment

by:mlbraham
Comment Utility
While waiting (it's ok - it's a weekend :-), I've reinstalled in order to be sure to have cleaned out my various attempts to set up a ppp.  The problem with the 'ppp0' error was caused by using Mandrakes DrakeConfig which provides a gui for setting up a network. As I am not using a network, I've left it alone this time.

But, the situation is the same with KPPP. It has all the right things in it from the installation: ISP name, tel.number, username, password, etc. It finds the modem on ttyS1, tells me 'modem ready', then 'initializing modem', but obviously the midem does not initialize, and then as previously, Under 'Query Modem', it returns
                  AT
                  AT 1 ____
                  AT 2_____
                  AT 3_____

all as blanks through AT7, so the query results are negative.

Now, one possibility could be that KPPP is not fully installed.  The Mandrake installation CDs I have provides two: CD-1 for the Linux-Mandrake distribution, and CD-2 for various additionalapplications, including Kppp vs.1.07 in -RPM, and sources (tar.gz).  

Do you have an idea where I should install the sources? I assume that auto opening the RPM (clicking on the file) will send it to an appropriate directory ... should I then switch to that directory and open the sources there?...

I haven't dealt with the sound card yet, as for the present, one solution at a time seems more reasonable. Incidentally, according to my list, my sound chip  'OPL 3-SAx' is supported both by LINUX and by Mandrake 7.0.  


Thanks,
MB













0
 

Author Comment

by:mlbraham
Comment Utility
Hi,

No doubt you are probably busy, but is there any chance of getting a reply to this modem question?

Many thanks,

Mark Braham
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
I'm sorry, I missed getting a notification (or it got lost somehow) of your previous comment.

To eliminate the possiblity of kppp being the culprit, you can open a cu session to the modem (as root, "cu -s 9600 -l /dev/ttyS1") and issue an "AT" command to see if you can elicit a response. Since it's not intuitively obvious, you end a "cu" session by typing "<Enter>~.<Enter>. If you can't elicit a response to an "AT" command from cu, it's possible that the modem card isn't working, that it doesn't implement an AT command set (and thus won't work on Linux), or that the PCMCIA drivers still aren't working. To eliminate the last possiblity, you'd need to borrow a card that's known to work and repeat the cu and/or kppp test.
0
 

Author Comment

by:mlbraham
Comment Utility
The result from : cu -s 9600 -l /dev/ttyS1 is:  "command not found".  

As to the modem working or not - it works in so far as I am corresponding with you, (under Dos/Windows/Outlook Express. And it works under SüSE Linux's wvdial and Kppp.  This is why I am wondering about the Kppp in Mandrake, hence my earlier thought and question:

"Now, one possibility could be that KPPP is not fully installed.  The Mandrake installation CDs I have provides two: CD-1 for the  Linux-Mandrake distribution, and CD-2 for various additionalapplications, including Kppp vs.1.07 in -RPM, and sources (tar.gz).  

Do you have an idea where I should install the sources? I assume that auto opening the RPM (clicking on the file) will send it to an appropriate directory ... should I then switch to that directory and open the sources there?... "

Thanks.
0
 

Author Comment

by:mlbraham
Comment Utility
A further note:

Boot log shows:

Bringing up interface lo: OK
Bringing up interface ppp1
Failed to activate ppp1; retrying in background - FAILED

My attempt to run Linuxconfig and query modem now gives: "Sorry, modem device is locked".  Any ideas about how to unlock it?

Thanks.
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
I don't think I understand where the ppp devices keep comming from if you are only trying to use kppp. I know that Red Hat (which is what Mandrake is based on) doesn't do that unless you configure something like pppd. Can you see anything like "ppp" in the output of "ps -ef"?

One thing to try is to boot the system without the modem card. Then look in /proc/interrupts and /proc/pci and note what IRQ's are in use. Then boot with modem card inserted and check the IRQ's again. If there is an IRQ conflict you ought to be able to see it (and that would explain what we are seeing).
0
 

Author Comment

by:mlbraham
Comment Utility
Thanks - but as I do not know enough to know what is what, I'm copying the various outputs below:  One problem that I may have caused is that as my latest attempts with Kppp didn't work, I tried to use Linuxconfig... and the result of that is that Kppp tells me 'sorry,modem device is locked', and I have no idea how to unlock it, or to clear out which offending text from what files.  /dev/modem incidentally shows no content when opened with an editor.

ps -ef:

UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 10:48 ?        00:00:04 init [5]
root         2     1  0 10:48 ?        00:00:00 [kflushd]
root         3     1  0 10:48 ?        00:00:00 [kupdate]
root         4     1  0 10:48 ?        00:00:00 [kpiod]
root         5     1  0 10:48 ?        00:00:00 [kswapd]
root         6     1  0 10:48 ?        00:00:00 [mdrecoveryd]
root       243     1  0 10:48 ?        00:00:00 /sbin/ppp-watch ifcfg-ppp1 bootroot       273     1  0 10:49 ?        00:00:00 /usr/sbin/apmd -p 10 -w 5 -W -groot       325     1  0 10:49 ?        00:00:00 syslogd -m 0
root       335     1  0 10:49 ?        00:00:00 klogd
daemon     350     1  0 10:49 ?        00:00:00 /usr/sbin/atd
root       375     1  0 10:49 ?        00:00:00 crond
root       390     1  0 10:49 ?        00:00:00 /sbin/cardmgr
root       405     1  0 10:49 ?        00:00:00 inetd
root       429     1  0 10:49 ?        00:00:00 lpd
root       508     1  0 10:49 ?        00:00:00 /usr/lib/postfix/master
postfix    517   508  0 10:49 ?        00:00:00 pickup -l -t fifo
postfix    518   508  0 10:49 ?        00:00:00 qmgr -l -t fifo -u
root       530     1  0 10:49 ?        00:00:00 gpm -t ps/2
xfs        546     1  0 10:49 ?        00:00:02 xfs -port -1 -daemon
root       575     1  0 10:49 tty1     00:00:00 login -- root
root       576     1  0 10:49 tty2     00:00:00 /sbin/mingetty tty2
root       577     1  0 10:49 tty3     00:00:00 /sbin/mingetty tty3
root       578     1  0 10:49 tty4     00:00:00 /sbin/mingetty tty4
root       579     1  0 10:49 tty5     00:00:00 /sbin/mingetty tty5
root       580     1  0 10:49 tty6     00:00:00 /sbin/mingetty tty6
root       581     1  0 10:49 ?        00:00:00 kdm -nodaemon
root       588   581  2 10:49 ?        00:00:36 /etc/X11/X -auth /etc/X11/xdm/auroot       589   581  0 10:49 ?        00:00:00 -:0
root       604   589  0 10:50 ?        00:00:01 kwm
root       634     1  0 10:50 ?        00:00:01 kikbd
root       643   604  0 10:50 ?        00:00:00 [kwmsound <defunct>]
root       644   604  0 10:50 ?        00:00:03 kpanel
root       645   604  0 10:50 ?        00:00:08 kfm
root       646   604  0 10:50 ?        00:00:00 krootwm
root       647   604  0 10:50 ?        00:00:00 kbgndwm
root       675     1  0 10:50 ?        00:00:00 kcmlaptop -daemon
root      1047   575  0 11:09 tty1     00:00:00 -bash
root      1071   243  0 11:11 ttyS1    00:00:00 /usr/sbin/pppd -detach lock moderoot      1078  1071  0 11:11 ?        00:00:00 [ifup-ppp <defunct>]
root      1081  1071  0 11:11 ttyS1    00:00:00 /usr/sbin/chat -f /etc/sysconfigroot      1083     1  1 11:11 ?        00:00:00 konsole
root      1084  1083  0 11:11 pts/0    00:00:00 /bin/bash
root      1097  1084  0 11:11 pts/0    00:00:00 ps -ef
[root@localhost /etc]#
                                           

WITHOUT MODEM CARD::
/proc/inerrupts:

CPU0    
 0:      21284  XT-PIC  timer
 1:              8  XT-PIC  keyboard
 2:              0  XT-PIC  cascade
 3:            20  XT-PIC  serial
 6:            42  XT-PIC  floppy
 8:              1  XT-PIC  rtc
12:       8093 XT-PIC  PS/2 Mouse
13:             1 XT-PIC  fpu
14:     65532 XT-PIC  ide0
15:            4 XT-PIC  ide1
NMI:          0
---------
/proc/pci:

PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel 440BX - 82443BX Host (no AGP) (rev 2).
      Medium devsel.  Master Capable.  Latency=64.  
      Prefetchable 32 bit memory at 0x0 [0x8].
  Bus  0, device   3, function  0:
    CardBus bridge: O2 Micro Unknown device (rev 98).
      Vendor id=1217. Device id=6836.
      Slow devsel.  Master C
apable.  Latency=168.  Min Gnt=128.Max Lat=4.
  Bus  0, device   3, function  1:
    CardBus bridge: O2 Micro Unknown device (rev 98).
      Vendor id=1217. Device id=6836.
      Slow devsel.  Master Capable.  Latency=168.  Min Gnt=128.Max Lat=4.
  Bus  0, device   6, function  0:
    VGA compatible controller: Chips & Technologies 65555 (rev 198).
      Medium devsel.  Fast back-to-back capable.  
      Non-prefetchable 32 bit memory at 0xfd000000 [0xfd000000].
  Bus  0, device   8, function  0:
    Bridge: Intel 82371AB PIIX4 ISA (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No bursts.  
  Bus  0, device   8, function  1:
    IDE interface: Intel 82371AB PIIX4 IDE (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.  
      I/O at 0xfcf0 [0xfcf1].
  Bus  0, device   8, function  2:
    USB Controller: Intel 82371AB PIIX4 USB (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.  
      I/O at 0xfcc0 [0xfcc1].
  Bus  0, device   8, function  3:
    Bridge: Intel 82371AB PIIX4 ACPI (rev 1).
      Medium devsel.  Fast back-to-back capable.  

--------------------------
WITH MODEM CARD
/proc/interrupts:      

 CPU0      
  0:      36537     XT-PIC  timer
  1:              8     XT-PIC  keyboard
  2:              0     XT-PIC  cascade
  3:            39     XT-PIC  serial
  6:            10     XT-PIC  floppy
  8:               1    XT-PIC  rtc
 12:      16019    XT-PIC  PS/2 Mouse
 13:              1    XT-PIC  fpu
 14:      73545    XT-PIC  ide0
 15:              4    XT-PIC  ide1
NMI:              0

/proc/pci
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel 440BX - 82443BX Host (no AGP) (rev 2).
      Medium devsel.  Master Capable.  Latency=64.  
      Prefetchable 32 bit memory at 0x0 [0x8].
  Bus  0, device   3, function  0:
    CardBus bridge: O2 Micro Unknown device (rev 98).
      Vendor id=1217. Device id=6836.
      Slow devsel.  Master Capable.  Latency=168.  Min Gnt=128.Max Lat=4.
      Non-prefetchable 32 bit memory at 0x68000000 [0x68000000].
  Bus  0, device   3, function  1:
    CardBus bridge: O2 Micro Unknown device (rev 98).
      Vendor id=1217. Device id=6836.
      Slow devsel.  Master Capable.  Latency=168.  Min Gnt=128.Max Lat=4.
      Non-prefetchable 32 bit memory at 0x68001000 [0x68001000].
  Bus  0, device   6, function  0:
    VGA compatible controller: Chips & Technologies 65555 (rev 198).
      Medium devsel.  Fast back-to-back capable.  
      Non-prefetchable 32 bit memory at 0xfd000000 [0xfd000000].
  Bus  0, device   8, function  0:
    Bridge: Intel 82371AB PIIX4 ISA (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No bursts.  
  Bus  0, device   8, function  1:
    IDE interface: Intel 82371AB PIIX4 IDE (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.  
      I/O at 0xfcf0 [0xfcf1].
  Bus  0, device   8, function  2:
    USB Controller: Intel 82371AB PIIX4 USB (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=64.  
      I/O at 0xfcc0 [0xfcc1].
  Bus  0, device   8, function  3:
    Bridge: Intel 82371AB PIIX4 ACPI (rev 1).
      Medium devsel.  Fast back-to-back capable.  

0
 

Author Comment

by:mlbraham
Comment Utility
PS.

To add to my confusion

-s -l /dev/modem points to ttS2 as the comport.  But, under Kppp I got the
folloiwing:

- 'query modem' gives 'modem does not respond' to ttyS0;
- 'query modem' gives 'modem ready' on ttyS1 (although under
Dos/Windows Com3 is used);
- 'query modem' gives 'modem busy' under ttys2

0
 

Author Comment

by:mlbraham
Comment Utility
Monday, 15 May, 19.00 hrs CET


1. There is no need to deal with the 'device is locked'' problem: I've re-built the Kppp RPM so can start with a clean interface.

2. As to where the 'ppp devices' come from when I'm only trying to use Kppp - that is clear: they come from Linuxconfig, which I have attempted to set up because Kppp doesn't configure properly.

3. My conclusion is that the problem is possibly a 'Kppp' error, so the ultimate solution may be to find out why Kppp does not read the correct Comport : ttyS2, and what to do about it.

Thanks,

Mark Braham
0
 

Author Comment

by:mlbraham
Comment Utility
Hi-

As there has been no further word from you, does this mean you have dropped the question?  As you know, I have appreciated your help, and would like to finally get the modem problem solved.  Or should I repost the question for someone else to look at.  It would be very helpful to know.

Many thanks,

Mark Braham
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
No, I seemed to have missed a notification.

The first thing to do is to blow away the ppp set up that you've done in linuxconf. I suspect that kppp is getting a "modem busy" because the device is locked up by something trying to use it for ppp0. Basically you can arrainge to dial up via pppd or kppp, but not both.

If you still get "modem busy" from kppp, you can try to find out who has the device open by doing "lsof | grep ttyS" and/or "lsof | grep modem".
0
 

Author Comment

by:mlbraham
Comment Utility
"you can try to find out who has the device open by doing "lsof | grep ttyS" and/or "lsof | grep modem".

Sorry - my ignorance is in the way: both commands only return me to the prompt without displaying any information.

0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
That means that lsof (which basically shows what processes have opened a file, in this case /dev/ttyS* or /dev/modem) can't find anything that is using the modem.

If that's the case, and kppp still reports "modem busy" then it becomes more likely that the PCMCIA drivers aren't properly communicating with the card. If you do a "cardctl eject" and remove the card what does kppp say when you try to check the modem?
0
 

Author Comment

by:mlbraham
Comment Utility
It looks as if my last message to you last night (CET) didn't register. It was to the effect that:

"lsof | grep ttyS" and/or "lsof | grep modem" say:

"can't start ( ) vfat file system <Supermount>
Output information  may be incomplete.

Also:

"test_modem" says:

"checking modem at dev/ttyS2, UART 16550a, Port: 0x13f8, IRQ: 10
Syswrite ( ): Input/output error"
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
The "lsof | grep ttyS" would normally only produce output if the string "ttyS" appeared someplace in the lsof output (error would still be reported and they were). For grins, run lsof and you should see lots of output, including the error shown above. It's probably not meaningful in this case.

The test_modem output is very significant in that it reinforces what's being seen with kppp. My guess right now is that either there's an IRQ conflict, or the PCMCIA drivers simply aren't working correctly. I don't see any evidence of an IRQ conflict, which version of the PCMCIA drivers do you have installed?
0
 

Author Comment

by:mlbraham
Comment Utility
" which version of the PCMCIA drivers do you have installed?"

vers. 2.2.14 -15.
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
That's the kernel version, not the modules version. The modules version will be 3.1.x. If you installed the kernel sources there ought to be a dirctory like pcmcia-3.1.x in somewhere within /usr/src (probably in /usr/src/linux).
0
 

Author Comment

by:mlbraham
Comment Utility
Somehow my last message got lost.  Anyway, I have installed the latest drivers:  3.1.15, as the 'make' process called for sources, I used the RPM on the OS CD, all has been completed. The IRQ is 3; irq_mode is 0x80. Test_modem says 'the modem is operating normally'.

BUT:

Despite completing all of the settings requirements, the KDE mail
client does not find the dialler and hence does not connect. Nor does Netscape.

-Mail Client says :  Account Mark Braham in OPEN: The server was not
found;

- Netscape says:  Netscape is unable to locate the server "www..... etc."
(which in this case is my ISP home page...)

What it means is the Kppp calls up the ISP; the two modems shake hands
and whistle at each other; the Kppp log shows it is all going on with a
"Connect", but I haven't figured out how to get Mail Client and Netscape to
find the connection (I have no difficulty with Outlook Express and Netscape
under Windows, incidentally).

Could you look at the following outputs, and particulalry the /var/log
message (see "<--"),  and the test_modem output which shows what appears to be an IRQ conflict:
-----------------------
KPP MINI_TERMINAL CONNECT LOG  (strangely does not echo my input, e.g. ATDT & telephone no...)

OK

(my ATDT + tel.no here....)

CARRIER 24000

PROTOCOL: LAP-M

COMPRESSION: V.42BIS

CONNECT 24000/ARQ
You are on node Freesurf infomaniak-2-1

Username :mlbraham
Password:

}#@!}!}!} }?}!}$}%j}%}&y{9-}'}"}(}"}1}$}%j}3}#}
qy~}#@!}!}"} }?}!}$}%j}%}&y{9-}'}"}(}"}1}$}%j}3}#} d ~}#@!}!}#}
}?}!}$}%j}%}&y{9-}'}"}(}"}1}$}%j}3}#} }78~}#@!}!}$}
}?}!}$}%j}%}&y{9-}'}"}(}"}1}$}%j}3}#} NZ~}#@!}!}%}
}?}!}$}%j}%}&y{9-}'}"}(}"}1}$}%j}3}#} =z~}#@!}!}&}
}?}!}$}%j}%}&y{9-}'}"}(}"}1}$}%j}3}#} (};~}#@!}!}'}
}?}!}$}%j}%}&y{9-}'}"}(}"}1}$}%j}3}#} [;~}#@!}!}(}
}?}!}$}%j}%}&y{9-}'}"}(}"}1}$}%j}3}#}  V~}#@!}!})}
}?}!}$}%j}%}&y{9-}'}"}(}"}1}$}%j}3}#} xv~}#@!}!}*}
}?}!}$}%j}%}&y{9-}'}"}(}"}1}$}%j}3}#} m ~
NO CARRIER

(my ATH here)
OK
_____________________

PPPD

[root@localhost /root]# pppd
~ÿ}#À!}!}!} }4}"}&} } } } }%}&ÚËÐ^}'}"}(}"¸`~~ÿ}#À!}!}!} }4}"}&} } } }
}%}&ÚËÐ^}'}"}(}"¸`~~ÿ}#À!}!}!} }4}"}&} } } } }%}&ÚËÐ^}'}"}(}"¸`~~ÿ}#À!}!}!}
}4}"}&} } } } }%}&ÚËÐ^}'}"}(}"¸`~~ÿ}#À!}!}!} }4}"}&} } } }
}%}&ÚËÐ^}'}"}(}"¸`~~ÿ}#À!}!}!} }4}"}&} } } } }%}&ÚËÐ^}'}"}(}"¸`~~ÿ}#À!}!}!}
}4}"}&} } } } }%}&ÚËÐ^}'}"}(}"¸`~~ÿ}#À!}!}!} }4}"}&} } } }
}%}&ÚËÐ^}'}"}(}"¸`~~ÿ}#À!}!}!} }4}"}&} } } } }%}&ÚËÐ^}'}"}(}"¸`~~ÿ}#À!}!}!}
}4}"}&} } } } }%}&ÚËÐ^}'}"}(}"¸`~[root@localhost /root]#

_____________________________

ROUTE

[root@localhost /root]# route
Kernel IP routing table
Destination  Gateway      Genmask      Flags Metric Ref    Use Iface
127.0.0.0    *            255.0.0.0    U     0      0      0 lo
____________________________

IFCONFIG

[root@localhost /root]# ifconfig lo
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
_____________________________

EXCERPT FROM /VAR/LOG/MESSAGES (see "<---")

May 24 07:33:05 localhost kernel: NET4: Unix domain sockets 1.0 for Linux
NET4.0.
May 24 07:33:05 localhost kernel: NET4: Linux TCP/IP 1.0 for NET4.0
May 24 07:33:05 localhost kernel: IP Protocols: ICMP, UDP, TCP, IGMP
May 24 07:33:05 localhost kernel: TCP: Hash tables configured (ehash 65536 bhash 65536)
May 24 07:33:05 localhost kernel: Initializing RT netlink socket
May 24 07:33:05 localhost kernel: Starting kswapd v 1.5
May 24 07:33:05 localhost kernel: Detected PS/2 Mouse Port.
May 24 07:32:47 localhost rc.sysinit: Mounting proc filesystem succeeded
May 24 07:32:47 localhost date: Wed May 24 07:32:46 CEST 2000
May 24 07:32:47 localhost rc.sysinit: Setting clock : Wed May 24 07:32:46
CEST 2000 succeeded
May 24 07:32:47 localhost rc.sysinit: Loading default keymap succeeded
May 24 07:32:47 localhost rc.sysinit: Activating swap partitions succeeded
May 24 07:32:47 localhost rc.sysinit: Setting hostname localhost.localdomain succeeded
May 24 07:32:47 localhost fsck: e2fsck 1.18, 11-Nov-1999 for EXT2 FS 0.5b,
95/08/09
May 24 07:32:47 localhost fsck: /dev/hda6: clean, 70172/152640 files,
274016/305227 blocks
May 24 07:32:47 localhost rc.sysinit: Checking root filesystem succeeded
May 24 07:32:47 localhost rc.sysinit: Remounting root filesystem in
read-write mode succeeded
May 24 07:32:47 localhost fsck: e2fsck 1.18, 11-Nov-1999 for EXT2 FS 0.5b,
95/08/09
May 24 07:32:47 localhost fsck: /dev/hda5: clean, 27/2000 files, 1087/8001
blocks
May 24 07:32:47 localhost fsck: e2fsck 1.18, 11-Nov-1999 for EXT2 FS 0.5b,
95/08/09
May 24 07:32:47 localhost rc.sysinit: Checking filesystems succeeded
May 24 07:32:47 localhost fsck: /dev/hda8: clean, 3315/164736 files,
40445/329324 blocks
May 24 07:32:49 localhost rc.sysinit: Mounting local filesystems succeeded
May 24 07:32:49 localhost rc.sysinit: Turning on user and group quotas for
local filesystems succeeded
May 24 07:32:49 localhost rc.sysinit: Enabling swap space succeeded
May 24 07:32:51 localhost mandrake_everytime: Building Window Manager
Sessions succeeded
May 24 07:32:51 localhost init: Entering runlevel: 5
May 24 07:33:01 localhost kudzu:  succeeded
May 24 07:33:02 localhost network: Bringing up interface lo succeeded <---
May 24 07:33:02 localhost ifup-ppp: pppd started for ppp1 on  at  <---
May 24 07:33:02 localhost pppd[245]: no device specified and stdin is not a
tty <---
May 24 07:33:02 localhost ifup: Failed to activate ppp1 with error 2 <---
May 24 07:33:02 localhost network: Bringing up interface ppp1 failed <---
May 24 07:33:03 localhost apmd[269]: Version 3.0beta9 (APM BIOS 1.2, Linux driver 1.9)
May 24 07:33:03 localhost apmd: apmd startup succeeded
May 24 07:33:03 localhost random: Initializing random number generator
succeeded
May 24 07:33:03 localhost netfs: Mounting other filesystems succeeded
May 24 07:33:05 localhost kernel: Serial driver version 4.27 with MANY_PORTS MULTIPORT SHARE_IRQ enabled
May 24 07:33:07 localhost kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
May 24 07:33:07 localhost kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A<--

_____________

BUT, NOTE THE PERL TEST_MODEM MESSAGE:

[root@localhost /home]# perl test_modem
Checking modem at /dev/ttyS2:
  Settings: /dev/ttyS2, UART: 16550A, Port: 0x13f8, IRQ: 3 <---
  ATI3 = 'OK '
  The modem is operating normally.

Here the modem is /dev/ttyS2 on IRQ:3 , but in the above /var/log/message it ttys01 is on irq = 3! Is this the problem, and how do I untangle it?


Thanks,

Mark Braham

0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
Last things first... I don't see where the modem is detected in the /etc/messages file. I do see it detecting the on-board COM ports and since the kernel has "MANY_PORTS MULTIPORT SHARE_IRQ" enabled the modem can be at IRQ 3 at the same time that COM2 (aka tty01, ttyS1) is using IRQ 3. That's not a good thing and can easily be solved by disabling COM2 in the bios.

There's apparently also a ppp device configured. You can see it fail during boot when it tries to "ifup ppp1". For now I'd remove any ppp devices from the config and stick with kppp to lessen the confusion factor.

Okay, run kppp and get connected to the ISP. While connected get the output of "ifconfig -a", "netstat -rn", and the contents of /etc/resolv.conf into one or more files. Then paste those into a comment so that I can see how much of the network has been configured.
0
 

Author Comment

by:mlbraham
Comment Utility
Thanks - problem solved :-))

Somehow, /resolv.conf had the domain name and IP nos. blocked with ###'s and a 'local host' instruction working.  All is now correrct, I can use mail and netscape finally, after these weeks of trying.  I'll get rid of the ppp1, thanks for indicating where to find it.

Last task: sound card!  Yes, I have the drivers, just need some time to get to their installation.  I'll be back in touch.
0
 

Author Comment

by:mlbraham
Comment Utility
I haven't responded further as I have been caught up in a spate of other activities.  Essentially Kppp works, so does the Mandrake 'mail client' and Netscape, althoigh I have to start the dialler manually, rather than it dialling upè automatically when I run the mail client or Netscape.  But, can you tell me in which config file I should look to remove the ppp1 device - I haven't managed to find it, and although Drake(Linux)config was the source of the problem, it doesn't have an obvious 'remove' or 'delete' function.

As to the soundcard problem, somehow I have managed to get 'Lothar' to recognize the card, even to indicate its I/O, IRQ, etc, but when I test it I get a 'soundcard is busy' message, which suggests to me that there is either a wrong configuration, and IRQ conflict or something is marked with a '#' in some file. Have you an idea where I should look? Thanks.

0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
The soundcard could be a driver problem or an IRQ conflict. The versions of the sound support that's distributed with Linux is, well, poor at best. The easiest, cleanest, and best performing solution is to obtain a copy of the commercial ($20US) OSS drivers (http://www.opensound.com/). If that's too expensive the ALSA drivers are a free alternative and can be had from http://www.alsa-project.org/.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
AWS Advice on using WHM/cPanel 1 58
Linux operating system 12 64
Edit linux file using python 4 19
My bash alias isn't executing 5 31
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now