LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-19-2005, 02:26 PM   #1
cch2cch
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora 3
Posts: 25

Rep: Reputation: 15
reboot deletes /dev/modem link


Hi,

I just installed an external modem to my FC3 system. I used gnome to set up the connection. On first try connection failed because there is no /dev/modem file, so I made a link to the serial device:

ln -s /dev/ttyS0 modem.

Then I can connect to internet but after shutdown/restart the /dev/modem link is gone and I have to relink every time. I noticed that ttyS0 is owned by root:uucp and modem is owned as root:root. I tried chown root:uucp modem , there was no error message but the ownership did not change ( root is not in the group uucp though).

The machine also has an internal modem card., kudzu -p shows both modem devices.
What could be the problem? thanks
 
Old 08-19-2005, 02:51 PM   #2
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
FC3 uses udev, so the /dev is generated on-the-fly, it is not a real directory. So, the change that you will make to this directory will disapear on reboot, it is just normal.

Take a look in /etc/udev.d, you should have a directory named "rules" or something similar. This is were you have to put your own "rules" you want to see applied to /dev files. I am not in front on a linux computer right now so I can't post an example, take a look first, it is a bit complex but you may be able to guess the syntax taking a look what is currently in the file.
If you can't figure this out, tell me, I'll post an example...
 
Old 08-23-2005, 04:05 PM   #3
cch2cch
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora 3
Posts: 25

Original Poster
Rep: Reputation: 15
This works:
KERNEL="ttyS0" SYMLNK="modem"

I find the man page on udev not contributing to the good name of linux. It didn't explain what %k,%e etc are in the examples.
 
  


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
A /dev/modem link not persistent awl Slackware 5 08-30-2005 02:58 PM
/dev/modem Disappears on Reboot farmerdan Mandriva 11 12-27-2004 04:37 PM
Mandrake 10 deletes /dev/v4l on reboot linuxenthusiast Linux - Hardware 5 12-01-2004 08:50 PM
Linuxant driver, /dev/modem disappears after reboot slackist Linux - Newbie 5 10-18-2004 11:22 AM
/dev/modem dissapearing after reboot. naijin Slackware 11 08-07-2004 02:41 PM


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