/dev/modem disappears at reboot

Place to discuss Fedora and/or Red Hat

/dev/modem disappears at reboot

Postby dishawjp » Thu Dec 30, 2004 5:19 pm

Hi All,

OK, got another head scratcher. I finally got my modem up and running in FC3. I can connect to my ISP and use minicom to connect to my devices at work and everything is fine... except... At each reboot, my sym link (ln -s /dev/modem /dev/ttyS0) is lost and needs to be recreated.

How do I set this so that I don't need to reset it at each reboot? The file /dev/modem is lost every time I reboot. This is another porblem I never saw before. In the past, setting up a sym link was a permanent situation unless specifically deleted. A ls -l on the file is:
Code: Select all
[root@eunix dev]# ls -l modem
lrwxrwxrwx  1 root root 10 Dec 30 18:12 modem -> /dev/ttyS0
[root@eunix dev]#


but if I reboot, it's gone.

Jim
dishawjp
administrator
administrator
 
Posts: 334
Joined: Thu Jan 23, 2003 9:05 am
Location: Central NY

Postby Calum » Fri Dec 31, 2004 7:38 am

if it was me, i'd put "ln -s /dev/modem /dev/ttyS0" somewhere in a script that i know will be run at boot time, but i am sure there will be a cleverer way to do it than that.
User avatar
Calum
guru
guru
 
Posts: 1343
Joined: Fri Jan 10, 2003 11:32 am
Location: Bonny Scotland

Postby dishawjp » Fri Dec 31, 2004 11:28 am

I was thinking that as a worst case, I could put something in my /etc/profile. But there has to be something strange going on if it's deleted every time I boot. It's not even a terrible problem, just one more weird thing with my system.
dishawjp
administrator
administrator
 
Posts: 334
Joined: Thu Jan 23, 2003 9:05 am
Location: Central NY

Postby Void Main » Fri Dec 31, 2004 1:09 pm

It probably has to do with udev. Is your udev package up to date? Worst case is you could copy your link to /etc/udev/devices (cp -a /dev/modem /etc/udev/devices).
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby dishawjp » Fri Dec 31, 2004 3:38 pm

Doh! I should have thought of that. I had to do that with the /dev/nvidia* files.

Thanks, that did it!

Jim
dishawjp
administrator
administrator
 
Posts: 334
Joined: Thu Jan 23, 2003 9:05 am
Location: Central NY


Return to Fedora/Red Hat

Who is online

Users browsing this forum: No registered users and 0 guests

cron