Networking Forums

Networking Forums > Computer Networking > Linux Networking > mgetty configuration for conexant modems on Redhat.

Reply
Thread Tools Display Modes

mgetty configuration for conexant modems on Redhat.

 
 
Shashank Khanvilkar
Guest
Posts: n/a

 
      08-15-2003, 06:40 PM
Hi,
I have a RH 9.0 system (Kernel: 2.4.20), with a modem using the
connexant chipset.

#>lspci -vvv
02:0b.0 Communication controller: Conexant HSF 56k HSFi Modem (rev 01)
Subsystem: Mac System Co Ltd: Unknown device 8d8b
--SNIPP--

I downloaded the appropriate drivers from
http://www.linuxant.com/company/index.html and tried dialing out using
wvdial, which works pretty fine.

Now I want to use this as a dial-in server.

Questions:
----------
1. I am trying to use mgetty+sendfax for this. Is there something else
that is better than mgetty that i should use?

2. Has anyone configured mgetty with a similar modem. If yes, what
entry do they use in /etc/inittab. Linuxant drivers create a device
/dev/ttySHSF0 and
a /dev/modem link to this, and the manual for inittab suggest that :
"
Note: For gettys or other login processes, the id field should
be the tty suffix of the corresponding tty, e.g. 1 for tty1.
Otherwise, the login accounting might not work correctly.
"
Any suggestions?

3. any suggestions on /etc/mgetty+sendfax/mgetty.config, login.config,
dialin.config

4. Anything extra that i need to do.

Thanks in advance for any response.
Shashank
 
Reply With Quote
 
 
 
 
Bill Unruh
Guest
Posts: n/a

 
      08-15-2003, 10:07 PM
(E-Mail Removed) (Shashank Khanvilkar) writes:

]Hi,
]I have a RH 9.0 system (Kernel: 2.4.20), with a modem using the
]connexant chipset.

]#>lspci -vvv
]02:0b.0 Communication controller: Conexant HSF 56k HSFi Modem (rev 01)
] Subsystem: Mac System Co Ltd: Unknown device 8d8b
]--SNIPP--

]I downloaded the appropriate drivers from
]http://www.linuxant.com/company/index.html and tried dialing out using
]wvdial, which works pretty fine.

]Now I want to use this as a dial-in server.

]Questions:
]----------
]1. I am trying to use mgetty+sendfax for this. Is there something else
]that is better than mgetty that i should use?

NO. It is the best for the purpose.


]2. Has anyone configured mgetty with a similar modem. If yes, what
]entry do they use in /etc/inittab. Linuxant drivers create a device
]/dev/ttySHSF0 and
]a /dev/modem link to this, and the manual for inittab suggest that :
]"
]Note: For gettys or other login processes, the id field should
]be the tty suffix of the corresponding tty, e.g. 1 for tty1.
]Otherwise, the login accounting might not work correctly.
]"
That number is purely an informational thing. Just put whatever you want
in there, just make sure another entry does not have the same name.


]Any suggestions?
]
]3. any suggestions on /etc/mgetty+sendfax/mgetty.config, login.config,
]dialin.config

in login.config enable AutoPPP
Put in the appropriate arguments to pppd.

In mgetty, you need to put in the appropriate init string to send to the
modem.



]4. Anything extra that i need to do.

 
Reply With Quote
 
Shashank Khanvilkar
Guest
Posts: n/a

 
      08-16-2003, 01:19 AM
> ]
> ]3. any suggestions on /etc/mgetty+sendfax/mgetty.config, login.config,
> ]dialin.config
>
> in login.config enable AutoPPP
> Put in the appropriate arguments to pppd.
>
> In mgetty, you need to put in the appropriate init string to send to the
> modem.


Thanks.. I was successfull in connecting to my lab PC from my home.
However:

1. I can only connect at speed "33.4Kbps" although I have set the
speed to be 112kbps on both sides. Why is this so? Is it becuase the
telephone line through which I connect can only support this speed (I
am able to dial-in to other servers at higher speeds (42kbps)).

2. Are there any generic modem initialization commands or every modem
has specific sets.??
(Currently i am only initializing the modem to factory defaults (at&f,
for more info search google for "AT command set")..)

Regards
Shashank









>
>
>
> ]4. Anything extra that i need to do.

 
Reply With Quote
 
Bill Unruh
Guest
Posts: n/a

 
      08-16-2003, 04:59 AM
(E-Mail Removed) (Shashank Khanvilkar) writes:

]> ]
]> ]3. any suggestions on /etc/mgetty+sendfax/mgetty.config, login.config,
]> ]dialin.config
]>
]> in login.config enable AutoPPP
]> Put in the appropriate arguments to pppd.
]>
]> In mgetty, you need to put in the appropriate init string to send to the
]> modem.

]Thanks.. I was successfull in connecting to my lab PC from my home.
]However:
]
]1. I can only connect at speed "33.4Kbps" although I have set the
]speed to be 112kbps on both sides. Why is this so? Is it becuase the
]telephone line through which I connect can only support this speed (I
]am able to dial-in to other servers at higher speeds (42kbps)).


Because you are confusing apples with digestion. The speed you set is
the computer to modem speed. the modem to modem speed is what you
reported. This is the fastest speed possible for a modem to modem
connection. those higher speeds are only for a modem to a direct digital
phone link. Ie, in order to get those speeds you need to buy a direct to
digital phone line modem, they cost a few thousand I believe.


]2. Are there any generic modem initialization commands or every modem
]has specific sets.??

Every modem has their own. Some are common ( the old 300bd Hayes modem
commands) and the rest differ fro one modem maker to the other.


](Currently i am only initializing the modem to factory defaults (at&f,
]for more info search google for "AT command set")..)

Probably OK. It depends on what factory default you have. Now I believe
you said you had a softmodem. So it is all software. Ie read the
software manual.

 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      08-16-2003, 10:51 AM

"Shashank Khanvilkar" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> > ]
> > ]3. any suggestions on /etc/mgetty+sendfax/mgetty.config, login.config,
> > ]dialin.config
> >
> > in login.config enable AutoPPP
> > Put in the appropriate arguments to pppd.
> >
> > In mgetty, you need to put in the appropriate init string to send to the
> > modem.

>
> Thanks.. I was successfull in connecting to my lab PC from my home.
> However:
>
> 1. I can only connect at speed "33.4Kbps" although I have set the
> speed to be 112kbps on both sides. Why is this so? Is it becuase the
> telephone line through which I connect can only support this speed (I
> am able to dial-in to other servers at higher speeds (42kbps)).



The modem speeds above 33 kbps are dependent on some tricks which work only
if the server end is a special digital connection to the telephone line (no
modem). The modem handshake sequence measures the digitisation steps at the
analog to digital conversion at the telephone central office. The step
values are then used to encode more bits / symbol than is normally possible.
If there is an usual modem at the server end, the digitisation tricks do not
work anymore.

The maximum speed attainable between two phone line modems is what you
already got.

HTH

Tauno Voipio
tauno voipio @ iki fi



 
Reply With Quote
 
zeljko
Guest
Posts: n/a

 
      08-17-2003, 08:47 AM
Shashank Khanvilkar wrote:

>> ]
>> ]3. any suggestions on /etc/mgetty+sendfax/mgetty.config, login.config,
>> ]dialin.config
>>
>> in login.config enable AutoPPP
>> Put in the appropriate arguments to pppd.
>>
>> In mgetty, you need to put in the appropriate init string to send to the
>> modem.

>
> Thanks.. I was successfull in connecting to my lab PC from my home.
> However:
>
> 1. I can only connect at speed "33.4Kbps" although I have set the
> speed to be 112kbps on both sides. Why is this so? Is it becuase the
> telephone line through which I connect can only support this speed (I
> am able to dial-in to other servers at higher speeds (42kbps)).
>
> 2. Are there any generic modem initialization commands or every modem
> has specific sets.??
> (Currently i am only initializing the modem to factory defaults (at&f,
> for more info search google for "AT command set")..)


yes, for conexant modems put those AT strings for initialization
/etc/mgetty-xx/mgetty.config
init-chat AT&S7=45&S0=0&L1&V1&X4&c1&E1&Q0

 
Reply With Quote
 
Shashank Khanvilkar
Guest
Posts: n/a

 
      08-18-2003, 06:21 PM
Thanks all for your comments..
I have kept the logs of things that i did to get the Dial-out/Dial-in server
working in RH 9.0 here:
http://mia.ece.uic.edu/~papers/volans/modem.html
Comments to improve are always appreciated.
Shashank
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat firewall (ES4) iptable configuration help tractng@gmail.com Linux Networking 0 07-17-2007 05:02 PM
Redhat firewall (ES4) iptable configuration help tractng@gmail.com Linux Networking 0 07-17-2007 05:02 PM
Redhat firewall (ES4) iptable configuration help tractng@gmail.com Linux Networking 0 07-17-2007 05:02 PM
RedHat 9 and CS 1.6 network configuration Lanman Linux Networking 0 02-05-2004 03:20 PM
Multiple modems configuration in Linux Linux Networking 5 09-21-2003 06:52 AM



1 2 3 4 5 6 7 8 9 10 11