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. |
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 |
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. |
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... |
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 |
All times are GMT -5. The time now is 08:27 PM. |