vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I have Slackware 10.2 with 2.6.17.4 kernel. My computer has a Conexant hsf modem that is driven by Linuxant. The modem permissions are crw-rw---- 1 root:root 240, 64 < date is boot time > /dev/ttySHSF0. I try to reset this to crw-rw-rw- 1 root:tty 240, 64 but every time I boot it resets. I would like to set this permanently so that every user in group tty can use the modem. Can anyone help with this? Bob |
| |||
| On Mon, 25 Sep 2006 07:21:52 -0500, Robert Rappaport <paperbag@cox.net> wrote: >I have Slackware 10.2 with 2.6.17.4 kernel. My computer has a Conexant >hsf modem that is driven by Linuxant. The modem permissions are >crw-rw---- 1 root:root 240, 64 < date is boot time > /dev/ttySHSF0. I >try to reset this to crw-rw-rw- 1 root:tty 240, 64 but every time I boot >it resets. I would like to set this permanently so that every user in >group tty can use the modem. > >Can anyone help with this? > >Bob Perhaps there are more elegant solutions, but why not just place chgrp tty /dev/ttySHSF0 in your /etc/rc.d/rc.local script? Scott McMillan |
| |||
| On 2006-09-25, Robert Rappaport <paperbag@cox.net> wrote: > I have Slackware 10.2 with 2.6.17.4 kernel. My computer has a Conexant > hsf modem that is driven by Linuxant. The modem permissions are > crw-rw---- 1 root:root 240, 64 < date is boot time > /dev/ttySHSF0. I > try to reset this to crw-rw-rw- 1 root:tty 240, 64 but every time I boot > it resets. I would like to set this permanently so that every user in > group tty can use the modem. If you're using udev, try this: udevinfo -q path -n /dev/ttySHSF0 That will output something like: /class/tty/ttySHSF0 Now do this (substitute the last string for whatever outputs previously): udevinfo -q all -a -p /class/tty/ttySHSF0 Have a look at the portion of the output that starts with this: looking at device '/class/tty/ttySHSF0': and consider making a custom udev rule (to set group ownership and or device permissions) using that information. If you need help with making a udev rule, come back and post that last bit of info I advised on using to make the rule, and we'll go from there. RW -- http://rlworkman.net |
| |||
| Robert Rappaport wrote: > I have Slackware 10.2 with 2.6.17.4 kernel. My computer has a Conexant > hsf modem that is driven by Linuxant. The modem permissions are > crw-rw---- 1 root:root 240, 64 < date is boot time > /dev/ttySHSF0. I > try to reset this to crw-rw-rw- 1 root:tty 240, 64 but every time I boot > it resets. I would like to set this permanently so that every user in > group tty can use the modem. > > Can anyone help with this? > > Bob Brute force solution - change the modem permissions, then: chmod a-x /etc/rc.d/rc.udev Disclaimer: Yes I know this dorks up automatic (or whatever you want to call it) mounting for usb devices, etc., but the joy of getting rid of udev makes it worth it! |
| |||
| On 2006-09-26, Chris Sorenson <csoren@isd.net> wrote: > > chmod a-x /etc/rc.d/rc.udev > > Disclaimer: Yes I know this dorks up automatic (or whatever you want to > call it) mounting for usb devices, etc., but the joy of getting rid of > udev makes it worth it! Well, call me weird, but I actually *like* udev... Of course, I must admit that I like it a lot better now than I did back in when 10.2 was released - it's matured quite a bit since then... RW -- http://rlworkman.net |
| ||||
| Works great! Thanks Bob Scott McMillan wrote: > On Mon, 25 Sep 2006 07:21:52 -0500, Robert Rappaport > <paperbag@cox.net> wrote: > > >>I have Slackware 10.2 with 2.6.17.4 kernel. My computer has a Conexant >>hsf modem that is driven by Linuxant. The modem permissions are >>crw-rw---- 1 root:root 240, 64 < date is boot time > /dev/ttySHSF0. I >>try to reset this to crw-rw-rw- 1 root:tty 240, 64 but every time I boot >>it resets. I would like to set this permanently so that every user in >>group tty can use the modem. >> >>Can anyone help with this? >> >>Bob > > > Perhaps there are more elegant solutions, but why not just place > > chgrp tty /dev/ttySHSF0 > > in your /etc/rc.d/rc.local script? > > > Scott McMillan |