LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-19-2003, 01:23 AM   #1
bmike1
Member
 
Registered: Jul 2003
Posts: 132

Rep: Reputation: 15
Cannot set serial info: Address... in use


Hi guys.
I was here at the beginning of the year and then returned to MS because I couldn't get my modem going again. Well I returned and still need to get my modem going (I'm talking to you via windows).
I found a link on this board that took me to
w w w.pla.net.py/home/oliver/3com.html which told me to:
"setserial /dev/ttyS? irq# portI/OADDRESS ^fourport ^auto_irq skip_test autoconfig spd_vhi "
which gave the response :
"Cannot set serial info: Address already in use."
How do I free the address?
I have a US Robotics V92
I am running knoppix from the HD
 
Old 07-20-2003, 05:59 PM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,838

Rep: Reputation: 48
Knoppix should have detected your modem. Is it a hardware modem or one of their Winmodems? I am not sure what kind of support their Winmodems have on Linux.
You should just need to set-up wvdial or kppp with your ISP info.
 
Old 07-20-2003, 06:17 PM   #3
bmike1
Member
 
Registered: Jul 2003
Posts: 132

Original Poster
Rep: Reputation: 15
I know that it is not a WINmodem. It was working under linux before and I bought it to replace a WINmodem (stupid thing cost 80 bucks). I had a guy come over to set it up and he just posted some links in the system(or something like that) and it worked like a charm. I wish I could find him again.

There is something else that I recently discovered; 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 exhist." 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.
 
Old 07-20-2003, 07:58 PM   #4
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,838

Rep: Reputation: 48
With the 80 buck price tag, I am guessing it is one of their internal hardware modems. If it is, 'lspci' should show it.
The links he fooled with were probably making sure that your /dev/modem pointed to the correct /dev/ttyS* device.
If you use the Knoppix CD on bootup rather than your hard drive, are you able to get online after running 'wvdialconf' from the root terminal?
 
Old 07-20-2003, 08:35 PM   #5
bmike1
Member
 
Registered: Jul 2003
Posts: 132

Original Poster
Rep: Reputation: 15
Nope. wvdialconf returned with:
"usage:wvdialconf <configfile-name> (create/update a wvdial.conf file automatically)"
I then typed in 'configfile-name' and 'wvdial.conf' but it returned file not found
 
Old 07-20-2003, 08:44 PM   #6
bmike1
Member
 
Registered: Jul 2003
Posts: 132

Original Poster
Rep: Reputation: 15
lspci -v (I typed this in, not cut/paste)
000:0b.0 Serial controller US Robotics/3Com 56K Fax/Modem Model 5610 (rev 01) (prog-if 02 [16550])
Subsystem:USR/3Com= Unknown device 00d3
Flags: medium devsel, IRQ 9
I/O ports at ec00 [size= 8]
Capabilities: <available only to root>
 
Old 07-20-2003, 09:35 PM   #7
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,838

Rep: Reputation: 48
I am not sure what to make of the "device not found" in your 'ls pci -v'.
The steps I just took to connect VIA a USR external modem to dialup from a Knoppix 3.1 CD (rather than DSL):
wvdialconf /etc/wvdial.conf
(Should detect your modem for the wvdial program)
jpico /etc/wvdial.conf
(will open the file to edit the phone, user, and pass. CTRL-O, to save; CTRL-X to exit; don't forget to remove the comment character in front of each line)
then type:
wvdial
(to dial your provider)
It sounds like you understand about using the root shell. This all needs to be done from there. (Kmenu -> KNOPPIX -> Root Shell)
I am replying VIA the Knoppix dialup connection now.
If the above does not work, some further troubleshooting with the hardware is probably called for.

Last edited by 2damncommon; 07-20-2003 at 09:36 PM.
 
Old 07-21-2003, 01:40 AM   #8
bmike1
Member
 
Registered: Jul 2003
Posts: 132

Original Poster
Rep: Reputation: 15
I typed in your commands and then wvdial and thought I was going to get online. Alas, 'twas a flight of fantasy. It's response was as follows:
--> Modem initialialized.
--> Sending: ATDT <phone number>
--> Waiting for carrier.
The modem then picks up the phone line but will not dial.
Then, after the phone line times out, it hangs up, then reconnects, and then redials.

Last edited by bmike1; 07-21-2003 at 01:43 AM.
 
Old 07-21-2003, 02:23 AM   #9
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,838

Rep: Reputation: 48
Quote:
The modem then picks up the phone line but will not dial.
Then, after the phone line times out, it hangs up, then reconnects, and then redials.
Partial sucess. The prelim stuff works OK then.
I am not following the last part. You say it will not dial, but then it hangs up, reconnects and redials?
If it is dialing the number but not connecting, the problem is either with the entries in your wvdial.conf or your ISP. May I ask which ISP you are using. I don't believe wvdial can connect to AOL, and I think MSN requires something special in the config, many others work just fine.
Sorry for not asking about your ISP sooner.
 
Old 07-21-2003, 09:39 AM   #10
bmike1
Member
 
Registered: Jul 2003
Posts: 132

Original Poster
Rep: Reputation: 15
I connect through a company called vei.net but that is not the problem. The problem is that it will not dial. It picks up the phone line and after it times out it hangs up the line and then picks the line back up. It keeps doing this until you
a) kill the terminal
b) cntrl-z but wvdial does not work after that
Sorry about the misstatement.

Last edited by bmike1; 07-21-2003 at 09:40 AM.
 
Old 07-21-2003, 08:43 PM   #11
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,838

Rep: Reputation: 48
Quote:
The problem is that it will not dial.
That could be bad then. Let me check some more and post what I find, if anything, later. I will take a look at your ISP's site (if I can find it), USR for your model and whatever I can think of on Google and LinuxQuestions.
Your original question may be the right way to do it. The fact that your error message said it was in use made me think it may be more of a configuration thing.
 
Old 07-22-2003, 10:09 AM   #12
bmike1
Member
 
Registered: Jul 2003
Posts: 132

Original Poster
Rep: Reputation: 15
Well, at least with your method it at least gets to the dial tone.
 
Old 07-22-2003, 07:23 PM   #13
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,838

Rep: Reputation: 48
So far I confirm your USR modem should be supported in Linux and your ISP appears to support Linux to some extent.
Here is a link about a similar problem. If you want to try that solution you can see in use IRQs with 'cat /proc/interrupts' in a terminal.
I am going to reboot in Knoppix and watch the wvdial sequence again.

In your wvdial sequence above:
Quote:
--> Modem initialialized.
--> Sending: ATDT <phone number>
--> Waiting for carrier.
it looks like your modem is failing before actually dialing the number. The next message after the waiting for carrier should be the ATDT<phonenumber> again, then --> Carrier detected. Waiting for prompt.
Confirm hardware connection is correct (phone lines in correct spots), confirm wvdial.conf is correct (it probably is or you would not have got as far as you did),
When you do the 'wvdialconf /etv/wvdial.conf' a part of the output will display the /dev/ttyS* that your modem is found on.
Do 'ls -la /dev/modem'. If that is different, that is part of the problem.
The line in the link above; 'ln /dev/ttyS* /dev/modem' would be they way to set the /dev/modem link to the correct actual device.
The setserial line; 'setserial /dev/ttyS* irq *' would be the way to assign an IRQ if needed.
You shouldn't need to be doing all this with a hardware modem, but possibly because it is a PCI card as the link mentions.


Last edited by 2damncommon; 07-22-2003 at 08:13 PM.
 
Old 07-22-2003, 11:38 PM   #14
bmike1
Member
 
Registered: Jul 2003
Posts: 132

Original Poster
Rep: Reputation: 15
I really appreciate you helping me out with this challenging problem. To allieve the suspicia of the modem or the ISP being linux uncompatible I did have it running under Linux about 7 months ago. Unforyunately, I can't get ahold of the guy who set it up originally.
This is the redponse I'm currently getting.
--> Initializing modem.
--> Sending ATZ
ATZ OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized
-->Sending ATDT (ISPs #)
<hear dial tone>
<doesn't dial>

I followed your link and looked in that forumn for a solution. I followed the directions here <http://www.knoppix.net/forum/viewtopic.php?t=3654> (ignoring the MAKEDEV <is already there>) setting everything to ttyS4 and to my IRQ & I/O #s. I'll try this out and get back to you.

Last edited by bmike1; 07-22-2003 at 11:51 PM.
 
Old 07-23-2003, 12:20 AM   #15
bmike1
Member
 
Registered: Jul 2003
Posts: 132

Original Poster
Rep: Reputation: 15
Well, that new advise didn't do anything.... same response. Arghhh! This is so agravting!
 
  


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 11:25 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