LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   No such device /dev/ttyS1 (https://www.linuxquestions.org/questions/debian-26/no-such-device-dev-ttys1-233440/)

gsancho 09-21-2004 01:30 PM

No such device /dev/ttyS1
 
Hi!
This is my first post on this forum. I use debian sid with kernel 2.6.4 and gnome 2.4.
I have modem a dial-up, is an us robotics of 56 kbps.
My internet conection worked well since some days ago, I use pon, and when I tried to connect to internet, I doen't connect. This is the log:
# plog
Sep 12 12:08:37 debi pppd[1785]: pppd 2.4.2 started by sancho, uid 1000
Sep 12 12:08:37 debi pppd[1785]: Failed to open /dev/ttyS1: No such
device
Sep 12 12:08:37 debi pppd[1785]: Exit.
Sep 12 12:08:54 debi pppd[1804]: pppd 2.4.2 started by sancho, uid 1000
Sep 12 12:08:54 debi pppd[1804]: Failed to open /dev/ttyS1: No such
device
Sep 12 12:08:54 debi pppd[1804]: Exit.

I can't connect with debian sid, but on the same hard disk I have fedora core 2, and it
works well with the same device port /dev/ttyS1, and the same with the live cd's slax and
knoppix, they go well with internet and the same port.

If I do:
setserial -gG /dev/ttyS1
I obtain the same message of No such device.

I've tried with:
/dev/.MAKADEV /dev/ttyS1
First I removed the device and later I created it with MAKEDEV, but I have the same problem. I've tried to create the same device with knod too but if fails too.

The more unusual thing is that if I put a live cd like knoppix or slax, then I mount my
debian partition with:
mount -t ext3 -o dev /dev/hda2 /mnt
With dev to use my /dev/ttyS1 of my debian sid.
And later I do:
chroot /mnt (to work and execute command with my debian)
With this, when I execute pon I have no message of No such device of /dev/ttyS1,
and my modem does the sound correctly but it doesn't connect to internet (it says
limited output)

I have recompiled the kernel, readed the how-to serial and searched threads over the net, but I don't get a solution. Anyone know what can I do? Is there a solution? I'm fear that
I have to reinstall debian, becasuse I haven't dsl.

Cheers!
Gerardo

DaneM 09-23-2004 02:42 AM

Hmm...that sounds a bit strange. The only experience I have with that sort of thing is with my US Robotics 5610B modem. It was a bit of a hassle to get the drivers loaded, but when I finally did, it worked alright. (I use Slackware 10.) What it sounds like (in my limited knowledge) is that the driver for the modem isn't installed/loaded properly in Debian. It's possible that since ttyS1 isn't pointing to a recognized device that it's simply saying that (as far as ppp, etc. is concerned) the device isn't there. If you've got the same modem as I do, I'll post the How-To that I wrote on the matter (about 4 pages). Otherwise, poke around and make sure that you have the drivers installed and loaded properly. I hope this helps!

--Dane

gerardo_sancho 09-23-2004 12:41 PM

Hi, thanks for your reply. I finally solved the problem. The problem was that I didn't loaded the module
of the serial port, I thought that it was a kernel or a module problem, because if i mounted my debian
partition on a live cd live slax or knoppix as I said worked well.

I loade on my /etc/modules the module: 8250_pnp, then I saw that the system loade the modules
8250 and serial_core that I suposse it needs too. With these modules debian recognized my device,
and know I turn to be on internet with debian and not fedora I used days ago.

Cheers!
Gerardo

DaneM 09-23-2004 05:40 PM

Wonderful!
 
I'm glad you got it working and posted the solution. I'm sure it'll help somebody else in the same situation at some point down the line. Have a good one!

--Dane


All times are GMT -5. The time now is 03:35 PM.