LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 09-21-2004, 02:30 PM   #1
gsancho
LQ Newbie
 
Registered: Sep 2004
Posts: 1

Rep: Reputation: 0
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
 
Old 09-23-2004, 03:42 AM   #2
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 738

Rep: Reputation: 78
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
 
Old 09-23-2004, 01:41 PM   #3
gerardo_sancho
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Rep: Reputation: 0
Talking

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
 
Old 09-23-2004, 06:40 PM   #4
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 738

Rep: Reputation: 78
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
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
device /dev/dsp can't be opened (No such device) brilvan Linux - Distributions 4 02-10-2007 09:26 PM
Block device /dev/sda3 is not a valid root device.. rincewind Linux - Hardware 7 06-09-2006 05:47 AM
Failed to open device /dev/usb/ttyUSB0: No such device efm Linux - Newbie 2 04-04-2005 09:46 PM
loop: can't open device /dev/loop0: No such device or address miaviator278 Linux - Security 3 06-09-2004 10:24 PM
device /dev/dsp can't be opened (no such device) ex0r Linux - Newbie 3 06-27-2003 10:41 AM


All times are GMT -5. The time now is 04:29 PM.

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