LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 04-13-2002, 01:53 PM   #1
jISV
Member
 
Registered: Feb 2002
Location: England
Distribution: MDK8.2
Posts: 128

Rep: Reputation: 15
chmod g+w /dev/ttyS0


Is someone able to tell me why I'm unable to change any permissions on the device as I've listed in the subject?
No matter what I do, I'm unable to change it from
lr-xr-xr-x 1 jisv jisv 5 Apr 13 10:10 /dev/ttyS0
This I think might be the cause of wvdial not working, since I'm able to get a connection just using /usr/sbin/pppd /dev/ttyS0 115200 debug user <username> connect "/usr/sbin/chat -v '' AT OK ATD08089933001 CONNECT".
Anyone got any ideas?
Thanks.
 
Old 04-13-2002, 04:40 PM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
try ls -l /dev/ttyS0

it should tell you what the link points to


It's usually a device not a link

like

crw-rw---- 1 uucp uucp 4, 64


you may need to recreate the node


Last edited by DavidPhillips; 04-13-2002 at 04:45 PM.
 
Old 04-13-2002, 05:04 PM   #3
jISV
Member
 
Registered: Feb 2002
Location: England
Distribution: MDK8.2
Posts: 128

Original Poster
Rep: Reputation: 15
It points to tts/0
crwSr-S--- 1 jisv tty 4, 64 Apr 13 22:53 /dev/tts/0
How do you recreate a node, is it hard? Funny thing is that it works with kPPP and I've written a script to login and it works with that. It's just wvdial for example (which I wanted to use) and yawmppp dock app, so it's strange.
 
Old 04-13-2002, 05:39 PM   #4
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
seems like the link is not right

try removing the link an remaking it


rm /dev/ttyS0

ln -s /dev/tts/0 /dev/ttyS0





if you create a node you just use mknod


mknod /dev/ttyS0 c 4 64


then you would setup the permissions to 644 and the owner, group that your system is setup to use


Of course you may want a different permission...
 
Old 04-13-2002, 06:01 PM   #5
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
I just saw your other post on this


you need to look in wvdial.conf

see what the device is


maybe it's /dev/ttyS0 and kppp is /dev/modem


so it depends on where /dev/modem is pointing
 
  


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 and by what is /dev/ttyS0 made? dansawyer Linux - Software 10 10-26-2005 05:51 AM
how to fix the /dev/ttyS0 device? treotan Linux - Hardware 1 07-10-2005 01:59 AM
Minicom /dev/ttyS0 locked zmaint Linux - Software 4 12-23-2003 04:03 PM
Minicom in /dev/ttyS0 Luis GUSTAVO Linux - Software 0 07-31-2003 05:42 PM
/dev/ttyS0 problems rbermude Linux - Software 2 06-27-2001 10:43 AM


All times are GMT -5. The time now is 07:33 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