LinHES Forums http://forum.linhes.org/ |
|
Few Linux Problems (Files sharing/Remote Admin) http://forum.linhes.org/viewtopic.php?f=5&t=15642 |
Page 1 of 1 |
Author: | NILL [ Sun Jun 17, 2007 6:28 pm ] |
Post subject: | Few Linux Problems (Files sharing/Remote Admin) |
I having trouble setting up a few basic things on my system. I'm very new to linux, but have dabbled in the command line on my OS X system. I don't know much, but I know how not to crash my system. First thing I'm trying to do is move some video files from my main system to the my mythtv system. When I try to connect from OS X with this "smb://username:password@127.0.0.1/myth/video/" I get a error saying my username or password is incorrect. I know the username and password is correct, so am I getting this error because Samba isn't turned on? If so How do I turn it on? Another problem I'm having is I can't Telnet into the system. I try from my OS X system and I get telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host Is telnet not turned on? How do I turn it on? |
Author: | slowtolearn [ Sun Jun 17, 2007 6:35 pm ] |
Post subject: | Re: Few Linux Problems (Files sharing/Remote Admin) |
NILL wrote: I having trouble setting up a few basic things on my system. I'm very new to linux, but have dabbled in the command line on my OS X system. I don't know much, but I know how not to crash my system. Most likely. Run update-rc.d samba defaults and reboot.First thing I'm trying to do is move some video files from my main system to the my mythtv system. When I try to connect from OS X with this "smb://username:password@127.0.0.1/myth/video/" I get a error saying my username or password is incorrect. I know the username and password is correct, so am I getting this error because Samba isn't turned on? If so How do I turn it on? NILL wrote: Another problem I'm having is I can't Telnet into the system. I try from my OS X system and I get Telnet is inherently insecure, SSH is enabled by default.
telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host Is telnet not turned on? How do I turn it on? |
Author: | NILL [ Sun Jun 17, 2007 6:54 pm ] |
Post subject: | Re: Few Linux Problems (Files sharing/Remote Admin) |
slowtolearn wrote: NILL wrote: I having trouble setting up a few basic things on my system. I'm very new to linux, but have dabbled in the command line on my OS X system. I don't know much, but I know how not to crash my system. Most likely. Run update-rc.d samba defaults and reboot.First thing I'm trying to do is move some video files from my main system to the my mythtv system. When I try to connect from OS X with this "smb://username:password@127.0.0.1/myth/video/" I get a error saying my username or password is incorrect. I know the username and password is correct, so am I getting this error because Samba isn't turned on? If so How do I turn it on? I get a permission denied error slowtolearn wrote: NILL wrote: Another problem I'm having is I can't Telnet into the system. I try from my OS X system and I get Telnet is inherently insecure, SSH is enabled by default.telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host Is telnet not turned on? How do I turn it on? I get ssh: connect to host 127.0.0.1 port 22: Connection refused |
Author: | slowtolearn [ Sun Jun 17, 2007 7:11 pm ] |
Post subject: | Re: Few Linux Problems (Files sharing/Remote Admin) |
NILL wrote: slowtolearn wrote: NILL wrote: I having trouble setting up a few basic things on my system. I'm very new to linux, but have dabbled in the command line on my OS X system. I don't know much, but I know how not to crash my system. Most likely. Run update-rc.d samba defaults and reboot.First thing I'm trying to do is move some video files from my main system to the my mythtv system. When I try to connect from OS X with this "smb://username:password@127.0.0.1/myth/video/" I get a error saying my username or password is incorrect. I know the username and password is correct, so am I getting this error because Samba isn't turned on? If so How do I turn it on? I get a permission denied error slowtolearn wrote: NILL wrote: Another problem I'm having is I can't Telnet into the system. I try from my OS X system and I get Telnet is inherently insecure, SSH is enabled by default.telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host Is telnet not turned on? How do I turn it on? NILL wrote: I get ssh: connect to host 127.0.0.1 port 22: Connection refused What is the command you are using? 127.0.0.1 is the loopback for the machine you are on. You want ssh <IP address of your Knoppmyth box>
|
Author: | NILL [ Sun Jun 17, 2007 8:29 pm ] |
Post subject: | Re: Few Linux Problems (Files sharing/Remote Admin) |
slowtolearn wrote: NILL wrote: slowtolearn wrote: NILL wrote: I having trouble setting up a few basic things on my system. I'm very new to linux, but have dabbled in the command line on my OS X system. I don't know much, but I know how not to crash my system. Most likely. Run update-rc.d samba defaults and reboot.First thing I'm trying to do is move some video files from my main system to the my mythtv system. When I try to connect from OS X with this "smb://username:password@127.0.0.1/myth/video/" I get a error saying my username or password is incorrect. I know the username and password is correct, so am I getting this error because Samba isn't turned on? If so How do I turn it on? I get a permission denied error I enter su update-rc.d samba defaults and get back command not found EDIT-- I'm now trying this over ssh and can read this well(before it was on a TV screen) I enter su update-rc.d samba defaults and get Unknown id: update-rc.d back. slowtolearn wrote: NILL wrote: Another problem I'm having is I can't Telnet into the system. I try from my OS X system and I get Telnet is inherently insecure, SSH is enabled by default.telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host Is telnet not turned on? How do I turn it on? NILL wrote: I get ssh: connect to host 127.0.0.1 port 22: Connection refused slowtolearn wrote: What is the command you are using? 127.0.0.1 is the loopback for the machine you are on. You want ssh <IP address of your Knoppmyth box>
What I thought the ip address was wrong. When I was setting it up I wrote down the IP, but I guess it changed some how. I go ssh to work. Thank you. |
Author: | slowtolearn [ Mon Jun 18, 2007 5:34 am ] |
Post subject: | Re: Few Linux Problems (Files sharing/Remote Admin) |
NILL wrote: EDIT-- When you login to your KM box (I presume you are logging in as a user other than root) type su. You will be prompted for the root password, which you need to supply. Then run update-rc.d samba defaults and reboot.
I'm now trying this over ssh and can read this well(before it was on a TV screen) I enter su update-rc.d samba defaults and get Unknown id: update-rc.d back. Also see http://knoppmythwiki.org/index.php?page=LinuxTips |
Author: | mad_paddler [ Mon Jun 18, 2007 8:39 am ] |
Post subject: | |
Just a small point, you don't need to reboot to get samba to start, just run this command: Code: /etc/init.d/samba start
|
Author: | slowtolearn [ Mon Jun 18, 2007 10:14 am ] |
Post subject: | |
mad_paddler wrote: Just a small point, you don't need to reboot to get samba to start, just run this command: Very true, although given Code: /etc/init.d/samba start NILL wrote: I'm very new to linux, I figured rebooting would be the easiest way ![]() |
Author: | NILL [ Mon Jun 18, 2007 7:02 pm ] |
Post subject: | |
slowtolearn wrote: mad_paddler wrote: Just a small point, you don't need to reboot to get samba to start, just run this command: Very true, although given Code: /etc/init.d/samba start NILL wrote: I'm very new to linux, I figured rebooting would be the easiest way ![]() Just when I thought I had it. I got the commands you gave me to work. I went to "Connect to Server" in Finder. And manged to get a windows asking me what share I want to connect to. The only one being "myth". I click ok and it bring up a window asking me for a username and password. I use the ones I was using early and it tells me I have ether a incorrect username or password. |
Author: | manicmike [ Mon Jun 18, 2007 7:35 pm ] |
Post subject: | |
NILL wrote: Just when I thought I had it. I got the commands you gave me to work. I went to "Connect to Server" in Finder. And manged to get a windows asking me what share I want to connect to. The only one being "myth". I click ok and it bring up a window asking me for a username and password. I use the ones I was using early and it tells me I have ether a incorrect username or password.
Try mythtv with mythtv as the password. Otherwise, the username and password you set during the install should work. There is no "myth" user. If you heard that, it's, well, a myth ![]() Incidentally, OSX almost certainly supports NFS mounting, or is the only UNIX that doesn't? NFS is easiest to set up and you can auto-mount it at startup by editing your /etc/fstab. Cheers Mike |
Author: | NILL [ Mon Jun 18, 2007 9:17 pm ] |
Post subject: | |
manicmike wrote: NILL wrote: Just when I thought I had it. I got the commands you gave me to work. I went to "Connect to Server" in Finder. And manged to get a windows asking me what share I want to connect to. The only one being "myth". I click ok and it bring up a window asking me for a username and password. I use the ones I was using early and it tells me I have ether a incorrect username or password. Try mythtv with mythtv as the password. Otherwise, the username and password you set during the install should work. There is no "myth" user. If you heard that, it's, well, a myth ![]() Incidentally, OSX almost certainly supports NFS mounting, or is the only UNIX that doesn't? NFS is easiest to set up and you can auto-mount it at startup by editing your /etc/fstab. Cheers Mike Ok mythtv works as username and password. Thank you. I'll have to look at using NFS, but for now i'll use SMB. I can just make a apple scrip to auto mount SMB anyway. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |