LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-18-2003, 06:53 PM   #1
naesyllek
Member
 
Registered: Feb 2003
Location: England
Distribution: RedHat 9.0, Slackware-Live, LFS
Posts: 31

Rep: Reputation: 15
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
 
Old 06-18-2003, 07:27 PM   #2
phektus
LQ Newbie
 
Registered: May 2003
Distribution: redhat
Posts: 5

Rep: Reputation: 0
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
 
Old 06-18-2003, 10:39 PM   #3
kendo
Member
 
Registered: Nov 2001
Location: Vladivostok, Russia
Distribution: Slackware 13.0, PCBSD 7.1
Posts: 83

Rep: Reputation: 15
Check permissions on the link and make sure they are the same as user.
 
Old 06-19-2003, 06:17 AM   #4
naesyllek
Member
 
Registered: Feb 2003
Location: England
Distribution: RedHat 9.0, Slackware-Live, LFS
Posts: 31

Original Poster
Rep: Reputation: 15
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
 
Old 06-19-2003, 06:42 AM   #5
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,284

Rep: Reputation: 64
the name of the softlink is the second argument, not
the first.
it should be ln -s /dev/ttyS0 /dev/modem
 
Old 06-19-2003, 06:54 AM   #6
naesyllek
Member
 
Registered: Feb 2003
Location: England
Distribution: RedHat 9.0, Slackware-Live, LFS
Posts: 31

Original Poster
Rep: Reputation: 15
hi thanks for the advice, it worked i feel so stupid now for entering the command wrong
cheers
 
Old 06-19-2003, 07:22 AM   #7
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,284

Rep: Reputation: 64
i type that command wrong more often then right.
 
  


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
symlinking firefox dr_zayus69 Linux - Software 2 02-28-2005 03:20 AM
/dev/modem and /dev/ttyLT0 keep disappearing (ltmodem) himm Linux - Hardware 1 12-15-2004 02:17 PM
symlinking smbfs across a wan jse580 Linux - Networking 1 02-27-2004 01:21 AM
symlinking /opt to /usr/? [GOD]Anck Slackware 6 01-01-2004 11:03 PM
How to avoid symlinking libraries? Meros Linux - General 4 10-27-2002 10:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:05 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration