LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-23-2003, 01:10 AM   #16
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,839

Rep: Reputation: 48

The WVdial FAQ suggests checking a couple log files for error messages.
Quote:
/var/log/messages or /var/log/ppp.log depending your distribution
http://dsb3.com/wvdial/wvfaq-4.html

Your wvdial output matches mine (USR external) exactly, except mine continues on to dial and connect.

Do you have any added services on your phone? Call waiting and message mailbox are both mentioned in the FAQ.

If you plug a phone into your modem, does it work?
 
Old 07-23-2003, 01:57 AM   #17
bmike1
Member
 
Registered: Jul 2003
Posts: 132

Original Poster
Rep: Reputation: 15
I have no features on my phone which is plugged into my modem as we speak (and works).
But this /var/log/messages is interesting.
Check this out:
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS02 at 0x03e8 (irq = 4 is a 16550A
PCI assigned IRQ 9 for device 00:b0
Redundant entry in serial pci_table. Please send the output of lspci -vv, this message (12b9, 1008, 12b9, 00d3)and the manufacturer and name of serial board or modem board to serial-pci-info@lists.sourceforge.net ttyS04 at port 0xec0000 (irq = 9) is a 16550A

lspci -vv
00:0b.0 Serial controller US Robotics/3Com 56K Fax/Modem Model 5610 (rev 01) (prog-if 02 [16550])
Subsystem:USRobotics/3Com= Unknown device 00d3
Control: I/O + Mem- BusMaster- SpecCycle- MemWIN- VGASnoop- ParERR- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR+
Interrupt: pin A routed to IRQ 9
Region 0: I/O ports at ec00 [size 8]
Capabilities: [dc] Power management version 2
Flags PMEClk- DSI- D1- D2- AuxCurrent= 0mA PME (D0+, D1-, D2+, D3hot+, D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-


Last edited by bmike1; 07-23-2003 at 10:14 AM.
 
Old 07-24-2003, 01:30 AM   #18
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,839

Rep: Reputation: 48
On my Debian Woody system there is an /etc/serial.conf file with an entry similar to your original question:
/dev/ttyS0 uart 16550A port 0x03f8 irq 4 baud_base 115200 spd_normal skip_test
/dev/ttyS1 uart 16550A port 0x02f8 irq 3 baud_base 115200 spd_normal skip_test
I could not find the same file on Knoppix 3.1 last night.
I still find it odd that the wvdial program gets as far as a dial tone then stops without dialing. I would think it would either not get a dial tone or fail to connect after dialing. That part makes no sense to me.
Are you trying these fixes from the Knoppix CD or the version on your hard drive? The advantage to using the CD would be that you are starting fresh each time and could just apply the real fix to your hard drive, if one is found.
 
Old 07-24-2003, 07:53 AM   #19
bmike1
Member
 
Registered: Jul 2003
Posts: 132

Original Poster
Rep: Reputation: 15
I also find it strange that it won't dial after picking up the dial tone. It is as if the program were broken. What exactly does your wvdial.conf file look like? Maybe that is what is wrong. I mean do you have the pointy brackets <> in it or didyou not include them with the phone number? <6028431471> or 6028431471

Last edited by bmike1; 07-24-2003 at 08:12 AM.
 
Old 07-24-2003, 08:16 AM   #20
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,839

Rep: Reputation: 48
The ";" should be deleted (which I am guessing you did), and there should be no brackets around the information you input into the phone, username, and password.
Phone = 123-4567
Username = user (or user@myisp.com, as needed)
Password = secret
 
Old 07-24-2003, 08:59 AM   #21
bmike1
Member
 
Registered: Jul 2003
Posts: 132

Original Poster
Rep: Reputation: 15
That did it! I had left the <> in the wvdial and it didn't like that.
There is something else; there isn't a CDRom icon and the floppy icon returns the message, "Unable to run the command specified. The file or directory file:/mnt/floppy does not exist." After this happened I, being the curious guy I am, opened Konqueror onto /mnt and discovered only hard drive icons.
It appears Knoppix didn't like being installed on a hard drive:-) Then I loaded it from the CD and found out they were not on the original either. Could you help me with this or should I start a new thread?
 
Old 07-24-2003, 07:41 PM   #22
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,839

Rep: Reputation: 48
Quote:
That did it!
Great! I didn't think your modem should require a lot to get it working, but I was beginning to wonder.
Your other question probably does belong in another thread. But I can mention a few things...
Knoppix is a spruced up and better automated Debian that can be run from CD. It is generally set up the same with some differences.
To access a drive it needs to be mounted. There needs to be a detected device in the /dev directory. One floppy drive is almost always going to be /dev/fd0. A CDROM drive is considered as a hard drive device (since it plugs into the same channel on your mainboard), and may vary depending on your actual setup. One CDROM is usually going to be /dev/hdc.
Then there needs to be a mount point to "mount the device to your filesystem". These you can completely make up or use standard choices.
My regular Debian install uses /floppy and /cdrom as the mount points. I see that the Knoppix CD uses /mnt/floppy and /mnt/cdrom as the mount points.
I have heard that some people are surprised that a Knoppix hard drive install is more like Debian than their Knoppix run from CD. I have never done a Knoppix hard drive install so I do not really know much about the differences, if any.
There could be an issue with incorrect mount points (minor), or your device not being recognized (major?).
I am not going to fool much with whether you have an icon on your desktop or not. Generally you can right click on them to correct a misconfigured icon or on your desktop to create a new one.
Assuming your devices are recognized, this is how you use the command line to make them available. (Check 'man mount' for further clairfication)
To mount the device (after inserting the media) use,
mount device mountpoint
Your floppy should work for sure with:
mount /dev/fd0 /floppy (or /mnt/floppy-there needs to be a directory by one of these names. Create one of them if it does not exhist. As root, 'mkdir /floppy' or 'mkdir /mnt/floppy')
If there are no error messages you should be able to view the contents of the floppy from either the GUI by going to the /floppy (or /mnt/floppy) directory, or the command line by typing 'ls /floppy' (or 'ls /mnt/floppy').
Same for your CDROM using:
mount /dev/hdc /cdrom (or /mnt/cdrom)
If you are able to access these devices from the command line then there just need to be a few changes to make them easily available from the GUI. Add the correct device and mount point to /etc/fstab ('man fstab'), and correctly configure or create your desktop icons.
Before removing the media you must unmount the device.
umount /floppy (or umount /mnt/floppy)
Yes, umount, not unmount.
 
Old 07-24-2003, 09:18 PM   #23
bmike1
Member
 
Registered: Jul 2003
Posts: 132

Original Poster
Rep: Reputation: 15
fstab

jpico /etc/fstab (cool editor)
/etc/fstab
filesystem mountpoint type option dump pass
/dev/hda5 / ext3 defaults,errors=remount-ro 0 1
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
#partitions found by knoppix
#/dev/sda5 /mnt/sda5 ext3 noauto,users,exec 0 0
#/dev/sda6 /mnt/sda6 ext3 noauto,users,exec 0 0
#/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppix 0
#/dev/hda5 /mnt/hda5 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppix 0
#/dev/hda6 ext3 noauto,users,exec 0 0
#/dev/hda7 ext3 noauto,users,exec 0 0
#/dev/hda8 ext3 noauto,users,exec 0 0

So says fstab. Could I just remove the comment signs (#) to activate the partition? And how would I get it to recognize the M$ partition(s) (I thought therte was only one).

Last edited by bmike1; 07-24-2003 at 09:20 PM.
 
Old 07-24-2003, 09:44 PM   #24
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,839

Rep: Reputation: 48
Ahhhhh!!!
I have not seen an fstab like this. Usually any recognized partitions are not commented out.
It seems to say that your Knoppix install is on the /dev/hda5 partition and that both your floppy and CD ar recognized.
It says you have 2 Windows partitions ( hda1 and 5), 3 other Linux partitoins (hda 6,7,8), and a couple SCSI devices (CDRW, ZIP, USB, or actual SCSI?).
Being commented out does not mean you cannot access the drive. It just means the defaults will not be read and appiled during bootup.
Knoppix usually has the option to "view" your Windows drives read-only by default. I am thinking you can change this to read-write by right clicking on the drive icon. (FAT only, not NTFS)
You may want to confirm any partitions you are not aware of with 'fdisk -l /dev/hda', 'fdisk -l /dev/sda'.
Otherwise, if the drives are valid and the mount points exhist, yes you could see what happens by uncommenting them. I would try manually mounting them VIA command line before that myself.
 
Old 07-25-2003, 03:10 AM   #25
bmike1
Member
 
Registered: Jul 2003
Posts: 132

Original Poster
Rep: Reputation: 15
Why does fstab say that hda5 is ext3 AND vfat? Very peculiar I would say. I put root on hda5. I'll start a new thread now.
 
Old 08-24-2003, 07:14 PM   #26
bmike1
Member
 
Registered: Jul 2003
Posts: 132

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by 2damncommon
I still find it odd that the wvdial program gets as far as a dial tone then stops without dialing. I would think it would either not get a dial tone or fail to connect after dialing. That part makes no sense to me.
I have a new problem. My modem connects but doesn't?

That is right! It dials my ISP and connects without a problem but when I try to download mail it says that I have an unknown host. But it is the host I have always used! So I open the web browser and go to a known web page and it tells me that it can't go there (it gives me the text that it gives when you type in a page but aren't hooked up). Do you have any idea as to what is happening. I did chmod 777 /usr/??????/kppp to make sure that wasn't the problem and I found out it wasn't.
As a heads up I just finished reinstalling debian (from knoppix) for the third or fourth time in two weeks and each time I have done it something is always a little different. One time it was great. Then it wouldn't dial out at all unless I was logged in as su. Another time I could dial from my regular user as long as kppp was started from the terminal which was logged in as root. If there were other s I can't remember them but I know there were times it worked perfectly but I keep running 'apt-get dist-upgrade' which x does not like (the first screen with the debian swirl appears <though the swirl is absent> with three 'toolboxes' in three corners~ I don't really know what they do but I suppose it is a 'window maker') and I can't get out of that screen.

Here is something strange that happened: there was an 's' in the permissions.I looked at 'ls -l /?????/kppp' and the permissions listing said '-rwxr-sr--'. What does 's' mean? Is that a sticky permission? Would you explain that to me?

I have to appologize. This is a double post. I just found this conversation with 2damncommon and I am perty sure you can help me get it to 'resolve' my host.

That was the LAST time I try 'apt-get dist-upgrade'!!!!!!!

Last edited by bmike1; 08-24-2003 at 07:21 PM.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I set up a serial mouse? walterbyrd Slackware 3 10-13-2005 11:29 PM
how to address serial port from c abd_bela Programming 1 06-30-2005 02:48 PM
What info can we get from an ip address? mrpc_cambodia Linux - General 2 12-10-2004 09:37 PM
Dont know how to set IP info valsus Linux - Networking 3 04-14-2004 03:47 PM
how does a brower get URL address info when the website is hiding it? sirpelidor Programming 3 12-05-2003 09:33 PM


All times are GMT -5. The time now is 12:04 AM.

Main Menu
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