Author |
Message |
NILL
|
Posted: Sun Jun 17, 2007 6:28 pm |
|
Joined: Wed Aug 17, 2005 3:33 pm
Posts: 29
|
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?
|
|
Top |
|
|
slowtolearn
|
Posted: Sun Jun 17, 2007 6:35 pm |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
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.
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? Most likely. Run update-rc.d samba defaults and reboot. 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: 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? Telnet is inherently insecure, SSH is enabled by default.
|
|
Top |
|
|
NILL
|
Posted: Sun Jun 17, 2007 6:54 pm |
|
Joined: Wed Aug 17, 2005 3:33 pm
Posts: 29
|
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.
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? Most likely. Run update-rc.d samba defaults and reboot. 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: 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? Telnet is inherently insecure, SSH is enabled by default.
I get ssh: connect to host 127.0.0.1 port 22: Connection refused
|
|
Top |
|
|
slowtolearn
|
Posted: Sun Jun 17, 2007 7:11 pm |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
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.
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? Most likely. Run update-rc.d samba defaults and reboot. I get a permission denied error Run it as root - suslowtolearn 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: 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? Telnet is inherently insecure, SSH is enabled by default. 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>
|
|
Top |
|
|
NILL
|
Posted: Sun Jun 17, 2007 8:29 pm |
|
Joined: Wed Aug 17, 2005 3:33 pm
Posts: 29
|
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.
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? Most likely. Run update-rc.d samba defaults and reboot. I get a permission denied error Run it as root - suI enter su update-rc.d samba defaults and get back command not foundEDIT-- 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: 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? Telnet is inherently insecure, SSH is enabled by default. 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.
|
|
Top |
|
|
slowtolearn
|
Posted: Mon Jun 18, 2007 5:34 am |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
NILL wrote: 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. 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.
Also see http://knoppmythwiki.org/index.php?page=LinuxTips
|
|
Top |
|
|
mad_paddler
|
Posted: Mon Jun 18, 2007 8:39 am |
|
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location:
UK
|
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
|
|
Top |
|
|
slowtolearn
|
Posted: Mon Jun 18, 2007 10:14 am |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
mad_paddler wrote: 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 Very true, although given NILL wrote: I'm very new to linux, I figured rebooting would be the easiest way
|
|
Top |
|
|
NILL
|
Posted: Mon Jun 18, 2007 7:02 pm |
|
Joined: Wed Aug 17, 2005 3:33 pm
Posts: 29
|
slowtolearn wrote: mad_paddler wrote: 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 Very true, although given 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.
|
|
Top |
|
|
manicmike
|
Posted: Mon Jun 18, 2007 7:35 pm |
|
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location:
Melbourne, Australia
|
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
_________________ ********************* LinHES 7.4 Australian Dragon *********************
|
|
Top |
|
|
NILL
|
Posted: Mon Jun 18, 2007 9:17 pm |
|
Joined: Wed Aug 17, 2005 3:33 pm
Posts: 29
|
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.
|
|
Top |
|
|