symlinking /dev/modem
hi :)
i recently obtained slackware-live which i'm using as an aid to make the transition from m$ to linux. using it @ college on the local network to access the net works fine as an ip address is assigned via DHCP, the only manual entry i make is the gateway address of the proxy server within netscape browser. when connecting to net @ home via dialup the modem cannot be detected. further investigation revealed that the symlink appears to be pointing to wrong device. how do i change the symlink? i've tried ln -sf /dev/modem /dev/ttyS0 (which is same setting on RH8), but i get an error telling me that the link already exists. do i need to remove the original symlink and create another? cheers |
well i also get the same problem but what i do is backup(rename) the old link and try a new one. but i know there is an option for ln to overwrite. well, that should work for me, i just hope to you too.
just don't erase the old link to be sure |
Check permissions on the link and make sure they are the same as user.
|
hi thanks for the replies,
i've checked the permission, which is root and i'm logged in as root so should be no problems there. i understand that the -f option in ln forces/over-rides any previous link. cheers |
the name of the softlink is the second argument, not
the first. it should be ln -s /dev/ttyS0 /dev/modem |
hi thanks for the advice, it worked :) i feel so stupid now for entering the command wrong :D
cheers |
i type that command wrong more often then right.
|
All times are GMT -5. The time now is 08:35 PM. |