LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Need help about modem on Linux (https://www.linuxquestions.org/questions/linux-hardware-18/need-help-about-modem-on-linux-148098/)

yaiba 02-19-2004 01:46 PM

Need help about modem on Linux
 
I have an external CN5614XE modem, kudzu found it is AMB|3100 Ambient 56K External Modem, so, I wonder where that name comes from, because I found nothing related to my modem in the kernel config, where's my modem's driver in my system?

Peacedog 02-19-2004 05:33 PM

amb|3100 ambient is probably the chipset, while cn5614xe is just a brand name. to find drivers, or modules in a terminal issue the command

lsmod

it should return all loaded modules, are you having trouble w/the modem, or just curious about the names not matching?

yaiba 02-20-2004 04:03 AM

Yes, I have trouble with my modem. I build 2.6.2 kernel from source get from www.kernel.org. With 2.6.2 kernel, everything seem to work well except the

externel modem (It worked with the 2.4.x kernel). My system could not detect it, kudzu said that the modem was removed! I really confuse. I was programming

with this modem in MS-DOS, just control it by sending AT command through COM1 (ttyS0 on Linux), so, I think my modem (or an externel modem) doesn't

need a driver to work and I only need to make the serial port work (Is there a driver for serial port?).
I try this:
$ls /dev/ttyS*
ttyS ttyS0 ttyS1 ....
$echo atz0 > /dev/ttyS0
device not found (or something like that)

Is that means my serial port doesn't work? Which option in the 2.6.2 kernel config I have to change?
Thanks in advance.

ronadinihari 02-20-2004 09:48 AM

i have redhat 9 with kernel 2.4.20.

sometimes i do have problems with hardware come and go. if kudzu looks like failing, i usually do manual removal. so here it is, as much as i can remember.

you might want to back up the files here.

edit /etc/sysconfig/hwconf and remove all troubled hardware.
edit /etc/modules.conf and remove all troubled dev (eth*, ttyS*, ...)
since this is comm device you do want to remove /etc/sysconfig/network-scripts/ifcfg-<your modem dev>
run /usr/sbin/kudzu

carefull though!

if that's not working. again i do manual install.

edit /etc/modules.conf add:
alias ttyS0 <your modem module name minus .o>
/sbin/depmod -a
/sbin/probemod ttyS0
if there's an error here then either it's wrong dev serial port number or wrong module
if you can edit ifcg-* file yourself then go ahead otherwise use internet connection wizard.

vinay_s_s 02-20-2004 10:20 AM

Try building the serial driver, ppp into the kernel rather than modules.

yaiba 02-20-2004 12:00 PM

Could you point out the serial driver option in the the kernel config, not the options in the .config file, but the things in the 'make menuconfig'

Peacedog 02-20-2004 02:52 PM

Quote:

I think my modem (or an externel modem) doesn't

need a driver to work and I only need to make the serial port work (Is there a driver for serial port?).
how about an

lsmod

to see if the module is loaded. could be that it is compiled in and also a module is loading, causing a conflict. some applicable chunks of

dmesg

would be helpful also. have you tried a

modprobe serial

to see what it returns?

yaiba 02-21-2004 08:33 PM

Yeah, I get it! :D . Just compile the serial driver into the kernel to make the external modem work.
Wish you a nice day :)


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